v1

package
v0.0.0-...-b12402e Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CatalogServiceErrorReason_name = map[int32]string{
		0: "UNKNOWN_ERROR",
	}
	CatalogServiceErrorReason_value = map[string]int32{
		"UNKNOWN_ERROR": 0,
	}
)

Enum value maps for CatalogServiceErrorReason.

View Source
var Catalog_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "catalog.service.v1.Catalog",
	HandlerType: (*CatalogServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListBeer",
			Handler:    _Catalog_ListBeer_Handler,
		},
		{
			MethodName: "ListBeerNextToken",
			Handler:    _Catalog_ListBeerNextToken_Handler,
		},
		{
			MethodName: "CreateBeer",
			Handler:    _Catalog_CreateBeer_Handler,
		},
		{
			MethodName: "GetBeer",
			Handler:    _Catalog_GetBeer_Handler,
		},
		{
			MethodName: "UpdateBeer",
			Handler:    _Catalog_UpdateBeer_Handler,
		},
		{
			MethodName: "DeleteBeer",
			Handler:    _Catalog_DeleteBeer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/catalog/service/v1/catalog.proto",
}

Catalog_ServiceDesc is the grpc.ServiceDesc for Catalog service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_catalog_service_v1_catalog_proto protoreflect.FileDescriptor
View Source
var File_v1_catalog_error_proto protoreflect.FileDescriptor

Functions

func ErrorUnknownError

func ErrorUnknownError(format string, args ...interface{}) *errors.Error

func IsUnknownError

func IsUnknownError(err error) bool

func RegisterCatalogServer

func RegisterCatalogServer(s grpc.ServiceRegistrar, srv CatalogServer)

Types

type CatalogClient

type CatalogClient interface {
	ListBeer(ctx context.Context, in *ListBeerReq, opts ...grpc.CallOption) (*ListBeerReply, error)
	ListBeerNextToken(ctx context.Context, in *ListBeerNextTokenReq, opts ...grpc.CallOption) (*ListBeerReplyNextToken, error)
	CreateBeer(ctx context.Context, in *CreateBeerReq, opts ...grpc.CallOption) (*CreateBeerReply, error)
	GetBeer(ctx context.Context, in *GetBeerReq, opts ...grpc.CallOption) (*GetBeerReply, error)
	UpdateBeer(ctx context.Context, in *UpdateBeerReq, opts ...grpc.CallOption) (*UpdateBeerReply, error)
	DeleteBeer(ctx context.Context, in *DeleteBeerReq, opts ...grpc.CallOption) (*DeleteBeerReply, error)
}

CatalogClient is the client API for Catalog service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCatalogClient

func NewCatalogClient(cc grpc.ClientConnInterface) CatalogClient

type CatalogServer

type CatalogServer interface {
	ListBeer(context.Context, *ListBeerReq) (*ListBeerReply, error)
	ListBeerNextToken(context.Context, *ListBeerNextTokenReq) (*ListBeerReplyNextToken, error)
	CreateBeer(context.Context, *CreateBeerReq) (*CreateBeerReply, error)
	GetBeer(context.Context, *GetBeerReq) (*GetBeerReply, error)
	UpdateBeer(context.Context, *UpdateBeerReq) (*UpdateBeerReply, error)
	DeleteBeer(context.Context, *DeleteBeerReq) (*DeleteBeerReply, error)
	// contains filtered or unexported methods
}

CatalogServer is the server API for Catalog service. All implementations must embed UnimplementedCatalogServer for forward compatibility

type CatalogServiceErrorReason

type CatalogServiceErrorReason int32
const (
	CatalogServiceErrorReason_UNKNOWN_ERROR CatalogServiceErrorReason = 0
)

func (CatalogServiceErrorReason) Descriptor

func (CatalogServiceErrorReason) Enum

func (CatalogServiceErrorReason) EnumDescriptor deprecated

func (CatalogServiceErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use CatalogServiceErrorReason.Descriptor instead.

func (CatalogServiceErrorReason) Number

func (CatalogServiceErrorReason) String

func (x CatalogServiceErrorReason) String() string

func (CatalogServiceErrorReason) Type

type CreateBeerReply

type CreateBeerReply struct {
	Id          int64                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                    `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*CreateBeerReply_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBeerReply) Descriptor deprecated

func (*CreateBeerReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateBeerReply.ProtoReflect.Descriptor instead.

func (*CreateBeerReply) GetCount

func (x *CreateBeerReply) GetCount() int64

func (*CreateBeerReply) GetDescription

func (x *CreateBeerReply) GetDescription() string

func (*CreateBeerReply) GetId

func (x *CreateBeerReply) GetId() int64

func (*CreateBeerReply) GetImage

func (x *CreateBeerReply) GetImage() []*CreateBeerReply_Image

func (*CreateBeerReply) GetName

func (x *CreateBeerReply) GetName() string

func (*CreateBeerReply) ProtoMessage

func (*CreateBeerReply) ProtoMessage()

func (*CreateBeerReply) ProtoReflect

func (x *CreateBeerReply) ProtoReflect() protoreflect.Message

func (*CreateBeerReply) Reset

func (x *CreateBeerReply) Reset()

func (*CreateBeerReply) String

func (x *CreateBeerReply) String() string

type CreateBeerReply_Image

type CreateBeerReply_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBeerReply_Image) Descriptor deprecated

func (*CreateBeerReply_Image) Descriptor() ([]byte, []int)

Deprecated: Use CreateBeerReply_Image.ProtoReflect.Descriptor instead.

func (*CreateBeerReply_Image) GetUrl

func (x *CreateBeerReply_Image) GetUrl() string

func (*CreateBeerReply_Image) ProtoMessage

func (*CreateBeerReply_Image) ProtoMessage()

func (*CreateBeerReply_Image) ProtoReflect

func (x *CreateBeerReply_Image) ProtoReflect() protoreflect.Message

func (*CreateBeerReply_Image) Reset

func (x *CreateBeerReply_Image) Reset()

func (*CreateBeerReply_Image) String

func (x *CreateBeerReply_Image) String() string

type CreateBeerReq

type CreateBeerReq struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*CreateBeerReq_Image `protobuf:"bytes,4,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBeerReq) Descriptor deprecated

func (*CreateBeerReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateBeerReq.ProtoReflect.Descriptor instead.

func (*CreateBeerReq) GetCount

func (x *CreateBeerReq) GetCount() int64

func (*CreateBeerReq) GetDescription

func (x *CreateBeerReq) GetDescription() string

func (*CreateBeerReq) GetImage

func (x *CreateBeerReq) GetImage() []*CreateBeerReq_Image

func (*CreateBeerReq) GetName

func (x *CreateBeerReq) GetName() string

func (*CreateBeerReq) ProtoMessage

func (*CreateBeerReq) ProtoMessage()

func (*CreateBeerReq) ProtoReflect

func (x *CreateBeerReq) ProtoReflect() protoreflect.Message

func (*CreateBeerReq) Reset

func (x *CreateBeerReq) Reset()

func (*CreateBeerReq) String

func (x *CreateBeerReq) String() string

type CreateBeerReq_Image

type CreateBeerReq_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBeerReq_Image) Descriptor deprecated

func (*CreateBeerReq_Image) Descriptor() ([]byte, []int)

Deprecated: Use CreateBeerReq_Image.ProtoReflect.Descriptor instead.

func (*CreateBeerReq_Image) GetUrl

func (x *CreateBeerReq_Image) GetUrl() string

func (*CreateBeerReq_Image) ProtoMessage

func (*CreateBeerReq_Image) ProtoMessage()

func (*CreateBeerReq_Image) ProtoReflect

func (x *CreateBeerReq_Image) ProtoReflect() protoreflect.Message

func (*CreateBeerReq_Image) Reset

func (x *CreateBeerReq_Image) Reset()

func (*CreateBeerReq_Image) String

func (x *CreateBeerReq_Image) String() string

type DeleteBeerReply

type DeleteBeerReply struct {
	// contains filtered or unexported fields
}

func (*DeleteBeerReply) Descriptor deprecated

func (*DeleteBeerReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBeerReply.ProtoReflect.Descriptor instead.

func (*DeleteBeerReply) ProtoMessage

func (*DeleteBeerReply) ProtoMessage()

func (*DeleteBeerReply) ProtoReflect

func (x *DeleteBeerReply) ProtoReflect() protoreflect.Message

func (*DeleteBeerReply) Reset

func (x *DeleteBeerReply) Reset()

func (*DeleteBeerReply) String

func (x *DeleteBeerReply) String() string

type DeleteBeerReq

type DeleteBeerReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBeerReq) Descriptor deprecated

func (*DeleteBeerReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBeerReq.ProtoReflect.Descriptor instead.

func (*DeleteBeerReq) GetId

func (x *DeleteBeerReq) GetId() int64

func (*DeleteBeerReq) ProtoMessage

func (*DeleteBeerReq) ProtoMessage()

func (*DeleteBeerReq) ProtoReflect

func (x *DeleteBeerReq) ProtoReflect() protoreflect.Message

func (*DeleteBeerReq) Reset

func (x *DeleteBeerReq) Reset()

func (*DeleteBeerReq) String

func (x *DeleteBeerReq) String() string

type GetBeerReply

type GetBeerReply struct {
	Id          int64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*GetBeerReply_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBeerReply) Descriptor deprecated

func (*GetBeerReply) Descriptor() ([]byte, []int)

Deprecated: Use GetBeerReply.ProtoReflect.Descriptor instead.

func (*GetBeerReply) GetCount

func (x *GetBeerReply) GetCount() int64

func (*GetBeerReply) GetDescription

func (x *GetBeerReply) GetDescription() string

func (*GetBeerReply) GetId

func (x *GetBeerReply) GetId() int64

func (*GetBeerReply) GetImage

func (x *GetBeerReply) GetImage() []*GetBeerReply_Image

func (*GetBeerReply) GetName

func (x *GetBeerReply) GetName() string

func (*GetBeerReply) ProtoMessage

func (*GetBeerReply) ProtoMessage()

func (*GetBeerReply) ProtoReflect

func (x *GetBeerReply) ProtoReflect() protoreflect.Message

func (*GetBeerReply) Reset

func (x *GetBeerReply) Reset()

func (*GetBeerReply) String

func (x *GetBeerReply) String() string

type GetBeerReply_Image

type GetBeerReply_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBeerReply_Image) Descriptor deprecated

func (*GetBeerReply_Image) Descriptor() ([]byte, []int)

Deprecated: Use GetBeerReply_Image.ProtoReflect.Descriptor instead.

func (*GetBeerReply_Image) GetUrl

func (x *GetBeerReply_Image) GetUrl() string

func (*GetBeerReply_Image) ProtoMessage

func (*GetBeerReply_Image) ProtoMessage()

func (*GetBeerReply_Image) ProtoReflect

func (x *GetBeerReply_Image) ProtoReflect() protoreflect.Message

func (*GetBeerReply_Image) Reset

func (x *GetBeerReply_Image) Reset()

func (*GetBeerReply_Image) String

func (x *GetBeerReply_Image) String() string

type GetBeerReq

type GetBeerReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBeerReq) Descriptor deprecated

func (*GetBeerReq) Descriptor() ([]byte, []int)

Deprecated: Use GetBeerReq.ProtoReflect.Descriptor instead.

func (*GetBeerReq) GetId

func (x *GetBeerReq) GetId() int64

func (*GetBeerReq) ProtoMessage

func (*GetBeerReq) ProtoMessage()

func (*GetBeerReq) ProtoReflect

func (x *GetBeerReq) ProtoReflect() protoreflect.Message

func (*GetBeerReq) Reset

func (x *GetBeerReq) Reset()

func (*GetBeerReq) String

func (x *GetBeerReq) String() string

type ListBeerNextTokenReq

type ListBeerNextTokenReq struct {

	// The maximum number of books to return. The service may return fewer than
	// this value.
	// If unspecified, at most 50 books will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListBooks` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListBooks` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerNextTokenReq) Descriptor deprecated

func (*ListBeerNextTokenReq) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerNextTokenReq.ProtoReflect.Descriptor instead.

func (*ListBeerNextTokenReq) GetPageSize

func (x *ListBeerNextTokenReq) GetPageSize() int32

func (*ListBeerNextTokenReq) GetPageToken

func (x *ListBeerNextTokenReq) GetPageToken() string

func (*ListBeerNextTokenReq) ProtoMessage

func (*ListBeerNextTokenReq) ProtoMessage()

func (*ListBeerNextTokenReq) ProtoReflect

func (x *ListBeerNextTokenReq) ProtoReflect() protoreflect.Message

func (*ListBeerNextTokenReq) Reset

func (x *ListBeerNextTokenReq) Reset()

func (*ListBeerNextTokenReq) String

func (x *ListBeerNextTokenReq) String() string

type ListBeerReply

type ListBeerReply struct {
	Results []*ListBeerReply_Beer `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReply) Descriptor deprecated

func (*ListBeerReply) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReply.ProtoReflect.Descriptor instead.

func (*ListBeerReply) GetResults

func (x *ListBeerReply) GetResults() []*ListBeerReply_Beer

func (*ListBeerReply) ProtoMessage

func (*ListBeerReply) ProtoMessage()

func (*ListBeerReply) ProtoReflect

func (x *ListBeerReply) ProtoReflect() protoreflect.Message

func (*ListBeerReply) Reset

func (x *ListBeerReply) Reset()

func (*ListBeerReply) String

func (x *ListBeerReply) String() string

type ListBeerReplyNextToken

type ListBeerReplyNextToken struct {
	Results       []*ListBeerReplyNextToken_Beer `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	NextPageToken string                         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReplyNextToken) Descriptor deprecated

func (*ListBeerReplyNextToken) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReplyNextToken.ProtoReflect.Descriptor instead.

func (*ListBeerReplyNextToken) GetNextPageToken

func (x *ListBeerReplyNextToken) GetNextPageToken() string

func (*ListBeerReplyNextToken) GetResults

func (*ListBeerReplyNextToken) ProtoMessage

func (*ListBeerReplyNextToken) ProtoMessage()

func (*ListBeerReplyNextToken) ProtoReflect

func (x *ListBeerReplyNextToken) ProtoReflect() protoreflect.Message

func (*ListBeerReplyNextToken) Reset

func (x *ListBeerReplyNextToken) Reset()

func (*ListBeerReplyNextToken) String

func (x *ListBeerReplyNextToken) String() string

type ListBeerReplyNextToken_Beer

type ListBeerReplyNextToken_Beer struct {
	Id          int64                                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                                `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*ListBeerReplyNextToken_Beer_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReplyNextToken_Beer) Descriptor deprecated

func (*ListBeerReplyNextToken_Beer) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReplyNextToken_Beer.ProtoReflect.Descriptor instead.

func (*ListBeerReplyNextToken_Beer) GetCount

func (x *ListBeerReplyNextToken_Beer) GetCount() int64

func (*ListBeerReplyNextToken_Beer) GetDescription

func (x *ListBeerReplyNextToken_Beer) GetDescription() string

func (*ListBeerReplyNextToken_Beer) GetId

func (*ListBeerReplyNextToken_Beer) GetImage

func (*ListBeerReplyNextToken_Beer) GetName

func (x *ListBeerReplyNextToken_Beer) GetName() string

func (*ListBeerReplyNextToken_Beer) ProtoMessage

func (*ListBeerReplyNextToken_Beer) ProtoMessage()

func (*ListBeerReplyNextToken_Beer) ProtoReflect

func (*ListBeerReplyNextToken_Beer) Reset

func (x *ListBeerReplyNextToken_Beer) Reset()

func (*ListBeerReplyNextToken_Beer) String

func (x *ListBeerReplyNextToken_Beer) String() string

type ListBeerReplyNextToken_Beer_Image

type ListBeerReplyNextToken_Beer_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReplyNextToken_Beer_Image) Descriptor deprecated

func (*ListBeerReplyNextToken_Beer_Image) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReplyNextToken_Beer_Image.ProtoReflect.Descriptor instead.

func (*ListBeerReplyNextToken_Beer_Image) GetUrl

func (*ListBeerReplyNextToken_Beer_Image) ProtoMessage

func (*ListBeerReplyNextToken_Beer_Image) ProtoMessage()

func (*ListBeerReplyNextToken_Beer_Image) ProtoReflect

func (*ListBeerReplyNextToken_Beer_Image) Reset

func (*ListBeerReplyNextToken_Beer_Image) String

type ListBeerReply_Beer

type ListBeerReply_Beer struct {
	Id          int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                      `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                       `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*ListBeerReply_Beer_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReply_Beer) Descriptor deprecated

func (*ListBeerReply_Beer) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReply_Beer.ProtoReflect.Descriptor instead.

func (*ListBeerReply_Beer) GetCount

func (x *ListBeerReply_Beer) GetCount() int64

func (*ListBeerReply_Beer) GetDescription

func (x *ListBeerReply_Beer) GetDescription() string

func (*ListBeerReply_Beer) GetId

func (x *ListBeerReply_Beer) GetId() int64

func (*ListBeerReply_Beer) GetImage

func (*ListBeerReply_Beer) GetName

func (x *ListBeerReply_Beer) GetName() string

func (*ListBeerReply_Beer) ProtoMessage

func (*ListBeerReply_Beer) ProtoMessage()

func (*ListBeerReply_Beer) ProtoReflect

func (x *ListBeerReply_Beer) ProtoReflect() protoreflect.Message

func (*ListBeerReply_Beer) Reset

func (x *ListBeerReply_Beer) Reset()

func (*ListBeerReply_Beer) String

func (x *ListBeerReply_Beer) String() string

type ListBeerReply_Beer_Image

type ListBeerReply_Beer_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReply_Beer_Image) Descriptor deprecated

func (*ListBeerReply_Beer_Image) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReply_Beer_Image.ProtoReflect.Descriptor instead.

func (*ListBeerReply_Beer_Image) GetUrl

func (x *ListBeerReply_Beer_Image) GetUrl() string

func (*ListBeerReply_Beer_Image) ProtoMessage

func (*ListBeerReply_Beer_Image) ProtoMessage()

func (*ListBeerReply_Beer_Image) ProtoReflect

func (x *ListBeerReply_Beer_Image) ProtoReflect() protoreflect.Message

func (*ListBeerReply_Beer_Image) Reset

func (x *ListBeerReply_Beer_Image) Reset()

func (*ListBeerReply_Beer_Image) String

func (x *ListBeerReply_Beer_Image) String() string

type ListBeerReq

type ListBeerReq struct {
	PageNum  int64 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBeerReq) Descriptor deprecated

func (*ListBeerReq) Descriptor() ([]byte, []int)

Deprecated: Use ListBeerReq.ProtoReflect.Descriptor instead.

func (*ListBeerReq) GetPageNum

func (x *ListBeerReq) GetPageNum() int64

func (*ListBeerReq) GetPageSize

func (x *ListBeerReq) GetPageSize() int64

func (*ListBeerReq) ProtoMessage

func (*ListBeerReq) ProtoMessage()

func (*ListBeerReq) ProtoReflect

func (x *ListBeerReq) ProtoReflect() protoreflect.Message

func (*ListBeerReq) Reset

func (x *ListBeerReq) Reset()

func (*ListBeerReq) String

func (x *ListBeerReq) String() string

type UnimplementedCatalogServer

type UnimplementedCatalogServer struct {
}

UnimplementedCatalogServer must be embedded to have forward compatible implementations.

func (UnimplementedCatalogServer) CreateBeer

func (UnimplementedCatalogServer) DeleteBeer

func (UnimplementedCatalogServer) GetBeer

func (UnimplementedCatalogServer) ListBeer

func (UnimplementedCatalogServer) ListBeerNextToken

func (UnimplementedCatalogServer) UpdateBeer

type UnsafeCatalogServer

type UnsafeCatalogServer interface {
	// contains filtered or unexported methods
}

UnsafeCatalogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CatalogServer will result in compilation errors.

type UpdateBeerReply

type UpdateBeerReply struct {
	Id          int64                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                    `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*UpdateBeerReply_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBeerReply) Descriptor deprecated

func (*UpdateBeerReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBeerReply.ProtoReflect.Descriptor instead.

func (*UpdateBeerReply) GetCount

func (x *UpdateBeerReply) GetCount() int64

func (*UpdateBeerReply) GetDescription

func (x *UpdateBeerReply) GetDescription() string

func (*UpdateBeerReply) GetId

func (x *UpdateBeerReply) GetId() int64

func (*UpdateBeerReply) GetImage

func (x *UpdateBeerReply) GetImage() []*UpdateBeerReply_Image

func (*UpdateBeerReply) GetName

func (x *UpdateBeerReply) GetName() string

func (*UpdateBeerReply) ProtoMessage

func (*UpdateBeerReply) ProtoMessage()

func (*UpdateBeerReply) ProtoReflect

func (x *UpdateBeerReply) ProtoReflect() protoreflect.Message

func (*UpdateBeerReply) Reset

func (x *UpdateBeerReply) Reset()

func (*UpdateBeerReply) String

func (x *UpdateBeerReply) String() string

type UpdateBeerReply_Image

type UpdateBeerReply_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBeerReply_Image) Descriptor deprecated

func (*UpdateBeerReply_Image) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBeerReply_Image.ProtoReflect.Descriptor instead.

func (*UpdateBeerReply_Image) GetUrl

func (x *UpdateBeerReply_Image) GetUrl() string

func (*UpdateBeerReply_Image) ProtoMessage

func (*UpdateBeerReply_Image) ProtoMessage()

func (*UpdateBeerReply_Image) ProtoReflect

func (x *UpdateBeerReply_Image) ProtoReflect() protoreflect.Message

func (*UpdateBeerReply_Image) Reset

func (x *UpdateBeerReply_Image) Reset()

func (*UpdateBeerReply_Image) String

func (x *UpdateBeerReply_Image) String() string

type UpdateBeerReq

type UpdateBeerReq struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Count       int64                  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Image       []*UpdateBeerReq_Image `protobuf:"bytes,5,rep,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBeerReq) Descriptor deprecated

func (*UpdateBeerReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBeerReq.ProtoReflect.Descriptor instead.

func (*UpdateBeerReq) GetCount

func (x *UpdateBeerReq) GetCount() int64

func (*UpdateBeerReq) GetDescription

func (x *UpdateBeerReq) GetDescription() string

func (*UpdateBeerReq) GetId

func (x *UpdateBeerReq) GetId() int64

func (*UpdateBeerReq) GetImage

func (x *UpdateBeerReq) GetImage() []*UpdateBeerReq_Image

func (*UpdateBeerReq) GetName

func (x *UpdateBeerReq) GetName() string

func (*UpdateBeerReq) ProtoMessage

func (*UpdateBeerReq) ProtoMessage()

func (*UpdateBeerReq) ProtoReflect

func (x *UpdateBeerReq) ProtoReflect() protoreflect.Message

func (*UpdateBeerReq) Reset

func (x *UpdateBeerReq) Reset()

func (*UpdateBeerReq) String

func (x *UpdateBeerReq) String() string

type UpdateBeerReq_Image

type UpdateBeerReq_Image struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBeerReq_Image) Descriptor deprecated

func (*UpdateBeerReq_Image) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBeerReq_Image.ProtoReflect.Descriptor instead.

func (*UpdateBeerReq_Image) GetUrl

func (x *UpdateBeerReq_Image) GetUrl() string

func (*UpdateBeerReq_Image) ProtoMessage

func (*UpdateBeerReq_Image) ProtoMessage()

func (*UpdateBeerReq_Image) ProtoReflect

func (x *UpdateBeerReq_Image) ProtoReflect() protoreflect.Message

func (*UpdateBeerReq_Image) Reset

func (x *UpdateBeerReq_Image) Reset()

func (*UpdateBeerReq_Image) String

func (x *UpdateBeerReq_Image) String() string

Jump to

Keyboard shortcuts

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