Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCentrumServiceServer(s grpc.ServiceRegistrar, srv CentrumServiceServer)
- type AssignDispatchRequest
- func (*AssignDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignDispatchRequest) GetDispatchId() uint64
- func (x *AssignDispatchRequest) GetForced() bool
- func (x *AssignDispatchRequest) GetToAdd() []uint64
- func (x *AssignDispatchRequest) GetToRemove() []uint64
- func (*AssignDispatchRequest) ProtoMessage()
- func (x *AssignDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *AssignDispatchRequest) Reset()
- func (x *AssignDispatchRequest) String() string
- func (m *AssignDispatchRequest) Validate() error
- func (m *AssignDispatchRequest) ValidateAll() error
- type AssignDispatchRequestMultiError
- type AssignDispatchRequestValidationError
- func (e AssignDispatchRequestValidationError) Cause() error
- func (e AssignDispatchRequestValidationError) Error() string
- func (e AssignDispatchRequestValidationError) ErrorName() string
- func (e AssignDispatchRequestValidationError) Field() string
- func (e AssignDispatchRequestValidationError) Key() bool
- func (e AssignDispatchRequestValidationError) Reason() string
- type AssignDispatchResponse
- func (*AssignDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (*AssignDispatchResponse) ProtoMessage()
- func (x *AssignDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *AssignDispatchResponse) Reset()
- func (x *AssignDispatchResponse) String() string
- func (m *AssignDispatchResponse) Validate() error
- func (m *AssignDispatchResponse) ValidateAll() error
- type AssignDispatchResponseMultiError
- type AssignDispatchResponseValidationError
- func (e AssignDispatchResponseValidationError) Cause() error
- func (e AssignDispatchResponseValidationError) Error() string
- func (e AssignDispatchResponseValidationError) ErrorName() string
- func (e AssignDispatchResponseValidationError) Field() string
- func (e AssignDispatchResponseValidationError) Key() bool
- func (e AssignDispatchResponseValidationError) Reason() string
- type AssignUnitRequest
- func (*AssignUnitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignUnitRequest) GetToAdd() []int32
- func (x *AssignUnitRequest) GetToRemove() []int32
- func (x *AssignUnitRequest) GetUnitId() uint64
- func (*AssignUnitRequest) ProtoMessage()
- func (x *AssignUnitRequest) ProtoReflect() protoreflect.Message
- func (x *AssignUnitRequest) Reset()
- func (x *AssignUnitRequest) String() string
- func (m *AssignUnitRequest) Validate() error
- func (m *AssignUnitRequest) ValidateAll() error
- type AssignUnitRequestMultiError
- type AssignUnitRequestValidationError
- func (e AssignUnitRequestValidationError) Cause() error
- func (e AssignUnitRequestValidationError) Error() string
- func (e AssignUnitRequestValidationError) ErrorName() string
- func (e AssignUnitRequestValidationError) Field() string
- func (e AssignUnitRequestValidationError) Key() bool
- func (e AssignUnitRequestValidationError) Reason() string
- type AssignUnitResponse
- func (*AssignUnitResponse) Descriptor() ([]byte, []int)deprecated
- func (*AssignUnitResponse) ProtoMessage()
- func (x *AssignUnitResponse) ProtoReflect() protoreflect.Message
- func (x *AssignUnitResponse) Reset()
- func (x *AssignUnitResponse) String() string
- func (m *AssignUnitResponse) Validate() error
- func (m *AssignUnitResponse) ValidateAll() error
- type AssignUnitResponseMultiError
- type AssignUnitResponseValidationError
- func (e AssignUnitResponseValidationError) Cause() error
- func (e AssignUnitResponseValidationError) Error() string
- func (e AssignUnitResponseValidationError) ErrorName() string
- func (e AssignUnitResponseValidationError) Field() string
- func (e AssignUnitResponseValidationError) Key() bool
- func (e AssignUnitResponseValidationError) Reason() string
- type CentrumServiceClient
- type CentrumServiceServer
- type CentrumService_StreamClient
- type CentrumService_StreamServer
- type CreateDispatchRequest
- func (*CreateDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDispatchRequest) GetDispatch() *centrum.Dispatch
- func (*CreateDispatchRequest) ProtoMessage()
- func (x *CreateDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDispatchRequest) Reset()
- func (x *CreateDispatchRequest) String() string
- func (m *CreateDispatchRequest) Validate() error
- func (m *CreateDispatchRequest) ValidateAll() error
- type CreateDispatchRequestMultiError
- type CreateDispatchRequestValidationError
- func (e CreateDispatchRequestValidationError) Cause() error
- func (e CreateDispatchRequestValidationError) Error() string
- func (e CreateDispatchRequestValidationError) ErrorName() string
- func (e CreateDispatchRequestValidationError) Field() string
- func (e CreateDispatchRequestValidationError) Key() bool
- func (e CreateDispatchRequestValidationError) Reason() string
- type CreateDispatchResponse
- func (*CreateDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDispatchResponse) GetDispatch() *centrum.Dispatch
- func (*CreateDispatchResponse) ProtoMessage()
- func (x *CreateDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDispatchResponse) Reset()
- func (x *CreateDispatchResponse) String() string
- func (m *CreateDispatchResponse) Validate() error
- func (m *CreateDispatchResponse) ValidateAll() error
- type CreateDispatchResponseMultiError
- type CreateDispatchResponseValidationError
- func (e CreateDispatchResponseValidationError) Cause() error
- func (e CreateDispatchResponseValidationError) Error() string
- func (e CreateDispatchResponseValidationError) ErrorName() string
- func (e CreateDispatchResponseValidationError) Field() string
- func (e CreateDispatchResponseValidationError) Key() bool
- func (e CreateDispatchResponseValidationError) Reason() string
- type CreateOrUpdateUnitRequest
- func (*CreateOrUpdateUnitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateUnitRequest) GetUnit() *centrum.Unit
- func (*CreateOrUpdateUnitRequest) ProtoMessage()
- func (x *CreateOrUpdateUnitRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateUnitRequest) Reset()
- func (x *CreateOrUpdateUnitRequest) String() string
- func (m *CreateOrUpdateUnitRequest) Validate() error
- func (m *CreateOrUpdateUnitRequest) ValidateAll() error
- type CreateOrUpdateUnitRequestMultiError
- type CreateOrUpdateUnitRequestValidationError
- func (e CreateOrUpdateUnitRequestValidationError) Cause() error
- func (e CreateOrUpdateUnitRequestValidationError) Error() string
- func (e CreateOrUpdateUnitRequestValidationError) ErrorName() string
- func (e CreateOrUpdateUnitRequestValidationError) Field() string
- func (e CreateOrUpdateUnitRequestValidationError) Key() bool
- func (e CreateOrUpdateUnitRequestValidationError) Reason() string
- type CreateOrUpdateUnitResponse
- func (*CreateOrUpdateUnitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateUnitResponse) GetUnit() *centrum.Unit
- func (*CreateOrUpdateUnitResponse) ProtoMessage()
- func (x *CreateOrUpdateUnitResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateUnitResponse) Reset()
- func (x *CreateOrUpdateUnitResponse) String() string
- func (m *CreateOrUpdateUnitResponse) Validate() error
- func (m *CreateOrUpdateUnitResponse) ValidateAll() error
- type CreateOrUpdateUnitResponseMultiError
- type CreateOrUpdateUnitResponseValidationError
- func (e CreateOrUpdateUnitResponseValidationError) Cause() error
- func (e CreateOrUpdateUnitResponseValidationError) Error() string
- func (e CreateOrUpdateUnitResponseValidationError) ErrorName() string
- func (e CreateOrUpdateUnitResponseValidationError) Field() string
- func (e CreateOrUpdateUnitResponseValidationError) Key() bool
- func (e CreateOrUpdateUnitResponseValidationError) Reason() string
- type DeleteDispatchRequest
- func (*DeleteDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDispatchRequest) GetId() uint64
- func (*DeleteDispatchRequest) ProtoMessage()
- func (x *DeleteDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDispatchRequest) Reset()
- func (x *DeleteDispatchRequest) String() string
- func (m *DeleteDispatchRequest) Validate() error
- func (m *DeleteDispatchRequest) ValidateAll() error
- type DeleteDispatchRequestMultiError
- type DeleteDispatchRequestValidationError
- func (e DeleteDispatchRequestValidationError) Cause() error
- func (e DeleteDispatchRequestValidationError) Error() string
- func (e DeleteDispatchRequestValidationError) ErrorName() string
- func (e DeleteDispatchRequestValidationError) Field() string
- func (e DeleteDispatchRequestValidationError) Key() bool
- func (e DeleteDispatchRequestValidationError) Reason() string
- type DeleteDispatchResponse
- func (*DeleteDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDispatchResponse) ProtoMessage()
- func (x *DeleteDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDispatchResponse) Reset()
- func (x *DeleteDispatchResponse) String() string
- func (m *DeleteDispatchResponse) Validate() error
- func (m *DeleteDispatchResponse) ValidateAll() error
- type DeleteDispatchResponseMultiError
- type DeleteDispatchResponseValidationError
- func (e DeleteDispatchResponseValidationError) Cause() error
- func (e DeleteDispatchResponseValidationError) Error() string
- func (e DeleteDispatchResponseValidationError) ErrorName() string
- func (e DeleteDispatchResponseValidationError) Field() string
- func (e DeleteDispatchResponseValidationError) Key() bool
- func (e DeleteDispatchResponseValidationError) Reason() string
- type DeleteUnitRequest
- func (*DeleteUnitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUnitRequest) GetUnitId() uint64
- func (*DeleteUnitRequest) ProtoMessage()
- func (x *DeleteUnitRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUnitRequest) Reset()
- func (x *DeleteUnitRequest) String() string
- func (m *DeleteUnitRequest) Validate() error
- func (m *DeleteUnitRequest) ValidateAll() error
- type DeleteUnitRequestMultiError
- type DeleteUnitRequestValidationError
- func (e DeleteUnitRequestValidationError) Cause() error
- func (e DeleteUnitRequestValidationError) Error() string
- func (e DeleteUnitRequestValidationError) ErrorName() string
- func (e DeleteUnitRequestValidationError) Field() string
- func (e DeleteUnitRequestValidationError) Key() bool
- func (e DeleteUnitRequestValidationError) Reason() string
- type DeleteUnitResponse
- func (*DeleteUnitResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUnitResponse) ProtoMessage()
- func (x *DeleteUnitResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUnitResponse) Reset()
- func (x *DeleteUnitResponse) String() string
- func (m *DeleteUnitResponse) Validate() error
- func (m *DeleteUnitResponse) ValidateAll() error
- type DeleteUnitResponseMultiError
- type DeleteUnitResponseValidationError
- func (e DeleteUnitResponseValidationError) Cause() error
- func (e DeleteUnitResponseValidationError) Error() string
- func (e DeleteUnitResponseValidationError) ErrorName() string
- func (e DeleteUnitResponseValidationError) Field() string
- func (e DeleteUnitResponseValidationError) Key() bool
- func (e DeleteUnitResponseValidationError) Reason() string
- type GetDispatchRequest
- func (*GetDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDispatchRequest) GetId() uint64
- func (*GetDispatchRequest) ProtoMessage()
- func (x *GetDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *GetDispatchRequest) Reset()
- func (x *GetDispatchRequest) String() string
- func (m *GetDispatchRequest) Validate() error
- func (m *GetDispatchRequest) ValidateAll() error
- type GetDispatchRequestMultiError
- type GetDispatchRequestValidationError
- func (e GetDispatchRequestValidationError) Cause() error
- func (e GetDispatchRequestValidationError) Error() string
- func (e GetDispatchRequestValidationError) ErrorName() string
- func (e GetDispatchRequestValidationError) Field() string
- func (e GetDispatchRequestValidationError) Key() bool
- func (e GetDispatchRequestValidationError) Reason() string
- type GetDispatchResponse
- func (*GetDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDispatchResponse) GetDispatch() *centrum.Dispatch
- func (*GetDispatchResponse) ProtoMessage()
- func (x *GetDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *GetDispatchResponse) Reset()
- func (x *GetDispatchResponse) String() string
- func (m *GetDispatchResponse) Validate() error
- func (m *GetDispatchResponse) ValidateAll() error
- type GetDispatchResponseMultiError
- type GetDispatchResponseValidationError
- func (e GetDispatchResponseValidationError) Cause() error
- func (e GetDispatchResponseValidationError) Error() string
- func (e GetDispatchResponseValidationError) ErrorName() string
- func (e GetDispatchResponseValidationError) Field() string
- func (e GetDispatchResponseValidationError) Key() bool
- func (e GetDispatchResponseValidationError) Reason() string
- type GetSettingsRequest
- func (*GetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetSettingsRequest) ProtoMessage()
- func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSettingsRequest) Reset()
- func (x *GetSettingsRequest) String() string
- func (m *GetSettingsRequest) Validate() error
- func (m *GetSettingsRequest) ValidateAll() error
- type GetSettingsRequestMultiError
- type GetSettingsRequestValidationError
- func (e GetSettingsRequestValidationError) Cause() error
- func (e GetSettingsRequestValidationError) Error() string
- func (e GetSettingsRequestValidationError) ErrorName() string
- func (e GetSettingsRequestValidationError) Field() string
- func (e GetSettingsRequestValidationError) Key() bool
- func (e GetSettingsRequestValidationError) Reason() string
- type GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsResponse) GetSettings() *centrum.Settings
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (x *GetSettingsResponse) String() string
- func (m *GetSettingsResponse) Validate() error
- func (m *GetSettingsResponse) ValidateAll() error
- type GetSettingsResponseMultiError
- type GetSettingsResponseValidationError
- func (e GetSettingsResponseValidationError) Cause() error
- func (e GetSettingsResponseValidationError) Error() string
- func (e GetSettingsResponseValidationError) ErrorName() string
- func (e GetSettingsResponseValidationError) Field() string
- func (e GetSettingsResponseValidationError) Key() bool
- func (e GetSettingsResponseValidationError) Reason() string
- type JoinUnitRequest
- func (*JoinUnitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinUnitRequest) GetUnitId() uint64
- func (*JoinUnitRequest) ProtoMessage()
- func (x *JoinUnitRequest) ProtoReflect() protoreflect.Message
- func (x *JoinUnitRequest) Reset()
- func (x *JoinUnitRequest) String() string
- func (m *JoinUnitRequest) Validate() error
- func (m *JoinUnitRequest) ValidateAll() error
- type JoinUnitRequestMultiError
- type JoinUnitRequestValidationError
- func (e JoinUnitRequestValidationError) Cause() error
- func (e JoinUnitRequestValidationError) Error() string
- func (e JoinUnitRequestValidationError) ErrorName() string
- func (e JoinUnitRequestValidationError) Field() string
- func (e JoinUnitRequestValidationError) Key() bool
- func (e JoinUnitRequestValidationError) Reason() string
- type JoinUnitResponse
- func (*JoinUnitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JoinUnitResponse) GetUnit() *centrum.Unit
- func (*JoinUnitResponse) ProtoMessage()
- func (x *JoinUnitResponse) ProtoReflect() protoreflect.Message
- func (x *JoinUnitResponse) Reset()
- func (x *JoinUnitResponse) String() string
- func (m *JoinUnitResponse) Validate() error
- func (m *JoinUnitResponse) ValidateAll() error
- type JoinUnitResponseMultiError
- type JoinUnitResponseValidationError
- func (e JoinUnitResponseValidationError) Cause() error
- func (e JoinUnitResponseValidationError) Error() string
- func (e JoinUnitResponseValidationError) ErrorName() string
- func (e JoinUnitResponseValidationError) Field() string
- func (e JoinUnitResponseValidationError) Key() bool
- func (e JoinUnitResponseValidationError) Reason() string
- type LatestState
- func (*LatestState) Descriptor() ([]byte, []int)deprecated
- func (x *LatestState) GetDispatches() []*centrum.Dispatch
- func (x *LatestState) GetDisponents() []*users.UserShort
- func (x *LatestState) GetOwnUnitId() uint64
- func (x *LatestState) GetServerTime() *timestamp.Timestamp
- func (x *LatestState) GetSettings() *centrum.Settings
- func (x *LatestState) GetUnits() []*centrum.Unit
- func (*LatestState) ProtoMessage()
- func (x *LatestState) ProtoReflect() protoreflect.Message
- func (x *LatestState) Reset()
- func (x *LatestState) String() string
- func (m *LatestState) Validate() error
- func (m *LatestState) ValidateAll() error
- type LatestStateMultiError
- type LatestStateValidationError
- func (e LatestStateValidationError) Cause() error
- func (e LatestStateValidationError) Error() string
- func (e LatestStateValidationError) ErrorName() string
- func (e LatestStateValidationError) Field() string
- func (e LatestStateValidationError) Key() bool
- func (e LatestStateValidationError) Reason() string
- type ListDispatchActivityRequest
- func (*ListDispatchActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDispatchActivityRequest) GetId() uint64
- func (x *ListDispatchActivityRequest) GetPagination() *database.PaginationRequest
- func (*ListDispatchActivityRequest) ProtoMessage()
- func (x *ListDispatchActivityRequest) ProtoReflect() protoreflect.Message
- func (x *ListDispatchActivityRequest) Reset()
- func (x *ListDispatchActivityRequest) String() string
- func (m *ListDispatchActivityRequest) Validate() error
- func (m *ListDispatchActivityRequest) ValidateAll() error
- type ListDispatchActivityRequestMultiError
- type ListDispatchActivityRequestValidationError
- func (e ListDispatchActivityRequestValidationError) Cause() error
- func (e ListDispatchActivityRequestValidationError) Error() string
- func (e ListDispatchActivityRequestValidationError) ErrorName() string
- func (e ListDispatchActivityRequestValidationError) Field() string
- func (e ListDispatchActivityRequestValidationError) Key() bool
- func (e ListDispatchActivityRequestValidationError) Reason() string
- type ListDispatchActivityResponse
- func (*ListDispatchActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDispatchActivityResponse) GetActivity() []*centrum.DispatchStatus
- func (x *ListDispatchActivityResponse) GetPagination() *database.PaginationResponse
- func (*ListDispatchActivityResponse) ProtoMessage()
- func (x *ListDispatchActivityResponse) ProtoReflect() protoreflect.Message
- func (x *ListDispatchActivityResponse) Reset()
- func (x *ListDispatchActivityResponse) String() string
- func (m *ListDispatchActivityResponse) Validate() error
- func (m *ListDispatchActivityResponse) ValidateAll() error
- type ListDispatchActivityResponseMultiError
- type ListDispatchActivityResponseValidationError
- func (e ListDispatchActivityResponseValidationError) Cause() error
- func (e ListDispatchActivityResponseValidationError) Error() string
- func (e ListDispatchActivityResponseValidationError) ErrorName() string
- func (e ListDispatchActivityResponseValidationError) Field() string
- func (e ListDispatchActivityResponseValidationError) Key() bool
- func (e ListDispatchActivityResponseValidationError) Reason() string
- type ListDispatchesRequest
- func (*ListDispatchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDispatchesRequest) GetIds() []uint64
- func (x *ListDispatchesRequest) GetNotStatus() []centrum.StatusDispatch
- func (x *ListDispatchesRequest) GetPagination() *database.PaginationRequest
- func (x *ListDispatchesRequest) GetPostal() string
- func (x *ListDispatchesRequest) GetStatus() []centrum.StatusDispatch
- func (*ListDispatchesRequest) ProtoMessage()
- func (x *ListDispatchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDispatchesRequest) Reset()
- func (x *ListDispatchesRequest) String() string
- func (m *ListDispatchesRequest) Validate() error
- func (m *ListDispatchesRequest) ValidateAll() error
- type ListDispatchesRequestMultiError
- type ListDispatchesRequestValidationError
- func (e ListDispatchesRequestValidationError) Cause() error
- func (e ListDispatchesRequestValidationError) Error() string
- func (e ListDispatchesRequestValidationError) ErrorName() string
- func (e ListDispatchesRequestValidationError) Field() string
- func (e ListDispatchesRequestValidationError) Key() bool
- func (e ListDispatchesRequestValidationError) Reason() string
- type ListDispatchesResponse
- func (*ListDispatchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDispatchesResponse) GetDispatches() []*centrum.Dispatch
- func (x *ListDispatchesResponse) GetPagination() *database.PaginationResponse
- func (*ListDispatchesResponse) ProtoMessage()
- func (x *ListDispatchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDispatchesResponse) Reset()
- func (x *ListDispatchesResponse) String() string
- func (m *ListDispatchesResponse) Validate() error
- func (m *ListDispatchesResponse) ValidateAll() error
- type ListDispatchesResponseMultiError
- type ListDispatchesResponseValidationError
- func (e ListDispatchesResponseValidationError) Cause() error
- func (e ListDispatchesResponseValidationError) Error() string
- func (e ListDispatchesResponseValidationError) ErrorName() string
- func (e ListDispatchesResponseValidationError) Field() string
- func (e ListDispatchesResponseValidationError) Key() bool
- func (e ListDispatchesResponseValidationError) Reason() string
- type ListUnitActivityRequest
- func (*ListUnitActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnitActivityRequest) GetId() uint64
- func (x *ListUnitActivityRequest) GetPagination() *database.PaginationRequest
- func (*ListUnitActivityRequest) ProtoMessage()
- func (x *ListUnitActivityRequest) ProtoReflect() protoreflect.Message
- func (x *ListUnitActivityRequest) Reset()
- func (x *ListUnitActivityRequest) String() string
- func (m *ListUnitActivityRequest) Validate() error
- func (m *ListUnitActivityRequest) ValidateAll() error
- type ListUnitActivityRequestMultiError
- type ListUnitActivityRequestValidationError
- func (e ListUnitActivityRequestValidationError) Cause() error
- func (e ListUnitActivityRequestValidationError) Error() string
- func (e ListUnitActivityRequestValidationError) ErrorName() string
- func (e ListUnitActivityRequestValidationError) Field() string
- func (e ListUnitActivityRequestValidationError) Key() bool
- func (e ListUnitActivityRequestValidationError) Reason() string
- type ListUnitActivityResponse
- func (*ListUnitActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnitActivityResponse) GetActivity() []*centrum.UnitStatus
- func (x *ListUnitActivityResponse) GetPagination() *database.PaginationResponse
- func (*ListUnitActivityResponse) ProtoMessage()
- func (x *ListUnitActivityResponse) ProtoReflect() protoreflect.Message
- func (x *ListUnitActivityResponse) Reset()
- func (x *ListUnitActivityResponse) String() string
- func (m *ListUnitActivityResponse) Validate() error
- func (m *ListUnitActivityResponse) ValidateAll() error
- type ListUnitActivityResponseMultiError
- type ListUnitActivityResponseValidationError
- func (e ListUnitActivityResponseValidationError) Cause() error
- func (e ListUnitActivityResponseValidationError) Error() string
- func (e ListUnitActivityResponseValidationError) ErrorName() string
- func (e ListUnitActivityResponseValidationError) Field() string
- func (e ListUnitActivityResponseValidationError) Key() bool
- func (e ListUnitActivityResponseValidationError) Reason() string
- type ListUnitsRequest
- func (*ListUnitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnitsRequest) GetStatus() []centrum.StatusUnit
- func (*ListUnitsRequest) ProtoMessage()
- func (x *ListUnitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUnitsRequest) Reset()
- func (x *ListUnitsRequest) String() string
- func (m *ListUnitsRequest) Validate() error
- func (m *ListUnitsRequest) ValidateAll() error
- type ListUnitsRequestMultiError
- type ListUnitsRequestValidationError
- func (e ListUnitsRequestValidationError) Cause() error
- func (e ListUnitsRequestValidationError) Error() string
- func (e ListUnitsRequestValidationError) ErrorName() string
- func (e ListUnitsRequestValidationError) Field() string
- func (e ListUnitsRequestValidationError) Key() bool
- func (e ListUnitsRequestValidationError) Reason() string
- type ListUnitsResponse
- func (*ListUnitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnitsResponse) GetUnits() []*centrum.Unit
- func (*ListUnitsResponse) ProtoMessage()
- func (x *ListUnitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUnitsResponse) Reset()
- func (x *ListUnitsResponse) String() string
- func (m *ListUnitsResponse) Validate() error
- func (m *ListUnitsResponse) ValidateAll() error
- type ListUnitsResponseMultiError
- type ListUnitsResponseValidationError
- func (e ListUnitsResponseValidationError) Cause() error
- func (e ListUnitsResponseValidationError) Error() string
- func (e ListUnitsResponseValidationError) ErrorName() string
- func (e ListUnitsResponseValidationError) Field() string
- func (e ListUnitsResponseValidationError) Key() bool
- func (e ListUnitsResponseValidationError) Reason() string
- type Params
- type Server
- func (s *Server) AssignDispatch(ctx context.Context, req *AssignDispatchRequest) (*AssignDispatchResponse, error)
- func (s *Server) AssignUnit(ctx context.Context, req *AssignUnitRequest) (*AssignUnitResponse, error)
- func (s *Server) CreateDispatch(ctx context.Context, req *CreateDispatchRequest) (*CreateDispatchResponse, error)
- func (s *Server) CreateOrUpdateUnit(ctx context.Context, req *CreateOrUpdateUnitRequest) (*CreateOrUpdateUnitResponse, error)
- func (s *Server) DeleteDispatch(ctx context.Context, req *DeleteDispatchRequest) (*DeleteDispatchResponse, error)
- func (s *Server) DeleteUnit(ctx context.Context, req *DeleteUnitRequest) (*DeleteUnitResponse, error)
- func (s *Server) GetDispatch(ctx context.Context, req *GetDispatchRequest) (*GetDispatchResponse, error)
- func (s *Server) GetPermsRemap() map[string]string
- func (s *Server) GetSettings(ctx context.Context, req *GetSettingsRequest) (*GetSettingsResponse, error)
- func (s *Server) JoinUnit(ctx context.Context, req *JoinUnitRequest) (*JoinUnitResponse, error)
- func (s *Server) ListDispatchActivity(ctx context.Context, req *ListDispatchActivityRequest) (*ListDispatchActivityResponse, error)
- func (s *Server) ListDispatches(ctx context.Context, req *ListDispatchesRequest) (*ListDispatchesResponse, error)
- func (s *Server) ListUnitActivity(ctx context.Context, req *ListUnitActivityRequest) (*ListUnitActivityResponse, error)
- func (s *Server) ListUnits(ctx context.Context, req *ListUnitsRequest) (*ListUnitsResponse, error)
- func (s *Server) RegisterServer(srv *grpc.Server)
- func (s *Server) Stream(req *StreamRequest, srv CentrumService_StreamServer) error
- func (s *Server) TakeControl(ctx context.Context, req *TakeControlRequest) (*TakeControlResponse, error)
- func (s *Server) TakeDispatch(ctx context.Context, req *TakeDispatchRequest) (*TakeDispatchResponse, error)
- func (s *Server) UpdateDispatch(ctx context.Context, req *UpdateDispatchRequest) (*UpdateDispatchResponse, error)
- func (s *Server) UpdateDispatchStatus(ctx context.Context, req *UpdateDispatchStatusRequest) (*UpdateDispatchStatusResponse, error)
- func (s *Server) UpdateSettings(ctx context.Context, req *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
- func (s *Server) UpdateUnitStatus(ctx context.Context, req *UpdateUnitStatusRequest) (*UpdateUnitStatusResponse, error)
- type StreamRequest
- func (*StreamRequest) Descriptor() ([]byte, []int)deprecated
- func (*StreamRequest) ProtoMessage()
- func (x *StreamRequest) ProtoReflect() protoreflect.Message
- func (x *StreamRequest) Reset()
- func (x *StreamRequest) String() string
- func (m *StreamRequest) Validate() error
- func (m *StreamRequest) ValidateAll() error
- type StreamRequestMultiError
- type StreamRequestValidationError
- func (e StreamRequestValidationError) Cause() error
- func (e StreamRequestValidationError) Error() string
- func (e StreamRequestValidationError) ErrorName() string
- func (e StreamRequestValidationError) Field() string
- func (e StreamRequestValidationError) Key() bool
- func (e StreamRequestValidationError) Reason() string
- type StreamResponse
- func (*StreamResponse) Descriptor() ([]byte, []int)deprecated
- func (m *StreamResponse) GetChange() isStreamResponse_Change
- func (x *StreamResponse) GetDispatchCreated() *centrum.Dispatch
- func (x *StreamResponse) GetDispatchDeleted() *centrum.Dispatch
- func (x *StreamResponse) GetDispatchStatus() *centrum.DispatchStatus
- func (x *StreamResponse) GetDispatchUpdated() *centrum.Dispatch
- func (x *StreamResponse) GetDisponents() *centrum.Disponents
- func (x *StreamResponse) GetLatestState() *LatestState
- func (x *StreamResponse) GetSettings() *centrum.Settings
- func (x *StreamResponse) GetUnitCreated() *centrum.Unit
- func (x *StreamResponse) GetUnitDeleted() *centrum.Unit
- func (x *StreamResponse) GetUnitStatus() *centrum.UnitStatus
- func (x *StreamResponse) GetUnitUpdated() *centrum.Unit
- func (*StreamResponse) ProtoMessage()
- func (x *StreamResponse) ProtoReflect() protoreflect.Message
- func (x *StreamResponse) Reset()
- func (x *StreamResponse) String() string
- func (m *StreamResponse) Validate() error
- func (m *StreamResponse) ValidateAll() error
- type StreamResponseMultiError
- type StreamResponseValidationError
- func (e StreamResponseValidationError) Cause() error
- func (e StreamResponseValidationError) Error() string
- func (e StreamResponseValidationError) ErrorName() string
- func (e StreamResponseValidationError) Field() string
- func (e StreamResponseValidationError) Key() bool
- func (e StreamResponseValidationError) Reason() string
- type StreamResponse_DispatchCreated
- type StreamResponse_DispatchDeleted
- type StreamResponse_DispatchStatus
- type StreamResponse_DispatchUpdated
- type StreamResponse_Disponents
- type StreamResponse_LatestState
- type StreamResponse_Settings
- type StreamResponse_UnitCreated
- type StreamResponse_UnitDeleted
- type StreamResponse_UnitStatus
- type StreamResponse_UnitUpdated
- type TakeControlRequest
- func (*TakeControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TakeControlRequest) GetSignon() bool
- func (*TakeControlRequest) ProtoMessage()
- func (x *TakeControlRequest) ProtoReflect() protoreflect.Message
- func (x *TakeControlRequest) Reset()
- func (x *TakeControlRequest) String() string
- func (m *TakeControlRequest) Validate() error
- func (m *TakeControlRequest) ValidateAll() error
- type TakeControlRequestMultiError
- type TakeControlRequestValidationError
- func (e TakeControlRequestValidationError) Cause() error
- func (e TakeControlRequestValidationError) Error() string
- func (e TakeControlRequestValidationError) ErrorName() string
- func (e TakeControlRequestValidationError) Field() string
- func (e TakeControlRequestValidationError) Key() bool
- func (e TakeControlRequestValidationError) Reason() string
- type TakeControlResponse
- func (*TakeControlResponse) Descriptor() ([]byte, []int)deprecated
- func (*TakeControlResponse) ProtoMessage()
- func (x *TakeControlResponse) ProtoReflect() protoreflect.Message
- func (x *TakeControlResponse) Reset()
- func (x *TakeControlResponse) String() string
- func (m *TakeControlResponse) Validate() error
- func (m *TakeControlResponse) ValidateAll() error
- type TakeControlResponseMultiError
- type TakeControlResponseValidationError
- func (e TakeControlResponseValidationError) Cause() error
- func (e TakeControlResponseValidationError) Error() string
- func (e TakeControlResponseValidationError) ErrorName() string
- func (e TakeControlResponseValidationError) Field() string
- func (e TakeControlResponseValidationError) Key() bool
- func (e TakeControlResponseValidationError) Reason() string
- type TakeDispatchRequest
- func (*TakeDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TakeDispatchRequest) GetDispatchIds() []uint64
- func (x *TakeDispatchRequest) GetReason() string
- func (x *TakeDispatchRequest) GetResp() centrum.TakeDispatchResp
- func (*TakeDispatchRequest) ProtoMessage()
- func (x *TakeDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *TakeDispatchRequest) Reset()
- func (m *TakeDispatchRequest) Sanitize() error
- func (x *TakeDispatchRequest) String() string
- func (m *TakeDispatchRequest) Validate() error
- func (m *TakeDispatchRequest) ValidateAll() error
- type TakeDispatchRequestMultiError
- type TakeDispatchRequestValidationError
- func (e TakeDispatchRequestValidationError) Cause() error
- func (e TakeDispatchRequestValidationError) Error() string
- func (e TakeDispatchRequestValidationError) ErrorName() string
- func (e TakeDispatchRequestValidationError) Field() string
- func (e TakeDispatchRequestValidationError) Key() bool
- func (e TakeDispatchRequestValidationError) Reason() string
- type TakeDispatchResponse
- func (*TakeDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (*TakeDispatchResponse) ProtoMessage()
- func (x *TakeDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *TakeDispatchResponse) Reset()
- func (x *TakeDispatchResponse) String() string
- func (m *TakeDispatchResponse) Validate() error
- func (m *TakeDispatchResponse) ValidateAll() error
- type TakeDispatchResponseMultiError
- type TakeDispatchResponseValidationError
- func (e TakeDispatchResponseValidationError) Cause() error
- func (e TakeDispatchResponseValidationError) Error() string
- func (e TakeDispatchResponseValidationError) ErrorName() string
- func (e TakeDispatchResponseValidationError) Field() string
- func (e TakeDispatchResponseValidationError) Key() bool
- func (e TakeDispatchResponseValidationError) Reason() string
- type UnimplementedCentrumServiceServer
- func (UnimplementedCentrumServiceServer) AssignDispatch(context.Context, *AssignDispatchRequest) (*AssignDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) AssignUnit(context.Context, *AssignUnitRequest) (*AssignUnitResponse, error)
- func (UnimplementedCentrumServiceServer) CreateDispatch(context.Context, *CreateDispatchRequest) (*CreateDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) CreateOrUpdateUnit(context.Context, *CreateOrUpdateUnitRequest) (*CreateOrUpdateUnitResponse, error)
- func (UnimplementedCentrumServiceServer) DeleteDispatch(context.Context, *DeleteDispatchRequest) (*DeleteDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) DeleteUnit(context.Context, *DeleteUnitRequest) (*DeleteUnitResponse, error)
- func (UnimplementedCentrumServiceServer) GetDispatch(context.Context, *GetDispatchRequest) (*GetDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
- func (UnimplementedCentrumServiceServer) JoinUnit(context.Context, *JoinUnitRequest) (*JoinUnitResponse, error)
- func (UnimplementedCentrumServiceServer) ListDispatchActivity(context.Context, *ListDispatchActivityRequest) (*ListDispatchActivityResponse, error)
- func (UnimplementedCentrumServiceServer) ListDispatches(context.Context, *ListDispatchesRequest) (*ListDispatchesResponse, error)
- func (UnimplementedCentrumServiceServer) ListUnitActivity(context.Context, *ListUnitActivityRequest) (*ListUnitActivityResponse, error)
- func (UnimplementedCentrumServiceServer) ListUnits(context.Context, *ListUnitsRequest) (*ListUnitsResponse, error)
- func (UnimplementedCentrumServiceServer) Stream(*StreamRequest, CentrumService_StreamServer) error
- func (UnimplementedCentrumServiceServer) TakeControl(context.Context, *TakeControlRequest) (*TakeControlResponse, error)
- func (UnimplementedCentrumServiceServer) TakeDispatch(context.Context, *TakeDispatchRequest) (*TakeDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) UpdateDispatch(context.Context, *UpdateDispatchRequest) (*UpdateDispatchResponse, error)
- func (UnimplementedCentrumServiceServer) UpdateDispatchStatus(context.Context, *UpdateDispatchStatusRequest) (*UpdateDispatchStatusResponse, error)
- func (UnimplementedCentrumServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
- func (UnimplementedCentrumServiceServer) UpdateUnitStatus(context.Context, *UpdateUnitStatusRequest) (*UpdateUnitStatusResponse, error)
- type UnsafeCentrumServiceServer
- type UpdateDispatchRequest
- func (*UpdateDispatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDispatchRequest) GetDispatch() *centrum.Dispatch
- func (*UpdateDispatchRequest) ProtoMessage()
- func (x *UpdateDispatchRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDispatchRequest) Reset()
- func (x *UpdateDispatchRequest) String() string
- func (m *UpdateDispatchRequest) Validate() error
- func (m *UpdateDispatchRequest) ValidateAll() error
- type UpdateDispatchRequestMultiError
- type UpdateDispatchRequestValidationError
- func (e UpdateDispatchRequestValidationError) Cause() error
- func (e UpdateDispatchRequestValidationError) Error() string
- func (e UpdateDispatchRequestValidationError) ErrorName() string
- func (e UpdateDispatchRequestValidationError) Field() string
- func (e UpdateDispatchRequestValidationError) Key() bool
- func (e UpdateDispatchRequestValidationError) Reason() string
- type UpdateDispatchResponse
- func (*UpdateDispatchResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDispatchResponse) ProtoMessage()
- func (x *UpdateDispatchResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDispatchResponse) Reset()
- func (x *UpdateDispatchResponse) String() string
- func (m *UpdateDispatchResponse) Validate() error
- func (m *UpdateDispatchResponse) ValidateAll() error
- type UpdateDispatchResponseMultiError
- type UpdateDispatchResponseValidationError
- func (e UpdateDispatchResponseValidationError) Cause() error
- func (e UpdateDispatchResponseValidationError) Error() string
- func (e UpdateDispatchResponseValidationError) ErrorName() string
- func (e UpdateDispatchResponseValidationError) Field() string
- func (e UpdateDispatchResponseValidationError) Key() bool
- func (e UpdateDispatchResponseValidationError) Reason() string
- type UpdateDispatchStatusRequest
- func (*UpdateDispatchStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDispatchStatusRequest) GetCode() string
- func (x *UpdateDispatchStatusRequest) GetDispatchId() uint64
- func (x *UpdateDispatchStatusRequest) GetReason() string
- func (x *UpdateDispatchStatusRequest) GetStatus() centrum.StatusDispatch
- func (*UpdateDispatchStatusRequest) ProtoMessage()
- func (x *UpdateDispatchStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDispatchStatusRequest) Reset()
- func (m *UpdateDispatchStatusRequest) Sanitize() error
- func (x *UpdateDispatchStatusRequest) String() string
- func (m *UpdateDispatchStatusRequest) Validate() error
- func (m *UpdateDispatchStatusRequest) ValidateAll() error
- type UpdateDispatchStatusRequestMultiError
- type UpdateDispatchStatusRequestValidationError
- func (e UpdateDispatchStatusRequestValidationError) Cause() error
- func (e UpdateDispatchStatusRequestValidationError) Error() string
- func (e UpdateDispatchStatusRequestValidationError) ErrorName() string
- func (e UpdateDispatchStatusRequestValidationError) Field() string
- func (e UpdateDispatchStatusRequestValidationError) Key() bool
- func (e UpdateDispatchStatusRequestValidationError) Reason() string
- type UpdateDispatchStatusResponse
- func (*UpdateDispatchStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDispatchStatusResponse) ProtoMessage()
- func (x *UpdateDispatchStatusResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDispatchStatusResponse) Reset()
- func (x *UpdateDispatchStatusResponse) String() string
- func (m *UpdateDispatchStatusResponse) Validate() error
- func (m *UpdateDispatchStatusResponse) ValidateAll() error
- type UpdateDispatchStatusResponseMultiError
- type UpdateDispatchStatusResponseValidationError
- func (e UpdateDispatchStatusResponseValidationError) Cause() error
- func (e UpdateDispatchStatusResponseValidationError) Error() string
- func (e UpdateDispatchStatusResponseValidationError) ErrorName() string
- func (e UpdateDispatchStatusResponseValidationError) Field() string
- func (e UpdateDispatchStatusResponseValidationError) Key() bool
- func (e UpdateDispatchStatusResponseValidationError) Reason() string
- type UpdateSettingsRequest
- func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsRequest) GetSettings() *centrum.Settings
- func (*UpdateSettingsRequest) ProtoMessage()
- func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsRequest) Reset()
- func (x *UpdateSettingsRequest) String() string
- func (m *UpdateSettingsRequest) Validate() error
- func (m *UpdateSettingsRequest) ValidateAll() error
- type UpdateSettingsRequestMultiError
- type UpdateSettingsRequestValidationError
- func (e UpdateSettingsRequestValidationError) Cause() error
- func (e UpdateSettingsRequestValidationError) Error() string
- func (e UpdateSettingsRequestValidationError) ErrorName() string
- func (e UpdateSettingsRequestValidationError) Field() string
- func (e UpdateSettingsRequestValidationError) Key() bool
- func (e UpdateSettingsRequestValidationError) Reason() string
- type UpdateSettingsResponse
- func (*UpdateSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsResponse) GetSettings() *centrum.Settings
- func (*UpdateSettingsResponse) ProtoMessage()
- func (x *UpdateSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsResponse) Reset()
- func (x *UpdateSettingsResponse) String() string
- func (m *UpdateSettingsResponse) Validate() error
- func (m *UpdateSettingsResponse) ValidateAll() error
- type UpdateSettingsResponseMultiError
- type UpdateSettingsResponseValidationError
- func (e UpdateSettingsResponseValidationError) Cause() error
- func (e UpdateSettingsResponseValidationError) Error() string
- func (e UpdateSettingsResponseValidationError) ErrorName() string
- func (e UpdateSettingsResponseValidationError) Field() string
- func (e UpdateSettingsResponseValidationError) Key() bool
- func (e UpdateSettingsResponseValidationError) Reason() string
- type UpdateUnitStatusRequest
- func (*UpdateUnitStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUnitStatusRequest) GetCode() string
- func (x *UpdateUnitStatusRequest) GetReason() string
- func (x *UpdateUnitStatusRequest) GetStatus() centrum.StatusUnit
- func (x *UpdateUnitStatusRequest) GetUnitId() uint64
- func (*UpdateUnitStatusRequest) ProtoMessage()
- func (x *UpdateUnitStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUnitStatusRequest) Reset()
- func (m *UpdateUnitStatusRequest) Sanitize() error
- func (x *UpdateUnitStatusRequest) String() string
- func (m *UpdateUnitStatusRequest) Validate() error
- func (m *UpdateUnitStatusRequest) ValidateAll() error
- type UpdateUnitStatusRequestMultiError
- type UpdateUnitStatusRequestValidationError
- func (e UpdateUnitStatusRequestValidationError) Cause() error
- func (e UpdateUnitStatusRequestValidationError) Error() string
- func (e UpdateUnitStatusRequestValidationError) ErrorName() string
- func (e UpdateUnitStatusRequestValidationError) Field() string
- func (e UpdateUnitStatusRequestValidationError) Key() bool
- func (e UpdateUnitStatusRequestValidationError) Reason() string
- type UpdateUnitStatusResponse
- func (*UpdateUnitStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUnitStatusResponse) ProtoMessage()
- func (x *UpdateUnitStatusResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUnitStatusResponse) Reset()
- func (x *UpdateUnitStatusResponse) String() string
- func (m *UpdateUnitStatusResponse) Validate() error
- func (m *UpdateUnitStatusResponse) ValidateAll() error
- type UpdateUnitStatusResponseMultiError
- type UpdateUnitStatusResponseValidationError
- func (e UpdateUnitStatusResponseValidationError) Cause() error
- func (e UpdateUnitStatusResponseValidationError) Error() string
- func (e UpdateUnitStatusResponseValidationError) ErrorName() string
- func (e UpdateUnitStatusResponseValidationError) Field() string
- func (e UpdateUnitStatusResponseValidationError) Key() bool
- func (e UpdateUnitStatusResponseValidationError) Reason() string
Constants ¶
const ( CentrumService_UpdateSettings_FullMethodName = "/services.centrum.CentrumService/UpdateSettings" CentrumService_CreateDispatch_FullMethodName = "/services.centrum.CentrumService/CreateDispatch" CentrumService_UpdateDispatch_FullMethodName = "/services.centrum.CentrumService/UpdateDispatch" CentrumService_DeleteDispatch_FullMethodName = "/services.centrum.CentrumService/DeleteDispatch" CentrumService_TakeControl_FullMethodName = "/services.centrum.CentrumService/TakeControl" CentrumService_AssignDispatch_FullMethodName = "/services.centrum.CentrumService/AssignDispatch" CentrumService_AssignUnit_FullMethodName = "/services.centrum.CentrumService/AssignUnit" CentrumService_Stream_FullMethodName = "/services.centrum.CentrumService/Stream" CentrumService_GetSettings_FullMethodName = "/services.centrum.CentrumService/GetSettings" CentrumService_JoinUnit_FullMethodName = "/services.centrum.CentrumService/JoinUnit" CentrumService_ListUnits_FullMethodName = "/services.centrum.CentrumService/ListUnits" CentrumService_ListUnitActivity_FullMethodName = "/services.centrum.CentrumService/ListUnitActivity" CentrumService_GetDispatch_FullMethodName = "/services.centrum.CentrumService/GetDispatch" CentrumService_ListDispatches_FullMethodName = "/services.centrum.CentrumService/ListDispatches" CentrumService_ListDispatchActivity_FullMethodName = "/services.centrum.CentrumService/ListDispatchActivity" CentrumService_CreateOrUpdateUnit_FullMethodName = "/services.centrum.CentrumService/CreateOrUpdateUnit" CentrumService_DeleteUnit_FullMethodName = "/services.centrum.CentrumService/DeleteUnit" CentrumService_TakeDispatch_FullMethodName = "/services.centrum.CentrumService/TakeDispatch" CentrumService_UpdateUnitStatus_FullMethodName = "/services.centrum.CentrumService/UpdateUnitStatus" CentrumService_UpdateDispatchStatus_FullMethodName = "/services.centrum.CentrumService/UpdateDispatchStatus" )
Variables ¶
var CentrumService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.centrum.CentrumService", HandlerType: (*CentrumServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateSettings", Handler: _CentrumService_UpdateSettings_Handler, }, { MethodName: "CreateDispatch", Handler: _CentrumService_CreateDispatch_Handler, }, { MethodName: "UpdateDispatch", Handler: _CentrumService_UpdateDispatch_Handler, }, { MethodName: "DeleteDispatch", Handler: _CentrumService_DeleteDispatch_Handler, }, { MethodName: "TakeControl", Handler: _CentrumService_TakeControl_Handler, }, { MethodName: "AssignDispatch", Handler: _CentrumService_AssignDispatch_Handler, }, { MethodName: "AssignUnit", Handler: _CentrumService_AssignUnit_Handler, }, { MethodName: "GetSettings", Handler: _CentrumService_GetSettings_Handler, }, { MethodName: "JoinUnit", Handler: _CentrumService_JoinUnit_Handler, }, { MethodName: "ListUnits", Handler: _CentrumService_ListUnits_Handler, }, { MethodName: "ListUnitActivity", Handler: _CentrumService_ListUnitActivity_Handler, }, { MethodName: "GetDispatch", Handler: _CentrumService_GetDispatch_Handler, }, { MethodName: "ListDispatches", Handler: _CentrumService_ListDispatches_Handler, }, { MethodName: "ListDispatchActivity", Handler: _CentrumService_ListDispatchActivity_Handler, }, { MethodName: "CreateOrUpdateUnit", Handler: _CentrumService_CreateOrUpdateUnit_Handler, }, { MethodName: "DeleteUnit", Handler: _CentrumService_DeleteUnit_Handler, }, { MethodName: "TakeDispatch", Handler: _CentrumService_TakeDispatch_Handler, }, { MethodName: "UpdateUnitStatus", Handler: _CentrumService_UpdateUnitStatus_Handler, }, { MethodName: "UpdateDispatchStatus", Handler: _CentrumService_UpdateDispatchStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Stream", Handler: _CentrumService_Stream_Handler, ServerStreams: true, }, }, Metadata: "services/centrum/centrum.proto", }
CentrumService_ServiceDesc is the grpc.ServiceDesc for CentrumService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_services_centrum_centrum_proto protoreflect.FileDescriptor
var PermsRemap = map[string]string{
"CentrumService/AssignDispatch": "CentrumService/TakeControl",
"CentrumService/AssignUnit": "CentrumService/TakeControl",
"CentrumService/GetDispatch": "CentrumService/Stream",
"CentrumService/GetSettings": "CentrumService/Stream",
"CentrumService/JoinUnit": "CentrumService/Stream",
"CentrumService/ListDispatchActivity": "CentrumService/Stream",
"CentrumService/ListDispatches": "CentrumService/Stream",
"CentrumService/ListUnitActivity": "CentrumService/Stream",
"CentrumService/ListUnits": "CentrumService/Stream",
"CentrumService/UpdateDispatchStatus": "CentrumService/TakeDispatch",
"CentrumService/UpdateUnitStatus": "CentrumService/TakeDispatch",
}
Functions ¶
func RegisterCentrumServiceServer ¶
func RegisterCentrumServiceServer(s grpc.ServiceRegistrar, srv CentrumServiceServer)
Types ¶
type AssignDispatchRequest ¶ added in v0.8.0
type AssignDispatchRequest struct { DispatchId uint64 `protobuf:"varint,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` ToAdd []uint64 `protobuf:"varint,2,rep,packed,name=to_add,json=toAdd,proto3" json:"to_add,omitempty"` ToRemove []uint64 `protobuf:"varint,3,rep,packed,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"` Forced *bool `protobuf:"varint,4,opt,name=forced,proto3,oneof" json:"forced,omitempty"` // contains filtered or unexported fields }
func (*AssignDispatchRequest) Descriptor
deprecated
added in
v0.8.0
func (*AssignDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignDispatchRequest.ProtoReflect.Descriptor instead.
func (*AssignDispatchRequest) GetDispatchId ¶ added in v0.8.0
func (x *AssignDispatchRequest) GetDispatchId() uint64
func (*AssignDispatchRequest) GetForced ¶ added in v0.8.8
func (x *AssignDispatchRequest) GetForced() bool
func (*AssignDispatchRequest) GetToAdd ¶ added in v0.8.0
func (x *AssignDispatchRequest) GetToAdd() []uint64
func (*AssignDispatchRequest) GetToRemove ¶ added in v0.8.0
func (x *AssignDispatchRequest) GetToRemove() []uint64
func (*AssignDispatchRequest) ProtoMessage ¶ added in v0.8.0
func (*AssignDispatchRequest) ProtoMessage()
func (*AssignDispatchRequest) ProtoReflect ¶ added in v0.8.0
func (x *AssignDispatchRequest) ProtoReflect() protoreflect.Message
func (*AssignDispatchRequest) Reset ¶ added in v0.8.0
func (x *AssignDispatchRequest) Reset()
func (*AssignDispatchRequest) String ¶ added in v0.8.0
func (x *AssignDispatchRequest) String() string
func (*AssignDispatchRequest) Validate ¶ added in v0.8.0
func (m *AssignDispatchRequest) Validate() error
Validate checks the field values on AssignDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssignDispatchRequest) ValidateAll ¶ added in v0.8.0
func (m *AssignDispatchRequest) ValidateAll() error
ValidateAll checks the field values on AssignDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignDispatchRequestMultiError, or nil if none found.
type AssignDispatchRequestMultiError ¶ added in v0.8.0
type AssignDispatchRequestMultiError []error
AssignDispatchRequestMultiError is an error wrapping multiple validation errors returned by AssignDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (AssignDispatchRequestMultiError) AllErrors ¶ added in v0.8.0
func (m AssignDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignDispatchRequestMultiError) Error ¶ added in v0.8.0
func (m AssignDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignDispatchRequestValidationError ¶ added in v0.8.0
type AssignDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
AssignDispatchRequestValidationError is the validation error returned by AssignDispatchRequest.Validate if the designated constraints aren't met.
func (AssignDispatchRequestValidationError) Cause ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignDispatchRequestValidationError) Error ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignDispatchRequestValidationError) ErrorName ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignDispatchRequestValidationError) Field ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) Field() string
Field function returns field value.
func (AssignDispatchRequestValidationError) Key ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) Key() bool
Key function returns key value.
func (AssignDispatchRequestValidationError) Reason ¶ added in v0.8.0
func (e AssignDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type AssignDispatchResponse ¶ added in v0.8.0
type AssignDispatchResponse struct {
// contains filtered or unexported fields
}
func (*AssignDispatchResponse) Descriptor
deprecated
added in
v0.8.0
func (*AssignDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignDispatchResponse.ProtoReflect.Descriptor instead.
func (*AssignDispatchResponse) ProtoMessage ¶ added in v0.8.0
func (*AssignDispatchResponse) ProtoMessage()
func (*AssignDispatchResponse) ProtoReflect ¶ added in v0.8.0
func (x *AssignDispatchResponse) ProtoReflect() protoreflect.Message
func (*AssignDispatchResponse) Reset ¶ added in v0.8.0
func (x *AssignDispatchResponse) Reset()
func (*AssignDispatchResponse) String ¶ added in v0.8.0
func (x *AssignDispatchResponse) String() string
func (*AssignDispatchResponse) Validate ¶ added in v0.8.0
func (m *AssignDispatchResponse) Validate() error
Validate checks the field values on AssignDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssignDispatchResponse) ValidateAll ¶ added in v0.8.0
func (m *AssignDispatchResponse) ValidateAll() error
ValidateAll checks the field values on AssignDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignDispatchResponseMultiError, or nil if none found.
type AssignDispatchResponseMultiError ¶ added in v0.8.0
type AssignDispatchResponseMultiError []error
AssignDispatchResponseMultiError is an error wrapping multiple validation errors returned by AssignDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (AssignDispatchResponseMultiError) AllErrors ¶ added in v0.8.0
func (m AssignDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignDispatchResponseMultiError) Error ¶ added in v0.8.0
func (m AssignDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignDispatchResponseValidationError ¶ added in v0.8.0
type AssignDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
AssignDispatchResponseValidationError is the validation error returned by AssignDispatchResponse.Validate if the designated constraints aren't met.
func (AssignDispatchResponseValidationError) Cause ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignDispatchResponseValidationError) Error ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignDispatchResponseValidationError) ErrorName ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignDispatchResponseValidationError) Field ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) Field() string
Field function returns field value.
func (AssignDispatchResponseValidationError) Key ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) Key() bool
Key function returns key value.
func (AssignDispatchResponseValidationError) Reason ¶ added in v0.8.0
func (e AssignDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type AssignUnitRequest ¶
type AssignUnitRequest struct { UnitId uint64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` ToAdd []int32 `protobuf:"varint,2,rep,packed,name=to_add,json=toAdd,proto3" json:"to_add,omitempty"` ToRemove []int32 `protobuf:"varint,3,rep,packed,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"` // contains filtered or unexported fields }
func (*AssignUnitRequest) Descriptor
deprecated
func (*AssignUnitRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignUnitRequest.ProtoReflect.Descriptor instead.
func (*AssignUnitRequest) GetToAdd ¶
func (x *AssignUnitRequest) GetToAdd() []int32
func (*AssignUnitRequest) GetToRemove ¶
func (x *AssignUnitRequest) GetToRemove() []int32
func (*AssignUnitRequest) GetUnitId ¶
func (x *AssignUnitRequest) GetUnitId() uint64
func (*AssignUnitRequest) ProtoMessage ¶
func (*AssignUnitRequest) ProtoMessage()
func (*AssignUnitRequest) ProtoReflect ¶
func (x *AssignUnitRequest) ProtoReflect() protoreflect.Message
func (*AssignUnitRequest) Reset ¶
func (x *AssignUnitRequest) Reset()
func (*AssignUnitRequest) String ¶
func (x *AssignUnitRequest) String() string
func (*AssignUnitRequest) Validate ¶
func (m *AssignUnitRequest) Validate() error
Validate checks the field values on AssignUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssignUnitRequest) ValidateAll ¶
func (m *AssignUnitRequest) ValidateAll() error
ValidateAll checks the field values on AssignUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignUnitRequestMultiError, or nil if none found.
type AssignUnitRequestMultiError ¶
type AssignUnitRequestMultiError []error
AssignUnitRequestMultiError is an error wrapping multiple validation errors returned by AssignUnitRequest.ValidateAll() if the designated constraints aren't met.
func (AssignUnitRequestMultiError) AllErrors ¶
func (m AssignUnitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignUnitRequestMultiError) Error ¶
func (m AssignUnitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignUnitRequestValidationError ¶
type AssignUnitRequestValidationError struct {
// contains filtered or unexported fields
}
AssignUnitRequestValidationError is the validation error returned by AssignUnitRequest.Validate if the designated constraints aren't met.
func (AssignUnitRequestValidationError) Cause ¶
func (e AssignUnitRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignUnitRequestValidationError) Error ¶
func (e AssignUnitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignUnitRequestValidationError) ErrorName ¶
func (e AssignUnitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignUnitRequestValidationError) Field ¶
func (e AssignUnitRequestValidationError) Field() string
Field function returns field value.
func (AssignUnitRequestValidationError) Key ¶
func (e AssignUnitRequestValidationError) Key() bool
Key function returns key value.
func (AssignUnitRequestValidationError) Reason ¶
func (e AssignUnitRequestValidationError) Reason() string
Reason function returns reason value.
type AssignUnitResponse ¶
type AssignUnitResponse struct {
// contains filtered or unexported fields
}
func (*AssignUnitResponse) Descriptor
deprecated
func (*AssignUnitResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignUnitResponse.ProtoReflect.Descriptor instead.
func (*AssignUnitResponse) ProtoMessage ¶
func (*AssignUnitResponse) ProtoMessage()
func (*AssignUnitResponse) ProtoReflect ¶
func (x *AssignUnitResponse) ProtoReflect() protoreflect.Message
func (*AssignUnitResponse) Reset ¶
func (x *AssignUnitResponse) Reset()
func (*AssignUnitResponse) String ¶
func (x *AssignUnitResponse) String() string
func (*AssignUnitResponse) Validate ¶
func (m *AssignUnitResponse) Validate() error
Validate checks the field values on AssignUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssignUnitResponse) ValidateAll ¶
func (m *AssignUnitResponse) ValidateAll() error
ValidateAll checks the field values on AssignUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignUnitResponseMultiError, or nil if none found.
type AssignUnitResponseMultiError ¶
type AssignUnitResponseMultiError []error
AssignUnitResponseMultiError is an error wrapping multiple validation errors returned by AssignUnitResponse.ValidateAll() if the designated constraints aren't met.
func (AssignUnitResponseMultiError) AllErrors ¶
func (m AssignUnitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignUnitResponseMultiError) Error ¶
func (m AssignUnitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignUnitResponseValidationError ¶
type AssignUnitResponseValidationError struct {
// contains filtered or unexported fields
}
AssignUnitResponseValidationError is the validation error returned by AssignUnitResponse.Validate if the designated constraints aren't met.
func (AssignUnitResponseValidationError) Cause ¶
func (e AssignUnitResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignUnitResponseValidationError) Error ¶
func (e AssignUnitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignUnitResponseValidationError) ErrorName ¶
func (e AssignUnitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignUnitResponseValidationError) Field ¶
func (e AssignUnitResponseValidationError) Field() string
Field function returns field value.
func (AssignUnitResponseValidationError) Key ¶
func (e AssignUnitResponseValidationError) Key() bool
Key function returns key value.
func (AssignUnitResponseValidationError) Reason ¶
func (e AssignUnitResponseValidationError) Reason() string
Reason function returns reason value.
type CentrumServiceClient ¶
type CentrumServiceClient interface { // @perm UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*UpdateSettingsResponse, error) // @perm CreateDispatch(ctx context.Context, in *CreateDispatchRequest, opts ...grpc.CallOption) (*CreateDispatchResponse, error) // @perm UpdateDispatch(ctx context.Context, in *UpdateDispatchRequest, opts ...grpc.CallOption) (*UpdateDispatchResponse, error) // @perm DeleteDispatch(ctx context.Context, in *DeleteDispatchRequest, opts ...grpc.CallOption) (*DeleteDispatchResponse, error) // @perm TakeControl(ctx context.Context, in *TakeControlRequest, opts ...grpc.CallOption) (*TakeControlResponse, error) // @perm: Name=TakeControl AssignDispatch(ctx context.Context, in *AssignDispatchRequest, opts ...grpc.CallOption) (*AssignDispatchResponse, error) // @perm: Name=TakeControl AssignUnit(ctx context.Context, in *AssignUnitRequest, opts ...grpc.CallOption) (*AssignUnitResponse, error) // @perm Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (CentrumService_StreamClient, error) // @perm: Name=Stream GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*GetSettingsResponse, error) // @perm: Name=Stream JoinUnit(ctx context.Context, in *JoinUnitRequest, opts ...grpc.CallOption) (*JoinUnitResponse, error) // @perm: Name=Stream ListUnits(ctx context.Context, in *ListUnitsRequest, opts ...grpc.CallOption) (*ListUnitsResponse, error) // @perm: Name=Stream ListUnitActivity(ctx context.Context, in *ListUnitActivityRequest, opts ...grpc.CallOption) (*ListUnitActivityResponse, error) // @perm: Name=Stream GetDispatch(ctx context.Context, in *GetDispatchRequest, opts ...grpc.CallOption) (*GetDispatchResponse, error) // @perm: Name=Stream ListDispatches(ctx context.Context, in *ListDispatchesRequest, opts ...grpc.CallOption) (*ListDispatchesResponse, error) // @perm: Name=Stream ListDispatchActivity(ctx context.Context, in *ListDispatchActivityRequest, opts ...grpc.CallOption) (*ListDispatchActivityResponse, error) // @perm CreateOrUpdateUnit(ctx context.Context, in *CreateOrUpdateUnitRequest, opts ...grpc.CallOption) (*CreateOrUpdateUnitResponse, error) // @perm DeleteUnit(ctx context.Context, in *DeleteUnitRequest, opts ...grpc.CallOption) (*DeleteUnitResponse, error) // @perm TakeDispatch(ctx context.Context, in *TakeDispatchRequest, opts ...grpc.CallOption) (*TakeDispatchResponse, error) // @perm: Name=TakeDispatch UpdateUnitStatus(ctx context.Context, in *UpdateUnitStatusRequest, opts ...grpc.CallOption) (*UpdateUnitStatusResponse, error) // @perm: Name=TakeDispatch UpdateDispatchStatus(ctx context.Context, in *UpdateDispatchStatusRequest, opts ...grpc.CallOption) (*UpdateDispatchStatusResponse, error) }
CentrumServiceClient is the client API for CentrumService 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 NewCentrumServiceClient ¶
func NewCentrumServiceClient(cc grpc.ClientConnInterface) CentrumServiceClient
func NewTestCentrumServiceClient ¶
func NewTestCentrumServiceClient(srv CentrumServiceServer) (CentrumServiceClient, context.Context, context.CancelFunc)
type CentrumServiceServer ¶
type CentrumServiceServer interface { // @perm UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error) // @perm CreateDispatch(context.Context, *CreateDispatchRequest) (*CreateDispatchResponse, error) // @perm UpdateDispatch(context.Context, *UpdateDispatchRequest) (*UpdateDispatchResponse, error) // @perm DeleteDispatch(context.Context, *DeleteDispatchRequest) (*DeleteDispatchResponse, error) // @perm TakeControl(context.Context, *TakeControlRequest) (*TakeControlResponse, error) // @perm: Name=TakeControl AssignDispatch(context.Context, *AssignDispatchRequest) (*AssignDispatchResponse, error) // @perm: Name=TakeControl AssignUnit(context.Context, *AssignUnitRequest) (*AssignUnitResponse, error) // @perm Stream(*StreamRequest, CentrumService_StreamServer) error // @perm: Name=Stream GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error) // @perm: Name=Stream JoinUnit(context.Context, *JoinUnitRequest) (*JoinUnitResponse, error) // @perm: Name=Stream ListUnits(context.Context, *ListUnitsRequest) (*ListUnitsResponse, error) // @perm: Name=Stream ListUnitActivity(context.Context, *ListUnitActivityRequest) (*ListUnitActivityResponse, error) // @perm: Name=Stream GetDispatch(context.Context, *GetDispatchRequest) (*GetDispatchResponse, error) // @perm: Name=Stream ListDispatches(context.Context, *ListDispatchesRequest) (*ListDispatchesResponse, error) // @perm: Name=Stream ListDispatchActivity(context.Context, *ListDispatchActivityRequest) (*ListDispatchActivityResponse, error) // @perm CreateOrUpdateUnit(context.Context, *CreateOrUpdateUnitRequest) (*CreateOrUpdateUnitResponse, error) // @perm DeleteUnit(context.Context, *DeleteUnitRequest) (*DeleteUnitResponse, error) // @perm TakeDispatch(context.Context, *TakeDispatchRequest) (*TakeDispatchResponse, error) // @perm: Name=TakeDispatch UpdateUnitStatus(context.Context, *UpdateUnitStatusRequest) (*UpdateUnitStatusResponse, error) // @perm: Name=TakeDispatch UpdateDispatchStatus(context.Context, *UpdateDispatchStatusRequest) (*UpdateDispatchStatusResponse, error) // contains filtered or unexported methods }
CentrumServiceServer is the server API for CentrumService service. All implementations must embed UnimplementedCentrumServiceServer for forward compatibility
type CentrumService_StreamClient ¶
type CentrumService_StreamClient interface { Recv() (*StreamResponse, error) grpc.ClientStream }
type CentrumService_StreamServer ¶
type CentrumService_StreamServer interface { Send(*StreamResponse) error grpc.ServerStream }
type CreateDispatchRequest ¶
type CreateDispatchRequest struct { Dispatch *centrum.Dispatch `protobuf:"bytes,1,opt,name=dispatch,proto3" json:"dispatch,omitempty"` // contains filtered or unexported fields }
func (*CreateDispatchRequest) Descriptor
deprecated
func (*CreateDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDispatchRequest.ProtoReflect.Descriptor instead.
func (*CreateDispatchRequest) GetDispatch ¶ added in v0.8.0
func (x *CreateDispatchRequest) GetDispatch() *centrum.Dispatch
func (*CreateDispatchRequest) ProtoMessage ¶
func (*CreateDispatchRequest) ProtoMessage()
func (*CreateDispatchRequest) ProtoReflect ¶
func (x *CreateDispatchRequest) ProtoReflect() protoreflect.Message
func (*CreateDispatchRequest) Reset ¶
func (x *CreateDispatchRequest) Reset()
func (*CreateDispatchRequest) String ¶
func (x *CreateDispatchRequest) String() string
func (*CreateDispatchRequest) Validate ¶
func (m *CreateDispatchRequest) Validate() error
Validate checks the field values on CreateDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDispatchRequest) ValidateAll ¶
func (m *CreateDispatchRequest) ValidateAll() error
ValidateAll checks the field values on CreateDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDispatchRequestMultiError, or nil if none found.
type CreateDispatchRequestMultiError ¶
type CreateDispatchRequestMultiError []error
CreateDispatchRequestMultiError is an error wrapping multiple validation errors returned by CreateDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDispatchRequestMultiError) AllErrors ¶
func (m CreateDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDispatchRequestMultiError) Error ¶
func (m CreateDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDispatchRequestValidationError ¶
type CreateDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDispatchRequestValidationError is the validation error returned by CreateDispatchRequest.Validate if the designated constraints aren't met.
func (CreateDispatchRequestValidationError) Cause ¶
func (e CreateDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDispatchRequestValidationError) Error ¶
func (e CreateDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDispatchRequestValidationError) ErrorName ¶
func (e CreateDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDispatchRequestValidationError) Field ¶
func (e CreateDispatchRequestValidationError) Field() string
Field function returns field value.
func (CreateDispatchRequestValidationError) Key ¶
func (e CreateDispatchRequestValidationError) Key() bool
Key function returns key value.
func (CreateDispatchRequestValidationError) Reason ¶
func (e CreateDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDispatchResponse ¶
type CreateDispatchResponse struct { Dispatch *centrum.Dispatch `protobuf:"bytes,1,opt,name=dispatch,proto3" json:"dispatch,omitempty"` // contains filtered or unexported fields }
func (*CreateDispatchResponse) Descriptor
deprecated
func (*CreateDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDispatchResponse.ProtoReflect.Descriptor instead.
func (*CreateDispatchResponse) GetDispatch ¶ added in v0.8.0
func (x *CreateDispatchResponse) GetDispatch() *centrum.Dispatch
func (*CreateDispatchResponse) ProtoMessage ¶
func (*CreateDispatchResponse) ProtoMessage()
func (*CreateDispatchResponse) ProtoReflect ¶
func (x *CreateDispatchResponse) ProtoReflect() protoreflect.Message
func (*CreateDispatchResponse) Reset ¶
func (x *CreateDispatchResponse) Reset()
func (*CreateDispatchResponse) String ¶
func (x *CreateDispatchResponse) String() string
func (*CreateDispatchResponse) Validate ¶
func (m *CreateDispatchResponse) Validate() error
Validate checks the field values on CreateDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDispatchResponse) ValidateAll ¶
func (m *CreateDispatchResponse) ValidateAll() error
ValidateAll checks the field values on CreateDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDispatchResponseMultiError, or nil if none found.
type CreateDispatchResponseMultiError ¶
type CreateDispatchResponseMultiError []error
CreateDispatchResponseMultiError is an error wrapping multiple validation errors returned by CreateDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (CreateDispatchResponseMultiError) AllErrors ¶
func (m CreateDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDispatchResponseMultiError) Error ¶
func (m CreateDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDispatchResponseValidationError ¶
type CreateDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
CreateDispatchResponseValidationError is the validation error returned by CreateDispatchResponse.Validate if the designated constraints aren't met.
func (CreateDispatchResponseValidationError) Cause ¶
func (e CreateDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateDispatchResponseValidationError) Error ¶
func (e CreateDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDispatchResponseValidationError) ErrorName ¶
func (e CreateDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDispatchResponseValidationError) Field ¶
func (e CreateDispatchResponseValidationError) Field() string
Field function returns field value.
func (CreateDispatchResponseValidationError) Key ¶
func (e CreateDispatchResponseValidationError) Key() bool
Key function returns key value.
func (CreateDispatchResponseValidationError) Reason ¶
func (e CreateDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateUnitRequest ¶ added in v0.8.0
type CreateOrUpdateUnitRequest struct { Unit *centrum.Unit `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateUnitRequest) Descriptor
deprecated
added in
v0.8.0
func (*CreateOrUpdateUnitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateUnitRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateUnitRequest) GetUnit ¶ added in v0.8.0
func (x *CreateOrUpdateUnitRequest) GetUnit() *centrum.Unit
func (*CreateOrUpdateUnitRequest) ProtoMessage ¶ added in v0.8.0
func (*CreateOrUpdateUnitRequest) ProtoMessage()
func (*CreateOrUpdateUnitRequest) ProtoReflect ¶ added in v0.8.0
func (x *CreateOrUpdateUnitRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateUnitRequest) Reset ¶ added in v0.8.0
func (x *CreateOrUpdateUnitRequest) Reset()
func (*CreateOrUpdateUnitRequest) String ¶ added in v0.8.0
func (x *CreateOrUpdateUnitRequest) String() string
func (*CreateOrUpdateUnitRequest) Validate ¶ added in v0.8.0
func (m *CreateOrUpdateUnitRequest) Validate() error
Validate checks the field values on CreateOrUpdateUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateUnitRequest) ValidateAll ¶ added in v0.8.0
func (m *CreateOrUpdateUnitRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateUnitRequestMultiError, or nil if none found.
type CreateOrUpdateUnitRequestMultiError ¶ added in v0.8.0
type CreateOrUpdateUnitRequestMultiError []error
CreateOrUpdateUnitRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateUnitRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateUnitRequestMultiError) AllErrors ¶ added in v0.8.0
func (m CreateOrUpdateUnitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateUnitRequestMultiError) Error ¶ added in v0.8.0
func (m CreateOrUpdateUnitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateUnitRequestValidationError ¶ added in v0.8.0
type CreateOrUpdateUnitRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateUnitRequestValidationError is the validation error returned by CreateOrUpdateUnitRequest.Validate if the designated constraints aren't met.
func (CreateOrUpdateUnitRequestValidationError) Cause ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateUnitRequestValidationError) Error ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateUnitRequestValidationError) ErrorName ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateUnitRequestValidationError) Field ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateUnitRequestValidationError) Key ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateUnitRequestValidationError) Reason ¶ added in v0.8.0
func (e CreateOrUpdateUnitRequestValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateUnitResponse ¶ added in v0.8.0
type CreateOrUpdateUnitResponse struct { Unit *centrum.Unit `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateUnitResponse) Descriptor
deprecated
added in
v0.8.0
func (*CreateOrUpdateUnitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateUnitResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateUnitResponse) GetUnit ¶ added in v0.8.0
func (x *CreateOrUpdateUnitResponse) GetUnit() *centrum.Unit
func (*CreateOrUpdateUnitResponse) ProtoMessage ¶ added in v0.8.0
func (*CreateOrUpdateUnitResponse) ProtoMessage()
func (*CreateOrUpdateUnitResponse) ProtoReflect ¶ added in v0.8.0
func (x *CreateOrUpdateUnitResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateUnitResponse) Reset ¶ added in v0.8.0
func (x *CreateOrUpdateUnitResponse) Reset()
func (*CreateOrUpdateUnitResponse) String ¶ added in v0.8.0
func (x *CreateOrUpdateUnitResponse) String() string
func (*CreateOrUpdateUnitResponse) Validate ¶ added in v0.8.0
func (m *CreateOrUpdateUnitResponse) Validate() error
Validate checks the field values on CreateOrUpdateUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateUnitResponse) ValidateAll ¶ added in v0.8.0
func (m *CreateOrUpdateUnitResponse) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateUnitResponseMultiError, or nil if none found.
type CreateOrUpdateUnitResponseMultiError ¶ added in v0.8.0
type CreateOrUpdateUnitResponseMultiError []error
CreateOrUpdateUnitResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateUnitResponse.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateUnitResponseMultiError) AllErrors ¶ added in v0.8.0
func (m CreateOrUpdateUnitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateUnitResponseMultiError) Error ¶ added in v0.8.0
func (m CreateOrUpdateUnitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateUnitResponseValidationError ¶ added in v0.8.0
type CreateOrUpdateUnitResponseValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateUnitResponseValidationError is the validation error returned by CreateOrUpdateUnitResponse.Validate if the designated constraints aren't met.
func (CreateOrUpdateUnitResponseValidationError) Cause ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateUnitResponseValidationError) Error ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateUnitResponseValidationError) ErrorName ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateUnitResponseValidationError) Field ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateUnitResponseValidationError) Key ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateUnitResponseValidationError) Reason ¶ added in v0.8.0
func (e CreateOrUpdateUnitResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteDispatchRequest ¶ added in v0.8.1
type DeleteDispatchRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDispatchRequest) Descriptor
deprecated
added in
v0.8.1
func (*DeleteDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDispatchRequest.ProtoReflect.Descriptor instead.
func (*DeleteDispatchRequest) GetId ¶ added in v0.8.1
func (x *DeleteDispatchRequest) GetId() uint64
func (*DeleteDispatchRequest) ProtoMessage ¶ added in v0.8.1
func (*DeleteDispatchRequest) ProtoMessage()
func (*DeleteDispatchRequest) ProtoReflect ¶ added in v0.8.1
func (x *DeleteDispatchRequest) ProtoReflect() protoreflect.Message
func (*DeleteDispatchRequest) Reset ¶ added in v0.8.1
func (x *DeleteDispatchRequest) Reset()
func (*DeleteDispatchRequest) String ¶ added in v0.8.1
func (x *DeleteDispatchRequest) String() string
func (*DeleteDispatchRequest) Validate ¶ added in v0.8.1
func (m *DeleteDispatchRequest) Validate() error
Validate checks the field values on DeleteDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDispatchRequest) ValidateAll ¶ added in v0.8.1
func (m *DeleteDispatchRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDispatchRequestMultiError, or nil if none found.
type DeleteDispatchRequestMultiError ¶ added in v0.8.1
type DeleteDispatchRequestMultiError []error
DeleteDispatchRequestMultiError is an error wrapping multiple validation errors returned by DeleteDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDispatchRequestMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDispatchRequestMultiError) Error ¶ added in v0.8.1
func (m DeleteDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDispatchRequestValidationError ¶ added in v0.8.1
type DeleteDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDispatchRequestValidationError is the validation error returned by DeleteDispatchRequest.Validate if the designated constraints aren't met.
func (DeleteDispatchRequestValidationError) Cause ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDispatchRequestValidationError) Error ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDispatchRequestValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDispatchRequestValidationError) Field ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) Field() string
Field function returns field value.
func (DeleteDispatchRequestValidationError) Key ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDispatchRequestValidationError) Reason ¶ added in v0.8.1
func (e DeleteDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDispatchResponse ¶ added in v0.8.1
type DeleteDispatchResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDispatchResponse) Descriptor
deprecated
added in
v0.8.1
func (*DeleteDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDispatchResponse.ProtoReflect.Descriptor instead.
func (*DeleteDispatchResponse) ProtoMessage ¶ added in v0.8.1
func (*DeleteDispatchResponse) ProtoMessage()
func (*DeleteDispatchResponse) ProtoReflect ¶ added in v0.8.1
func (x *DeleteDispatchResponse) ProtoReflect() protoreflect.Message
func (*DeleteDispatchResponse) Reset ¶ added in v0.8.1
func (x *DeleteDispatchResponse) Reset()
func (*DeleteDispatchResponse) String ¶ added in v0.8.1
func (x *DeleteDispatchResponse) String() string
func (*DeleteDispatchResponse) Validate ¶ added in v0.8.1
func (m *DeleteDispatchResponse) Validate() error
Validate checks the field values on DeleteDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDispatchResponse) ValidateAll ¶ added in v0.8.1
func (m *DeleteDispatchResponse) ValidateAll() error
ValidateAll checks the field values on DeleteDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDispatchResponseMultiError, or nil if none found.
type DeleteDispatchResponseMultiError ¶ added in v0.8.1
type DeleteDispatchResponseMultiError []error
DeleteDispatchResponseMultiError is an error wrapping multiple validation errors returned by DeleteDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteDispatchResponseMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDispatchResponseMultiError) Error ¶ added in v0.8.1
func (m DeleteDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDispatchResponseValidationError ¶ added in v0.8.1
type DeleteDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteDispatchResponseValidationError is the validation error returned by DeleteDispatchResponse.Validate if the designated constraints aren't met.
func (DeleteDispatchResponseValidationError) Cause ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteDispatchResponseValidationError) Error ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDispatchResponseValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDispatchResponseValidationError) Field ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) Field() string
Field function returns field value.
func (DeleteDispatchResponseValidationError) Key ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) Key() bool
Key function returns key value.
func (DeleteDispatchResponseValidationError) Reason ¶ added in v0.8.1
func (e DeleteDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteUnitRequest ¶
type DeleteUnitRequest struct { UnitId uint64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUnitRequest) Descriptor
deprecated
func (*DeleteUnitRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUnitRequest.ProtoReflect.Descriptor instead.
func (*DeleteUnitRequest) GetUnitId ¶
func (x *DeleteUnitRequest) GetUnitId() uint64
func (*DeleteUnitRequest) ProtoMessage ¶
func (*DeleteUnitRequest) ProtoMessage()
func (*DeleteUnitRequest) ProtoReflect ¶
func (x *DeleteUnitRequest) ProtoReflect() protoreflect.Message
func (*DeleteUnitRequest) Reset ¶
func (x *DeleteUnitRequest) Reset()
func (*DeleteUnitRequest) String ¶
func (x *DeleteUnitRequest) String() string
func (*DeleteUnitRequest) Validate ¶
func (m *DeleteUnitRequest) Validate() error
Validate checks the field values on DeleteUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUnitRequest) ValidateAll ¶
func (m *DeleteUnitRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUnitRequestMultiError, or nil if none found.
type DeleteUnitRequestMultiError ¶
type DeleteUnitRequestMultiError []error
DeleteUnitRequestMultiError is an error wrapping multiple validation errors returned by DeleteUnitRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUnitRequestMultiError) AllErrors ¶
func (m DeleteUnitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUnitRequestMultiError) Error ¶
func (m DeleteUnitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUnitRequestValidationError ¶
type DeleteUnitRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUnitRequestValidationError is the validation error returned by DeleteUnitRequest.Validate if the designated constraints aren't met.
func (DeleteUnitRequestValidationError) Cause ¶
func (e DeleteUnitRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUnitRequestValidationError) Error ¶
func (e DeleteUnitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUnitRequestValidationError) ErrorName ¶
func (e DeleteUnitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUnitRequestValidationError) Field ¶
func (e DeleteUnitRequestValidationError) Field() string
Field function returns field value.
func (DeleteUnitRequestValidationError) Key ¶
func (e DeleteUnitRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUnitRequestValidationError) Reason ¶
func (e DeleteUnitRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUnitResponse ¶
type DeleteUnitResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUnitResponse) Descriptor
deprecated
func (*DeleteUnitResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUnitResponse.ProtoReflect.Descriptor instead.
func (*DeleteUnitResponse) ProtoMessage ¶
func (*DeleteUnitResponse) ProtoMessage()
func (*DeleteUnitResponse) ProtoReflect ¶
func (x *DeleteUnitResponse) ProtoReflect() protoreflect.Message
func (*DeleteUnitResponse) Reset ¶
func (x *DeleteUnitResponse) Reset()
func (*DeleteUnitResponse) String ¶
func (x *DeleteUnitResponse) String() string
func (*DeleteUnitResponse) Validate ¶
func (m *DeleteUnitResponse) Validate() error
Validate checks the field values on DeleteUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUnitResponse) ValidateAll ¶
func (m *DeleteUnitResponse) ValidateAll() error
ValidateAll checks the field values on DeleteUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUnitResponseMultiError, or nil if none found.
type DeleteUnitResponseMultiError ¶
type DeleteUnitResponseMultiError []error
DeleteUnitResponseMultiError is an error wrapping multiple validation errors returned by DeleteUnitResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteUnitResponseMultiError) AllErrors ¶
func (m DeleteUnitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUnitResponseMultiError) Error ¶
func (m DeleteUnitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUnitResponseValidationError ¶
type DeleteUnitResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteUnitResponseValidationError is the validation error returned by DeleteUnitResponse.Validate if the designated constraints aren't met.
func (DeleteUnitResponseValidationError) Cause ¶
func (e DeleteUnitResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUnitResponseValidationError) Error ¶
func (e DeleteUnitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUnitResponseValidationError) ErrorName ¶
func (e DeleteUnitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUnitResponseValidationError) Field ¶
func (e DeleteUnitResponseValidationError) Field() string
Field function returns field value.
func (DeleteUnitResponseValidationError) Key ¶
func (e DeleteUnitResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUnitResponseValidationError) Reason ¶
func (e DeleteUnitResponseValidationError) Reason() string
Reason function returns reason value.
type GetDispatchRequest ¶ added in v0.8.20
type GetDispatchRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDispatchRequest) Descriptor
deprecated
added in
v0.8.20
func (*GetDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDispatchRequest.ProtoReflect.Descriptor instead.
func (*GetDispatchRequest) GetId ¶ added in v0.8.20
func (x *GetDispatchRequest) GetId() uint64
func (*GetDispatchRequest) ProtoMessage ¶ added in v0.8.20
func (*GetDispatchRequest) ProtoMessage()
func (*GetDispatchRequest) ProtoReflect ¶ added in v0.8.20
func (x *GetDispatchRequest) ProtoReflect() protoreflect.Message
func (*GetDispatchRequest) Reset ¶ added in v0.8.20
func (x *GetDispatchRequest) Reset()
func (*GetDispatchRequest) String ¶ added in v0.8.20
func (x *GetDispatchRequest) String() string
func (*GetDispatchRequest) Validate ¶ added in v0.8.20
func (m *GetDispatchRequest) Validate() error
Validate checks the field values on GetDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDispatchRequest) ValidateAll ¶ added in v0.8.20
func (m *GetDispatchRequest) ValidateAll() error
ValidateAll checks the field values on GetDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDispatchRequestMultiError, or nil if none found.
type GetDispatchRequestMultiError ¶ added in v0.8.20
type GetDispatchRequestMultiError []error
GetDispatchRequestMultiError is an error wrapping multiple validation errors returned by GetDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (GetDispatchRequestMultiError) AllErrors ¶ added in v0.8.20
func (m GetDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDispatchRequestMultiError) Error ¶ added in v0.8.20
func (m GetDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDispatchRequestValidationError ¶ added in v0.8.20
type GetDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
GetDispatchRequestValidationError is the validation error returned by GetDispatchRequest.Validate if the designated constraints aren't met.
func (GetDispatchRequestValidationError) Cause ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDispatchRequestValidationError) Error ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDispatchRequestValidationError) ErrorName ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDispatchRequestValidationError) Field ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) Field() string
Field function returns field value.
func (GetDispatchRequestValidationError) Key ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) Key() bool
Key function returns key value.
func (GetDispatchRequestValidationError) Reason ¶ added in v0.8.20
func (e GetDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type GetDispatchResponse ¶ added in v0.8.20
type GetDispatchResponse struct { Dispatch *centrum.Dispatch `protobuf:"bytes,1,opt,name=dispatch,proto3" json:"dispatch,omitempty"` // contains filtered or unexported fields }
func (*GetDispatchResponse) Descriptor
deprecated
added in
v0.8.20
func (*GetDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDispatchResponse.ProtoReflect.Descriptor instead.
func (*GetDispatchResponse) GetDispatch ¶ added in v0.8.20
func (x *GetDispatchResponse) GetDispatch() *centrum.Dispatch
func (*GetDispatchResponse) ProtoMessage ¶ added in v0.8.20
func (*GetDispatchResponse) ProtoMessage()
func (*GetDispatchResponse) ProtoReflect ¶ added in v0.8.20
func (x *GetDispatchResponse) ProtoReflect() protoreflect.Message
func (*GetDispatchResponse) Reset ¶ added in v0.8.20
func (x *GetDispatchResponse) Reset()
func (*GetDispatchResponse) String ¶ added in v0.8.20
func (x *GetDispatchResponse) String() string
func (*GetDispatchResponse) Validate ¶ added in v0.8.20
func (m *GetDispatchResponse) Validate() error
Validate checks the field values on GetDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDispatchResponse) ValidateAll ¶ added in v0.8.20
func (m *GetDispatchResponse) ValidateAll() error
ValidateAll checks the field values on GetDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDispatchResponseMultiError, or nil if none found.
type GetDispatchResponseMultiError ¶ added in v0.8.20
type GetDispatchResponseMultiError []error
GetDispatchResponseMultiError is an error wrapping multiple validation errors returned by GetDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (GetDispatchResponseMultiError) AllErrors ¶ added in v0.8.20
func (m GetDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDispatchResponseMultiError) Error ¶ added in v0.8.20
func (m GetDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDispatchResponseValidationError ¶ added in v0.8.20
type GetDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
GetDispatchResponseValidationError is the validation error returned by GetDispatchResponse.Validate if the designated constraints aren't met.
func (GetDispatchResponseValidationError) Cause ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (GetDispatchResponseValidationError) Error ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetDispatchResponseValidationError) ErrorName ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetDispatchResponseValidationError) Field ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) Field() string
Field function returns field value.
func (GetDispatchResponseValidationError) Key ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) Key() bool
Key function returns key value.
func (GetDispatchResponseValidationError) Reason ¶ added in v0.8.20
func (e GetDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type GetSettingsRequest ¶ added in v0.8.0
type GetSettingsRequest struct {
// contains filtered or unexported fields
}
func (*GetSettingsRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSettingsRequest) ProtoMessage ¶ added in v0.8.0
func (*GetSettingsRequest) ProtoMessage()
func (*GetSettingsRequest) ProtoReflect ¶ added in v0.8.0
func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetSettingsRequest) Reset ¶ added in v0.8.0
func (x *GetSettingsRequest) Reset()
func (*GetSettingsRequest) String ¶ added in v0.8.0
func (x *GetSettingsRequest) String() string
func (*GetSettingsRequest) Validate ¶ added in v0.8.0
func (m *GetSettingsRequest) Validate() error
Validate checks the field values on GetSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSettingsRequest) ValidateAll ¶ added in v0.8.0
func (m *GetSettingsRequest) ValidateAll() error
ValidateAll checks the field values on GetSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSettingsRequestMultiError, or nil if none found.
type GetSettingsRequestMultiError ¶ added in v0.8.0
type GetSettingsRequestMultiError []error
GetSettingsRequestMultiError is an error wrapping multiple validation errors returned by GetSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (GetSettingsRequestMultiError) AllErrors ¶ added in v0.8.0
func (m GetSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSettingsRequestMultiError) Error ¶ added in v0.8.0
func (m GetSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSettingsRequestValidationError ¶ added in v0.8.0
type GetSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
GetSettingsRequestValidationError is the validation error returned by GetSettingsRequest.Validate if the designated constraints aren't met.
func (GetSettingsRequestValidationError) Cause ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSettingsRequestValidationError) Error ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSettingsRequestValidationError) ErrorName ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSettingsRequestValidationError) Field ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) Field() string
Field function returns field value.
func (GetSettingsRequestValidationError) Key ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) Key() bool
Key function returns key value.
func (GetSettingsRequestValidationError) Reason ¶ added in v0.8.0
func (e GetSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type GetSettingsResponse ¶ added in v0.8.11
type GetSettingsResponse struct { Settings *centrum.Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*GetSettingsResponse) Descriptor
deprecated
added in
v0.8.11
func (*GetSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetSettingsResponse) GetSettings ¶ added in v0.8.11
func (x *GetSettingsResponse) GetSettings() *centrum.Settings
func (*GetSettingsResponse) ProtoMessage ¶ added in v0.8.11
func (*GetSettingsResponse) ProtoMessage()
func (*GetSettingsResponse) ProtoReflect ¶ added in v0.8.11
func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetSettingsResponse) Reset ¶ added in v0.8.11
func (x *GetSettingsResponse) Reset()
func (*GetSettingsResponse) String ¶ added in v0.8.11
func (x *GetSettingsResponse) String() string
func (*GetSettingsResponse) Validate ¶ added in v0.8.11
func (m *GetSettingsResponse) Validate() error
Validate checks the field values on GetSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSettingsResponse) ValidateAll ¶ added in v0.8.11
func (m *GetSettingsResponse) ValidateAll() error
ValidateAll checks the field values on GetSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSettingsResponseMultiError, or nil if none found.
type GetSettingsResponseMultiError ¶ added in v0.8.11
type GetSettingsResponseMultiError []error
GetSettingsResponseMultiError is an error wrapping multiple validation errors returned by GetSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (GetSettingsResponseMultiError) AllErrors ¶ added in v0.8.11
func (m GetSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSettingsResponseMultiError) Error ¶ added in v0.8.11
func (m GetSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSettingsResponseValidationError ¶ added in v0.8.11
type GetSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
GetSettingsResponseValidationError is the validation error returned by GetSettingsResponse.Validate if the designated constraints aren't met.
func (GetSettingsResponseValidationError) Cause ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSettingsResponseValidationError) Error ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSettingsResponseValidationError) ErrorName ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSettingsResponseValidationError) Field ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) Field() string
Field function returns field value.
func (GetSettingsResponseValidationError) Key ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) Key() bool
Key function returns key value.
func (GetSettingsResponseValidationError) Reason ¶ added in v0.8.11
func (e GetSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type JoinUnitRequest ¶ added in v0.8.0
type JoinUnitRequest struct { UnitId *uint64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3,oneof" json:"unit_id,omitempty"` // contains filtered or unexported fields }
func (*JoinUnitRequest) Descriptor
deprecated
added in
v0.8.0
func (*JoinUnitRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinUnitRequest.ProtoReflect.Descriptor instead.
func (*JoinUnitRequest) GetUnitId ¶ added in v0.8.0
func (x *JoinUnitRequest) GetUnitId() uint64
func (*JoinUnitRequest) ProtoMessage ¶ added in v0.8.0
func (*JoinUnitRequest) ProtoMessage()
func (*JoinUnitRequest) ProtoReflect ¶ added in v0.8.0
func (x *JoinUnitRequest) ProtoReflect() protoreflect.Message
func (*JoinUnitRequest) Reset ¶ added in v0.8.0
func (x *JoinUnitRequest) Reset()
func (*JoinUnitRequest) String ¶ added in v0.8.0
func (x *JoinUnitRequest) String() string
func (*JoinUnitRequest) Validate ¶ added in v0.8.0
func (m *JoinUnitRequest) Validate() error
Validate checks the field values on JoinUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JoinUnitRequest) ValidateAll ¶ added in v0.8.0
func (m *JoinUnitRequest) ValidateAll() error
ValidateAll checks the field values on JoinUnitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinUnitRequestMultiError, or nil if none found.
type JoinUnitRequestMultiError ¶ added in v0.8.0
type JoinUnitRequestMultiError []error
JoinUnitRequestMultiError is an error wrapping multiple validation errors returned by JoinUnitRequest.ValidateAll() if the designated constraints aren't met.
func (JoinUnitRequestMultiError) AllErrors ¶ added in v0.8.0
func (m JoinUnitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinUnitRequestMultiError) Error ¶ added in v0.8.0
func (m JoinUnitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinUnitRequestValidationError ¶ added in v0.8.0
type JoinUnitRequestValidationError struct {
// contains filtered or unexported fields
}
JoinUnitRequestValidationError is the validation error returned by JoinUnitRequest.Validate if the designated constraints aren't met.
func (JoinUnitRequestValidationError) Cause ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinUnitRequestValidationError) Error ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinUnitRequestValidationError) ErrorName ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinUnitRequestValidationError) Field ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) Field() string
Field function returns field value.
func (JoinUnitRequestValidationError) Key ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) Key() bool
Key function returns key value.
func (JoinUnitRequestValidationError) Reason ¶ added in v0.8.0
func (e JoinUnitRequestValidationError) Reason() string
Reason function returns reason value.
type JoinUnitResponse ¶ added in v0.8.0
type JoinUnitResponse struct { Unit *centrum.Unit `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
func (*JoinUnitResponse) Descriptor
deprecated
added in
v0.8.0
func (*JoinUnitResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinUnitResponse.ProtoReflect.Descriptor instead.
func (*JoinUnitResponse) GetUnit ¶ added in v0.8.0
func (x *JoinUnitResponse) GetUnit() *centrum.Unit
func (*JoinUnitResponse) ProtoMessage ¶ added in v0.8.0
func (*JoinUnitResponse) ProtoMessage()
func (*JoinUnitResponse) ProtoReflect ¶ added in v0.8.0
func (x *JoinUnitResponse) ProtoReflect() protoreflect.Message
func (*JoinUnitResponse) Reset ¶ added in v0.8.0
func (x *JoinUnitResponse) Reset()
func (*JoinUnitResponse) String ¶ added in v0.8.0
func (x *JoinUnitResponse) String() string
func (*JoinUnitResponse) Validate ¶ added in v0.8.0
func (m *JoinUnitResponse) Validate() error
Validate checks the field values on JoinUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JoinUnitResponse) ValidateAll ¶ added in v0.8.0
func (m *JoinUnitResponse) ValidateAll() error
ValidateAll checks the field values on JoinUnitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinUnitResponseMultiError, or nil if none found.
type JoinUnitResponseMultiError ¶ added in v0.8.0
type JoinUnitResponseMultiError []error
JoinUnitResponseMultiError is an error wrapping multiple validation errors returned by JoinUnitResponse.ValidateAll() if the designated constraints aren't met.
func (JoinUnitResponseMultiError) AllErrors ¶ added in v0.8.0
func (m JoinUnitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinUnitResponseMultiError) Error ¶ added in v0.8.0
func (m JoinUnitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinUnitResponseValidationError ¶ added in v0.8.0
type JoinUnitResponseValidationError struct {
// contains filtered or unexported fields
}
JoinUnitResponseValidationError is the validation error returned by JoinUnitResponse.Validate if the designated constraints aren't met.
func (JoinUnitResponseValidationError) Cause ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) Cause() error
Cause function returns cause value.
func (JoinUnitResponseValidationError) Error ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (JoinUnitResponseValidationError) ErrorName ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (JoinUnitResponseValidationError) Field ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) Field() string
Field function returns field value.
func (JoinUnitResponseValidationError) Key ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) Key() bool
Key function returns key value.
func (JoinUnitResponseValidationError) Reason ¶ added in v0.8.0
func (e JoinUnitResponseValidationError) Reason() string
Reason function returns reason value.
type LatestState ¶ added in v0.8.0
type LatestState struct { ServerTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` Settings *centrum.Settings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` Disponents []*users.UserShort `protobuf:"bytes,3,rep,name=disponents,proto3" json:"disponents,omitempty"` OwnUnitId *uint64 `protobuf:"varint,4,opt,name=own_unit_id,json=ownUnitId,proto3,oneof" json:"own_unit_id,omitempty"` // Send the current units and dispatches Units []*centrum.Unit `protobuf:"bytes,5,rep,name=units,proto3" json:"units,omitempty"` Dispatches []*centrum.Dispatch `protobuf:"bytes,6,rep,name=dispatches,proto3" json:"dispatches,omitempty"` // contains filtered or unexported fields }
func (*LatestState) Descriptor
deprecated
added in
v0.8.0
func (*LatestState) Descriptor() ([]byte, []int)
Deprecated: Use LatestState.ProtoReflect.Descriptor instead.
func (*LatestState) GetDispatches ¶ added in v0.8.0
func (x *LatestState) GetDispatches() []*centrum.Dispatch
func (*LatestState) GetDisponents ¶ added in v0.8.0
func (x *LatestState) GetDisponents() []*users.UserShort
func (*LatestState) GetOwnUnitId ¶ added in v0.8.21
func (x *LatestState) GetOwnUnitId() uint64
func (*LatestState) GetServerTime ¶ added in v0.8.16
func (x *LatestState) GetServerTime() *timestamp.Timestamp
func (*LatestState) GetSettings ¶ added in v0.8.0
func (x *LatestState) GetSettings() *centrum.Settings
func (*LatestState) GetUnits ¶ added in v0.8.0
func (x *LatestState) GetUnits() []*centrum.Unit
func (*LatestState) ProtoMessage ¶ added in v0.8.0
func (*LatestState) ProtoMessage()
func (*LatestState) ProtoReflect ¶ added in v0.8.0
func (x *LatestState) ProtoReflect() protoreflect.Message
func (*LatestState) Reset ¶ added in v0.8.0
func (x *LatestState) Reset()
func (*LatestState) String ¶ added in v0.8.0
func (x *LatestState) String() string
func (*LatestState) Validate ¶ added in v0.8.0
func (m *LatestState) Validate() error
Validate checks the field values on LatestState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LatestState) ValidateAll ¶ added in v0.8.0
func (m *LatestState) ValidateAll() error
ValidateAll checks the field values on LatestState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LatestStateMultiError, or nil if none found.
type LatestStateMultiError ¶ added in v0.8.0
type LatestStateMultiError []error
LatestStateMultiError is an error wrapping multiple validation errors returned by LatestState.ValidateAll() if the designated constraints aren't met.
func (LatestStateMultiError) AllErrors ¶ added in v0.8.0
func (m LatestStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LatestStateMultiError) Error ¶ added in v0.8.0
func (m LatestStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LatestStateValidationError ¶ added in v0.8.0
type LatestStateValidationError struct {
// contains filtered or unexported fields
}
LatestStateValidationError is the validation error returned by LatestState.Validate if the designated constraints aren't met.
func (LatestStateValidationError) Cause ¶ added in v0.8.0
func (e LatestStateValidationError) Cause() error
Cause function returns cause value.
func (LatestStateValidationError) Error ¶ added in v0.8.0
func (e LatestStateValidationError) Error() string
Error satisfies the builtin error interface
func (LatestStateValidationError) ErrorName ¶ added in v0.8.0
func (e LatestStateValidationError) ErrorName() string
ErrorName returns error name.
func (LatestStateValidationError) Field ¶ added in v0.8.0
func (e LatestStateValidationError) Field() string
Field function returns field value.
func (LatestStateValidationError) Key ¶ added in v0.8.0
func (e LatestStateValidationError) Key() bool
Key function returns key value.
func (LatestStateValidationError) Reason ¶ added in v0.8.0
func (e LatestStateValidationError) Reason() string
Reason function returns reason value.
type ListDispatchActivityRequest ¶ added in v0.8.0
type ListDispatchActivityRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListDispatchActivityRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListDispatchActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDispatchActivityRequest.ProtoReflect.Descriptor instead.
func (*ListDispatchActivityRequest) GetId ¶ added in v0.8.0
func (x *ListDispatchActivityRequest) GetId() uint64
func (*ListDispatchActivityRequest) GetPagination ¶ added in v0.8.0
func (x *ListDispatchActivityRequest) GetPagination() *database.PaginationRequest
func (*ListDispatchActivityRequest) ProtoMessage ¶ added in v0.8.0
func (*ListDispatchActivityRequest) ProtoMessage()
func (*ListDispatchActivityRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListDispatchActivityRequest) ProtoReflect() protoreflect.Message
func (*ListDispatchActivityRequest) Reset ¶ added in v0.8.0
func (x *ListDispatchActivityRequest) Reset()
func (*ListDispatchActivityRequest) String ¶ added in v0.8.0
func (x *ListDispatchActivityRequest) String() string
func (*ListDispatchActivityRequest) Validate ¶ added in v0.8.0
func (m *ListDispatchActivityRequest) Validate() error
Validate checks the field values on ListDispatchActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDispatchActivityRequest) ValidateAll ¶ added in v0.8.0
func (m *ListDispatchActivityRequest) ValidateAll() error
ValidateAll checks the field values on ListDispatchActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDispatchActivityRequestMultiError, or nil if none found.
type ListDispatchActivityRequestMultiError ¶ added in v0.8.0
type ListDispatchActivityRequestMultiError []error
ListDispatchActivityRequestMultiError is an error wrapping multiple validation errors returned by ListDispatchActivityRequest.ValidateAll() if the designated constraints aren't met.
func (ListDispatchActivityRequestMultiError) AllErrors ¶ added in v0.8.0
func (m ListDispatchActivityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDispatchActivityRequestMultiError) Error ¶ added in v0.8.0
func (m ListDispatchActivityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDispatchActivityRequestValidationError ¶ added in v0.8.0
type ListDispatchActivityRequestValidationError struct {
// contains filtered or unexported fields
}
ListDispatchActivityRequestValidationError is the validation error returned by ListDispatchActivityRequest.Validate if the designated constraints aren't met.
func (ListDispatchActivityRequestValidationError) Cause ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDispatchActivityRequestValidationError) Error ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDispatchActivityRequestValidationError) ErrorName ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDispatchActivityRequestValidationError) Field ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) Field() string
Field function returns field value.
func (ListDispatchActivityRequestValidationError) Key ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) Key() bool
Key function returns key value.
func (ListDispatchActivityRequestValidationError) Reason ¶ added in v0.8.0
func (e ListDispatchActivityRequestValidationError) Reason() string
Reason function returns reason value.
type ListDispatchActivityResponse ¶ added in v0.8.0
type ListDispatchActivityResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Activity []*centrum.DispatchStatus `protobuf:"bytes,2,rep,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*ListDispatchActivityResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListDispatchActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDispatchActivityResponse.ProtoReflect.Descriptor instead.
func (*ListDispatchActivityResponse) GetActivity ¶ added in v0.8.0
func (x *ListDispatchActivityResponse) GetActivity() []*centrum.DispatchStatus
func (*ListDispatchActivityResponse) GetPagination ¶ added in v0.8.0
func (x *ListDispatchActivityResponse) GetPagination() *database.PaginationResponse
func (*ListDispatchActivityResponse) ProtoMessage ¶ added in v0.8.0
func (*ListDispatchActivityResponse) ProtoMessage()
func (*ListDispatchActivityResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListDispatchActivityResponse) ProtoReflect() protoreflect.Message
func (*ListDispatchActivityResponse) Reset ¶ added in v0.8.0
func (x *ListDispatchActivityResponse) Reset()
func (*ListDispatchActivityResponse) String ¶ added in v0.8.0
func (x *ListDispatchActivityResponse) String() string
func (*ListDispatchActivityResponse) Validate ¶ added in v0.8.0
func (m *ListDispatchActivityResponse) Validate() error
Validate checks the field values on ListDispatchActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDispatchActivityResponse) ValidateAll ¶ added in v0.8.0
func (m *ListDispatchActivityResponse) ValidateAll() error
ValidateAll checks the field values on ListDispatchActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDispatchActivityResponseMultiError, or nil if none found.
type ListDispatchActivityResponseMultiError ¶ added in v0.8.0
type ListDispatchActivityResponseMultiError []error
ListDispatchActivityResponseMultiError is an error wrapping multiple validation errors returned by ListDispatchActivityResponse.ValidateAll() if the designated constraints aren't met.
func (ListDispatchActivityResponseMultiError) AllErrors ¶ added in v0.8.0
func (m ListDispatchActivityResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDispatchActivityResponseMultiError) Error ¶ added in v0.8.0
func (m ListDispatchActivityResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDispatchActivityResponseValidationError ¶ added in v0.8.0
type ListDispatchActivityResponseValidationError struct {
// contains filtered or unexported fields
}
ListDispatchActivityResponseValidationError is the validation error returned by ListDispatchActivityResponse.Validate if the designated constraints aren't met.
func (ListDispatchActivityResponseValidationError) Cause ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDispatchActivityResponseValidationError) Error ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDispatchActivityResponseValidationError) ErrorName ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDispatchActivityResponseValidationError) Field ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) Field() string
Field function returns field value.
func (ListDispatchActivityResponseValidationError) Key ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) Key() bool
Key function returns key value.
func (ListDispatchActivityResponseValidationError) Reason ¶ added in v0.8.0
func (e ListDispatchActivityResponseValidationError) Reason() string
Reason function returns reason value.
type ListDispatchesRequest ¶ added in v0.8.0
type ListDispatchesRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Status []centrum.StatusDispatch `protobuf:"varint,2,rep,packed,name=status,proto3,enum=resources.centrum.StatusDispatch" json:"status,omitempty"` NotStatus []centrum.StatusDispatch `` /* 134-byte string literal not displayed */ Ids []uint64 `protobuf:"varint,4,rep,packed,name=ids,proto3" json:"ids,omitempty"` Postal *string `protobuf:"bytes,5,opt,name=postal,proto3,oneof" json:"postal,omitempty"` // contains filtered or unexported fields }
func (*ListDispatchesRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListDispatchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDispatchesRequest.ProtoReflect.Descriptor instead.
func (*ListDispatchesRequest) GetIds ¶ added in v0.8.19
func (x *ListDispatchesRequest) GetIds() []uint64
func (*ListDispatchesRequest) GetNotStatus ¶ added in v0.8.0
func (x *ListDispatchesRequest) GetNotStatus() []centrum.StatusDispatch
func (*ListDispatchesRequest) GetPagination ¶ added in v0.8.10
func (x *ListDispatchesRequest) GetPagination() *database.PaginationRequest
func (*ListDispatchesRequest) GetPostal ¶ added in v0.8.19
func (x *ListDispatchesRequest) GetPostal() string
func (*ListDispatchesRequest) GetStatus ¶ added in v0.8.0
func (x *ListDispatchesRequest) GetStatus() []centrum.StatusDispatch
func (*ListDispatchesRequest) ProtoMessage ¶ added in v0.8.0
func (*ListDispatchesRequest) ProtoMessage()
func (*ListDispatchesRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListDispatchesRequest) ProtoReflect() protoreflect.Message
func (*ListDispatchesRequest) Reset ¶ added in v0.8.0
func (x *ListDispatchesRequest) Reset()
func (*ListDispatchesRequest) String ¶ added in v0.8.0
func (x *ListDispatchesRequest) String() string
func (*ListDispatchesRequest) Validate ¶ added in v0.8.0
func (m *ListDispatchesRequest) Validate() error
Validate checks the field values on ListDispatchesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDispatchesRequest) ValidateAll ¶ added in v0.8.0
func (m *ListDispatchesRequest) ValidateAll() error
ValidateAll checks the field values on ListDispatchesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDispatchesRequestMultiError, or nil if none found.
type ListDispatchesRequestMultiError ¶ added in v0.8.0
type ListDispatchesRequestMultiError []error
ListDispatchesRequestMultiError is an error wrapping multiple validation errors returned by ListDispatchesRequest.ValidateAll() if the designated constraints aren't met.
func (ListDispatchesRequestMultiError) AllErrors ¶ added in v0.8.0
func (m ListDispatchesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDispatchesRequestMultiError) Error ¶ added in v0.8.0
func (m ListDispatchesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDispatchesRequestValidationError ¶ added in v0.8.0
type ListDispatchesRequestValidationError struct {
// contains filtered or unexported fields
}
ListDispatchesRequestValidationError is the validation error returned by ListDispatchesRequest.Validate if the designated constraints aren't met.
func (ListDispatchesRequestValidationError) Cause ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDispatchesRequestValidationError) Error ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDispatchesRequestValidationError) ErrorName ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDispatchesRequestValidationError) Field ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) Field() string
Field function returns field value.
func (ListDispatchesRequestValidationError) Key ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) Key() bool
Key function returns key value.
func (ListDispatchesRequestValidationError) Reason ¶ added in v0.8.0
func (e ListDispatchesRequestValidationError) Reason() string
Reason function returns reason value.
type ListDispatchesResponse ¶ added in v0.8.0
type ListDispatchesResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Dispatches []*centrum.Dispatch `protobuf:"bytes,2,rep,name=dispatches,proto3" json:"dispatches,omitempty"` // contains filtered or unexported fields }
func (*ListDispatchesResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListDispatchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDispatchesResponse.ProtoReflect.Descriptor instead.
func (*ListDispatchesResponse) GetDispatches ¶ added in v0.8.0
func (x *ListDispatchesResponse) GetDispatches() []*centrum.Dispatch
func (*ListDispatchesResponse) GetPagination ¶ added in v0.8.10
func (x *ListDispatchesResponse) GetPagination() *database.PaginationResponse
func (*ListDispatchesResponse) ProtoMessage ¶ added in v0.8.0
func (*ListDispatchesResponse) ProtoMessage()
func (*ListDispatchesResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListDispatchesResponse) ProtoReflect() protoreflect.Message
func (*ListDispatchesResponse) Reset ¶ added in v0.8.0
func (x *ListDispatchesResponse) Reset()
func (*ListDispatchesResponse) String ¶ added in v0.8.0
func (x *ListDispatchesResponse) String() string
func (*ListDispatchesResponse) Validate ¶ added in v0.8.0
func (m *ListDispatchesResponse) Validate() error
Validate checks the field values on ListDispatchesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDispatchesResponse) ValidateAll ¶ added in v0.8.0
func (m *ListDispatchesResponse) ValidateAll() error
ValidateAll checks the field values on ListDispatchesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDispatchesResponseMultiError, or nil if none found.
type ListDispatchesResponseMultiError ¶ added in v0.8.0
type ListDispatchesResponseMultiError []error
ListDispatchesResponseMultiError is an error wrapping multiple validation errors returned by ListDispatchesResponse.ValidateAll() if the designated constraints aren't met.
func (ListDispatchesResponseMultiError) AllErrors ¶ added in v0.8.0
func (m ListDispatchesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDispatchesResponseMultiError) Error ¶ added in v0.8.0
func (m ListDispatchesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDispatchesResponseValidationError ¶ added in v0.8.0
type ListDispatchesResponseValidationError struct {
// contains filtered or unexported fields
}
ListDispatchesResponseValidationError is the validation error returned by ListDispatchesResponse.Validate if the designated constraints aren't met.
func (ListDispatchesResponseValidationError) Cause ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDispatchesResponseValidationError) Error ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDispatchesResponseValidationError) ErrorName ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDispatchesResponseValidationError) Field ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) Field() string
Field function returns field value.
func (ListDispatchesResponseValidationError) Key ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) Key() bool
Key function returns key value.
func (ListDispatchesResponseValidationError) Reason ¶ added in v0.8.0
func (e ListDispatchesResponseValidationError) Reason() string
Reason function returns reason value.
type ListUnitActivityRequest ¶ added in v0.8.0
type ListUnitActivityRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListUnitActivityRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListUnitActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUnitActivityRequest.ProtoReflect.Descriptor instead.
func (*ListUnitActivityRequest) GetId ¶ added in v0.8.0
func (x *ListUnitActivityRequest) GetId() uint64
func (*ListUnitActivityRequest) GetPagination ¶ added in v0.8.0
func (x *ListUnitActivityRequest) GetPagination() *database.PaginationRequest
func (*ListUnitActivityRequest) ProtoMessage ¶ added in v0.8.0
func (*ListUnitActivityRequest) ProtoMessage()
func (*ListUnitActivityRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListUnitActivityRequest) ProtoReflect() protoreflect.Message
func (*ListUnitActivityRequest) Reset ¶ added in v0.8.0
func (x *ListUnitActivityRequest) Reset()
func (*ListUnitActivityRequest) String ¶ added in v0.8.0
func (x *ListUnitActivityRequest) String() string
func (*ListUnitActivityRequest) Validate ¶ added in v0.8.0
func (m *ListUnitActivityRequest) Validate() error
Validate checks the field values on ListUnitActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUnitActivityRequest) ValidateAll ¶ added in v0.8.0
func (m *ListUnitActivityRequest) ValidateAll() error
ValidateAll checks the field values on ListUnitActivityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUnitActivityRequestMultiError, or nil if none found.
type ListUnitActivityRequestMultiError ¶ added in v0.8.0
type ListUnitActivityRequestMultiError []error
ListUnitActivityRequestMultiError is an error wrapping multiple validation errors returned by ListUnitActivityRequest.ValidateAll() if the designated constraints aren't met.
func (ListUnitActivityRequestMultiError) AllErrors ¶ added in v0.8.0
func (m ListUnitActivityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUnitActivityRequestMultiError) Error ¶ added in v0.8.0
func (m ListUnitActivityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUnitActivityRequestValidationError ¶ added in v0.8.0
type ListUnitActivityRequestValidationError struct {
// contains filtered or unexported fields
}
ListUnitActivityRequestValidationError is the validation error returned by ListUnitActivityRequest.Validate if the designated constraints aren't met.
func (ListUnitActivityRequestValidationError) Cause ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUnitActivityRequestValidationError) Error ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUnitActivityRequestValidationError) ErrorName ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUnitActivityRequestValidationError) Field ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) Field() string
Field function returns field value.
func (ListUnitActivityRequestValidationError) Key ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) Key() bool
Key function returns key value.
func (ListUnitActivityRequestValidationError) Reason ¶ added in v0.8.0
func (e ListUnitActivityRequestValidationError) Reason() string
Reason function returns reason value.
type ListUnitActivityResponse ¶ added in v0.8.0
type ListUnitActivityResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Activity []*centrum.UnitStatus `protobuf:"bytes,2,rep,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*ListUnitActivityResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListUnitActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUnitActivityResponse.ProtoReflect.Descriptor instead.
func (*ListUnitActivityResponse) GetActivity ¶ added in v0.8.0
func (x *ListUnitActivityResponse) GetActivity() []*centrum.UnitStatus
func (*ListUnitActivityResponse) GetPagination ¶ added in v0.8.0
func (x *ListUnitActivityResponse) GetPagination() *database.PaginationResponse
func (*ListUnitActivityResponse) ProtoMessage ¶ added in v0.8.0
func (*ListUnitActivityResponse) ProtoMessage()
func (*ListUnitActivityResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListUnitActivityResponse) ProtoReflect() protoreflect.Message
func (*ListUnitActivityResponse) Reset ¶ added in v0.8.0
func (x *ListUnitActivityResponse) Reset()
func (*ListUnitActivityResponse) String ¶ added in v0.8.0
func (x *ListUnitActivityResponse) String() string
func (*ListUnitActivityResponse) Validate ¶ added in v0.8.0
func (m *ListUnitActivityResponse) Validate() error
Validate checks the field values on ListUnitActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUnitActivityResponse) ValidateAll ¶ added in v0.8.0
func (m *ListUnitActivityResponse) ValidateAll() error
ValidateAll checks the field values on ListUnitActivityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUnitActivityResponseMultiError, or nil if none found.
type ListUnitActivityResponseMultiError ¶ added in v0.8.0
type ListUnitActivityResponseMultiError []error
ListUnitActivityResponseMultiError is an error wrapping multiple validation errors returned by ListUnitActivityResponse.ValidateAll() if the designated constraints aren't met.
func (ListUnitActivityResponseMultiError) AllErrors ¶ added in v0.8.0
func (m ListUnitActivityResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUnitActivityResponseMultiError) Error ¶ added in v0.8.0
func (m ListUnitActivityResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUnitActivityResponseValidationError ¶ added in v0.8.0
type ListUnitActivityResponseValidationError struct {
// contains filtered or unexported fields
}
ListUnitActivityResponseValidationError is the validation error returned by ListUnitActivityResponse.Validate if the designated constraints aren't met.
func (ListUnitActivityResponseValidationError) Cause ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUnitActivityResponseValidationError) Error ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUnitActivityResponseValidationError) ErrorName ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUnitActivityResponseValidationError) Field ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) Field() string
Field function returns field value.
func (ListUnitActivityResponseValidationError) Key ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) Key() bool
Key function returns key value.
func (ListUnitActivityResponseValidationError) Reason ¶ added in v0.8.0
func (e ListUnitActivityResponseValidationError) Reason() string
Reason function returns reason value.
type ListUnitsRequest ¶
type ListUnitsRequest struct { Status []centrum.StatusUnit `protobuf:"varint,1,rep,packed,name=status,proto3,enum=resources.centrum.StatusUnit" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListUnitsRequest) Descriptor
deprecated
func (*ListUnitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUnitsRequest.ProtoReflect.Descriptor instead.
func (*ListUnitsRequest) GetStatus ¶
func (x *ListUnitsRequest) GetStatus() []centrum.StatusUnit
func (*ListUnitsRequest) ProtoMessage ¶
func (*ListUnitsRequest) ProtoMessage()
func (*ListUnitsRequest) ProtoReflect ¶
func (x *ListUnitsRequest) ProtoReflect() protoreflect.Message
func (*ListUnitsRequest) Reset ¶
func (x *ListUnitsRequest) Reset()
func (*ListUnitsRequest) String ¶
func (x *ListUnitsRequest) String() string
func (*ListUnitsRequest) Validate ¶
func (m *ListUnitsRequest) Validate() error
Validate checks the field values on ListUnitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUnitsRequest) ValidateAll ¶
func (m *ListUnitsRequest) ValidateAll() error
ValidateAll checks the field values on ListUnitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUnitsRequestMultiError, or nil if none found.
type ListUnitsRequestMultiError ¶
type ListUnitsRequestMultiError []error
ListUnitsRequestMultiError is an error wrapping multiple validation errors returned by ListUnitsRequest.ValidateAll() if the designated constraints aren't met.
func (ListUnitsRequestMultiError) AllErrors ¶
func (m ListUnitsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUnitsRequestMultiError) Error ¶
func (m ListUnitsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUnitsRequestValidationError ¶
type ListUnitsRequestValidationError struct {
// contains filtered or unexported fields
}
ListUnitsRequestValidationError is the validation error returned by ListUnitsRequest.Validate if the designated constraints aren't met.
func (ListUnitsRequestValidationError) Cause ¶
func (e ListUnitsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUnitsRequestValidationError) Error ¶
func (e ListUnitsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUnitsRequestValidationError) ErrorName ¶
func (e ListUnitsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUnitsRequestValidationError) Field ¶
func (e ListUnitsRequestValidationError) Field() string
Field function returns field value.
func (ListUnitsRequestValidationError) Key ¶
func (e ListUnitsRequestValidationError) Key() bool
Key function returns key value.
func (ListUnitsRequestValidationError) Reason ¶
func (e ListUnitsRequestValidationError) Reason() string
Reason function returns reason value.
type ListUnitsResponse ¶
type ListUnitsResponse struct { Units []*centrum.Unit `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
func (*ListUnitsResponse) Descriptor
deprecated
func (*ListUnitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUnitsResponse.ProtoReflect.Descriptor instead.
func (*ListUnitsResponse) GetUnits ¶
func (x *ListUnitsResponse) GetUnits() []*centrum.Unit
func (*ListUnitsResponse) ProtoMessage ¶
func (*ListUnitsResponse) ProtoMessage()
func (*ListUnitsResponse) ProtoReflect ¶
func (x *ListUnitsResponse) ProtoReflect() protoreflect.Message
func (*ListUnitsResponse) Reset ¶
func (x *ListUnitsResponse) Reset()
func (*ListUnitsResponse) String ¶
func (x *ListUnitsResponse) String() string
func (*ListUnitsResponse) Validate ¶
func (m *ListUnitsResponse) Validate() error
Validate checks the field values on ListUnitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUnitsResponse) ValidateAll ¶
func (m *ListUnitsResponse) ValidateAll() error
ValidateAll checks the field values on ListUnitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUnitsResponseMultiError, or nil if none found.
type ListUnitsResponseMultiError ¶
type ListUnitsResponseMultiError []error
ListUnitsResponseMultiError is an error wrapping multiple validation errors returned by ListUnitsResponse.ValidateAll() if the designated constraints aren't met.
func (ListUnitsResponseMultiError) AllErrors ¶
func (m ListUnitsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUnitsResponseMultiError) Error ¶
func (m ListUnitsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUnitsResponseValidationError ¶
type ListUnitsResponseValidationError struct {
// contains filtered or unexported fields
}
ListUnitsResponseValidationError is the validation error returned by ListUnitsResponse.Validate if the designated constraints aren't met.
func (ListUnitsResponseValidationError) Cause ¶
func (e ListUnitsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUnitsResponseValidationError) Error ¶
func (e ListUnitsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUnitsResponseValidationError) ErrorName ¶
func (e ListUnitsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUnitsResponseValidationError) Field ¶
func (e ListUnitsResponseValidationError) Field() string
Field function returns field value.
func (ListUnitsResponseValidationError) Key ¶
func (e ListUnitsResponseValidationError) Key() bool
Key function returns key value.
func (ListUnitsResponseValidationError) Reason ¶
func (e ListUnitsResponseValidationError) Reason() string
Reason function returns reason value.
type Server ¶
type Server struct { CentrumServiceServer // contains filtered or unexported fields }
func (*Server) AssignDispatch ¶ added in v0.8.0
func (s *Server) AssignDispatch(ctx context.Context, req *AssignDispatchRequest) (*AssignDispatchResponse, error)
func (*Server) AssignUnit ¶
func (s *Server) AssignUnit(ctx context.Context, req *AssignUnitRequest) (*AssignUnitResponse, error)
func (*Server) CreateDispatch ¶ added in v0.8.0
func (s *Server) CreateDispatch(ctx context.Context, req *CreateDispatchRequest) (*CreateDispatchResponse, error)
func (*Server) CreateOrUpdateUnit ¶ added in v0.8.0
func (s *Server) CreateOrUpdateUnit(ctx context.Context, req *CreateOrUpdateUnitRequest) (*CreateOrUpdateUnitResponse, error)
func (*Server) DeleteDispatch ¶ added in v0.8.1
func (s *Server) DeleteDispatch(ctx context.Context, req *DeleteDispatchRequest) (*DeleteDispatchResponse, error)
func (*Server) DeleteUnit ¶
func (s *Server) DeleteUnit(ctx context.Context, req *DeleteUnitRequest) (*DeleteUnitResponse, error)
func (*Server) GetDispatch ¶ added in v0.8.20
func (s *Server) GetDispatch(ctx context.Context, req *GetDispatchRequest) (*GetDispatchResponse, error)
func (*Server) GetPermsRemap ¶
func (*Server) GetSettings ¶ added in v0.8.0
func (s *Server) GetSettings(ctx context.Context, req *GetSettingsRequest) (*GetSettingsResponse, error)
func (*Server) JoinUnit ¶ added in v0.8.0
func (s *Server) JoinUnit(ctx context.Context, req *JoinUnitRequest) (*JoinUnitResponse, error)
func (*Server) ListDispatchActivity ¶ added in v0.8.0
func (s *Server) ListDispatchActivity(ctx context.Context, req *ListDispatchActivityRequest) (*ListDispatchActivityResponse, error)
func (*Server) ListDispatches ¶ added in v0.8.0
func (s *Server) ListDispatches(ctx context.Context, req *ListDispatchesRequest) (*ListDispatchesResponse, error)
func (*Server) ListUnitActivity ¶ added in v0.8.0
func (s *Server) ListUnitActivity(ctx context.Context, req *ListUnitActivityRequest) (*ListUnitActivityResponse, error)
func (*Server) ListUnits ¶
func (s *Server) ListUnits(ctx context.Context, req *ListUnitsRequest) (*ListUnitsResponse, error)
func (*Server) RegisterServer ¶ added in v0.8.0
func (*Server) Stream ¶ added in v0.8.0
func (s *Server) Stream(req *StreamRequest, srv CentrumService_StreamServer) error
func (*Server) TakeControl ¶ added in v0.8.0
func (s *Server) TakeControl(ctx context.Context, req *TakeControlRequest) (*TakeControlResponse, error)
func (*Server) TakeDispatch ¶ added in v0.8.0
func (s *Server) TakeDispatch(ctx context.Context, req *TakeDispatchRequest) (*TakeDispatchResponse, error)
func (*Server) UpdateDispatch ¶ added in v0.8.0
func (s *Server) UpdateDispatch(ctx context.Context, req *UpdateDispatchRequest) (*UpdateDispatchResponse, error)
func (*Server) UpdateDispatchStatus ¶ added in v0.8.0
func (s *Server) UpdateDispatchStatus(ctx context.Context, req *UpdateDispatchStatusRequest) (*UpdateDispatchStatusResponse, error)
func (*Server) UpdateSettings ¶ added in v0.8.0
func (s *Server) UpdateSettings(ctx context.Context, req *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
func (*Server) UpdateUnitStatus ¶ added in v0.8.0
func (s *Server) UpdateUnitStatus(ctx context.Context, req *UpdateUnitStatusRequest) (*UpdateUnitStatusResponse, error)
type StreamRequest ¶ added in v0.8.0
type StreamRequest struct {
// contains filtered or unexported fields
}
func (*StreamRequest) Descriptor
deprecated
added in
v0.8.0
func (*StreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.
func (*StreamRequest) ProtoMessage ¶ added in v0.8.0
func (*StreamRequest) ProtoMessage()
func (*StreamRequest) ProtoReflect ¶ added in v0.8.0
func (x *StreamRequest) ProtoReflect() protoreflect.Message
func (*StreamRequest) Reset ¶ added in v0.8.0
func (x *StreamRequest) Reset()
func (*StreamRequest) String ¶ added in v0.8.0
func (x *StreamRequest) String() string
func (*StreamRequest) Validate ¶ added in v0.8.0
func (m *StreamRequest) Validate() error
Validate checks the field values on StreamRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamRequest) ValidateAll ¶ added in v0.8.0
func (m *StreamRequest) ValidateAll() error
ValidateAll checks the field values on StreamRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamRequestMultiError, or nil if none found.
type StreamRequestMultiError ¶ added in v0.8.0
type StreamRequestMultiError []error
StreamRequestMultiError is an error wrapping multiple validation errors returned by StreamRequest.ValidateAll() if the designated constraints aren't met.
func (StreamRequestMultiError) AllErrors ¶ added in v0.8.0
func (m StreamRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamRequestMultiError) Error ¶ added in v0.8.0
func (m StreamRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamRequestValidationError ¶ added in v0.8.0
type StreamRequestValidationError struct {
// contains filtered or unexported fields
}
StreamRequestValidationError is the validation error returned by StreamRequest.Validate if the designated constraints aren't met.
func (StreamRequestValidationError) Cause ¶ added in v0.8.0
func (e StreamRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamRequestValidationError) Error ¶ added in v0.8.0
func (e StreamRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamRequestValidationError) ErrorName ¶ added in v0.8.0
func (e StreamRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamRequestValidationError) Field ¶ added in v0.8.0
func (e StreamRequestValidationError) Field() string
Field function returns field value.
func (StreamRequestValidationError) Key ¶ added in v0.8.0
func (e StreamRequestValidationError) Key() bool
Key function returns key value.
func (StreamRequestValidationError) Reason ¶ added in v0.8.0
func (e StreamRequestValidationError) Reason() string
Reason function returns reason value.
type StreamResponse ¶ added in v0.8.0
type StreamResponse struct { // Types that are assignable to Change: // // *StreamResponse_LatestState // *StreamResponse_Settings // *StreamResponse_Disponents // *StreamResponse_UnitCreated // *StreamResponse_UnitDeleted // *StreamResponse_UnitUpdated // *StreamResponse_UnitStatus // *StreamResponse_DispatchCreated // *StreamResponse_DispatchDeleted // *StreamResponse_DispatchUpdated // *StreamResponse_DispatchStatus Change isStreamResponse_Change `protobuf_oneof:"change"` // contains filtered or unexported fields }
func (*StreamResponse) Descriptor
deprecated
added in
v0.8.0
func (*StreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.
func (*StreamResponse) GetChange ¶ added in v0.8.0
func (m *StreamResponse) GetChange() isStreamResponse_Change
func (*StreamResponse) GetDispatchCreated ¶ added in v0.8.0
func (x *StreamResponse) GetDispatchCreated() *centrum.Dispatch
func (*StreamResponse) GetDispatchDeleted ¶ added in v0.8.0
func (x *StreamResponse) GetDispatchDeleted() *centrum.Dispatch
func (*StreamResponse) GetDispatchStatus ¶ added in v0.8.0
func (x *StreamResponse) GetDispatchStatus() *centrum.DispatchStatus
func (*StreamResponse) GetDispatchUpdated ¶ added in v0.8.0
func (x *StreamResponse) GetDispatchUpdated() *centrum.Dispatch
func (*StreamResponse) GetDisponents ¶ added in v0.8.0
func (x *StreamResponse) GetDisponents() *centrum.Disponents
func (*StreamResponse) GetLatestState ¶ added in v0.8.0
func (x *StreamResponse) GetLatestState() *LatestState
func (*StreamResponse) GetSettings ¶ added in v0.8.0
func (x *StreamResponse) GetSettings() *centrum.Settings
func (*StreamResponse) GetUnitCreated ¶ added in v0.8.11
func (x *StreamResponse) GetUnitCreated() *centrum.Unit
func (*StreamResponse) GetUnitDeleted ¶ added in v0.8.0
func (x *StreamResponse) GetUnitDeleted() *centrum.Unit
func (*StreamResponse) GetUnitStatus ¶ added in v0.8.0
func (x *StreamResponse) GetUnitStatus() *centrum.UnitStatus
func (*StreamResponse) GetUnitUpdated ¶ added in v0.8.0
func (x *StreamResponse) GetUnitUpdated() *centrum.Unit
func (*StreamResponse) ProtoMessage ¶ added in v0.8.0
func (*StreamResponse) ProtoMessage()
func (*StreamResponse) ProtoReflect ¶ added in v0.8.0
func (x *StreamResponse) ProtoReflect() protoreflect.Message
func (*StreamResponse) Reset ¶ added in v0.8.0
func (x *StreamResponse) Reset()
func (*StreamResponse) String ¶ added in v0.8.0
func (x *StreamResponse) String() string
func (*StreamResponse) Validate ¶ added in v0.8.0
func (m *StreamResponse) Validate() error
Validate checks the field values on StreamResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamResponse) ValidateAll ¶ added in v0.8.0
func (m *StreamResponse) ValidateAll() error
ValidateAll checks the field values on StreamResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamResponseMultiError, or nil if none found.
type StreamResponseMultiError ¶ added in v0.8.0
type StreamResponseMultiError []error
StreamResponseMultiError is an error wrapping multiple validation errors returned by StreamResponse.ValidateAll() if the designated constraints aren't met.
func (StreamResponseMultiError) AllErrors ¶ added in v0.8.0
func (m StreamResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamResponseMultiError) Error ¶ added in v0.8.0
func (m StreamResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamResponseValidationError ¶ added in v0.8.0
type StreamResponseValidationError struct {
// contains filtered or unexported fields
}
StreamResponseValidationError is the validation error returned by StreamResponse.Validate if the designated constraints aren't met.
func (StreamResponseValidationError) Cause ¶ added in v0.8.0
func (e StreamResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamResponseValidationError) Error ¶ added in v0.8.0
func (e StreamResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamResponseValidationError) ErrorName ¶ added in v0.8.0
func (e StreamResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamResponseValidationError) Field ¶ added in v0.8.0
func (e StreamResponseValidationError) Field() string
Field function returns field value.
func (StreamResponseValidationError) Key ¶ added in v0.8.0
func (e StreamResponseValidationError) Key() bool
Key function returns key value.
func (StreamResponseValidationError) Reason ¶ added in v0.8.0
func (e StreamResponseValidationError) Reason() string
Reason function returns reason value.
type StreamResponse_DispatchCreated ¶ added in v0.8.0
type StreamResponse_DispatchDeleted ¶ added in v0.8.0
type StreamResponse_DispatchStatus ¶ added in v0.8.0
type StreamResponse_DispatchStatus struct {
DispatchStatus *centrum.DispatchStatus `protobuf:"bytes,11,opt,name=dispatch_status,json=dispatchStatus,proto3,oneof"`
}
type StreamResponse_DispatchUpdated ¶ added in v0.8.0
type StreamResponse_Disponents ¶ added in v0.8.0
type StreamResponse_Disponents struct {
Disponents *centrum.Disponents `protobuf:"bytes,3,opt,name=disponents,proto3,oneof"`
}
type StreamResponse_LatestState ¶ added in v0.8.0
type StreamResponse_LatestState struct {
LatestState *LatestState `protobuf:"bytes,1,opt,name=latest_state,json=latestState,proto3,oneof"`
}
type StreamResponse_Settings ¶ added in v0.8.0
type StreamResponse_UnitCreated ¶ added in v0.8.11
type StreamResponse_UnitDeleted ¶ added in v0.8.0
type StreamResponse_UnitStatus ¶ added in v0.8.0
type StreamResponse_UnitStatus struct {
UnitStatus *centrum.UnitStatus `protobuf:"bytes,7,opt,name=unit_status,json=unitStatus,proto3,oneof"`
}
type StreamResponse_UnitUpdated ¶ added in v0.8.0
type TakeControlRequest ¶ added in v0.8.0
type TakeControlRequest struct { Signon bool `protobuf:"varint,1,opt,name=signon,proto3" json:"signon,omitempty"` // contains filtered or unexported fields }
func (*TakeControlRequest) Descriptor
deprecated
added in
v0.8.0
func (*TakeControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use TakeControlRequest.ProtoReflect.Descriptor instead.
func (*TakeControlRequest) GetSignon ¶ added in v0.8.0
func (x *TakeControlRequest) GetSignon() bool
func (*TakeControlRequest) ProtoMessage ¶ added in v0.8.0
func (*TakeControlRequest) ProtoMessage()
func (*TakeControlRequest) ProtoReflect ¶ added in v0.8.0
func (x *TakeControlRequest) ProtoReflect() protoreflect.Message
func (*TakeControlRequest) Reset ¶ added in v0.8.0
func (x *TakeControlRequest) Reset()
func (*TakeControlRequest) String ¶ added in v0.8.0
func (x *TakeControlRequest) String() string
func (*TakeControlRequest) Validate ¶ added in v0.8.0
func (m *TakeControlRequest) Validate() error
Validate checks the field values on TakeControlRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TakeControlRequest) ValidateAll ¶ added in v0.8.0
func (m *TakeControlRequest) ValidateAll() error
ValidateAll checks the field values on TakeControlRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TakeControlRequestMultiError, or nil if none found.
type TakeControlRequestMultiError ¶ added in v0.8.0
type TakeControlRequestMultiError []error
TakeControlRequestMultiError is an error wrapping multiple validation errors returned by TakeControlRequest.ValidateAll() if the designated constraints aren't met.
func (TakeControlRequestMultiError) AllErrors ¶ added in v0.8.0
func (m TakeControlRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TakeControlRequestMultiError) Error ¶ added in v0.8.0
func (m TakeControlRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TakeControlRequestValidationError ¶ added in v0.8.0
type TakeControlRequestValidationError struct {
// contains filtered or unexported fields
}
TakeControlRequestValidationError is the validation error returned by TakeControlRequest.Validate if the designated constraints aren't met.
func (TakeControlRequestValidationError) Cause ¶ added in v0.8.0
func (e TakeControlRequestValidationError) Cause() error
Cause function returns cause value.
func (TakeControlRequestValidationError) Error ¶ added in v0.8.0
func (e TakeControlRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TakeControlRequestValidationError) ErrorName ¶ added in v0.8.0
func (e TakeControlRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TakeControlRequestValidationError) Field ¶ added in v0.8.0
func (e TakeControlRequestValidationError) Field() string
Field function returns field value.
func (TakeControlRequestValidationError) Key ¶ added in v0.8.0
func (e TakeControlRequestValidationError) Key() bool
Key function returns key value.
func (TakeControlRequestValidationError) Reason ¶ added in v0.8.0
func (e TakeControlRequestValidationError) Reason() string
Reason function returns reason value.
type TakeControlResponse ¶ added in v0.8.0
type TakeControlResponse struct {
// contains filtered or unexported fields
}
func (*TakeControlResponse) Descriptor
deprecated
added in
v0.8.0
func (*TakeControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use TakeControlResponse.ProtoReflect.Descriptor instead.
func (*TakeControlResponse) ProtoMessage ¶ added in v0.8.0
func (*TakeControlResponse) ProtoMessage()
func (*TakeControlResponse) ProtoReflect ¶ added in v0.8.0
func (x *TakeControlResponse) ProtoReflect() protoreflect.Message
func (*TakeControlResponse) Reset ¶ added in v0.8.0
func (x *TakeControlResponse) Reset()
func (*TakeControlResponse) String ¶ added in v0.8.0
func (x *TakeControlResponse) String() string
func (*TakeControlResponse) Validate ¶ added in v0.8.0
func (m *TakeControlResponse) Validate() error
Validate checks the field values on TakeControlResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TakeControlResponse) ValidateAll ¶ added in v0.8.0
func (m *TakeControlResponse) ValidateAll() error
ValidateAll checks the field values on TakeControlResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TakeControlResponseMultiError, or nil if none found.
type TakeControlResponseMultiError ¶ added in v0.8.0
type TakeControlResponseMultiError []error
TakeControlResponseMultiError is an error wrapping multiple validation errors returned by TakeControlResponse.ValidateAll() if the designated constraints aren't met.
func (TakeControlResponseMultiError) AllErrors ¶ added in v0.8.0
func (m TakeControlResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TakeControlResponseMultiError) Error ¶ added in v0.8.0
func (m TakeControlResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TakeControlResponseValidationError ¶ added in v0.8.0
type TakeControlResponseValidationError struct {
// contains filtered or unexported fields
}
TakeControlResponseValidationError is the validation error returned by TakeControlResponse.Validate if the designated constraints aren't met.
func (TakeControlResponseValidationError) Cause ¶ added in v0.8.0
func (e TakeControlResponseValidationError) Cause() error
Cause function returns cause value.
func (TakeControlResponseValidationError) Error ¶ added in v0.8.0
func (e TakeControlResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TakeControlResponseValidationError) ErrorName ¶ added in v0.8.0
func (e TakeControlResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TakeControlResponseValidationError) Field ¶ added in v0.8.0
func (e TakeControlResponseValidationError) Field() string
Field function returns field value.
func (TakeControlResponseValidationError) Key ¶ added in v0.8.0
func (e TakeControlResponseValidationError) Key() bool
Key function returns key value.
func (TakeControlResponseValidationError) Reason ¶ added in v0.8.0
func (e TakeControlResponseValidationError) Reason() string
Reason function returns reason value.
type TakeDispatchRequest ¶ added in v0.8.0
type TakeDispatchRequest struct { DispatchIds []uint64 `protobuf:"varint,1,rep,packed,name=dispatch_ids,json=dispatchIds,proto3" json:"dispatch_ids,omitempty"` Resp centrum.TakeDispatchResp `protobuf:"varint,2,opt,name=resp,proto3,enum=resources.centrum.TakeDispatchResp" json:"resp,omitempty"` // @sanitize Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*TakeDispatchRequest) Descriptor
deprecated
added in
v0.8.0
func (*TakeDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use TakeDispatchRequest.ProtoReflect.Descriptor instead.
func (*TakeDispatchRequest) GetDispatchIds ¶ added in v0.8.0
func (x *TakeDispatchRequest) GetDispatchIds() []uint64
func (*TakeDispatchRequest) GetReason ¶ added in v0.8.0
func (x *TakeDispatchRequest) GetReason() string
func (*TakeDispatchRequest) GetResp ¶ added in v0.8.0
func (x *TakeDispatchRequest) GetResp() centrum.TakeDispatchResp
func (*TakeDispatchRequest) ProtoMessage ¶ added in v0.8.0
func (*TakeDispatchRequest) ProtoMessage()
func (*TakeDispatchRequest) ProtoReflect ¶ added in v0.8.0
func (x *TakeDispatchRequest) ProtoReflect() protoreflect.Message
func (*TakeDispatchRequest) Reset ¶ added in v0.8.0
func (x *TakeDispatchRequest) Reset()
func (*TakeDispatchRequest) Sanitize ¶ added in v0.8.1
func (m *TakeDispatchRequest) Sanitize() error
func (*TakeDispatchRequest) String ¶ added in v0.8.0
func (x *TakeDispatchRequest) String() string
func (*TakeDispatchRequest) Validate ¶ added in v0.8.0
func (m *TakeDispatchRequest) Validate() error
Validate checks the field values on TakeDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TakeDispatchRequest) ValidateAll ¶ added in v0.8.0
func (m *TakeDispatchRequest) ValidateAll() error
ValidateAll checks the field values on TakeDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TakeDispatchRequestMultiError, or nil if none found.
type TakeDispatchRequestMultiError ¶ added in v0.8.0
type TakeDispatchRequestMultiError []error
TakeDispatchRequestMultiError is an error wrapping multiple validation errors returned by TakeDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (TakeDispatchRequestMultiError) AllErrors ¶ added in v0.8.0
func (m TakeDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TakeDispatchRequestMultiError) Error ¶ added in v0.8.0
func (m TakeDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TakeDispatchRequestValidationError ¶ added in v0.8.0
type TakeDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
TakeDispatchRequestValidationError is the validation error returned by TakeDispatchRequest.Validate if the designated constraints aren't met.
func (TakeDispatchRequestValidationError) Cause ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (TakeDispatchRequestValidationError) Error ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TakeDispatchRequestValidationError) ErrorName ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TakeDispatchRequestValidationError) Field ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) Field() string
Field function returns field value.
func (TakeDispatchRequestValidationError) Key ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) Key() bool
Key function returns key value.
func (TakeDispatchRequestValidationError) Reason ¶ added in v0.8.0
func (e TakeDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type TakeDispatchResponse ¶ added in v0.8.0
type TakeDispatchResponse struct {
// contains filtered or unexported fields
}
func (*TakeDispatchResponse) Descriptor
deprecated
added in
v0.8.0
func (*TakeDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use TakeDispatchResponse.ProtoReflect.Descriptor instead.
func (*TakeDispatchResponse) ProtoMessage ¶ added in v0.8.0
func (*TakeDispatchResponse) ProtoMessage()
func (*TakeDispatchResponse) ProtoReflect ¶ added in v0.8.0
func (x *TakeDispatchResponse) ProtoReflect() protoreflect.Message
func (*TakeDispatchResponse) Reset ¶ added in v0.8.0
func (x *TakeDispatchResponse) Reset()
func (*TakeDispatchResponse) String ¶ added in v0.8.0
func (x *TakeDispatchResponse) String() string
func (*TakeDispatchResponse) Validate ¶ added in v0.8.0
func (m *TakeDispatchResponse) Validate() error
Validate checks the field values on TakeDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TakeDispatchResponse) ValidateAll ¶ added in v0.8.0
func (m *TakeDispatchResponse) ValidateAll() error
ValidateAll checks the field values on TakeDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TakeDispatchResponseMultiError, or nil if none found.
type TakeDispatchResponseMultiError ¶ added in v0.8.0
type TakeDispatchResponseMultiError []error
TakeDispatchResponseMultiError is an error wrapping multiple validation errors returned by TakeDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (TakeDispatchResponseMultiError) AllErrors ¶ added in v0.8.0
func (m TakeDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TakeDispatchResponseMultiError) Error ¶ added in v0.8.0
func (m TakeDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TakeDispatchResponseValidationError ¶ added in v0.8.0
type TakeDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
TakeDispatchResponseValidationError is the validation error returned by TakeDispatchResponse.Validate if the designated constraints aren't met.
func (TakeDispatchResponseValidationError) Cause ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (TakeDispatchResponseValidationError) Error ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TakeDispatchResponseValidationError) ErrorName ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TakeDispatchResponseValidationError) Field ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) Field() string
Field function returns field value.
func (TakeDispatchResponseValidationError) Key ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) Key() bool
Key function returns key value.
func (TakeDispatchResponseValidationError) Reason ¶ added in v0.8.0
func (e TakeDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedCentrumServiceServer ¶
type UnimplementedCentrumServiceServer struct { }
UnimplementedCentrumServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCentrumServiceServer) AssignDispatch ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) AssignDispatch(context.Context, *AssignDispatchRequest) (*AssignDispatchResponse, error)
func (UnimplementedCentrumServiceServer) AssignUnit ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) AssignUnit(context.Context, *AssignUnitRequest) (*AssignUnitResponse, error)
func (UnimplementedCentrumServiceServer) CreateDispatch ¶
func (UnimplementedCentrumServiceServer) CreateDispatch(context.Context, *CreateDispatchRequest) (*CreateDispatchResponse, error)
func (UnimplementedCentrumServiceServer) CreateOrUpdateUnit ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) CreateOrUpdateUnit(context.Context, *CreateOrUpdateUnitRequest) (*CreateOrUpdateUnitResponse, error)
func (UnimplementedCentrumServiceServer) DeleteDispatch ¶ added in v0.8.1
func (UnimplementedCentrumServiceServer) DeleteDispatch(context.Context, *DeleteDispatchRequest) (*DeleteDispatchResponse, error)
func (UnimplementedCentrumServiceServer) DeleteUnit ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) DeleteUnit(context.Context, *DeleteUnitRequest) (*DeleteUnitResponse, error)
func (UnimplementedCentrumServiceServer) GetDispatch ¶ added in v0.8.20
func (UnimplementedCentrumServiceServer) GetDispatch(context.Context, *GetDispatchRequest) (*GetDispatchResponse, error)
func (UnimplementedCentrumServiceServer) GetSettings ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
func (UnimplementedCentrumServiceServer) JoinUnit ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) JoinUnit(context.Context, *JoinUnitRequest) (*JoinUnitResponse, error)
func (UnimplementedCentrumServiceServer) ListDispatchActivity ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) ListDispatchActivity(context.Context, *ListDispatchActivityRequest) (*ListDispatchActivityResponse, error)
func (UnimplementedCentrumServiceServer) ListDispatches ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) ListDispatches(context.Context, *ListDispatchesRequest) (*ListDispatchesResponse, error)
func (UnimplementedCentrumServiceServer) ListUnitActivity ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) ListUnitActivity(context.Context, *ListUnitActivityRequest) (*ListUnitActivityResponse, error)
func (UnimplementedCentrumServiceServer) ListUnits ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) ListUnits(context.Context, *ListUnitsRequest) (*ListUnitsResponse, error)
func (UnimplementedCentrumServiceServer) Stream ¶
func (UnimplementedCentrumServiceServer) Stream(*StreamRequest, CentrumService_StreamServer) error
func (UnimplementedCentrumServiceServer) TakeControl ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) TakeControl(context.Context, *TakeControlRequest) (*TakeControlResponse, error)
func (UnimplementedCentrumServiceServer) TakeDispatch ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) TakeDispatch(context.Context, *TakeDispatchRequest) (*TakeDispatchResponse, error)
func (UnimplementedCentrumServiceServer) UpdateDispatch ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) UpdateDispatch(context.Context, *UpdateDispatchRequest) (*UpdateDispatchResponse, error)
func (UnimplementedCentrumServiceServer) UpdateDispatchStatus ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) UpdateDispatchStatus(context.Context, *UpdateDispatchStatusRequest) (*UpdateDispatchStatusResponse, error)
func (UnimplementedCentrumServiceServer) UpdateSettings ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
func (UnimplementedCentrumServiceServer) UpdateUnitStatus ¶ added in v0.8.0
func (UnimplementedCentrumServiceServer) UpdateUnitStatus(context.Context, *UpdateUnitStatusRequest) (*UpdateUnitStatusResponse, error)
type UnsafeCentrumServiceServer ¶
type UnsafeCentrumServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCentrumServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CentrumServiceServer will result in compilation errors.
type UpdateDispatchRequest ¶ added in v0.8.0
type UpdateDispatchRequest struct { Dispatch *centrum.Dispatch `protobuf:"bytes,1,opt,name=dispatch,proto3" json:"dispatch,omitempty"` // contains filtered or unexported fields }
func (*UpdateDispatchRequest) Descriptor
deprecated
added in
v0.8.0
func (*UpdateDispatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDispatchRequest.ProtoReflect.Descriptor instead.
func (*UpdateDispatchRequest) GetDispatch ¶ added in v0.8.0
func (x *UpdateDispatchRequest) GetDispatch() *centrum.Dispatch
func (*UpdateDispatchRequest) ProtoMessage ¶ added in v0.8.0
func (*UpdateDispatchRequest) ProtoMessage()
func (*UpdateDispatchRequest) ProtoReflect ¶ added in v0.8.0
func (x *UpdateDispatchRequest) ProtoReflect() protoreflect.Message
func (*UpdateDispatchRequest) Reset ¶ added in v0.8.0
func (x *UpdateDispatchRequest) Reset()
func (*UpdateDispatchRequest) String ¶ added in v0.8.0
func (x *UpdateDispatchRequest) String() string
func (*UpdateDispatchRequest) Validate ¶ added in v0.8.0
func (m *UpdateDispatchRequest) Validate() error
Validate checks the field values on UpdateDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDispatchRequest) ValidateAll ¶ added in v0.8.0
func (m *UpdateDispatchRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDispatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDispatchRequestMultiError, or nil if none found.
type UpdateDispatchRequestMultiError ¶ added in v0.8.0
type UpdateDispatchRequestMultiError []error
UpdateDispatchRequestMultiError is an error wrapping multiple validation errors returned by UpdateDispatchRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDispatchRequestMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateDispatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDispatchRequestMultiError) Error ¶ added in v0.8.0
func (m UpdateDispatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDispatchRequestValidationError ¶ added in v0.8.0
type UpdateDispatchRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDispatchRequestValidationError is the validation error returned by UpdateDispatchRequest.Validate if the designated constraints aren't met.
func (UpdateDispatchRequestValidationError) Cause ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDispatchRequestValidationError) Error ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDispatchRequestValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDispatchRequestValidationError) Field ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) Field() string
Field function returns field value.
func (UpdateDispatchRequestValidationError) Key ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDispatchRequestValidationError) Reason ¶ added in v0.8.0
func (e UpdateDispatchRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDispatchResponse ¶ added in v0.8.0
type UpdateDispatchResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDispatchResponse) Descriptor
deprecated
added in
v0.8.0
func (*UpdateDispatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDispatchResponse.ProtoReflect.Descriptor instead.
func (*UpdateDispatchResponse) ProtoMessage ¶ added in v0.8.0
func (*UpdateDispatchResponse) ProtoMessage()
func (*UpdateDispatchResponse) ProtoReflect ¶ added in v0.8.0
func (x *UpdateDispatchResponse) ProtoReflect() protoreflect.Message
func (*UpdateDispatchResponse) Reset ¶ added in v0.8.0
func (x *UpdateDispatchResponse) Reset()
func (*UpdateDispatchResponse) String ¶ added in v0.8.0
func (x *UpdateDispatchResponse) String() string
func (*UpdateDispatchResponse) Validate ¶ added in v0.8.0
func (m *UpdateDispatchResponse) Validate() error
Validate checks the field values on UpdateDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDispatchResponse) ValidateAll ¶ added in v0.8.0
func (m *UpdateDispatchResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDispatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDispatchResponseMultiError, or nil if none found.
type UpdateDispatchResponseMultiError ¶ added in v0.8.0
type UpdateDispatchResponseMultiError []error
UpdateDispatchResponseMultiError is an error wrapping multiple validation errors returned by UpdateDispatchResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDispatchResponseMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateDispatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDispatchResponseMultiError) Error ¶ added in v0.8.0
func (m UpdateDispatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDispatchResponseValidationError ¶ added in v0.8.0
type UpdateDispatchResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDispatchResponseValidationError is the validation error returned by UpdateDispatchResponse.Validate if the designated constraints aren't met.
func (UpdateDispatchResponseValidationError) Cause ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDispatchResponseValidationError) Error ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDispatchResponseValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDispatchResponseValidationError) Field ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) Field() string
Field function returns field value.
func (UpdateDispatchResponseValidationError) Key ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDispatchResponseValidationError) Reason ¶ added in v0.8.0
func (e UpdateDispatchResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateDispatchStatusRequest ¶ added in v0.8.0
type UpdateDispatchStatusRequest struct { DispatchId uint64 `protobuf:"varint,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` Status centrum.StatusDispatch `protobuf:"varint,2,opt,name=status,proto3,enum=resources.centrum.StatusDispatch" json:"status,omitempty"` // @sanitize Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // @sanitize Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` // contains filtered or unexported fields }
func (*UpdateDispatchStatusRequest) Descriptor
deprecated
added in
v0.8.0
func (*UpdateDispatchStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDispatchStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateDispatchStatusRequest) GetCode ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) GetCode() string
func (*UpdateDispatchStatusRequest) GetDispatchId ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) GetDispatchId() uint64
func (*UpdateDispatchStatusRequest) GetReason ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) GetReason() string
func (*UpdateDispatchStatusRequest) GetStatus ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) GetStatus() centrum.StatusDispatch
func (*UpdateDispatchStatusRequest) ProtoMessage ¶ added in v0.8.0
func (*UpdateDispatchStatusRequest) ProtoMessage()
func (*UpdateDispatchStatusRequest) ProtoReflect ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateDispatchStatusRequest) Reset ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) Reset()
func (*UpdateDispatchStatusRequest) Sanitize ¶ added in v0.8.1
func (m *UpdateDispatchStatusRequest) Sanitize() error
func (*UpdateDispatchStatusRequest) String ¶ added in v0.8.0
func (x *UpdateDispatchStatusRequest) String() string
func (*UpdateDispatchStatusRequest) Validate ¶ added in v0.8.0
func (m *UpdateDispatchStatusRequest) Validate() error
Validate checks the field values on UpdateDispatchStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDispatchStatusRequest) ValidateAll ¶ added in v0.8.0
func (m *UpdateDispatchStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDispatchStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDispatchStatusRequestMultiError, or nil if none found.
type UpdateDispatchStatusRequestMultiError ¶ added in v0.8.0
type UpdateDispatchStatusRequestMultiError []error
UpdateDispatchStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateDispatchStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDispatchStatusRequestMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateDispatchStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDispatchStatusRequestMultiError) Error ¶ added in v0.8.0
func (m UpdateDispatchStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDispatchStatusRequestValidationError ¶ added in v0.8.0
type UpdateDispatchStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDispatchStatusRequestValidationError is the validation error returned by UpdateDispatchStatusRequest.Validate if the designated constraints aren't met.
func (UpdateDispatchStatusRequestValidationError) Cause ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDispatchStatusRequestValidationError) Error ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDispatchStatusRequestValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDispatchStatusRequestValidationError) Field ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateDispatchStatusRequestValidationError) Key ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDispatchStatusRequestValidationError) Reason ¶ added in v0.8.0
func (e UpdateDispatchStatusRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDispatchStatusResponse ¶ added in v0.8.0
type UpdateDispatchStatusResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDispatchStatusResponse) Descriptor
deprecated
added in
v0.8.0
func (*UpdateDispatchStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDispatchStatusResponse.ProtoReflect.Descriptor instead.
func (*UpdateDispatchStatusResponse) ProtoMessage ¶ added in v0.8.0
func (*UpdateDispatchStatusResponse) ProtoMessage()
func (*UpdateDispatchStatusResponse) ProtoReflect ¶ added in v0.8.0
func (x *UpdateDispatchStatusResponse) ProtoReflect() protoreflect.Message
func (*UpdateDispatchStatusResponse) Reset ¶ added in v0.8.0
func (x *UpdateDispatchStatusResponse) Reset()
func (*UpdateDispatchStatusResponse) String ¶ added in v0.8.0
func (x *UpdateDispatchStatusResponse) String() string
func (*UpdateDispatchStatusResponse) Validate ¶ added in v0.8.0
func (m *UpdateDispatchStatusResponse) Validate() error
Validate checks the field values on UpdateDispatchStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDispatchStatusResponse) ValidateAll ¶ added in v0.8.0
func (m *UpdateDispatchStatusResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDispatchStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDispatchStatusResponseMultiError, or nil if none found.
type UpdateDispatchStatusResponseMultiError ¶ added in v0.8.0
type UpdateDispatchStatusResponseMultiError []error
UpdateDispatchStatusResponseMultiError is an error wrapping multiple validation errors returned by UpdateDispatchStatusResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDispatchStatusResponseMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateDispatchStatusResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDispatchStatusResponseMultiError) Error ¶ added in v0.8.0
func (m UpdateDispatchStatusResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDispatchStatusResponseValidationError ¶ added in v0.8.0
type UpdateDispatchStatusResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDispatchStatusResponseValidationError is the validation error returned by UpdateDispatchStatusResponse.Validate if the designated constraints aren't met.
func (UpdateDispatchStatusResponseValidationError) Cause ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDispatchStatusResponseValidationError) Error ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDispatchStatusResponseValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDispatchStatusResponseValidationError) Field ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) Field() string
Field function returns field value.
func (UpdateDispatchStatusResponseValidationError) Key ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDispatchStatusResponseValidationError) Reason ¶ added in v0.8.0
func (e UpdateDispatchStatusResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingsRequest ¶ added in v0.8.11
type UpdateSettingsRequest struct { Settings *centrum.Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingsRequest) Descriptor
deprecated
added in
v0.8.11
func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingsRequest) GetSettings ¶ added in v0.8.11
func (x *UpdateSettingsRequest) GetSettings() *centrum.Settings
func (*UpdateSettingsRequest) ProtoMessage ¶ added in v0.8.11
func (*UpdateSettingsRequest) ProtoMessage()
func (*UpdateSettingsRequest) ProtoReflect ¶ added in v0.8.11
func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateSettingsRequest) Reset ¶ added in v0.8.11
func (x *UpdateSettingsRequest) Reset()
func (*UpdateSettingsRequest) String ¶ added in v0.8.11
func (x *UpdateSettingsRequest) String() string
func (*UpdateSettingsRequest) Validate ¶ added in v0.8.11
func (m *UpdateSettingsRequest) Validate() error
Validate checks the field values on UpdateSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateSettingsRequest) ValidateAll ¶ added in v0.8.11
func (m *UpdateSettingsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSettingsRequestMultiError, or nil if none found.
type UpdateSettingsRequestMultiError ¶ added in v0.8.11
type UpdateSettingsRequestMultiError []error
UpdateSettingsRequestMultiError is an error wrapping multiple validation errors returned by UpdateSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingsRequestMultiError) AllErrors ¶ added in v0.8.11
func (m UpdateSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingsRequestMultiError) Error ¶ added in v0.8.11
func (m UpdateSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingsRequestValidationError ¶ added in v0.8.11
type UpdateSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingsRequestValidationError is the validation error returned by UpdateSettingsRequest.Validate if the designated constraints aren't met.
func (UpdateSettingsRequestValidationError) Cause ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingsRequestValidationError) Error ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingsRequestValidationError) ErrorName ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingsRequestValidationError) Field ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) Field() string
Field function returns field value.
func (UpdateSettingsRequestValidationError) Key ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSettingsRequestValidationError) Reason ¶ added in v0.8.11
func (e UpdateSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingsResponse ¶ added in v0.8.11
type UpdateSettingsResponse struct { Settings *centrum.Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingsResponse) Descriptor
deprecated
added in
v0.8.11
func (*UpdateSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateSettingsResponse) GetSettings ¶ added in v0.8.11
func (x *UpdateSettingsResponse) GetSettings() *centrum.Settings
func (*UpdateSettingsResponse) ProtoMessage ¶ added in v0.8.11
func (*UpdateSettingsResponse) ProtoMessage()
func (*UpdateSettingsResponse) ProtoReflect ¶ added in v0.8.11
func (x *UpdateSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpdateSettingsResponse) Reset ¶ added in v0.8.11
func (x *UpdateSettingsResponse) Reset()
func (*UpdateSettingsResponse) String ¶ added in v0.8.11
func (x *UpdateSettingsResponse) String() string
func (*UpdateSettingsResponse) Validate ¶ added in v0.8.11
func (m *UpdateSettingsResponse) Validate() error
Validate checks the field values on UpdateSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateSettingsResponse) ValidateAll ¶ added in v0.8.11
func (m *UpdateSettingsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSettingsResponseMultiError, or nil if none found.
type UpdateSettingsResponseMultiError ¶ added in v0.8.11
type UpdateSettingsResponseMultiError []error
UpdateSettingsResponseMultiError is an error wrapping multiple validation errors returned by UpdateSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingsResponseMultiError) AllErrors ¶ added in v0.8.11
func (m UpdateSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingsResponseMultiError) Error ¶ added in v0.8.11
func (m UpdateSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingsResponseValidationError ¶ added in v0.8.11
type UpdateSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingsResponseValidationError is the validation error returned by UpdateSettingsResponse.Validate if the designated constraints aren't met.
func (UpdateSettingsResponseValidationError) Cause ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingsResponseValidationError) Error ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingsResponseValidationError) ErrorName ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingsResponseValidationError) Field ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) Field() string
Field function returns field value.
func (UpdateSettingsResponseValidationError) Key ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateSettingsResponseValidationError) Reason ¶ added in v0.8.11
func (e UpdateSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateUnitStatusRequest ¶ added in v0.8.0
type UpdateUnitStatusRequest struct { UnitId uint64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` Status centrum.StatusUnit `protobuf:"varint,2,opt,name=status,proto3,enum=resources.centrum.StatusUnit" json:"status,omitempty"` // @sanitize Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // @sanitize Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` // contains filtered or unexported fields }
func (*UpdateUnitStatusRequest) Descriptor
deprecated
added in
v0.8.0
func (*UpdateUnitStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUnitStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateUnitStatusRequest) GetCode ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) GetCode() string
func (*UpdateUnitStatusRequest) GetReason ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) GetReason() string
func (*UpdateUnitStatusRequest) GetStatus ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) GetStatus() centrum.StatusUnit
func (*UpdateUnitStatusRequest) GetUnitId ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) GetUnitId() uint64
func (*UpdateUnitStatusRequest) ProtoMessage ¶ added in v0.8.0
func (*UpdateUnitStatusRequest) ProtoMessage()
func (*UpdateUnitStatusRequest) ProtoReflect ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateUnitStatusRequest) Reset ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) Reset()
func (*UpdateUnitStatusRequest) Sanitize ¶ added in v0.8.1
func (m *UpdateUnitStatusRequest) Sanitize() error
func (*UpdateUnitStatusRequest) String ¶ added in v0.8.0
func (x *UpdateUnitStatusRequest) String() string
func (*UpdateUnitStatusRequest) Validate ¶ added in v0.8.0
func (m *UpdateUnitStatusRequest) Validate() error
Validate checks the field values on UpdateUnitStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUnitStatusRequest) ValidateAll ¶ added in v0.8.0
func (m *UpdateUnitStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUnitStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUnitStatusRequestMultiError, or nil if none found.
type UpdateUnitStatusRequestMultiError ¶ added in v0.8.0
type UpdateUnitStatusRequestMultiError []error
UpdateUnitStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateUnitStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUnitStatusRequestMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateUnitStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUnitStatusRequestMultiError) Error ¶ added in v0.8.0
func (m UpdateUnitStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUnitStatusRequestValidationError ¶ added in v0.8.0
type UpdateUnitStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUnitStatusRequestValidationError is the validation error returned by UpdateUnitStatusRequest.Validate if the designated constraints aren't met.
func (UpdateUnitStatusRequestValidationError) Cause ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUnitStatusRequestValidationError) Error ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUnitStatusRequestValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUnitStatusRequestValidationError) Field ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateUnitStatusRequestValidationError) Key ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUnitStatusRequestValidationError) Reason ¶ added in v0.8.0
func (e UpdateUnitStatusRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUnitStatusResponse ¶ added in v0.8.0
type UpdateUnitStatusResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUnitStatusResponse) Descriptor
deprecated
added in
v0.8.0
func (*UpdateUnitStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUnitStatusResponse.ProtoReflect.Descriptor instead.
func (*UpdateUnitStatusResponse) ProtoMessage ¶ added in v0.8.0
func (*UpdateUnitStatusResponse) ProtoMessage()
func (*UpdateUnitStatusResponse) ProtoReflect ¶ added in v0.8.0
func (x *UpdateUnitStatusResponse) ProtoReflect() protoreflect.Message
func (*UpdateUnitStatusResponse) Reset ¶ added in v0.8.0
func (x *UpdateUnitStatusResponse) Reset()
func (*UpdateUnitStatusResponse) String ¶ added in v0.8.0
func (x *UpdateUnitStatusResponse) String() string
func (*UpdateUnitStatusResponse) Validate ¶ added in v0.8.0
func (m *UpdateUnitStatusResponse) Validate() error
Validate checks the field values on UpdateUnitStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUnitStatusResponse) ValidateAll ¶ added in v0.8.0
func (m *UpdateUnitStatusResponse) ValidateAll() error
ValidateAll checks the field values on UpdateUnitStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUnitStatusResponseMultiError, or nil if none found.
type UpdateUnitStatusResponseMultiError ¶ added in v0.8.0
type UpdateUnitStatusResponseMultiError []error
UpdateUnitStatusResponseMultiError is an error wrapping multiple validation errors returned by UpdateUnitStatusResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateUnitStatusResponseMultiError) AllErrors ¶ added in v0.8.0
func (m UpdateUnitStatusResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUnitStatusResponseMultiError) Error ¶ added in v0.8.0
func (m UpdateUnitStatusResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUnitStatusResponseValidationError ¶ added in v0.8.0
type UpdateUnitStatusResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateUnitStatusResponseValidationError is the validation error returned by UpdateUnitStatusResponse.Validate if the designated constraints aren't met.
func (UpdateUnitStatusResponseValidationError) Cause ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUnitStatusResponseValidationError) Error ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUnitStatusResponseValidationError) ErrorName ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUnitStatusResponseValidationError) Field ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) Field() string
Field function returns field value.
func (UpdateUnitStatusResponseValidationError) Key ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUnitStatusResponseValidationError) Reason ¶ added in v0.8.0
func (e UpdateUnitStatusResponseValidationError) Reason() string
Reason function returns reason value.