Documentation ¶
Index ¶
- Variables
- func RegisterWorkStationServiceServer(s *grpc.Server, srv WorkStationServiceServer)
- type AddToolRequest
- func (*AddToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddToolRequest) GetComment() string
- func (x *AddToolRequest) GetEquipmentIds() []uint64
- func (x *AddToolRequest) GetRemoveFromPresentWorkStation() bool
- func (x *AddToolRequest) GetTransactionTime() *timestamppb.Timestamp
- func (x *AddToolRequest) GetWorkStationId() uint64
- func (*AddToolRequest) ProtoMessage()
- func (x *AddToolRequest) ProtoReflect() protoreflect.Message
- func (x *AddToolRequest) Reset()
- func (x *AddToolRequest) String() string
- type RemoveToolRequest
- func (*RemoveToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveToolRequest) GetComment() string
- func (x *RemoveToolRequest) GetEquipmentIds() []uint64
- func (x *RemoveToolRequest) GetTransactionTime() *timestamppb.Timestamp
- func (x *RemoveToolRequest) GetWorkStationId() uint64
- func (*RemoveToolRequest) ProtoMessage()
- func (x *RemoveToolRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveToolRequest) Reset()
- func (x *RemoveToolRequest) String() string
- type UnimplementedWorkStationServiceServer
- func (UnimplementedWorkStationServiceServer) AddTools(context.Context, *AddToolRequest) (*dto.DWorkStation, error)
- func (UnimplementedWorkStationServiceServer) ChangePriority(context.Context, *dto.ChangePriorityRequest) (*dto.DWorkStation, error)
- func (UnimplementedWorkStationServiceServer) RemoveTools(context.Context, *RemoveToolRequest) (*dto.DWorkStation, error)
- type UnsafeWorkStationServiceServer
- type WorkStationServiceClient
- type WorkStationServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_work_station_proto protoreflect.FileDescriptor
Functions ¶
func RegisterWorkStationServiceServer ¶
func RegisterWorkStationServiceServer(s *grpc.Server, srv WorkStationServiceServer)
Types ¶
type AddToolRequest ¶
type AddToolRequest struct { WorkStationId uint64 `protobuf:"varint,1,opt,name=work_station_id,json=workStationId,proto3" json:"work_station_id,omitempty"` EquipmentIds []uint64 `protobuf:"varint,2,rep,packed,name=equipment_ids,json=equipmentIds,proto3" json:"equipment_ids,omitempty"` RemoveFromPresentWorkStation bool `` /* 152-byte string literal not displayed */ Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` TransactionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"` // contains filtered or unexported fields }
func (*AddToolRequest) Descriptor
deprecated
func (*AddToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddToolRequest.ProtoReflect.Descriptor instead.
func (*AddToolRequest) GetComment ¶
func (x *AddToolRequest) GetComment() string
func (*AddToolRequest) GetEquipmentIds ¶
func (x *AddToolRequest) GetEquipmentIds() []uint64
func (*AddToolRequest) GetRemoveFromPresentWorkStation ¶
func (x *AddToolRequest) GetRemoveFromPresentWorkStation() bool
func (*AddToolRequest) GetTransactionTime ¶
func (x *AddToolRequest) GetTransactionTime() *timestamppb.Timestamp
func (*AddToolRequest) GetWorkStationId ¶
func (x *AddToolRequest) GetWorkStationId() uint64
func (*AddToolRequest) ProtoMessage ¶
func (*AddToolRequest) ProtoMessage()
func (*AddToolRequest) ProtoReflect ¶
func (x *AddToolRequest) ProtoReflect() protoreflect.Message
func (*AddToolRequest) Reset ¶
func (x *AddToolRequest) Reset()
func (*AddToolRequest) String ¶
func (x *AddToolRequest) String() string
type RemoveToolRequest ¶
type RemoveToolRequest struct { WorkStationId uint64 `protobuf:"varint,1,opt,name=work_station_id,json=workStationId,proto3" json:"work_station_id,omitempty"` EquipmentIds []uint64 `protobuf:"varint,2,rep,packed,name=equipment_ids,json=equipmentIds,proto3" json:"equipment_ids,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` TransactionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"` // contains filtered or unexported fields }
func (*RemoveToolRequest) Descriptor
deprecated
func (*RemoveToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveToolRequest.ProtoReflect.Descriptor instead.
func (*RemoveToolRequest) GetComment ¶
func (x *RemoveToolRequest) GetComment() string
func (*RemoveToolRequest) GetEquipmentIds ¶
func (x *RemoveToolRequest) GetEquipmentIds() []uint64
func (*RemoveToolRequest) GetTransactionTime ¶
func (x *RemoveToolRequest) GetTransactionTime() *timestamppb.Timestamp
func (*RemoveToolRequest) GetWorkStationId ¶
func (x *RemoveToolRequest) GetWorkStationId() uint64
func (*RemoveToolRequest) ProtoMessage ¶
func (*RemoveToolRequest) ProtoMessage()
func (*RemoveToolRequest) ProtoReflect ¶
func (x *RemoveToolRequest) ProtoReflect() protoreflect.Message
func (*RemoveToolRequest) Reset ¶
func (x *RemoveToolRequest) Reset()
func (*RemoveToolRequest) String ¶
func (x *RemoveToolRequest) String() string
type UnimplementedWorkStationServiceServer ¶
type UnimplementedWorkStationServiceServer struct { }
UnimplementedWorkStationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkStationServiceServer) AddTools ¶
func (UnimplementedWorkStationServiceServer) AddTools(context.Context, *AddToolRequest) (*dto.DWorkStation, error)
func (UnimplementedWorkStationServiceServer) ChangePriority ¶
func (UnimplementedWorkStationServiceServer) ChangePriority(context.Context, *dto.ChangePriorityRequest) (*dto.DWorkStation, error)
func (UnimplementedWorkStationServiceServer) RemoveTools ¶
func (UnimplementedWorkStationServiceServer) RemoveTools(context.Context, *RemoveToolRequest) (*dto.DWorkStation, error)
type UnsafeWorkStationServiceServer ¶
type UnsafeWorkStationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkStationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkStationServiceServer will result in compilation errors.
type WorkStationServiceClient ¶
type WorkStationServiceClient interface { AddTools(ctx context.Context, in *AddToolRequest, opts ...grpc.CallOption) (*dto.DWorkStation, error) ChangePriority(ctx context.Context, in *dto.ChangePriorityRequest, opts ...grpc.CallOption) (*dto.DWorkStation, error) RemoveTools(ctx context.Context, in *RemoveToolRequest, opts ...grpc.CallOption) (*dto.DWorkStation, error) }
WorkStationServiceClient is the client API for WorkStationService 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 NewWorkStationServiceClient ¶
func NewWorkStationServiceClient(cc grpc.ClientConnInterface) WorkStationServiceClient
type WorkStationServiceServer ¶
type WorkStationServiceServer interface { AddTools(context.Context, *AddToolRequest) (*dto.DWorkStation, error) ChangePriority(context.Context, *dto.ChangePriorityRequest) (*dto.DWorkStation, error) RemoveTools(context.Context, *RemoveToolRequest) (*dto.DWorkStation, error) // contains filtered or unexported methods }
WorkStationServiceServer is the server API for WorkStationService service. All implementations must embed UnimplementedWorkStationServiceServer for forward compatibility