Documentation ¶
Index ¶
- Variables
- func RegisterSellerServiceServer(s grpc.ServiceRegistrar, srv SellerServiceServer)
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetPlaceOfWorkId() int32
- func (x *ListRequest) GetPlaceOfWorkType() tradingpoint.PlaceOfWorkType
- func (x *ListRequest) GetSearch() string
- func (x *ListRequest) GetTradingPointId() int32
- func (x *ListRequest) GetTradingPointType() tradingpoint.TradingPointType
- func (x *ListRequest) GetWorksAtFilter() WorksAtFilterType
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- type NewWorksAt
- type PlaceOfWork
- func (*PlaceOfWork) Descriptor() ([]byte, []int)deprecated
- func (x *PlaceOfWork) GetId() int32
- func (x *PlaceOfWork) GetType() tradingpoint.PlaceOfWorkType
- func (*PlaceOfWork) ProtoMessage()
- func (x *PlaceOfWork) ProtoReflect() protoreflect.Message
- func (x *PlaceOfWork) Reset()
- func (x *PlaceOfWork) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetBirthDate() *core.Date
- func (x *RegisterRequest) GetFirstName() string
- func (x *RegisterRequest) GetLastName() string
- func (x *RegisterRequest) GetMiddleName() string
- func (x *RegisterRequest) GetPhoneNumber() string
- func (x *RegisterRequest) GetSalary() *core.Money
- func (x *RegisterRequest) GetWorksAt() *WorksAt
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type Seller
- func (*Seller) Descriptor() ([]byte, []int)deprecated
- func (x *Seller) GetBirthDate() *core.Date
- func (x *Seller) GetFirstName() string
- func (x *Seller) GetId() int32
- func (x *Seller) GetLastName() string
- func (x *Seller) GetMiddleName() string
- func (x *Seller) GetPhoneNumber() string
- func (x *Seller) GetSalary() *core.Money
- func (x *Seller) GetStatus() SellerStatus
- func (x *Seller) GetWorksAt() *WorksAt
- func (*Seller) ProtoMessage()
- func (x *Seller) ProtoReflect() protoreflect.Message
- func (x *Seller) Reset()
- func (x *Seller) String() string
- type SellerServiceClient
- type SellerServiceServer
- type SellerStatus
- func (SellerStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SellerStatus) Enum() *SellerStatus
- func (SellerStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SellerStatus) Number() protoreflect.EnumNumber
- func (x SellerStatus) String() string
- func (SellerStatus) Type() protoreflect.EnumType
- type TradingPoint
- func (*TradingPoint) Descriptor() ([]byte, []int)deprecated
- func (x *TradingPoint) GetId() int32
- func (x *TradingPoint) GetType() tradingpoint.TradingPointType
- func (*TradingPoint) ProtoMessage()
- func (x *TradingPoint) ProtoReflect() protoreflect.Message
- func (x *TradingPoint) Reset()
- func (x *TradingPoint) String() string
- type UnimplementedSellerServiceServer
- func (UnimplementedSellerServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedSellerServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedSellerServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeSellerServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetBirthDate() *core.Date
- func (x *UpdateRequest) GetFirstName() string
- func (x *UpdateRequest) GetId() int32
- func (x *UpdateRequest) GetLastName() string
- func (x *UpdateRequest) GetMiddleName() string
- func (x *UpdateRequest) GetPhoneNumber() string
- func (x *UpdateRequest) GetSalary() *core.Money
- func (x *UpdateRequest) GetWorksAt() *NewWorksAt
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type WorksAt
- type WorksAtFilterType
- func (WorksAtFilterType) Descriptor() protoreflect.EnumDescriptor
- func (x WorksAtFilterType) Enum() *WorksAtFilterType
- func (WorksAtFilterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorksAtFilterType) Number() protoreflect.EnumNumber
- func (x WorksAtFilterType) String() string
- func (WorksAtFilterType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( SellerStatus_name = map[int32]string{ 0: "SELLER_STATUS_WORKING", 1: "SELLER_STATUS_NOT_WORKING", } SellerStatus_value = map[string]int32{ "SELLER_STATUS_WORKING": 0, "SELLER_STATUS_NOT_WORKING": 1, } )
Enum value maps for SellerStatus.
var ( WorksAtFilterType_name = map[int32]string{ 0: "WORKS_AT_FILTER_TYPE_ALL", 1: "WORKS_AT_FILTER_TYPE_ONLY_NULL", 2: "WORKS_AT_FILTER_TYPE_ONLY_NOT_NULL", } WorksAtFilterType_value = map[string]int32{ "WORKS_AT_FILTER_TYPE_ALL": 0, "WORKS_AT_FILTER_TYPE_ONLY_NULL": 1, "WORKS_AT_FILTER_TYPE_ONLY_NOT_NULL": 2, } )
Enum value maps for WorksAtFilterType.
var File_seller_seller_proto protoreflect.FileDescriptor
var SellerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seller.SellerService", HandlerType: (*SellerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _SellerService_Register_Handler, }, { MethodName: "List", Handler: _SellerService_List_Handler, }, { MethodName: "Update", Handler: _SellerService_Update_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "seller/seller.proto", }
SellerService_ServiceDesc is the grpc.ServiceDesc for SellerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSellerServiceServer ¶
func RegisterSellerServiceServer(s grpc.ServiceRegistrar, srv SellerServiceServer)
Types ¶
type ListRequest ¶ added in v0.0.19
type ListRequest struct { WorksAtFilter WorksAtFilterType `` /* 133-byte string literal not displayed */ TradingPointId *int32 `protobuf:"varint,2,opt,name=trading_point_id,json=tradingPointId,proto3,oneof" json:"trading_point_id,omitempty"` TradingPointType *tradingpoint.TradingPointType `` /* 153-byte string literal not displayed */ PlaceOfWorkId *int32 `protobuf:"varint,4,opt,name=place_of_work_id,json=placeOfWorkId,proto3,oneof" json:"place_of_work_id,omitempty"` PlaceOfWorkType *tradingpoint.PlaceOfWorkType `` /* 151-byte string literal not displayed */ Search *string `protobuf:"bytes,6,opt,name=search,proto3,oneof" json:"search,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
added in
v0.0.19
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPlaceOfWorkId ¶ added in v0.0.23
func (x *ListRequest) GetPlaceOfWorkId() int32
func (*ListRequest) GetPlaceOfWorkType ¶ added in v0.0.23
func (x *ListRequest) GetPlaceOfWorkType() tradingpoint.PlaceOfWorkType
func (*ListRequest) GetSearch ¶ added in v0.0.20
func (x *ListRequest) GetSearch() string
func (*ListRequest) GetTradingPointId ¶ added in v0.0.23
func (x *ListRequest) GetTradingPointId() int32
func (*ListRequest) GetTradingPointType ¶ added in v0.0.23
func (x *ListRequest) GetTradingPointType() tradingpoint.TradingPointType
func (*ListRequest) GetWorksAtFilter ¶ added in v0.0.20
func (x *ListRequest) GetWorksAtFilter() WorksAtFilterType
func (*ListRequest) ProtoMessage ¶ added in v0.0.19
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶ added in v0.0.19
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶ added in v0.0.19
func (x *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.0.19
func (x *ListRequest) String() string
type ListResponse ¶ added in v0.0.18
type ListResponse struct { Sellers []*Seller `protobuf:"bytes,1,rep,name=sellers,proto3" json:"sellers,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
added in
v0.0.18
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetSellers ¶ added in v0.0.18
func (x *ListResponse) GetSellers() []*Seller
func (*ListResponse) ProtoMessage ¶ added in v0.0.18
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶ added in v0.0.18
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶ added in v0.0.18
func (x *ListResponse) Reset()
func (*ListResponse) String ¶ added in v0.0.18
func (x *ListResponse) String() string
type NewWorksAt ¶ added in v0.0.26
type NewWorksAt struct { WorksAt *WorksAt `protobuf:"bytes,1,opt,name=works_at,json=worksAt,proto3,oneof" json:"works_at,omitempty"` // contains filtered or unexported fields }
func (*NewWorksAt) Descriptor
deprecated
added in
v0.0.26
func (*NewWorksAt) Descriptor() ([]byte, []int)
Deprecated: Use NewWorksAt.ProtoReflect.Descriptor instead.
func (*NewWorksAt) GetWorksAt ¶ added in v0.0.26
func (x *NewWorksAt) GetWorksAt() *WorksAt
func (*NewWorksAt) ProtoMessage ¶ added in v0.0.26
func (*NewWorksAt) ProtoMessage()
func (*NewWorksAt) ProtoReflect ¶ added in v0.0.26
func (x *NewWorksAt) ProtoReflect() protoreflect.Message
func (*NewWorksAt) Reset ¶ added in v0.0.26
func (x *NewWorksAt) Reset()
func (*NewWorksAt) String ¶ added in v0.0.26
func (x *NewWorksAt) String() string
type PlaceOfWork ¶ added in v0.0.17
type PlaceOfWork struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type tradingpoint.PlaceOfWorkType `protobuf:"varint,2,opt,name=type,proto3,enum=tradingpoint.PlaceOfWorkType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PlaceOfWork) Descriptor
deprecated
added in
v0.0.17
func (*PlaceOfWork) Descriptor() ([]byte, []int)
Deprecated: Use PlaceOfWork.ProtoReflect.Descriptor instead.
func (*PlaceOfWork) GetId ¶ added in v0.0.20
func (x *PlaceOfWork) GetId() int32
func (*PlaceOfWork) GetType ¶ added in v0.0.20
func (x *PlaceOfWork) GetType() tradingpoint.PlaceOfWorkType
func (*PlaceOfWork) ProtoMessage ¶ added in v0.0.17
func (*PlaceOfWork) ProtoMessage()
func (*PlaceOfWork) ProtoReflect ¶ added in v0.0.17
func (x *PlaceOfWork) ProtoReflect() protoreflect.Message
func (*PlaceOfWork) Reset ¶ added in v0.0.17
func (x *PlaceOfWork) Reset()
func (*PlaceOfWork) String ¶ added in v0.0.17
func (x *PlaceOfWork) String() string
type RegisterRequest ¶
type RegisterRequest struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` MiddleName string `protobuf:"bytes,3,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"` BirthDate *core.Date `protobuf:"bytes,4,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` Salary *core.Money `protobuf:"bytes,5,opt,name=salary,proto3" json:"salary,omitempty"` PhoneNumber string `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` WorksAt *WorksAt `protobuf:"bytes,7,opt,name=works_at,json=worksAt,proto3,oneof" json:"works_at,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetBirthDate ¶
func (x *RegisterRequest) GetBirthDate() *core.Date
func (*RegisterRequest) GetFirstName ¶
func (x *RegisterRequest) GetFirstName() string
func (*RegisterRequest) GetLastName ¶
func (x *RegisterRequest) GetLastName() string
func (*RegisterRequest) GetMiddleName ¶
func (x *RegisterRequest) GetMiddleName() string
func (*RegisterRequest) GetPhoneNumber ¶
func (x *RegisterRequest) GetPhoneNumber() string
func (*RegisterRequest) GetSalary ¶
func (x *RegisterRequest) GetSalary() *core.Money
func (*RegisterRequest) GetWorksAt ¶ added in v0.0.22
func (x *RegisterRequest) GetWorksAt() *WorksAt
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetId ¶
func (x *RegisterResponse) GetId() int32
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type Seller ¶
type Seller struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status SellerStatus `protobuf:"varint,2,opt,name=status,proto3,enum=seller.SellerStatus" json:"status,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` MiddleName string `protobuf:"bytes,5,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"` BirthDate *core.Date `protobuf:"bytes,6,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` Salary *core.Money `protobuf:"bytes,7,opt,name=salary,proto3" json:"salary,omitempty"` PhoneNumber string `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` WorksAt *WorksAt `protobuf:"bytes,9,opt,name=works_at,json=worksAt,proto3,oneof" json:"works_at,omitempty"` // contains filtered or unexported fields }
func (*Seller) Descriptor
deprecated
func (*Seller) GetBirthDate ¶
func (*Seller) GetFirstName ¶
func (*Seller) GetLastName ¶
func (*Seller) GetMiddleName ¶
func (*Seller) GetPhoneNumber ¶
func (*Seller) GetStatus ¶ added in v0.0.17
func (x *Seller) GetStatus() SellerStatus
func (*Seller) GetWorksAt ¶ added in v0.0.20
func (*Seller) ProtoMessage ¶
func (*Seller) ProtoMessage()
func (*Seller) ProtoReflect ¶
func (x *Seller) ProtoReflect() protoreflect.Message
type SellerServiceClient ¶
type SellerServiceClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) }
SellerServiceClient is the client API for SellerService 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 NewSellerServiceClient ¶
func NewSellerServiceClient(cc grpc.ClientConnInterface) SellerServiceClient
type SellerServiceServer ¶
type SellerServiceServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // contains filtered or unexported methods }
SellerServiceServer is the server API for SellerService service. All implementations must embed UnimplementedSellerServiceServer for forward compatibility
type SellerStatus ¶ added in v0.0.17
type SellerStatus int32
const ( SellerStatus_SELLER_STATUS_WORKING SellerStatus = 0 SellerStatus_SELLER_STATUS_NOT_WORKING SellerStatus = 1 )
func (SellerStatus) Descriptor ¶ added in v0.0.17
func (SellerStatus) Descriptor() protoreflect.EnumDescriptor
func (SellerStatus) Enum ¶ added in v0.0.17
func (x SellerStatus) Enum() *SellerStatus
func (SellerStatus) EnumDescriptor
deprecated
added in
v0.0.17
func (SellerStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SellerStatus.Descriptor instead.
func (SellerStatus) Number ¶ added in v0.0.17
func (x SellerStatus) Number() protoreflect.EnumNumber
func (SellerStatus) String ¶ added in v0.0.17
func (x SellerStatus) String() string
func (SellerStatus) Type ¶ added in v0.0.17
func (SellerStatus) Type() protoreflect.EnumType
type TradingPoint ¶ added in v0.0.20
type TradingPoint struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type tradingpoint.TradingPointType `protobuf:"varint,2,opt,name=type,proto3,enum=tradingpoint.TradingPointType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TradingPoint) Descriptor
deprecated
added in
v0.0.20
func (*TradingPoint) Descriptor() ([]byte, []int)
Deprecated: Use TradingPoint.ProtoReflect.Descriptor instead.
func (*TradingPoint) GetId ¶ added in v0.0.20
func (x *TradingPoint) GetId() int32
func (*TradingPoint) GetType ¶ added in v0.0.20
func (x *TradingPoint) GetType() tradingpoint.TradingPointType
func (*TradingPoint) ProtoMessage ¶ added in v0.0.20
func (*TradingPoint) ProtoMessage()
func (*TradingPoint) ProtoReflect ¶ added in v0.0.20
func (x *TradingPoint) ProtoReflect() protoreflect.Message
func (*TradingPoint) Reset ¶ added in v0.0.20
func (x *TradingPoint) Reset()
func (*TradingPoint) String ¶ added in v0.0.20
func (x *TradingPoint) String() string
type UnimplementedSellerServiceServer ¶
type UnimplementedSellerServiceServer struct { }
UnimplementedSellerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSellerServiceServer) List ¶ added in v0.0.18
func (UnimplementedSellerServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedSellerServiceServer) Register ¶
func (UnimplementedSellerServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedSellerServiceServer) Update ¶ added in v0.0.19
func (UnimplementedSellerServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeSellerServiceServer ¶
type UnsafeSellerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSellerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SellerServiceServer will result in compilation errors.
type UpdateRequest ¶ added in v0.0.19
type UpdateRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FirstName *string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"` LastName *string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"` MiddleName *string `protobuf:"bytes,4,opt,name=middle_name,json=middleName,proto3,oneof" json:"middle_name,omitempty"` BirthDate *core.Date `protobuf:"bytes,5,opt,name=birth_date,json=birthDate,proto3,oneof" json:"birth_date,omitempty"` Salary *core.Money `protobuf:"bytes,6,opt,name=salary,proto3,oneof" json:"salary,omitempty"` PhoneNumber *string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"` WorksAt *NewWorksAt `protobuf:"bytes,8,opt,name=works_at,json=worksAt,proto3,oneof" json:"works_at,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
added in
v0.0.19
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetBirthDate ¶ added in v0.0.19
func (x *UpdateRequest) GetBirthDate() *core.Date
func (*UpdateRequest) GetFirstName ¶ added in v0.0.19
func (x *UpdateRequest) GetFirstName() string
func (*UpdateRequest) GetId ¶ added in v0.0.19
func (x *UpdateRequest) GetId() int32
func (*UpdateRequest) GetLastName ¶ added in v0.0.19
func (x *UpdateRequest) GetLastName() string
func (*UpdateRequest) GetMiddleName ¶ added in v0.0.19
func (x *UpdateRequest) GetMiddleName() string
func (*UpdateRequest) GetPhoneNumber ¶ added in v0.0.19
func (x *UpdateRequest) GetPhoneNumber() string
func (*UpdateRequest) GetSalary ¶ added in v0.0.19
func (x *UpdateRequest) GetSalary() *core.Money
func (*UpdateRequest) GetWorksAt ¶ added in v0.0.22
func (x *UpdateRequest) GetWorksAt() *NewWorksAt
func (*UpdateRequest) ProtoMessage ¶ added in v0.0.19
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶ added in v0.0.19
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶ added in v0.0.19
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶ added in v0.0.19
func (x *UpdateRequest) String() string
type UpdateResponse ¶ added in v0.0.27
type UpdateResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
added in
v0.0.27
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetId ¶ added in v0.0.27
func (x *UpdateResponse) GetId() int32
func (*UpdateResponse) ProtoMessage ¶ added in v0.0.27
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶ added in v0.0.27
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶ added in v0.0.27
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶ added in v0.0.27
func (x *UpdateResponse) String() string
type WorksAt ¶ added in v0.0.20
type WorksAt struct { PlaceOfWork *PlaceOfWork `protobuf:"bytes,1,opt,name=place_of_work,json=placeOfWork,proto3" json:"place_of_work,omitempty"` TradingPoint *TradingPoint `protobuf:"bytes,2,opt,name=trading_point,json=tradingPoint,proto3" json:"trading_point,omitempty"` // contains filtered or unexported fields }
func (*WorksAt) Descriptor
deprecated
added in
v0.0.20
func (*WorksAt) GetPlaceOfWork ¶ added in v0.0.20
func (x *WorksAt) GetPlaceOfWork() *PlaceOfWork
func (*WorksAt) GetTradingPoint ¶ added in v0.0.20
func (x *WorksAt) GetTradingPoint() *TradingPoint
func (*WorksAt) ProtoMessage ¶ added in v0.0.20
func (*WorksAt) ProtoMessage()
func (*WorksAt) ProtoReflect ¶ added in v0.0.20
func (x *WorksAt) ProtoReflect() protoreflect.Message
type WorksAtFilterType ¶ added in v0.0.20
type WorksAtFilterType int32
const ( WorksAtFilterType_WORKS_AT_FILTER_TYPE_ALL WorksAtFilterType = 0 WorksAtFilterType_WORKS_AT_FILTER_TYPE_ONLY_NULL WorksAtFilterType = 1 WorksAtFilterType_WORKS_AT_FILTER_TYPE_ONLY_NOT_NULL WorksAtFilterType = 2 )
func (WorksAtFilterType) Descriptor ¶ added in v0.0.20
func (WorksAtFilterType) Descriptor() protoreflect.EnumDescriptor
func (WorksAtFilterType) Enum ¶ added in v0.0.20
func (x WorksAtFilterType) Enum() *WorksAtFilterType
func (WorksAtFilterType) EnumDescriptor
deprecated
added in
v0.0.20
func (WorksAtFilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorksAtFilterType.Descriptor instead.
func (WorksAtFilterType) Number ¶ added in v0.0.20
func (x WorksAtFilterType) Number() protoreflect.EnumNumber
func (WorksAtFilterType) String ¶ added in v0.0.20
func (x WorksAtFilterType) String() string
func (WorksAtFilterType) Type ¶ added in v0.0.20
func (WorksAtFilterType) Type() protoreflect.EnumType