pb

package
v0.0.0-...-40fc3ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Catalogue) GetDescription

func (m *Catalogue) GetDescription() string

func (*Catalogue) GetDetails

func (m *Catalogue) GetDetails() string

func (*Catalogue) GetId

func (m *Catalogue) GetId() string

func (*Catalogue) GetName

func (m *Catalogue) GetName() string

func (*Catalogue) GetProductIDs

func (m *Catalogue) GetProductIDs() []string

func (*Catalogue) GetTags

func (m *Catalogue) GetTags() []string

func (*Catalogue) GetTime

func (m *Catalogue) GetTime() *timestamp.Timestamp

func (*Catalogue) GetType

func (m *Catalogue) GetType() string

func (*Catalogue) ProtoMessage

func (*Catalogue) ProtoMessage()

func (*Catalogue) Reset

func (m *Catalogue) Reset()

func (*Catalogue) String

func (m *Catalogue) String() string

func (*Catalogue) XXX_DiscardUnknown

func (m *Catalogue) XXX_DiscardUnknown()

func (*Catalogue) XXX_Marshal

func (m *Catalogue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Catalogue) XXX_Merge

func (m *Catalogue) XXX_Merge(src proto.Message)

func (*Catalogue) XXX_Size

func (m *Catalogue) XXX_Size() int

func (*Catalogue) XXX_Unmarshal

func (m *Catalogue) XXX_Unmarshal(b []byte) error

type CatalogueServiceClient

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 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 (*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 (*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 (*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) Descriptor() ([]byte, []int)

func (*Product) GetDescription

func (m *Product) GetDescription() string

func (*Product) GetDetails

func (m *Product) GetDetails() string

func (*Product) GetDiscount

func (m *Product) GetDiscount() float32

func (*Product) GetId

func (m *Product) GetId() string

func (*Product) GetName

func (m *Product) GetName() string

func (*Product) GetPrice

func (m *Product) GetPrice() float64

func (*Product) GetTags

func (m *Product) GetTags() []string

func (*Product) GetTime

func (m *Product) GetTime() *timestamp.Timestamp

func (*Product) GetType

func (m *Product) GetType() string

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) Reset

func (m *Product) Reset()

func (*Product) String

func (m *Product) String() string

func (*Product) XXX_DiscardUnknown

func (m *Product) XXX_DiscardUnknown()

func (*Product) XXX_Marshal

func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Product) XXX_Merge

func (m *Product) XXX_Merge(src proto.Message)

func (*Product) XXX_Size

func (m *Product) XXX_Size() int

func (*Product) XXX_Unmarshal

func (m *Product) XXX_Unmarshal(b []byte) error

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) DeleteProduct

func (*UnimplementedCatalogueServiceServer) GetCatalogue

func (*UnimplementedCatalogueServiceServer) GetMultipleCatalogues

func (*UnimplementedCatalogueServiceServer) GetMultipleProducts

func (*UnimplementedCatalogueServiceServer) GetProduct

func (*UnimplementedCatalogueServiceServer) PostCatalogue

func (*UnimplementedCatalogueServiceServer) PostProduct

func (*UnimplementedCatalogueServiceServer) PutCatalogue

func (*UnimplementedCatalogueServiceServer) PutProduct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL