Documentation ¶
Index ¶
- func RegisterCatalogueServiceServer(s *grpc.Server, srv CatalogueServiceServer)
- type Catalogue
- func (*Catalogue) Descriptor() ([]byte, []int)
- func (m *Catalogue) GetDescription() string
- func (m *Catalogue) GetDetails() string
- func (m *Catalogue) GetId() string
- func (m *Catalogue) GetName() string
- func (m *Catalogue) GetProductIDs() []string
- func (m *Catalogue) GetTags() []string
- func (m *Catalogue) GetTime() *timestamp.Timestamp
- func (m *Catalogue) GetType() string
- func (*Catalogue) ProtoMessage()
- func (m *Catalogue) Reset()
- func (m *Catalogue) String() string
- func (m *Catalogue) XXX_DiscardUnknown()
- func (m *Catalogue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Catalogue) XXX_Merge(src proto.Message)
- func (m *Catalogue) XXX_Size() int
- func (m *Catalogue) XXX_Unmarshal(b []byte) error
- type CatalogueServiceClient
- type CatalogueServiceServer
- type DeleteCatalogueRequest
- func (*DeleteCatalogueRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCatalogueRequest) GetId() string
- func (*DeleteCatalogueRequest) ProtoMessage()
- func (m *DeleteCatalogueRequest) Reset()
- func (m *DeleteCatalogueRequest) String() string
- func (m *DeleteCatalogueRequest) XXX_DiscardUnknown()
- func (m *DeleteCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCatalogueRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCatalogueRequest) XXX_Size() int
- func (m *DeleteCatalogueRequest) XXX_Unmarshal(b []byte) error
- type DeleteCatalogueResponse
- func (*DeleteCatalogueResponse) Descriptor() ([]byte, []int)
- func (m *DeleteCatalogueResponse) GetId() string
- func (*DeleteCatalogueResponse) ProtoMessage()
- func (m *DeleteCatalogueResponse) Reset()
- func (m *DeleteCatalogueResponse) String() string
- func (m *DeleteCatalogueResponse) XXX_DiscardUnknown()
- func (m *DeleteCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCatalogueResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCatalogueResponse) XXX_Size() int
- func (m *DeleteCatalogueResponse) XXX_Unmarshal(b []byte) error
- type DeleteProductRequest
- func (*DeleteProductRequest) Descriptor() ([]byte, []int)
- func (m *DeleteProductRequest) GetId() string
- func (*DeleteProductRequest) ProtoMessage()
- func (m *DeleteProductRequest) Reset()
- func (m *DeleteProductRequest) String() string
- func (m *DeleteProductRequest) XXX_DiscardUnknown()
- func (m *DeleteProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProductRequest) XXX_Merge(src proto.Message)
- func (m *DeleteProductRequest) XXX_Size() int
- func (m *DeleteProductRequest) XXX_Unmarshal(b []byte) error
- type DeleteProductResponse
- func (*DeleteProductResponse) Descriptor() ([]byte, []int)
- func (m *DeleteProductResponse) GetId() string
- func (*DeleteProductResponse) ProtoMessage()
- func (m *DeleteProductResponse) Reset()
- func (m *DeleteProductResponse) String() string
- func (m *DeleteProductResponse) XXX_DiscardUnknown()
- func (m *DeleteProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProductResponse) XXX_Merge(src proto.Message)
- func (m *DeleteProductResponse) XXX_Size() int
- func (m *DeleteProductResponse) XXX_Unmarshal(b []byte) error
- type GetCatalogueRequest
- func (*GetCatalogueRequest) Descriptor() ([]byte, []int)
- func (m *GetCatalogueRequest) GetId() string
- func (m *GetCatalogueRequest) GetUserID() uint64
- func (*GetCatalogueRequest) ProtoMessage()
- func (m *GetCatalogueRequest) Reset()
- func (m *GetCatalogueRequest) String() string
- func (m *GetCatalogueRequest) XXX_DiscardUnknown()
- func (m *GetCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCatalogueRequest) XXX_Merge(src proto.Message)
- func (m *GetCatalogueRequest) XXX_Size() int
- func (m *GetCatalogueRequest) XXX_Unmarshal(b []byte) error
- type GetCatalogueResponse
- func (*GetCatalogueResponse) Descriptor() ([]byte, []int)
- func (m *GetCatalogueResponse) GetCatalogue() *Catalogue
- func (*GetCatalogueResponse) ProtoMessage()
- func (m *GetCatalogueResponse) Reset()
- func (m *GetCatalogueResponse) String() string
- func (m *GetCatalogueResponse) XXX_DiscardUnknown()
- func (m *GetCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCatalogueResponse) XXX_Merge(src proto.Message)
- func (m *GetCatalogueResponse) XXX_Size() int
- func (m *GetCatalogueResponse) XXX_Unmarshal(b []byte) error
- type GetMultipleCataloguesRequest
- func (*GetMultipleCataloguesRequest) Descriptor() ([]byte, []int)
- func (m *GetMultipleCataloguesRequest) GetSkip() uint64
- func (m *GetMultipleCataloguesRequest) GetTake() uint64
- func (*GetMultipleCataloguesRequest) ProtoMessage()
- func (m *GetMultipleCataloguesRequest) Reset()
- func (m *GetMultipleCataloguesRequest) String() string
- func (m *GetMultipleCataloguesRequest) XXX_DiscardUnknown()
- func (m *GetMultipleCataloguesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleCataloguesRequest) XXX_Merge(src proto.Message)
- func (m *GetMultipleCataloguesRequest) XXX_Size() int
- func (m *GetMultipleCataloguesRequest) XXX_Unmarshal(b []byte) error
- type GetMultipleCataloguesResponse
- func (*GetMultipleCataloguesResponse) Descriptor() ([]byte, []int)
- func (m *GetMultipleCataloguesResponse) GetCatalogues() []*Catalogue
- func (*GetMultipleCataloguesResponse) ProtoMessage()
- func (m *GetMultipleCataloguesResponse) Reset()
- func (m *GetMultipleCataloguesResponse) String() string
- func (m *GetMultipleCataloguesResponse) XXX_DiscardUnknown()
- func (m *GetMultipleCataloguesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleCataloguesResponse) XXX_Merge(src proto.Message)
- func (m *GetMultipleCataloguesResponse) XXX_Size() int
- func (m *GetMultipleCataloguesResponse) XXX_Unmarshal(b []byte) error
- type GetMultipleProductsRequest
- func (*GetMultipleProductsRequest) Descriptor() ([]byte, []int)
- func (m *GetMultipleProductsRequest) GetSkip() uint64
- func (m *GetMultipleProductsRequest) GetTake() uint64
- func (*GetMultipleProductsRequest) ProtoMessage()
- func (m *GetMultipleProductsRequest) Reset()
- func (m *GetMultipleProductsRequest) String() string
- func (m *GetMultipleProductsRequest) XXX_DiscardUnknown()
- func (m *GetMultipleProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleProductsRequest) XXX_Merge(src proto.Message)
- func (m *GetMultipleProductsRequest) XXX_Size() int
- func (m *GetMultipleProductsRequest) XXX_Unmarshal(b []byte) error
- type GetMultipleProductsResponse
- func (*GetMultipleProductsResponse) Descriptor() ([]byte, []int)
- func (m *GetMultipleProductsResponse) GetProducts() []*Product
- func (*GetMultipleProductsResponse) ProtoMessage()
- func (m *GetMultipleProductsResponse) Reset()
- func (m *GetMultipleProductsResponse) String() string
- func (m *GetMultipleProductsResponse) XXX_DiscardUnknown()
- func (m *GetMultipleProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleProductsResponse) XXX_Merge(src proto.Message)
- func (m *GetMultipleProductsResponse) XXX_Size() int
- func (m *GetMultipleProductsResponse) XXX_Unmarshal(b []byte) error
- type GetProductRequest
- func (*GetProductRequest) Descriptor() ([]byte, []int)
- func (m *GetProductRequest) GetId() string
- func (m *GetProductRequest) GetUserID() string
- func (*GetProductRequest) ProtoMessage()
- func (m *GetProductRequest) Reset()
- func (m *GetProductRequest) String() string
- func (m *GetProductRequest) XXX_DiscardUnknown()
- func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductRequest) XXX_Merge(src proto.Message)
- func (m *GetProductRequest) XXX_Size() int
- func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
- type GetProductResponse
- func (*GetProductResponse) Descriptor() ([]byte, []int)
- func (m *GetProductResponse) GetProduct() *Product
- func (*GetProductResponse) ProtoMessage()
- func (m *GetProductResponse) Reset()
- func (m *GetProductResponse) String() string
- func (m *GetProductResponse) XXX_DiscardUnknown()
- func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductResponse) XXX_Merge(src proto.Message)
- func (m *GetProductResponse) XXX_Size() int
- func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
- type PostCatalogueRequest
- func (*PostCatalogueRequest) Descriptor() ([]byte, []int)
- func (m *PostCatalogueRequest) GetDescription() string
- func (m *PostCatalogueRequest) GetDetails() string
- func (m *PostCatalogueRequest) GetName() string
- func (m *PostCatalogueRequest) GetProductIDs() []string
- func (m *PostCatalogueRequest) GetTags() []string
- func (m *PostCatalogueRequest) GetTime() *timestamp.Timestamp
- func (m *PostCatalogueRequest) GetType() string
- func (*PostCatalogueRequest) ProtoMessage()
- func (m *PostCatalogueRequest) Reset()
- func (m *PostCatalogueRequest) String() string
- func (m *PostCatalogueRequest) XXX_DiscardUnknown()
- func (m *PostCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostCatalogueRequest) XXX_Merge(src proto.Message)
- func (m *PostCatalogueRequest) XXX_Size() int
- func (m *PostCatalogueRequest) XXX_Unmarshal(b []byte) error
- type PostCatalogueResponse
- func (*PostCatalogueResponse) Descriptor() ([]byte, []int)
- func (m *PostCatalogueResponse) GetCatalogue() string
- func (*PostCatalogueResponse) ProtoMessage()
- func (m *PostCatalogueResponse) Reset()
- func (m *PostCatalogueResponse) String() string
- func (m *PostCatalogueResponse) XXX_DiscardUnknown()
- func (m *PostCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostCatalogueResponse) XXX_Merge(src proto.Message)
- func (m *PostCatalogueResponse) XXX_Size() int
- func (m *PostCatalogueResponse) XXX_Unmarshal(b []byte) error
- type PostProductRequest
- func (*PostProductRequest) Descriptor() ([]byte, []int)
- func (m *PostProductRequest) GetDescription() string
- func (m *PostProductRequest) GetDetails() string
- func (m *PostProductRequest) GetDiscount() float32
- func (m *PostProductRequest) GetName() string
- func (m *PostProductRequest) GetPrice() float64
- func (m *PostProductRequest) GetTags() []string
- func (m *PostProductRequest) GetTime() *timestamp.Timestamp
- func (m *PostProductRequest) GetType() string
- func (*PostProductRequest) ProtoMessage()
- func (m *PostProductRequest) Reset()
- func (m *PostProductRequest) String() string
- func (m *PostProductRequest) XXX_DiscardUnknown()
- func (m *PostProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostProductRequest) XXX_Merge(src proto.Message)
- func (m *PostProductRequest) XXX_Size() int
- func (m *PostProductRequest) XXX_Unmarshal(b []byte) error
- type PostProductResponse
- func (*PostProductResponse) Descriptor() ([]byte, []int)
- func (m *PostProductResponse) GetProduct() string
- func (*PostProductResponse) ProtoMessage()
- func (m *PostProductResponse) Reset()
- func (m *PostProductResponse) String() string
- func (m *PostProductResponse) XXX_DiscardUnknown()
- func (m *PostProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostProductResponse) XXX_Merge(src proto.Message)
- func (m *PostProductResponse) XXX_Size() int
- func (m *PostProductResponse) XXX_Unmarshal(b []byte) error
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetDescription() string
- func (m *Product) GetDetails() string
- func (m *Product) GetDiscount() float32
- func (m *Product) GetId() string
- func (m *Product) GetName() string
- func (m *Product) GetPrice() float64
- func (m *Product) GetTags() []string
- func (m *Product) GetTime() *timestamp.Timestamp
- func (m *Product) GetType() string
- func (*Product) ProtoMessage()
- func (m *Product) Reset()
- func (m *Product) String() string
- func (m *Product) XXX_DiscardUnknown()
- func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product) XXX_Merge(src proto.Message)
- func (m *Product) XXX_Size() int
- func (m *Product) XXX_Unmarshal(b []byte) error
- type PutCatalogueRequest
- func (*PutCatalogueRequest) Descriptor() ([]byte, []int)
- func (m *PutCatalogueRequest) GetDescription() string
- func (m *PutCatalogueRequest) GetDetails() string
- func (m *PutCatalogueRequest) GetId() string
- func (m *PutCatalogueRequest) GetName() string
- func (m *PutCatalogueRequest) GetProductIDs() []string
- func (m *PutCatalogueRequest) GetTags() []string
- func (m *PutCatalogueRequest) GetTime() *timestamp.Timestamp
- func (m *PutCatalogueRequest) GetType() string
- func (*PutCatalogueRequest) ProtoMessage()
- func (m *PutCatalogueRequest) Reset()
- func (m *PutCatalogueRequest) String() string
- func (m *PutCatalogueRequest) XXX_DiscardUnknown()
- func (m *PutCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutCatalogueRequest) XXX_Merge(src proto.Message)
- func (m *PutCatalogueRequest) XXX_Size() int
- func (m *PutCatalogueRequest) XXX_Unmarshal(b []byte) error
- type PutCatalogueResponse
- func (*PutCatalogueResponse) Descriptor() ([]byte, []int)
- func (m *PutCatalogueResponse) GetCatalogue() string
- func (*PutCatalogueResponse) ProtoMessage()
- func (m *PutCatalogueResponse) Reset()
- func (m *PutCatalogueResponse) String() string
- func (m *PutCatalogueResponse) XXX_DiscardUnknown()
- func (m *PutCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutCatalogueResponse) XXX_Merge(src proto.Message)
- func (m *PutCatalogueResponse) XXX_Size() int
- func (m *PutCatalogueResponse) XXX_Unmarshal(b []byte) error
- type PutProductRequest
- func (*PutProductRequest) Descriptor() ([]byte, []int)
- func (m *PutProductRequest) GetDescription() string
- func (m *PutProductRequest) GetDetails() string
- func (m *PutProductRequest) GetDiscount() float32
- func (m *PutProductRequest) GetId() string
- func (m *PutProductRequest) GetName() string
- func (m *PutProductRequest) GetPrice() float64
- func (m *PutProductRequest) GetTags() []string
- func (m *PutProductRequest) GetTime() *timestamp.Timestamp
- func (m *PutProductRequest) GetType() string
- func (*PutProductRequest) ProtoMessage()
- func (m *PutProductRequest) Reset()
- func (m *PutProductRequest) String() string
- func (m *PutProductRequest) XXX_DiscardUnknown()
- func (m *PutProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutProductRequest) XXX_Merge(src proto.Message)
- func (m *PutProductRequest) XXX_Size() int
- func (m *PutProductRequest) XXX_Unmarshal(b []byte) error
- type PutProductResponse
- func (*PutProductResponse) Descriptor() ([]byte, []int)
- func (m *PutProductResponse) GetProduct() string
- func (*PutProductResponse) ProtoMessage()
- func (m *PutProductResponse) Reset()
- func (m *PutProductResponse) String() string
- func (m *PutProductResponse) XXX_DiscardUnknown()
- func (m *PutProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutProductResponse) XXX_Merge(src proto.Message)
- func (m *PutProductResponse) XXX_Size() int
- func (m *PutProductResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCatalogueServiceServer
- func (*UnimplementedCatalogueServiceServer) DeleteCatalogue(ctx context.Context, req *DeleteCatalogueRequest) (*DeleteCatalogueResponse, error)
- func (*UnimplementedCatalogueServiceServer) DeleteProduct(ctx context.Context, req *DeleteProductRequest) (*DeleteProductResponse, error)
- func (*UnimplementedCatalogueServiceServer) GetCatalogue(ctx context.Context, req *GetCatalogueRequest) (*GetCatalogueResponse, error)
- func (*UnimplementedCatalogueServiceServer) GetMultipleCatalogues(ctx context.Context, req *GetMultipleCataloguesRequest) (*GetMultipleCataloguesResponse, error)
- func (*UnimplementedCatalogueServiceServer) GetMultipleProducts(ctx context.Context, req *GetMultipleProductsRequest) (*GetMultipleProductsResponse, error)
- func (*UnimplementedCatalogueServiceServer) GetProduct(ctx context.Context, req *GetProductRequest) (*GetProductResponse, error)
- func (*UnimplementedCatalogueServiceServer) PostCatalogue(ctx context.Context, req *PostCatalogueRequest) (*PostCatalogueResponse, error)
- func (*UnimplementedCatalogueServiceServer) PostProduct(ctx context.Context, req *PostProductRequest) (*PostProductResponse, error)
- func (*UnimplementedCatalogueServiceServer) PutCatalogue(ctx context.Context, req *PutCatalogueRequest) (*PutCatalogueResponse, error)
- func (*UnimplementedCatalogueServiceServer) PutProduct(ctx context.Context, req *PutProductRequest) (*PutProductResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCatalogueServiceServer ¶
func RegisterCatalogueServiceServer(s *grpc.Server, srv CatalogueServiceServer)
Types ¶
type Catalogue ¶
type Catalogue struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` ProductIDs []string `protobuf:"bytes,7,rep,name=productIDs,proto3" json:"productIDs,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Catalogue) Descriptor ¶
func (*Catalogue) GetDescription ¶
func (*Catalogue) GetDetails ¶
func (*Catalogue) GetProductIDs ¶
func (*Catalogue) ProtoMessage ¶
func (*Catalogue) ProtoMessage()
func (*Catalogue) XXX_DiscardUnknown ¶
func (m *Catalogue) XXX_DiscardUnknown()
func (*Catalogue) XXX_Marshal ¶
func (*Catalogue) XXX_Unmarshal ¶
type CatalogueServiceClient ¶
type CatalogueServiceClient interface { PostCatalogue(ctx context.Context, in *PostCatalogueRequest, opts ...grpc.CallOption) (*PostCatalogueResponse, error) GetCatalogue(ctx context.Context, in *GetCatalogueRequest, opts ...grpc.CallOption) (*GetCatalogueResponse, error) GetMultipleCatalogues(ctx context.Context, in *GetMultipleCataloguesRequest, opts ...grpc.CallOption) (*GetMultipleCataloguesResponse, error) PutCatalogue(ctx context.Context, in *PutCatalogueRequest, opts ...grpc.CallOption) (*PutCatalogueResponse, error) DeleteCatalogue(ctx context.Context, in *DeleteCatalogueRequest, opts ...grpc.CallOption) (*DeleteCatalogueResponse, error) PostProduct(ctx context.Context, in *PostProductRequest, opts ...grpc.CallOption) (*PostProductResponse, error) GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*GetProductResponse, error) GetMultipleProducts(ctx context.Context, in *GetMultipleProductsRequest, opts ...grpc.CallOption) (*GetMultipleProductsResponse, error) PutProduct(ctx context.Context, in *PutProductRequest, opts ...grpc.CallOption) (*PutProductResponse, error) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*DeleteProductResponse, error) }
CatalogueServiceClient is the client API for CatalogueService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCatalogueServiceClient ¶
func NewCatalogueServiceClient(cc *grpc.ClientConn) CatalogueServiceClient
type CatalogueServiceServer ¶
type CatalogueServiceServer interface { PostCatalogue(context.Context, *PostCatalogueRequest) (*PostCatalogueResponse, error) GetCatalogue(context.Context, *GetCatalogueRequest) (*GetCatalogueResponse, error) GetMultipleCatalogues(context.Context, *GetMultipleCataloguesRequest) (*GetMultipleCataloguesResponse, error) PutCatalogue(context.Context, *PutCatalogueRequest) (*PutCatalogueResponse, error) DeleteCatalogue(context.Context, *DeleteCatalogueRequest) (*DeleteCatalogueResponse, error) PostProduct(context.Context, *PostProductRequest) (*PostProductResponse, error) GetProduct(context.Context, *GetProductRequest) (*GetProductResponse, error) GetMultipleProducts(context.Context, *GetMultipleProductsRequest) (*GetMultipleProductsResponse, error) PutProduct(context.Context, *PutProductRequest) (*PutProductResponse, error) DeleteProduct(context.Context, *DeleteProductRequest) (*DeleteProductResponse, error) }
CatalogueServiceServer is the server API for CatalogueService service.
type DeleteCatalogueRequest ¶
type DeleteCatalogueRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCatalogueRequest) Descriptor ¶
func (*DeleteCatalogueRequest) Descriptor() ([]byte, []int)
func (*DeleteCatalogueRequest) GetId ¶
func (m *DeleteCatalogueRequest) GetId() string
func (*DeleteCatalogueRequest) ProtoMessage ¶
func (*DeleteCatalogueRequest) ProtoMessage()
func (*DeleteCatalogueRequest) Reset ¶
func (m *DeleteCatalogueRequest) Reset()
func (*DeleteCatalogueRequest) String ¶
func (m *DeleteCatalogueRequest) String() string
func (*DeleteCatalogueRequest) XXX_DiscardUnknown ¶
func (m *DeleteCatalogueRequest) XXX_DiscardUnknown()
func (*DeleteCatalogueRequest) XXX_Marshal ¶
func (m *DeleteCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCatalogueRequest) XXX_Merge ¶
func (m *DeleteCatalogueRequest) XXX_Merge(src proto.Message)
func (*DeleteCatalogueRequest) XXX_Size ¶
func (m *DeleteCatalogueRequest) XXX_Size() int
func (*DeleteCatalogueRequest) XXX_Unmarshal ¶
func (m *DeleteCatalogueRequest) XXX_Unmarshal(b []byte) error
type DeleteCatalogueResponse ¶
type DeleteCatalogueResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCatalogueResponse) Descriptor ¶
func (*DeleteCatalogueResponse) Descriptor() ([]byte, []int)
func (*DeleteCatalogueResponse) GetId ¶
func (m *DeleteCatalogueResponse) GetId() string
func (*DeleteCatalogueResponse) ProtoMessage ¶
func (*DeleteCatalogueResponse) ProtoMessage()
func (*DeleteCatalogueResponse) Reset ¶
func (m *DeleteCatalogueResponse) Reset()
func (*DeleteCatalogueResponse) String ¶
func (m *DeleteCatalogueResponse) String() string
func (*DeleteCatalogueResponse) XXX_DiscardUnknown ¶
func (m *DeleteCatalogueResponse) XXX_DiscardUnknown()
func (*DeleteCatalogueResponse) XXX_Marshal ¶
func (m *DeleteCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCatalogueResponse) XXX_Merge ¶
func (m *DeleteCatalogueResponse) XXX_Merge(src proto.Message)
func (*DeleteCatalogueResponse) XXX_Size ¶
func (m *DeleteCatalogueResponse) XXX_Size() int
func (*DeleteCatalogueResponse) XXX_Unmarshal ¶
func (m *DeleteCatalogueResponse) XXX_Unmarshal(b []byte) error
type DeleteProductRequest ¶
type DeleteProductRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteProductRequest) Descriptor ¶
func (*DeleteProductRequest) Descriptor() ([]byte, []int)
func (*DeleteProductRequest) GetId ¶
func (m *DeleteProductRequest) GetId() string
func (*DeleteProductRequest) ProtoMessage ¶
func (*DeleteProductRequest) ProtoMessage()
func (*DeleteProductRequest) Reset ¶
func (m *DeleteProductRequest) Reset()
func (*DeleteProductRequest) String ¶
func (m *DeleteProductRequest) String() string
func (*DeleteProductRequest) XXX_DiscardUnknown ¶
func (m *DeleteProductRequest) XXX_DiscardUnknown()
func (*DeleteProductRequest) XXX_Marshal ¶
func (m *DeleteProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProductRequest) XXX_Merge ¶
func (m *DeleteProductRequest) XXX_Merge(src proto.Message)
func (*DeleteProductRequest) XXX_Size ¶
func (m *DeleteProductRequest) XXX_Size() int
func (*DeleteProductRequest) XXX_Unmarshal ¶
func (m *DeleteProductRequest) XXX_Unmarshal(b []byte) error
type DeleteProductResponse ¶
type DeleteProductResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteProductResponse) Descriptor ¶
func (*DeleteProductResponse) Descriptor() ([]byte, []int)
func (*DeleteProductResponse) GetId ¶
func (m *DeleteProductResponse) GetId() string
func (*DeleteProductResponse) ProtoMessage ¶
func (*DeleteProductResponse) ProtoMessage()
func (*DeleteProductResponse) Reset ¶
func (m *DeleteProductResponse) Reset()
func (*DeleteProductResponse) String ¶
func (m *DeleteProductResponse) String() string
func (*DeleteProductResponse) XXX_DiscardUnknown ¶
func (m *DeleteProductResponse) XXX_DiscardUnknown()
func (*DeleteProductResponse) XXX_Marshal ¶
func (m *DeleteProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProductResponse) XXX_Merge ¶
func (m *DeleteProductResponse) XXX_Merge(src proto.Message)
func (*DeleteProductResponse) XXX_Size ¶
func (m *DeleteProductResponse) XXX_Size() int
func (*DeleteProductResponse) XXX_Unmarshal ¶
func (m *DeleteProductResponse) XXX_Unmarshal(b []byte) error
type GetCatalogueRequest ¶
type GetCatalogueRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCatalogueRequest) Descriptor ¶
func (*GetCatalogueRequest) Descriptor() ([]byte, []int)
func (*GetCatalogueRequest) GetId ¶
func (m *GetCatalogueRequest) GetId() string
func (*GetCatalogueRequest) GetUserID ¶
func (m *GetCatalogueRequest) GetUserID() uint64
func (*GetCatalogueRequest) ProtoMessage ¶
func (*GetCatalogueRequest) ProtoMessage()
func (*GetCatalogueRequest) Reset ¶
func (m *GetCatalogueRequest) Reset()
func (*GetCatalogueRequest) String ¶
func (m *GetCatalogueRequest) String() string
func (*GetCatalogueRequest) XXX_DiscardUnknown ¶
func (m *GetCatalogueRequest) XXX_DiscardUnknown()
func (*GetCatalogueRequest) XXX_Marshal ¶
func (m *GetCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCatalogueRequest) XXX_Merge ¶
func (m *GetCatalogueRequest) XXX_Merge(src proto.Message)
func (*GetCatalogueRequest) XXX_Size ¶
func (m *GetCatalogueRequest) XXX_Size() int
func (*GetCatalogueRequest) XXX_Unmarshal ¶
func (m *GetCatalogueRequest) XXX_Unmarshal(b []byte) error
type GetCatalogueResponse ¶
type GetCatalogueResponse struct { Catalogue *Catalogue `protobuf:"bytes,1,opt,name=catalogue,proto3" json:"catalogue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCatalogueResponse) Descriptor ¶
func (*GetCatalogueResponse) Descriptor() ([]byte, []int)
func (*GetCatalogueResponse) GetCatalogue ¶
func (m *GetCatalogueResponse) GetCatalogue() *Catalogue
func (*GetCatalogueResponse) ProtoMessage ¶
func (*GetCatalogueResponse) ProtoMessage()
func (*GetCatalogueResponse) Reset ¶
func (m *GetCatalogueResponse) Reset()
func (*GetCatalogueResponse) String ¶
func (m *GetCatalogueResponse) String() string
func (*GetCatalogueResponse) XXX_DiscardUnknown ¶
func (m *GetCatalogueResponse) XXX_DiscardUnknown()
func (*GetCatalogueResponse) XXX_Marshal ¶
func (m *GetCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCatalogueResponse) XXX_Merge ¶
func (m *GetCatalogueResponse) XXX_Merge(src proto.Message)
func (*GetCatalogueResponse) XXX_Size ¶
func (m *GetCatalogueResponse) XXX_Size() int
func (*GetCatalogueResponse) XXX_Unmarshal ¶
func (m *GetCatalogueResponse) XXX_Unmarshal(b []byte) error
type GetMultipleCataloguesRequest ¶
type GetMultipleCataloguesRequest struct { Skip uint64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Take uint64 `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleCataloguesRequest) Descriptor ¶
func (*GetMultipleCataloguesRequest) Descriptor() ([]byte, []int)
func (*GetMultipleCataloguesRequest) GetSkip ¶
func (m *GetMultipleCataloguesRequest) GetSkip() uint64
func (*GetMultipleCataloguesRequest) GetTake ¶
func (m *GetMultipleCataloguesRequest) GetTake() uint64
func (*GetMultipleCataloguesRequest) ProtoMessage ¶
func (*GetMultipleCataloguesRequest) ProtoMessage()
func (*GetMultipleCataloguesRequest) Reset ¶
func (m *GetMultipleCataloguesRequest) Reset()
func (*GetMultipleCataloguesRequest) String ¶
func (m *GetMultipleCataloguesRequest) String() string
func (*GetMultipleCataloguesRequest) XXX_DiscardUnknown ¶
func (m *GetMultipleCataloguesRequest) XXX_DiscardUnknown()
func (*GetMultipleCataloguesRequest) XXX_Marshal ¶
func (m *GetMultipleCataloguesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleCataloguesRequest) XXX_Merge ¶
func (m *GetMultipleCataloguesRequest) XXX_Merge(src proto.Message)
func (*GetMultipleCataloguesRequest) XXX_Size ¶
func (m *GetMultipleCataloguesRequest) XXX_Size() int
func (*GetMultipleCataloguesRequest) XXX_Unmarshal ¶
func (m *GetMultipleCataloguesRequest) XXX_Unmarshal(b []byte) error
type GetMultipleCataloguesResponse ¶
type GetMultipleCataloguesResponse struct { Catalogues []*Catalogue `protobuf:"bytes,1,rep,name=catalogues,proto3" json:"catalogues,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleCataloguesResponse) Descriptor ¶
func (*GetMultipleCataloguesResponse) Descriptor() ([]byte, []int)
func (*GetMultipleCataloguesResponse) GetCatalogues ¶
func (m *GetMultipleCataloguesResponse) GetCatalogues() []*Catalogue
func (*GetMultipleCataloguesResponse) ProtoMessage ¶
func (*GetMultipleCataloguesResponse) ProtoMessage()
func (*GetMultipleCataloguesResponse) Reset ¶
func (m *GetMultipleCataloguesResponse) Reset()
func (*GetMultipleCataloguesResponse) String ¶
func (m *GetMultipleCataloguesResponse) String() string
func (*GetMultipleCataloguesResponse) XXX_DiscardUnknown ¶
func (m *GetMultipleCataloguesResponse) XXX_DiscardUnknown()
func (*GetMultipleCataloguesResponse) XXX_Marshal ¶
func (m *GetMultipleCataloguesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleCataloguesResponse) XXX_Merge ¶
func (m *GetMultipleCataloguesResponse) XXX_Merge(src proto.Message)
func (*GetMultipleCataloguesResponse) XXX_Size ¶
func (m *GetMultipleCataloguesResponse) XXX_Size() int
func (*GetMultipleCataloguesResponse) XXX_Unmarshal ¶
func (m *GetMultipleCataloguesResponse) XXX_Unmarshal(b []byte) error
type GetMultipleProductsRequest ¶
type GetMultipleProductsRequest struct { Skip uint64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Take uint64 `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleProductsRequest) Descriptor ¶
func (*GetMultipleProductsRequest) Descriptor() ([]byte, []int)
func (*GetMultipleProductsRequest) GetSkip ¶
func (m *GetMultipleProductsRequest) GetSkip() uint64
func (*GetMultipleProductsRequest) GetTake ¶
func (m *GetMultipleProductsRequest) GetTake() uint64
func (*GetMultipleProductsRequest) ProtoMessage ¶
func (*GetMultipleProductsRequest) ProtoMessage()
func (*GetMultipleProductsRequest) Reset ¶
func (m *GetMultipleProductsRequest) Reset()
func (*GetMultipleProductsRequest) String ¶
func (m *GetMultipleProductsRequest) String() string
func (*GetMultipleProductsRequest) XXX_DiscardUnknown ¶
func (m *GetMultipleProductsRequest) XXX_DiscardUnknown()
func (*GetMultipleProductsRequest) XXX_Marshal ¶
func (m *GetMultipleProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleProductsRequest) XXX_Merge ¶
func (m *GetMultipleProductsRequest) XXX_Merge(src proto.Message)
func (*GetMultipleProductsRequest) XXX_Size ¶
func (m *GetMultipleProductsRequest) XXX_Size() int
func (*GetMultipleProductsRequest) XXX_Unmarshal ¶
func (m *GetMultipleProductsRequest) XXX_Unmarshal(b []byte) error
type GetMultipleProductsResponse ¶
type GetMultipleProductsResponse struct { Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleProductsResponse) Descriptor ¶
func (*GetMultipleProductsResponse) Descriptor() ([]byte, []int)
func (*GetMultipleProductsResponse) GetProducts ¶
func (m *GetMultipleProductsResponse) GetProducts() []*Product
func (*GetMultipleProductsResponse) ProtoMessage ¶
func (*GetMultipleProductsResponse) ProtoMessage()
func (*GetMultipleProductsResponse) Reset ¶
func (m *GetMultipleProductsResponse) Reset()
func (*GetMultipleProductsResponse) String ¶
func (m *GetMultipleProductsResponse) String() string
func (*GetMultipleProductsResponse) XXX_DiscardUnknown ¶
func (m *GetMultipleProductsResponse) XXX_DiscardUnknown()
func (*GetMultipleProductsResponse) XXX_Marshal ¶
func (m *GetMultipleProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleProductsResponse) XXX_Merge ¶
func (m *GetMultipleProductsResponse) XXX_Merge(src proto.Message)
func (*GetMultipleProductsResponse) XXX_Size ¶
func (m *GetMultipleProductsResponse) XXX_Size() int
func (*GetMultipleProductsResponse) XXX_Unmarshal ¶
func (m *GetMultipleProductsResponse) XXX_Unmarshal(b []byte) error
type GetProductRequest ¶
type GetProductRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductRequest) Descriptor ¶
func (*GetProductRequest) Descriptor() ([]byte, []int)
func (*GetProductRequest) GetId ¶
func (m *GetProductRequest) GetId() string
func (*GetProductRequest) GetUserID ¶
func (m *GetProductRequest) GetUserID() string
func (*GetProductRequest) ProtoMessage ¶
func (*GetProductRequest) ProtoMessage()
func (*GetProductRequest) Reset ¶
func (m *GetProductRequest) Reset()
func (*GetProductRequest) String ¶
func (m *GetProductRequest) String() string
func (*GetProductRequest) XXX_DiscardUnknown ¶
func (m *GetProductRequest) XXX_DiscardUnknown()
func (*GetProductRequest) XXX_Marshal ¶
func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductRequest) XXX_Merge ¶
func (m *GetProductRequest) XXX_Merge(src proto.Message)
func (*GetProductRequest) XXX_Size ¶
func (m *GetProductRequest) XXX_Size() int
func (*GetProductRequest) XXX_Unmarshal ¶
func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
type GetProductResponse ¶
type GetProductResponse struct { Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductResponse) Descriptor ¶
func (*GetProductResponse) Descriptor() ([]byte, []int)
func (*GetProductResponse) GetProduct ¶
func (m *GetProductResponse) GetProduct() *Product
func (*GetProductResponse) ProtoMessage ¶
func (*GetProductResponse) ProtoMessage()
func (*GetProductResponse) Reset ¶
func (m *GetProductResponse) Reset()
func (*GetProductResponse) String ¶
func (m *GetProductResponse) String() string
func (*GetProductResponse) XXX_DiscardUnknown ¶
func (m *GetProductResponse) XXX_DiscardUnknown()
func (*GetProductResponse) XXX_Marshal ¶
func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductResponse) XXX_Merge ¶
func (m *GetProductResponse) XXX_Merge(src proto.Message)
func (*GetProductResponse) XXX_Size ¶
func (m *GetProductResponse) XXX_Size() int
func (*GetProductResponse) XXX_Unmarshal ¶
func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
type PostCatalogueRequest ¶
type PostCatalogueRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` ProductIDs []string `protobuf:"bytes,6,rep,name=productIDs,proto3" json:"productIDs,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostCatalogueRequest) Descriptor ¶
func (*PostCatalogueRequest) Descriptor() ([]byte, []int)
func (*PostCatalogueRequest) GetDescription ¶
func (m *PostCatalogueRequest) GetDescription() string
func (*PostCatalogueRequest) GetDetails ¶
func (m *PostCatalogueRequest) GetDetails() string
func (*PostCatalogueRequest) GetName ¶
func (m *PostCatalogueRequest) GetName() string
func (*PostCatalogueRequest) GetProductIDs ¶
func (m *PostCatalogueRequest) GetProductIDs() []string
func (*PostCatalogueRequest) GetTags ¶
func (m *PostCatalogueRequest) GetTags() []string
func (*PostCatalogueRequest) GetTime ¶
func (m *PostCatalogueRequest) GetTime() *timestamp.Timestamp
func (*PostCatalogueRequest) GetType ¶
func (m *PostCatalogueRequest) GetType() string
func (*PostCatalogueRequest) ProtoMessage ¶
func (*PostCatalogueRequest) ProtoMessage()
func (*PostCatalogueRequest) Reset ¶
func (m *PostCatalogueRequest) Reset()
func (*PostCatalogueRequest) String ¶
func (m *PostCatalogueRequest) String() string
func (*PostCatalogueRequest) XXX_DiscardUnknown ¶
func (m *PostCatalogueRequest) XXX_DiscardUnknown()
func (*PostCatalogueRequest) XXX_Marshal ¶
func (m *PostCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostCatalogueRequest) XXX_Merge ¶
func (m *PostCatalogueRequest) XXX_Merge(src proto.Message)
func (*PostCatalogueRequest) XXX_Size ¶
func (m *PostCatalogueRequest) XXX_Size() int
func (*PostCatalogueRequest) XXX_Unmarshal ¶
func (m *PostCatalogueRequest) XXX_Unmarshal(b []byte) error
type PostCatalogueResponse ¶
type PostCatalogueResponse struct { Catalogue string `protobuf:"bytes,1,opt,name=catalogue,proto3" json:"catalogue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostCatalogueResponse) Descriptor ¶
func (*PostCatalogueResponse) Descriptor() ([]byte, []int)
func (*PostCatalogueResponse) GetCatalogue ¶
func (m *PostCatalogueResponse) GetCatalogue() string
func (*PostCatalogueResponse) ProtoMessage ¶
func (*PostCatalogueResponse) ProtoMessage()
func (*PostCatalogueResponse) Reset ¶
func (m *PostCatalogueResponse) Reset()
func (*PostCatalogueResponse) String ¶
func (m *PostCatalogueResponse) String() string
func (*PostCatalogueResponse) XXX_DiscardUnknown ¶
func (m *PostCatalogueResponse) XXX_DiscardUnknown()
func (*PostCatalogueResponse) XXX_Marshal ¶
func (m *PostCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostCatalogueResponse) XXX_Merge ¶
func (m *PostCatalogueResponse) XXX_Merge(src proto.Message)
func (*PostCatalogueResponse) XXX_Size ¶
func (m *PostCatalogueResponse) XXX_Size() int
func (*PostCatalogueResponse) XXX_Unmarshal ¶
func (m *PostCatalogueResponse) XXX_Unmarshal(b []byte) error
type PostProductRequest ¶
type PostProductRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"` Discount float32 `protobuf:"fixed32,7,opt,name=discount,proto3" json:"discount,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostProductRequest) Descriptor ¶
func (*PostProductRequest) Descriptor() ([]byte, []int)
func (*PostProductRequest) GetDescription ¶
func (m *PostProductRequest) GetDescription() string
func (*PostProductRequest) GetDetails ¶
func (m *PostProductRequest) GetDetails() string
func (*PostProductRequest) GetDiscount ¶
func (m *PostProductRequest) GetDiscount() float32
func (*PostProductRequest) GetName ¶
func (m *PostProductRequest) GetName() string
func (*PostProductRequest) GetPrice ¶
func (m *PostProductRequest) GetPrice() float64
func (*PostProductRequest) GetTags ¶
func (m *PostProductRequest) GetTags() []string
func (*PostProductRequest) GetTime ¶
func (m *PostProductRequest) GetTime() *timestamp.Timestamp
func (*PostProductRequest) GetType ¶
func (m *PostProductRequest) GetType() string
func (*PostProductRequest) ProtoMessage ¶
func (*PostProductRequest) ProtoMessage()
func (*PostProductRequest) Reset ¶
func (m *PostProductRequest) Reset()
func (*PostProductRequest) String ¶
func (m *PostProductRequest) String() string
func (*PostProductRequest) XXX_DiscardUnknown ¶
func (m *PostProductRequest) XXX_DiscardUnknown()
func (*PostProductRequest) XXX_Marshal ¶
func (m *PostProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostProductRequest) XXX_Merge ¶
func (m *PostProductRequest) XXX_Merge(src proto.Message)
func (*PostProductRequest) XXX_Size ¶
func (m *PostProductRequest) XXX_Size() int
func (*PostProductRequest) XXX_Unmarshal ¶
func (m *PostProductRequest) XXX_Unmarshal(b []byte) error
type PostProductResponse ¶
type PostProductResponse struct { Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostProductResponse) Descriptor ¶
func (*PostProductResponse) Descriptor() ([]byte, []int)
func (*PostProductResponse) GetProduct ¶
func (m *PostProductResponse) GetProduct() string
func (*PostProductResponse) ProtoMessage ¶
func (*PostProductResponse) ProtoMessage()
func (*PostProductResponse) Reset ¶
func (m *PostProductResponse) Reset()
func (*PostProductResponse) String ¶
func (m *PostProductResponse) String() string
func (*PostProductResponse) XXX_DiscardUnknown ¶
func (m *PostProductResponse) XXX_DiscardUnknown()
func (*PostProductResponse) XXX_Marshal ¶
func (m *PostProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostProductResponse) XXX_Merge ¶
func (m *PostProductResponse) XXX_Merge(src proto.Message)
func (*PostProductResponse) XXX_Size ¶
func (m *PostProductResponse) XXX_Size() int
func (*PostProductResponse) XXX_Unmarshal ¶
func (m *PostProductResponse) XXX_Unmarshal(b []byte) error
type Product ¶
type Product struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` Price float64 `protobuf:"fixed64,7,opt,name=price,proto3" json:"price,omitempty"` Discount float32 `protobuf:"fixed32,8,opt,name=discount,proto3" json:"discount,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product) Descriptor ¶
func (*Product) GetDescription ¶
func (*Product) GetDetails ¶
func (*Product) GetDiscount ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type PutCatalogueRequest ¶
type PutCatalogueRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` ProductIDs []string `protobuf:"bytes,7,rep,name=productIDs,proto3" json:"productIDs,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutCatalogueRequest) Descriptor ¶
func (*PutCatalogueRequest) Descriptor() ([]byte, []int)
func (*PutCatalogueRequest) GetDescription ¶
func (m *PutCatalogueRequest) GetDescription() string
func (*PutCatalogueRequest) GetDetails ¶
func (m *PutCatalogueRequest) GetDetails() string
func (*PutCatalogueRequest) GetId ¶
func (m *PutCatalogueRequest) GetId() string
func (*PutCatalogueRequest) GetName ¶
func (m *PutCatalogueRequest) GetName() string
func (*PutCatalogueRequest) GetProductIDs ¶
func (m *PutCatalogueRequest) GetProductIDs() []string
func (*PutCatalogueRequest) GetTags ¶
func (m *PutCatalogueRequest) GetTags() []string
func (*PutCatalogueRequest) GetTime ¶
func (m *PutCatalogueRequest) GetTime() *timestamp.Timestamp
func (*PutCatalogueRequest) GetType ¶
func (m *PutCatalogueRequest) GetType() string
func (*PutCatalogueRequest) ProtoMessage ¶
func (*PutCatalogueRequest) ProtoMessage()
func (*PutCatalogueRequest) Reset ¶
func (m *PutCatalogueRequest) Reset()
func (*PutCatalogueRequest) String ¶
func (m *PutCatalogueRequest) String() string
func (*PutCatalogueRequest) XXX_DiscardUnknown ¶
func (m *PutCatalogueRequest) XXX_DiscardUnknown()
func (*PutCatalogueRequest) XXX_Marshal ¶
func (m *PutCatalogueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutCatalogueRequest) XXX_Merge ¶
func (m *PutCatalogueRequest) XXX_Merge(src proto.Message)
func (*PutCatalogueRequest) XXX_Size ¶
func (m *PutCatalogueRequest) XXX_Size() int
func (*PutCatalogueRequest) XXX_Unmarshal ¶
func (m *PutCatalogueRequest) XXX_Unmarshal(b []byte) error
type PutCatalogueResponse ¶
type PutCatalogueResponse struct { Catalogue string `protobuf:"bytes,1,opt,name=catalogue,proto3" json:"catalogue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutCatalogueResponse) Descriptor ¶
func (*PutCatalogueResponse) Descriptor() ([]byte, []int)
func (*PutCatalogueResponse) GetCatalogue ¶
func (m *PutCatalogueResponse) GetCatalogue() string
func (*PutCatalogueResponse) ProtoMessage ¶
func (*PutCatalogueResponse) ProtoMessage()
func (*PutCatalogueResponse) Reset ¶
func (m *PutCatalogueResponse) Reset()
func (*PutCatalogueResponse) String ¶
func (m *PutCatalogueResponse) String() string
func (*PutCatalogueResponse) XXX_DiscardUnknown ¶
func (m *PutCatalogueResponse) XXX_DiscardUnknown()
func (*PutCatalogueResponse) XXX_Marshal ¶
func (m *PutCatalogueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutCatalogueResponse) XXX_Merge ¶
func (m *PutCatalogueResponse) XXX_Merge(src proto.Message)
func (*PutCatalogueResponse) XXX_Size ¶
func (m *PutCatalogueResponse) XXX_Size() int
func (*PutCatalogueResponse) XXX_Unmarshal ¶
func (m *PutCatalogueResponse) XXX_Unmarshal(b []byte) error
type PutProductRequest ¶
type PutProductRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` Price float64 `protobuf:"fixed64,7,opt,name=price,proto3" json:"price,omitempty"` Discount float32 `protobuf:"fixed32,8,opt,name=discount,proto3" json:"discount,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutProductRequest) Descriptor ¶
func (*PutProductRequest) Descriptor() ([]byte, []int)
func (*PutProductRequest) GetDescription ¶
func (m *PutProductRequest) GetDescription() string
func (*PutProductRequest) GetDetails ¶
func (m *PutProductRequest) GetDetails() string
func (*PutProductRequest) GetDiscount ¶
func (m *PutProductRequest) GetDiscount() float32
func (*PutProductRequest) GetId ¶
func (m *PutProductRequest) GetId() string
func (*PutProductRequest) GetName ¶
func (m *PutProductRequest) GetName() string
func (*PutProductRequest) GetPrice ¶
func (m *PutProductRequest) GetPrice() float64
func (*PutProductRequest) GetTags ¶
func (m *PutProductRequest) GetTags() []string
func (*PutProductRequest) GetTime ¶
func (m *PutProductRequest) GetTime() *timestamp.Timestamp
func (*PutProductRequest) GetType ¶
func (m *PutProductRequest) GetType() string
func (*PutProductRequest) ProtoMessage ¶
func (*PutProductRequest) ProtoMessage()
func (*PutProductRequest) Reset ¶
func (m *PutProductRequest) Reset()
func (*PutProductRequest) String ¶
func (m *PutProductRequest) String() string
func (*PutProductRequest) XXX_DiscardUnknown ¶
func (m *PutProductRequest) XXX_DiscardUnknown()
func (*PutProductRequest) XXX_Marshal ¶
func (m *PutProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutProductRequest) XXX_Merge ¶
func (m *PutProductRequest) XXX_Merge(src proto.Message)
func (*PutProductRequest) XXX_Size ¶
func (m *PutProductRequest) XXX_Size() int
func (*PutProductRequest) XXX_Unmarshal ¶
func (m *PutProductRequest) XXX_Unmarshal(b []byte) error
type PutProductResponse ¶
type PutProductResponse struct { Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutProductResponse) Descriptor ¶
func (*PutProductResponse) Descriptor() ([]byte, []int)
func (*PutProductResponse) GetProduct ¶
func (m *PutProductResponse) GetProduct() string
func (*PutProductResponse) ProtoMessage ¶
func (*PutProductResponse) ProtoMessage()
func (*PutProductResponse) Reset ¶
func (m *PutProductResponse) Reset()
func (*PutProductResponse) String ¶
func (m *PutProductResponse) String() string
func (*PutProductResponse) XXX_DiscardUnknown ¶
func (m *PutProductResponse) XXX_DiscardUnknown()
func (*PutProductResponse) XXX_Marshal ¶
func (m *PutProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutProductResponse) XXX_Merge ¶
func (m *PutProductResponse) XXX_Merge(src proto.Message)
func (*PutProductResponse) XXX_Size ¶
func (m *PutProductResponse) XXX_Size() int
func (*PutProductResponse) XXX_Unmarshal ¶
func (m *PutProductResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCatalogueServiceServer ¶
type UnimplementedCatalogueServiceServer struct { }
UnimplementedCatalogueServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCatalogueServiceServer) DeleteCatalogue ¶
func (*UnimplementedCatalogueServiceServer) DeleteCatalogue(ctx context.Context, req *DeleteCatalogueRequest) (*DeleteCatalogueResponse, error)
func (*UnimplementedCatalogueServiceServer) DeleteProduct ¶
func (*UnimplementedCatalogueServiceServer) DeleteProduct(ctx context.Context, req *DeleteProductRequest) (*DeleteProductResponse, error)
func (*UnimplementedCatalogueServiceServer) GetCatalogue ¶
func (*UnimplementedCatalogueServiceServer) GetCatalogue(ctx context.Context, req *GetCatalogueRequest) (*GetCatalogueResponse, error)
func (*UnimplementedCatalogueServiceServer) GetMultipleCatalogues ¶
func (*UnimplementedCatalogueServiceServer) GetMultipleCatalogues(ctx context.Context, req *GetMultipleCataloguesRequest) (*GetMultipleCataloguesResponse, error)
func (*UnimplementedCatalogueServiceServer) GetMultipleProducts ¶
func (*UnimplementedCatalogueServiceServer) GetMultipleProducts(ctx context.Context, req *GetMultipleProductsRequest) (*GetMultipleProductsResponse, error)
func (*UnimplementedCatalogueServiceServer) GetProduct ¶
func (*UnimplementedCatalogueServiceServer) GetProduct(ctx context.Context, req *GetProductRequest) (*GetProductResponse, error)
func (*UnimplementedCatalogueServiceServer) PostCatalogue ¶
func (*UnimplementedCatalogueServiceServer) PostCatalogue(ctx context.Context, req *PostCatalogueRequest) (*PostCatalogueResponse, error)
func (*UnimplementedCatalogueServiceServer) PostProduct ¶
func (*UnimplementedCatalogueServiceServer) PostProduct(ctx context.Context, req *PostProductRequest) (*PostProductResponse, error)
func (*UnimplementedCatalogueServiceServer) PutCatalogue ¶
func (*UnimplementedCatalogueServiceServer) PutCatalogue(ctx context.Context, req *PutCatalogueRequest) (*PutCatalogueResponse, error)
func (*UnimplementedCatalogueServiceServer) PutProduct ¶
func (*UnimplementedCatalogueServiceServer) PutProduct(ctx context.Context, req *PutProductRequest) (*PutProductResponse, error)
Click to show internal directories.
Click to hide internal directories.