v1

package
v0.0.0-...-2022bb5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_layout_v1_layout_proto protoreflect.FileDescriptor
View Source
var Layout_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "layout.v1.Layout",
	HandlerType: (*LayoutServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Layout_Create_Handler,
		},
		{
			MethodName: "GetOne",
			Handler:    _Layout_GetOne_Handler,
		},
		{
			MethodName: "GetList",
			Handler:    _Layout_GetList_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Layout_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Layout_Delete_Handler,
		},
		{
			MethodName: "GetRuntimeLayouts",
			Handler:    _Layout_GetRuntimeLayouts_Handler,
		},
		{
			MethodName: "GetRuntimeLayoutMap",
			Handler:    _Layout_GetRuntimeLayoutMap_Handler,
		},
		{
			MethodName: "InitLayout",
			Handler:    _Layout_InitLayout_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "layout/v1/layout.proto",
}

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

Functions

func RegisterLayoutServer

func RegisterLayoutServer(s grpc.ServiceRegistrar, srv LayoutServer)

Types

type CreateReq

type CreateReq struct {
	LocationId int32 `protobuf:"varint,1,opt,name=LocationId,proto3" json:"LocationId,omitempty" v:"required"` // v:required
	PolicyCId  int32 `protobuf:"varint,2,opt,name=PolicyCId,proto3" json:"PolicyCId,omitempty" v:"required"`   // v:required
	// 如果已经使用了 PolicyCId,可以不传PolicyInfo
	PolicyInfo string `` // v:json
	/* 144-byte string literal not displayed */
	LayoutName string `protobuf:"bytes,4,opt,name=LayoutName,proto3" json:"LayoutName,omitempty" v:"required"` // v:required
	Map        string `protobuf:"bytes,5,opt,name=Map,proto3" json:"Map,omitempty" v:"json"`                   // v:json
	Status     int32  `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty" v:"required"`        // v:required
	Sort       int32  `protobuf:"varint,7,opt,name=Sort,proto3" json:"Sort,omitempty" v:"required"`            // v:required
	// contains filtered or unexported fields
}

func (*CreateReq) Descriptor deprecated

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

Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.

func (*CreateReq) GetLayoutName

func (x *CreateReq) GetLayoutName() string

func (*CreateReq) GetLocationId

func (x *CreateReq) GetLocationId() int32

func (*CreateReq) GetMap

func (x *CreateReq) GetMap() string

func (*CreateReq) GetPolicyCId

func (x *CreateReq) GetPolicyCId() int32

func (*CreateReq) GetPolicyInfo

func (x *CreateReq) GetPolicyInfo() string

func (*CreateReq) GetSort

func (x *CreateReq) GetSort() int32

func (*CreateReq) GetStatus

func (x *CreateReq) GetStatus() int32

func (*CreateReq) ProtoMessage

func (*CreateReq) ProtoMessage()

func (*CreateReq) ProtoReflect

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

func (*CreateReq) Reset

func (x *CreateReq) Reset()

func (*CreateReq) String

func (x *CreateReq) String() string

type CreateRes

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

func (*CreateRes) Descriptor deprecated

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

Deprecated: Use CreateRes.ProtoReflect.Descriptor instead.

func (*CreateRes) GetId

func (x *CreateRes) GetId() int32

func (*CreateRes) ProtoMessage

func (*CreateRes) ProtoMessage()

func (*CreateRes) ProtoReflect

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

func (*CreateRes) Reset

func (x *CreateRes) Reset()

func (*CreateRes) String

func (x *CreateRes) String() string

type DeleteReq

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

func (*DeleteReq) Descriptor deprecated

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

Deprecated: Use DeleteReq.ProtoReflect.Descriptor instead.

func (*DeleteReq) GetId

func (x *DeleteReq) GetId() int32

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) ProtoReflect

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

func (*DeleteReq) Reset

func (x *DeleteReq) Reset()

func (*DeleteReq) String

func (x *DeleteReq) String() string

type DeleteRes

type DeleteRes struct {
	Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRes) Descriptor deprecated

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

Deprecated: Use DeleteRes.ProtoReflect.Descriptor instead.

func (*DeleteRes) GetEmpty

func (x *DeleteRes) GetEmpty() *emptypb.Empty

func (*DeleteRes) ProtoMessage

func (*DeleteRes) ProtoMessage()

func (*DeleteRes) ProtoReflect

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

func (*DeleteRes) Reset

func (x *DeleteRes) Reset()

func (*DeleteRes) String

func (x *DeleteRes) String() string

type GetListReq

type GetListReq struct {
	Page       int32  `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty" v:"required"`                 // v:required
	PageSize   int32  `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty" v:"required|max:100"` // v:required|max:100
	LayoutName string `protobuf:"bytes,3,opt,name=LayoutName,proto3" json:"LayoutName,omitempty" v:"length:1,20"`   // v:length:1,20
	Status     int32  `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"`
	SeatsMin   int32  `protobuf:"varint,5,opt,name=SeatsMin,proto3" json:"SeatsMin,omitempty" v:"length:0,99999999"` // v:length:0,99999999
	SeatsMax   int32  `protobuf:"varint,6,opt,name=SeatsMax,proto3" json:"SeatsMax,omitempty" v:"length:1,99999999"` // v:length:1,99999999
	// contains filtered or unexported fields
}

func (*GetListReq) Descriptor deprecated

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

Deprecated: Use GetListReq.ProtoReflect.Descriptor instead.

func (*GetListReq) GetLayoutName

func (x *GetListReq) GetLayoutName() string

func (*GetListReq) GetPage

func (x *GetListReq) GetPage() int32

func (*GetListReq) GetPageSize

func (x *GetListReq) GetPageSize() int32

func (*GetListReq) GetSeatsMax

func (x *GetListReq) GetSeatsMax() int32

func (*GetListReq) GetSeatsMin

func (x *GetListReq) GetSeatsMin() int32

func (*GetListReq) GetStatus

func (x *GetListReq) GetStatus() int32

func (*GetListReq) ProtoMessage

func (*GetListReq) ProtoMessage()

func (*GetListReq) ProtoReflect

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

func (*GetListReq) Reset

func (x *GetListReq) Reset()

func (*GetListReq) String

func (x *GetListReq) String() string

type GetListRes

type GetListRes struct {
	Layouts []*LayoutList `protobuf:"bytes,1,rep,name=layouts,proto3" json:"layouts,omitempty"`
	Total   int32         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListRes) Descriptor deprecated

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

Deprecated: Use GetListRes.ProtoReflect.Descriptor instead.

func (*GetListRes) GetLayouts

func (x *GetListRes) GetLayouts() []*LayoutList

func (*GetListRes) GetTotal

func (x *GetListRes) GetTotal() int32

func (*GetListRes) ProtoMessage

func (*GetListRes) ProtoMessage()

func (*GetListRes) ProtoReflect

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

func (*GetListRes) Reset

func (x *GetListRes) Reset()

func (*GetListRes) String

func (x *GetListRes) String() string

type GetOneReq

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

func (*GetOneReq) Descriptor deprecated

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

Deprecated: Use GetOneReq.ProtoReflect.Descriptor instead.

func (*GetOneReq) GetId

func (x *GetOneReq) GetId() int32

func (*GetOneReq) ProtoMessage

func (*GetOneReq) ProtoMessage()

func (*GetOneReq) ProtoReflect

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

func (*GetOneReq) Reset

func (x *GetOneReq) Reset()

func (*GetOneReq) String

func (x *GetOneReq) String() string

type GetOneRes

type GetOneRes struct {
	Layout       *pbentity.Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"`
	PolicyInfo   string           `protobuf:"bytes,2,opt,name=PolicyInfo,proto3" json:"PolicyInfo,omitempty"`
	LocationName string           `protobuf:"bytes,3,opt,name=LocationName,proto3" json:"LocationName,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneRes) Descriptor deprecated

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

Deprecated: Use GetOneRes.ProtoReflect.Descriptor instead.

func (*GetOneRes) GetLayout

func (x *GetOneRes) GetLayout() *pbentity.Layout

func (*GetOneRes) GetLocationName

func (x *GetOneRes) GetLocationName() string

func (*GetOneRes) GetPolicyInfo

func (x *GetOneRes) GetPolicyInfo() string

func (*GetOneRes) ProtoMessage

func (*GetOneRes) ProtoMessage()

func (*GetOneRes) ProtoReflect

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

func (*GetOneRes) Reset

func (x *GetOneRes) Reset()

func (*GetOneRes) String

func (x *GetOneRes) String() string

type GetRuntimeLayoutMapReq

type GetRuntimeLayoutMapReq struct {
	LayoutId int32 `protobuf:"varint,1,opt,name=layoutId,proto3" json:"layoutId,omitempty" v:"required"` // v:required
	// contains filtered or unexported fields
}

func (*GetRuntimeLayoutMapReq) Descriptor deprecated

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

Deprecated: Use GetRuntimeLayoutMapReq.ProtoReflect.Descriptor instead.

func (*GetRuntimeLayoutMapReq) GetLayoutId

func (x *GetRuntimeLayoutMapReq) GetLayoutId() int32

func (*GetRuntimeLayoutMapReq) ProtoMessage

func (*GetRuntimeLayoutMapReq) ProtoMessage()

func (*GetRuntimeLayoutMapReq) ProtoReflect

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

func (*GetRuntimeLayoutMapReq) Reset

func (x *GetRuntimeLayoutMapReq) Reset()

func (*GetRuntimeLayoutMapReq) String

func (x *GetRuntimeLayoutMapReq) String() string

type GetRuntimeLayoutMapRes

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

func (*GetRuntimeLayoutMapRes) Descriptor deprecated

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

Deprecated: Use GetRuntimeLayoutMapRes.ProtoReflect.Descriptor instead.

func (*GetRuntimeLayoutMapRes) GetMap

func (x *GetRuntimeLayoutMapRes) GetMap() string

func (*GetRuntimeLayoutMapRes) ProtoMessage

func (*GetRuntimeLayoutMapRes) ProtoMessage()

func (*GetRuntimeLayoutMapRes) ProtoReflect

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

func (*GetRuntimeLayoutMapRes) Reset

func (x *GetRuntimeLayoutMapRes) Reset()

func (*GetRuntimeLayoutMapRes) String

func (x *GetRuntimeLayoutMapRes) String() string

type GetRuntimeLayoutReq

type GetRuntimeLayoutReq struct {
	LocationIds []uint64 `protobuf:"varint,1,rep,packed,name=locationIds,proto3" json:"locationIds,omitempty" v:"required"` // v:required
	// contains filtered or unexported fields
}

func (*GetRuntimeLayoutReq) Descriptor deprecated

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

Deprecated: Use GetRuntimeLayoutReq.ProtoReflect.Descriptor instead.

func (*GetRuntimeLayoutReq) GetLocationIds

func (x *GetRuntimeLayoutReq) GetLocationIds() []uint64

func (*GetRuntimeLayoutReq) ProtoMessage

func (*GetRuntimeLayoutReq) ProtoMessage()

func (*GetRuntimeLayoutReq) ProtoReflect

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

func (*GetRuntimeLayoutReq) Reset

func (x *GetRuntimeLayoutReq) Reset()

func (*GetRuntimeLayoutReq) String

func (x *GetRuntimeLayoutReq) String() string

type GetRuntimeLayoutRes

type GetRuntimeLayoutRes struct {
	Layouts []*pbentity.Layout `protobuf:"bytes,1,rep,name=layouts,proto3" json:"layouts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRuntimeLayoutRes) Descriptor deprecated

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

Deprecated: Use GetRuntimeLayoutRes.ProtoReflect.Descriptor instead.

func (*GetRuntimeLayoutRes) GetLayouts

func (x *GetRuntimeLayoutRes) GetLayouts() []*pbentity.Layout

func (*GetRuntimeLayoutRes) ProtoMessage

func (*GetRuntimeLayoutRes) ProtoMessage()

func (*GetRuntimeLayoutRes) ProtoReflect

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

func (*GetRuntimeLayoutRes) Reset

func (x *GetRuntimeLayoutRes) Reset()

func (*GetRuntimeLayoutRes) String

func (x *GetRuntimeLayoutRes) String() string

type InitLayoutReq

type InitLayoutReq struct {
	LayoutId int64 `protobuf:"varint,1,opt,name=layoutId,proto3" json:"layoutId,omitempty" v:"required"` // v:required
	// contains filtered or unexported fields
}

func (*InitLayoutReq) Descriptor deprecated

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

Deprecated: Use InitLayoutReq.ProtoReflect.Descriptor instead.

func (*InitLayoutReq) GetLayoutId

func (x *InitLayoutReq) GetLayoutId() int64

func (*InitLayoutReq) ProtoMessage

func (*InitLayoutReq) ProtoMessage()

func (*InitLayoutReq) ProtoReflect

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

func (*InitLayoutReq) Reset

func (x *InitLayoutReq) Reset()

func (*InitLayoutReq) String

func (x *InitLayoutReq) String() string

type InitLayoutRes

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

func (*InitLayoutRes) Descriptor deprecated

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

Deprecated: Use InitLayoutRes.ProtoReflect.Descriptor instead.

func (*InitLayoutRes) ProtoMessage

func (*InitLayoutRes) ProtoMessage()

func (*InitLayoutRes) ProtoReflect

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

func (*InitLayoutRes) Reset

func (x *InitLayoutRes) Reset()

func (*InitLayoutRes) String

func (x *InitLayoutRes) String() string

type LayoutClient

type LayoutClient interface {
	Create(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*CreateRes, error)
	GetOne(ctx context.Context, in *GetOneReq, opts ...grpc.CallOption) (*GetOneRes, error)
	GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListRes, error)
	Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateRes, error)
	Delete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*DeleteRes, error)
	GetRuntimeLayouts(ctx context.Context, in *GetRuntimeLayoutReq, opts ...grpc.CallOption) (*GetRuntimeLayoutRes, error)
	GetRuntimeLayoutMap(ctx context.Context, in *GetRuntimeLayoutMapReq, opts ...grpc.CallOption) (*GetRuntimeLayoutMapRes, error)
	InitLayout(ctx context.Context, in *InitLayoutReq, opts ...grpc.CallOption) (*InitLayoutRes, error)
}

LayoutClient is the client API for Layout 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 NewLayoutClient

func NewLayoutClient(cc grpc.ClientConnInterface) LayoutClient

type LayoutList

type LayoutList struct {
	Id         int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	LocationId int32  `protobuf:"varint,2,opt,name=LocationId,proto3" json:"LocationId,omitempty"`
	LayoutName string `protobuf:"bytes,3,opt,name=LayoutName,proto3" json:"LayoutName,omitempty"`
	Status     int32  `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"`
	Sort       int32  `protobuf:"varint,5,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Seats      int32  `protobuf:"varint,6,opt,name=Seats,proto3" json:"Seats,omitempty"`
	// contains filtered or unexported fields
}

func (*LayoutList) Descriptor deprecated

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

Deprecated: Use LayoutList.ProtoReflect.Descriptor instead.

func (*LayoutList) GetId

func (x *LayoutList) GetId() int32

func (*LayoutList) GetLayoutName

func (x *LayoutList) GetLayoutName() string

func (*LayoutList) GetLocationId

func (x *LayoutList) GetLocationId() int32

func (*LayoutList) GetSeats

func (x *LayoutList) GetSeats() int32

func (*LayoutList) GetSort

func (x *LayoutList) GetSort() int32

func (*LayoutList) GetStatus

func (x *LayoutList) GetStatus() int32

func (*LayoutList) ProtoMessage

func (*LayoutList) ProtoMessage()

func (*LayoutList) ProtoReflect

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

func (*LayoutList) Reset

func (x *LayoutList) Reset()

func (*LayoutList) String

func (x *LayoutList) String() string

type LayoutServer

type LayoutServer interface {
	Create(context.Context, *CreateReq) (*CreateRes, error)
	GetOne(context.Context, *GetOneReq) (*GetOneRes, error)
	GetList(context.Context, *GetListReq) (*GetListRes, error)
	Update(context.Context, *UpdateReq) (*UpdateRes, error)
	Delete(context.Context, *DeleteReq) (*DeleteRes, error)
	GetRuntimeLayouts(context.Context, *GetRuntimeLayoutReq) (*GetRuntimeLayoutRes, error)
	GetRuntimeLayoutMap(context.Context, *GetRuntimeLayoutMapReq) (*GetRuntimeLayoutMapRes, error)
	InitLayout(context.Context, *InitLayoutReq) (*InitLayoutRes, error)
	// contains filtered or unexported methods
}

LayoutServer is the server API for Layout service. All implementations must embed UnimplementedLayoutServer for forward compatibility

type UnimplementedLayoutServer

type UnimplementedLayoutServer struct {
}

UnimplementedLayoutServer must be embedded to have forward compatible implementations.

func (UnimplementedLayoutServer) Create

func (UnimplementedLayoutServer) Delete

func (UnimplementedLayoutServer) GetList

func (UnimplementedLayoutServer) GetOne

func (UnimplementedLayoutServer) GetRuntimeLayoutMap

func (UnimplementedLayoutServer) GetRuntimeLayouts

func (UnimplementedLayoutServer) InitLayout

func (UnimplementedLayoutServer) Update

type UnsafeLayoutServer

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

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

type UpdateReq

type UpdateReq struct {
	Id         int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" v:"required"`                 // v:required
	LocationId int32  `protobuf:"varint,2,opt,name=LocationId,proto3" json:"LocationId,omitempty" v:"required"` // v:required
	PolicyCId  int32  `protobuf:"varint,3,opt,name=PolicyCId,proto3" json:"PolicyCId,omitempty" v:"required"`   // v:required
	PolicyInfo string `protobuf:"bytes,4,opt,name=PolicyInfo,proto3" json:"PolicyInfo,omitempty" v:"json"`      // v:json
	LayoutName string `protobuf:"bytes,5,opt,name=LayoutName,proto3" json:"LayoutName,omitempty" v:"required"`  // v:required
	Map        string `protobuf:"bytes,6,opt,name=Map,proto3" json:"Map,omitempty" v:"json"`                    // v:json
	Status     int32  `protobuf:"varint,7,opt,name=Status,proto3" json:"Status,omitempty" v:"required"`         // v:required
	Sort       int32  `protobuf:"varint,8,opt,name=Sort,proto3" json:"Sort,omitempty" v:"required"`             // v:required
	// contains filtered or unexported fields
}

func (*UpdateReq) Descriptor deprecated

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

Deprecated: Use UpdateReq.ProtoReflect.Descriptor instead.

func (*UpdateReq) GetId

func (x *UpdateReq) GetId() int32

func (*UpdateReq) GetLayoutName

func (x *UpdateReq) GetLayoutName() string

func (*UpdateReq) GetLocationId

func (x *UpdateReq) GetLocationId() int32

func (*UpdateReq) GetMap

func (x *UpdateReq) GetMap() string

func (*UpdateReq) GetPolicyCId

func (x *UpdateReq) GetPolicyCId() int32

func (*UpdateReq) GetPolicyInfo

func (x *UpdateReq) GetPolicyInfo() string

func (*UpdateReq) GetSort

func (x *UpdateReq) GetSort() int32

func (*UpdateReq) GetStatus

func (x *UpdateReq) GetStatus() int32

func (*UpdateReq) ProtoMessage

func (*UpdateReq) ProtoMessage()

func (*UpdateReq) ProtoReflect

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

func (*UpdateReq) Reset

func (x *UpdateReq) Reset()

func (*UpdateReq) String

func (x *UpdateReq) String() string

type UpdateRes

type UpdateRes struct {
	Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRes) Descriptor deprecated

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

Deprecated: Use UpdateRes.ProtoReflect.Descriptor instead.

func (*UpdateRes) GetEmpty

func (x *UpdateRes) GetEmpty() *emptypb.Empty

func (*UpdateRes) ProtoMessage

func (*UpdateRes) ProtoMessage()

func (*UpdateRes) ProtoReflect

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

func (*UpdateRes) Reset

func (x *UpdateRes) Reset()

func (*UpdateRes) String

func (x *UpdateRes) String() string

Jump to

Keyboard shortcuts

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