Documentation ¶
Index ¶
- Variables
- func RegisterBatonServiceServer(s grpc.ServiceRegistrar, srv BatonServiceServer)
- type BatonServiceClient
- type BatonServiceFinishTaskRequest
- func (*BatonServiceFinishTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceFinishTaskRequest) GetError() *BatonServiceFinishTaskRequest_Error
- func (m *BatonServiceFinishTaskRequest) GetFinalState() isBatonServiceFinishTaskRequest_FinalState
- func (x *BatonServiceFinishTaskRequest) GetHostId() string
- func (x *BatonServiceFinishTaskRequest) GetStatus() *status.Status
- func (x *BatonServiceFinishTaskRequest) GetSuccess() *BatonServiceFinishTaskRequest_Success
- func (x *BatonServiceFinishTaskRequest) GetTaskId() string
- func (*BatonServiceFinishTaskRequest) ProtoMessage()
- func (x *BatonServiceFinishTaskRequest) ProtoReflect() protoreflect.Message
- func (x *BatonServiceFinishTaskRequest) Reset()
- func (x *BatonServiceFinishTaskRequest) String() string
- func (m *BatonServiceFinishTaskRequest) Validate() error
- func (m *BatonServiceFinishTaskRequest) ValidateAll() error
- type BatonServiceFinishTaskRequestMultiError
- type BatonServiceFinishTaskRequestValidationError
- func (e BatonServiceFinishTaskRequestValidationError) Cause() error
- func (e BatonServiceFinishTaskRequestValidationError) Error() string
- func (e BatonServiceFinishTaskRequestValidationError) ErrorName() string
- func (e BatonServiceFinishTaskRequestValidationError) Field() string
- func (e BatonServiceFinishTaskRequestValidationError) Key() bool
- func (e BatonServiceFinishTaskRequestValidationError) Reason() string
- type BatonServiceFinishTaskRequest_Error
- func (*BatonServiceFinishTaskRequest_Error) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceFinishTaskRequest_Error) GetAnnotations() []*anypb.Any
- func (x *BatonServiceFinishTaskRequest_Error) GetNonRetryable() bool
- func (x *BatonServiceFinishTaskRequest_Error) GetResponse() *anypb.Any
- func (*BatonServiceFinishTaskRequest_Error) ProtoMessage()
- func (x *BatonServiceFinishTaskRequest_Error) ProtoReflect() protoreflect.Message
- func (x *BatonServiceFinishTaskRequest_Error) Reset()
- func (x *BatonServiceFinishTaskRequest_Error) String() string
- func (m *BatonServiceFinishTaskRequest_Error) Validate() error
- func (m *BatonServiceFinishTaskRequest_Error) ValidateAll() error
- type BatonServiceFinishTaskRequest_ErrorMultiError
- type BatonServiceFinishTaskRequest_ErrorValidationError
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) Cause() error
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) Error() string
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) ErrorName() string
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) Field() string
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) Key() bool
- func (e BatonServiceFinishTaskRequest_ErrorValidationError) Reason() string
- type BatonServiceFinishTaskRequest_Error_
- type BatonServiceFinishTaskRequest_Success
- func (*BatonServiceFinishTaskRequest_Success) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceFinishTaskRequest_Success) GetAnnotations() []*anypb.Any
- func (x *BatonServiceFinishTaskRequest_Success) GetResponse() *anypb.Any
- func (*BatonServiceFinishTaskRequest_Success) ProtoMessage()
- func (x *BatonServiceFinishTaskRequest_Success) ProtoReflect() protoreflect.Message
- func (x *BatonServiceFinishTaskRequest_Success) Reset()
- func (x *BatonServiceFinishTaskRequest_Success) String() string
- func (m *BatonServiceFinishTaskRequest_Success) Validate() error
- func (m *BatonServiceFinishTaskRequest_Success) ValidateAll() error
- type BatonServiceFinishTaskRequest_SuccessMultiError
- type BatonServiceFinishTaskRequest_SuccessValidationError
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) Cause() error
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) Error() string
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) ErrorName() string
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) Field() string
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) Key() bool
- func (e BatonServiceFinishTaskRequest_SuccessValidationError) Reason() string
- type BatonServiceFinishTaskRequest_Success_
- type BatonServiceFinishTaskResponse
- func (*BatonServiceFinishTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceFinishTaskResponse) GetAnnotations() []*anypb.Any
- func (*BatonServiceFinishTaskResponse) ProtoMessage()
- func (x *BatonServiceFinishTaskResponse) ProtoReflect() protoreflect.Message
- func (x *BatonServiceFinishTaskResponse) Reset()
- func (x *BatonServiceFinishTaskResponse) String() string
- func (m *BatonServiceFinishTaskResponse) Validate() error
- func (m *BatonServiceFinishTaskResponse) ValidateAll() error
- type BatonServiceFinishTaskResponseMultiError
- type BatonServiceFinishTaskResponseValidationError
- func (e BatonServiceFinishTaskResponseValidationError) Cause() error
- func (e BatonServiceFinishTaskResponseValidationError) Error() string
- func (e BatonServiceFinishTaskResponseValidationError) ErrorName() string
- func (e BatonServiceFinishTaskResponseValidationError) Field() string
- func (e BatonServiceFinishTaskResponseValidationError) Key() bool
- func (e BatonServiceFinishTaskResponseValidationError) Reason() string
- type BatonServiceGetTaskRequest
- func (*BatonServiceGetTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceGetTaskRequest) GetHostId() string
- func (*BatonServiceGetTaskRequest) ProtoMessage()
- func (x *BatonServiceGetTaskRequest) ProtoReflect() protoreflect.Message
- func (x *BatonServiceGetTaskRequest) Reset()
- func (x *BatonServiceGetTaskRequest) String() string
- func (m *BatonServiceGetTaskRequest) Validate() error
- func (m *BatonServiceGetTaskRequest) ValidateAll() error
- type BatonServiceGetTaskRequestMultiError
- type BatonServiceGetTaskRequestValidationError
- func (e BatonServiceGetTaskRequestValidationError) Cause() error
- func (e BatonServiceGetTaskRequestValidationError) Error() string
- func (e BatonServiceGetTaskRequestValidationError) ErrorName() string
- func (e BatonServiceGetTaskRequestValidationError) Field() string
- func (e BatonServiceGetTaskRequestValidationError) Key() bool
- func (e BatonServiceGetTaskRequestValidationError) Reason() string
- type BatonServiceGetTaskResponse
- func (*BatonServiceGetTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceGetTaskResponse) GetAnnotations() []*anypb.Any
- func (x *BatonServiceGetTaskResponse) GetNextHeartbeat() *durationpb.Duration
- func (x *BatonServiceGetTaskResponse) GetNextPoll() *durationpb.Duration
- func (x *BatonServiceGetTaskResponse) GetTask() *Task
- func (*BatonServiceGetTaskResponse) ProtoMessage()
- func (x *BatonServiceGetTaskResponse) ProtoReflect() protoreflect.Message
- func (x *BatonServiceGetTaskResponse) Reset()
- func (x *BatonServiceGetTaskResponse) String() string
- func (m *BatonServiceGetTaskResponse) Validate() error
- func (m *BatonServiceGetTaskResponse) ValidateAll() error
- type BatonServiceGetTaskResponseMultiError
- type BatonServiceGetTaskResponseValidationError
- func (e BatonServiceGetTaskResponseValidationError) Cause() error
- func (e BatonServiceGetTaskResponseValidationError) Error() string
- func (e BatonServiceGetTaskResponseValidationError) ErrorName() string
- func (e BatonServiceGetTaskResponseValidationError) Field() string
- func (e BatonServiceGetTaskResponseValidationError) Key() bool
- func (e BatonServiceGetTaskResponseValidationError) Reason() string
- type BatonServiceHeartbeatRequest
- func (*BatonServiceHeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHeartbeatRequest) GetAnnotations() []*anypb.Any
- func (x *BatonServiceHeartbeatRequest) GetHostId() string
- func (x *BatonServiceHeartbeatRequest) GetTaskId() string
- func (*BatonServiceHeartbeatRequest) ProtoMessage()
- func (x *BatonServiceHeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHeartbeatRequest) Reset()
- func (x *BatonServiceHeartbeatRequest) String() string
- func (m *BatonServiceHeartbeatRequest) Validate() error
- func (m *BatonServiceHeartbeatRequest) ValidateAll() error
- type BatonServiceHeartbeatRequestMultiError
- type BatonServiceHeartbeatRequestValidationError
- func (e BatonServiceHeartbeatRequestValidationError) Cause() error
- func (e BatonServiceHeartbeatRequestValidationError) Error() string
- func (e BatonServiceHeartbeatRequestValidationError) ErrorName() string
- func (e BatonServiceHeartbeatRequestValidationError) Field() string
- func (e BatonServiceHeartbeatRequestValidationError) Key() bool
- func (e BatonServiceHeartbeatRequestValidationError) Reason() string
- type BatonServiceHeartbeatResponse
- func (*BatonServiceHeartbeatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHeartbeatResponse) GetAnnotations() []*anypb.Any
- func (x *BatonServiceHeartbeatResponse) GetCancelled() bool
- func (x *BatonServiceHeartbeatResponse) GetNextHeartbeat() *durationpb.Duration
- func (*BatonServiceHeartbeatResponse) ProtoMessage()
- func (x *BatonServiceHeartbeatResponse) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHeartbeatResponse) Reset()
- func (x *BatonServiceHeartbeatResponse) String() string
- func (m *BatonServiceHeartbeatResponse) Validate() error
- func (m *BatonServiceHeartbeatResponse) ValidateAll() error
- type BatonServiceHeartbeatResponseMultiError
- type BatonServiceHeartbeatResponseValidationError
- func (e BatonServiceHeartbeatResponseValidationError) Cause() error
- func (e BatonServiceHeartbeatResponseValidationError) Error() string
- func (e BatonServiceHeartbeatResponseValidationError) ErrorName() string
- func (e BatonServiceHeartbeatResponseValidationError) Field() string
- func (e BatonServiceHeartbeatResponseValidationError) Key() bool
- func (e BatonServiceHeartbeatResponseValidationError) Reason() string
- type BatonServiceHelloRequest
- func (*BatonServiceHelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHelloRequest) GetAnnotations() []*anypb.Any
- func (x *BatonServiceHelloRequest) GetBuildInfo() *BatonServiceHelloRequest_BuildInfo
- func (x *BatonServiceHelloRequest) GetConnectorMetadata() *v2.ConnectorMetadata
- func (x *BatonServiceHelloRequest) GetHostId() string
- func (x *BatonServiceHelloRequest) GetOsInfo() *BatonServiceHelloRequest_OSInfo
- func (x *BatonServiceHelloRequest) GetTaskId() string
- func (*BatonServiceHelloRequest) ProtoMessage()
- func (x *BatonServiceHelloRequest) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHelloRequest) Reset()
- func (x *BatonServiceHelloRequest) String() string
- func (m *BatonServiceHelloRequest) Validate() error
- func (m *BatonServiceHelloRequest) ValidateAll() error
- type BatonServiceHelloRequestMultiError
- type BatonServiceHelloRequestValidationError
- func (e BatonServiceHelloRequestValidationError) Cause() error
- func (e BatonServiceHelloRequestValidationError) Error() string
- func (e BatonServiceHelloRequestValidationError) ErrorName() string
- func (e BatonServiceHelloRequestValidationError) Field() string
- func (e BatonServiceHelloRequestValidationError) Key() bool
- func (e BatonServiceHelloRequestValidationError) Reason() string
- type BatonServiceHelloRequest_BuildInfo
- func (*BatonServiceHelloRequest_BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHelloRequest_BuildInfo) GetLangVersion() string
- func (x *BatonServiceHelloRequest_BuildInfo) GetPackage() string
- func (x *BatonServiceHelloRequest_BuildInfo) GetPackageVersion() string
- func (*BatonServiceHelloRequest_BuildInfo) ProtoMessage()
- func (x *BatonServiceHelloRequest_BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHelloRequest_BuildInfo) Reset()
- func (x *BatonServiceHelloRequest_BuildInfo) String() string
- func (m *BatonServiceHelloRequest_BuildInfo) Validate() error
- func (m *BatonServiceHelloRequest_BuildInfo) ValidateAll() error
- type BatonServiceHelloRequest_BuildInfoMultiError
- type BatonServiceHelloRequest_BuildInfoValidationError
- func (e BatonServiceHelloRequest_BuildInfoValidationError) Cause() error
- func (e BatonServiceHelloRequest_BuildInfoValidationError) Error() string
- func (e BatonServiceHelloRequest_BuildInfoValidationError) ErrorName() string
- func (e BatonServiceHelloRequest_BuildInfoValidationError) Field() string
- func (e BatonServiceHelloRequest_BuildInfoValidationError) Key() bool
- func (e BatonServiceHelloRequest_BuildInfoValidationError) Reason() string
- type BatonServiceHelloRequest_OSInfo
- func (*BatonServiceHelloRequest_OSInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHelloRequest_OSInfo) GetHostname() string
- func (x *BatonServiceHelloRequest_OSInfo) GetKernelArch() string
- func (x *BatonServiceHelloRequest_OSInfo) GetKernelVersion() string
- func (x *BatonServiceHelloRequest_OSInfo) GetOs() string
- func (x *BatonServiceHelloRequest_OSInfo) GetPlatform() string
- func (x *BatonServiceHelloRequest_OSInfo) GetPlatformFamily() string
- func (x *BatonServiceHelloRequest_OSInfo) GetPlatformVersion() string
- func (x *BatonServiceHelloRequest_OSInfo) GetVirtualizationSystem() string
- func (*BatonServiceHelloRequest_OSInfo) ProtoMessage()
- func (x *BatonServiceHelloRequest_OSInfo) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHelloRequest_OSInfo) Reset()
- func (x *BatonServiceHelloRequest_OSInfo) String() string
- func (m *BatonServiceHelloRequest_OSInfo) Validate() error
- func (m *BatonServiceHelloRequest_OSInfo) ValidateAll() error
- type BatonServiceHelloRequest_OSInfoMultiError
- type BatonServiceHelloRequest_OSInfoValidationError
- func (e BatonServiceHelloRequest_OSInfoValidationError) Cause() error
- func (e BatonServiceHelloRequest_OSInfoValidationError) Error() string
- func (e BatonServiceHelloRequest_OSInfoValidationError) ErrorName() string
- func (e BatonServiceHelloRequest_OSInfoValidationError) Field() string
- func (e BatonServiceHelloRequest_OSInfoValidationError) Key() bool
- func (e BatonServiceHelloRequest_OSInfoValidationError) Reason() string
- type BatonServiceHelloResponse
- func (*BatonServiceHelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceHelloResponse) GetAnnotations() []*anypb.Any
- func (*BatonServiceHelloResponse) ProtoMessage()
- func (x *BatonServiceHelloResponse) ProtoReflect() protoreflect.Message
- func (x *BatonServiceHelloResponse) Reset()
- func (x *BatonServiceHelloResponse) String() string
- func (m *BatonServiceHelloResponse) Validate() error
- func (m *BatonServiceHelloResponse) ValidateAll() error
- type BatonServiceHelloResponseMultiError
- type BatonServiceHelloResponseValidationError
- func (e BatonServiceHelloResponseValidationError) Cause() error
- func (e BatonServiceHelloResponseValidationError) Error() string
- func (e BatonServiceHelloResponseValidationError) ErrorName() string
- func (e BatonServiceHelloResponseValidationError) Field() string
- func (e BatonServiceHelloResponseValidationError) Key() bool
- func (e BatonServiceHelloResponseValidationError) Reason() string
- type BatonServiceServer
- type BatonServiceUploadAssetRequest
- func (*BatonServiceUploadAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceUploadAssetRequest) GetData() *BatonServiceUploadAssetRequest_UploadData
- func (x *BatonServiceUploadAssetRequest) GetEof() *BatonServiceUploadAssetRequest_UploadEOF
- func (x *BatonServiceUploadAssetRequest) GetMetadata() *BatonServiceUploadAssetRequest_UploadMetadata
- func (m *BatonServiceUploadAssetRequest) GetMsg() isBatonServiceUploadAssetRequest_Msg
- func (*BatonServiceUploadAssetRequest) ProtoMessage()
- func (x *BatonServiceUploadAssetRequest) ProtoReflect() protoreflect.Message
- func (x *BatonServiceUploadAssetRequest) Reset()
- func (x *BatonServiceUploadAssetRequest) String() string
- func (m *BatonServiceUploadAssetRequest) Validate() error
- func (m *BatonServiceUploadAssetRequest) ValidateAll() error
- type BatonServiceUploadAssetRequestMultiError
- type BatonServiceUploadAssetRequestValidationError
- func (e BatonServiceUploadAssetRequestValidationError) Cause() error
- func (e BatonServiceUploadAssetRequestValidationError) Error() string
- func (e BatonServiceUploadAssetRequestValidationError) ErrorName() string
- func (e BatonServiceUploadAssetRequestValidationError) Field() string
- func (e BatonServiceUploadAssetRequestValidationError) Key() bool
- func (e BatonServiceUploadAssetRequestValidationError) Reason() string
- type BatonServiceUploadAssetRequest_Data
- type BatonServiceUploadAssetRequest_Eof
- type BatonServiceUploadAssetRequest_Metadata
- type BatonServiceUploadAssetRequest_UploadData
- func (*BatonServiceUploadAssetRequest_UploadData) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceUploadAssetRequest_UploadData) GetData() []byte
- func (*BatonServiceUploadAssetRequest_UploadData) ProtoMessage()
- func (x *BatonServiceUploadAssetRequest_UploadData) ProtoReflect() protoreflect.Message
- func (x *BatonServiceUploadAssetRequest_UploadData) Reset()
- func (x *BatonServiceUploadAssetRequest_UploadData) String() string
- func (m *BatonServiceUploadAssetRequest_UploadData) Validate() error
- func (m *BatonServiceUploadAssetRequest_UploadData) ValidateAll() error
- type BatonServiceUploadAssetRequest_UploadDataMultiError
- type BatonServiceUploadAssetRequest_UploadDataValidationError
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Cause() error
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Error() string
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) ErrorName() string
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Field() string
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Key() bool
- func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Reason() string
- type BatonServiceUploadAssetRequest_UploadEOF
- func (*BatonServiceUploadAssetRequest_UploadEOF) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceUploadAssetRequest_UploadEOF) GetAnnotations() []*anypb.Any
- func (x *BatonServiceUploadAssetRequest_UploadEOF) GetSha256Checksum() []byte
- func (*BatonServiceUploadAssetRequest_UploadEOF) ProtoMessage()
- func (x *BatonServiceUploadAssetRequest_UploadEOF) ProtoReflect() protoreflect.Message
- func (x *BatonServiceUploadAssetRequest_UploadEOF) Reset()
- func (x *BatonServiceUploadAssetRequest_UploadEOF) String() string
- func (m *BatonServiceUploadAssetRequest_UploadEOF) Validate() error
- func (m *BatonServiceUploadAssetRequest_UploadEOF) ValidateAll() error
- type BatonServiceUploadAssetRequest_UploadEOFMultiError
- type BatonServiceUploadAssetRequest_UploadEOFValidationError
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Cause() error
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Error() string
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) ErrorName() string
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Field() string
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Key() bool
- func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Reason() string
- type BatonServiceUploadAssetRequest_UploadMetadata
- func (*BatonServiceUploadAssetRequest_UploadMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetAnnotations() []*anypb.Any
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetHostId() string
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetTaskId() string
- func (*BatonServiceUploadAssetRequest_UploadMetadata) ProtoMessage()
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) ProtoReflect() protoreflect.Message
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) Reset()
- func (x *BatonServiceUploadAssetRequest_UploadMetadata) String() string
- func (m *BatonServiceUploadAssetRequest_UploadMetadata) Validate() error
- func (m *BatonServiceUploadAssetRequest_UploadMetadata) ValidateAll() error
- type BatonServiceUploadAssetRequest_UploadMetadataMultiError
- type BatonServiceUploadAssetRequest_UploadMetadataValidationError
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Cause() error
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Error() string
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) ErrorName() string
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Field() string
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Key() bool
- func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Reason() string
- type BatonServiceUploadAssetResponse
- func (*BatonServiceUploadAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatonServiceUploadAssetResponse) GetAnnotations() []*anypb.Any
- func (*BatonServiceUploadAssetResponse) ProtoMessage()
- func (x *BatonServiceUploadAssetResponse) ProtoReflect() protoreflect.Message
- func (x *BatonServiceUploadAssetResponse) Reset()
- func (x *BatonServiceUploadAssetResponse) String() string
- func (m *BatonServiceUploadAssetResponse) Validate() error
- func (m *BatonServiceUploadAssetResponse) ValidateAll() error
- type BatonServiceUploadAssetResponseMultiError
- type BatonServiceUploadAssetResponseValidationError
- func (e BatonServiceUploadAssetResponseValidationError) Cause() error
- func (e BatonServiceUploadAssetResponseValidationError) Error() string
- func (e BatonServiceUploadAssetResponseValidationError) ErrorName() string
- func (e BatonServiceUploadAssetResponseValidationError) Field() string
- func (e BatonServiceUploadAssetResponseValidationError) Key() bool
- func (e BatonServiceUploadAssetResponseValidationError) Reason() string
- type BatonService_UploadAssetClient
- type BatonService_UploadAssetServer
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetCreateAccount() *Task_CreateAccountTask
- func (x *Task) GetCreateResource() *Task_CreateResourceTask
- func (x *Task) GetCreateTicketTask() *Task_CreateTicketTask
- func (x *Task) GetDeleteResource() *Task_DeleteResourceTask
- func (x *Task) GetEventFeed() *Task_EventFeedTask
- func (x *Task) GetGetTicket() *Task_GetTicketTask
- func (x *Task) GetGrant() *Task_GrantTask
- func (x *Task) GetHello() *Task_HelloTask
- func (x *Task) GetId() string
- func (x *Task) GetListTicketSchemas() *Task_ListTicketSchemasTask
- func (x *Task) GetNone() *Task_NoneTask
- func (x *Task) GetRevoke() *Task_RevokeTask
- func (x *Task) GetRotateCredentials() *Task_RotateCredentialsTask
- func (x *Task) GetStatus() Task_Status
- func (x *Task) GetSyncFull() *Task_SyncFullTask
- func (m *Task) GetTaskType() isTask_TaskType
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- func (m *Task) Validate() error
- func (m *Task) ValidateAll() error
- type TaskMultiError
- type TaskValidationError
- type Task_CreateAccount
- type Task_CreateAccountTask
- func (*Task_CreateAccountTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_CreateAccountTask) GetAccountInfo() *v2.AccountInfo
- func (x *Task_CreateAccountTask) GetCredentialOptions() *v2.CredentialOptions
- func (x *Task_CreateAccountTask) GetEncryptionConfigs() []*v2.EncryptionConfig
- func (*Task_CreateAccountTask) ProtoMessage()
- func (x *Task_CreateAccountTask) ProtoReflect() protoreflect.Message
- func (x *Task_CreateAccountTask) Reset()
- func (x *Task_CreateAccountTask) String() string
- func (m *Task_CreateAccountTask) Validate() error
- func (m *Task_CreateAccountTask) ValidateAll() error
- type Task_CreateAccountTaskMultiError
- type Task_CreateAccountTaskValidationError
- func (e Task_CreateAccountTaskValidationError) Cause() error
- func (e Task_CreateAccountTaskValidationError) Error() string
- func (e Task_CreateAccountTaskValidationError) ErrorName() string
- func (e Task_CreateAccountTaskValidationError) Field() string
- func (e Task_CreateAccountTaskValidationError) Key() bool
- func (e Task_CreateAccountTaskValidationError) Reason() string
- type Task_CreateResource
- type Task_CreateResourceTask
- func (*Task_CreateResourceTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_CreateResourceTask) GetResource() *v2.Resource
- func (*Task_CreateResourceTask) ProtoMessage()
- func (x *Task_CreateResourceTask) ProtoReflect() protoreflect.Message
- func (x *Task_CreateResourceTask) Reset()
- func (x *Task_CreateResourceTask) String() string
- func (m *Task_CreateResourceTask) Validate() error
- func (m *Task_CreateResourceTask) ValidateAll() error
- type Task_CreateResourceTaskMultiError
- type Task_CreateResourceTaskValidationError
- func (e Task_CreateResourceTaskValidationError) Cause() error
- func (e Task_CreateResourceTaskValidationError) Error() string
- func (e Task_CreateResourceTaskValidationError) ErrorName() string
- func (e Task_CreateResourceTaskValidationError) Field() string
- func (e Task_CreateResourceTaskValidationError) Key() bool
- func (e Task_CreateResourceTaskValidationError) Reason() string
- type Task_CreateTicketTask
- func (*Task_CreateTicketTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_CreateTicketTask) GetAnnotations() []*anypb.Any
- func (x *Task_CreateTicketTask) GetTicketRequest() *v2.TicketRequest
- func (x *Task_CreateTicketTask) GetTicketSchema() *v2.TicketSchema
- func (*Task_CreateTicketTask) ProtoMessage()
- func (x *Task_CreateTicketTask) ProtoReflect() protoreflect.Message
- func (x *Task_CreateTicketTask) Reset()
- func (x *Task_CreateTicketTask) String() string
- func (m *Task_CreateTicketTask) Validate() error
- func (m *Task_CreateTicketTask) ValidateAll() error
- type Task_CreateTicketTaskMultiError
- type Task_CreateTicketTaskValidationError
- func (e Task_CreateTicketTaskValidationError) Cause() error
- func (e Task_CreateTicketTaskValidationError) Error() string
- func (e Task_CreateTicketTaskValidationError) ErrorName() string
- func (e Task_CreateTicketTaskValidationError) Field() string
- func (e Task_CreateTicketTaskValidationError) Key() bool
- func (e Task_CreateTicketTaskValidationError) Reason() string
- type Task_CreateTicketTask_
- type Task_DeleteResource
- type Task_DeleteResourceTask
- func (*Task_DeleteResourceTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_DeleteResourceTask) GetResourceId() *v2.ResourceId
- func (*Task_DeleteResourceTask) ProtoMessage()
- func (x *Task_DeleteResourceTask) ProtoReflect() protoreflect.Message
- func (x *Task_DeleteResourceTask) Reset()
- func (x *Task_DeleteResourceTask) String() string
- func (m *Task_DeleteResourceTask) Validate() error
- func (m *Task_DeleteResourceTask) ValidateAll() error
- type Task_DeleteResourceTaskMultiError
- type Task_DeleteResourceTaskValidationError
- func (e Task_DeleteResourceTaskValidationError) Cause() error
- func (e Task_DeleteResourceTaskValidationError) Error() string
- func (e Task_DeleteResourceTaskValidationError) ErrorName() string
- func (e Task_DeleteResourceTaskValidationError) Field() string
- func (e Task_DeleteResourceTaskValidationError) Key() bool
- func (e Task_DeleteResourceTaskValidationError) Reason() string
- type Task_EventFeed
- type Task_EventFeedTask
- func (*Task_EventFeedTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_EventFeedTask) GetAnnotations() []*anypb.Any
- func (x *Task_EventFeedTask) GetStartAt() *timestamppb.Timestamp
- func (*Task_EventFeedTask) ProtoMessage()
- func (x *Task_EventFeedTask) ProtoReflect() protoreflect.Message
- func (x *Task_EventFeedTask) Reset()
- func (x *Task_EventFeedTask) String() string
- func (m *Task_EventFeedTask) Validate() error
- func (m *Task_EventFeedTask) ValidateAll() error
- type Task_EventFeedTaskMultiError
- type Task_EventFeedTaskValidationError
- func (e Task_EventFeedTaskValidationError) Cause() error
- func (e Task_EventFeedTaskValidationError) Error() string
- func (e Task_EventFeedTaskValidationError) ErrorName() string
- func (e Task_EventFeedTaskValidationError) Field() string
- func (e Task_EventFeedTaskValidationError) Key() bool
- func (e Task_EventFeedTaskValidationError) Reason() string
- type Task_GetTicket
- type Task_GetTicketTask
- func (*Task_GetTicketTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_GetTicketTask) GetAnnotations() []*anypb.Any
- func (x *Task_GetTicketTask) GetTicketId() string
- func (*Task_GetTicketTask) ProtoMessage()
- func (x *Task_GetTicketTask) ProtoReflect() protoreflect.Message
- func (x *Task_GetTicketTask) Reset()
- func (x *Task_GetTicketTask) String() string
- func (m *Task_GetTicketTask) Validate() error
- func (m *Task_GetTicketTask) ValidateAll() error
- type Task_GetTicketTaskMultiError
- type Task_GetTicketTaskValidationError
- func (e Task_GetTicketTaskValidationError) Cause() error
- func (e Task_GetTicketTaskValidationError) Error() string
- func (e Task_GetTicketTaskValidationError) ErrorName() string
- func (e Task_GetTicketTaskValidationError) Field() string
- func (e Task_GetTicketTaskValidationError) Key() bool
- func (e Task_GetTicketTaskValidationError) Reason() string
- type Task_Grant
- type Task_GrantTask
- func (*Task_GrantTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_GrantTask) GetAnnotations() []*anypb.Any
- func (x *Task_GrantTask) GetDuration() *durationpb.Duration
- func (x *Task_GrantTask) GetEntitlement() *v2.Entitlement
- func (x *Task_GrantTask) GetPrincipal() *v2.Resource
- func (*Task_GrantTask) ProtoMessage()
- func (x *Task_GrantTask) ProtoReflect() protoreflect.Message
- func (x *Task_GrantTask) Reset()
- func (x *Task_GrantTask) String() string
- func (m *Task_GrantTask) Validate() error
- func (m *Task_GrantTask) ValidateAll() error
- type Task_GrantTaskMultiError
- type Task_GrantTaskValidationError
- func (e Task_GrantTaskValidationError) Cause() error
- func (e Task_GrantTaskValidationError) Error() string
- func (e Task_GrantTaskValidationError) ErrorName() string
- func (e Task_GrantTaskValidationError) Field() string
- func (e Task_GrantTaskValidationError) Key() bool
- func (e Task_GrantTaskValidationError) Reason() string
- type Task_Hello
- type Task_HelloTask
- func (*Task_HelloTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_HelloTask) GetAnnotations() []*anypb.Any
- func (*Task_HelloTask) ProtoMessage()
- func (x *Task_HelloTask) ProtoReflect() protoreflect.Message
- func (x *Task_HelloTask) Reset()
- func (x *Task_HelloTask) String() string
- func (m *Task_HelloTask) Validate() error
- func (m *Task_HelloTask) ValidateAll() error
- type Task_HelloTaskMultiError
- type Task_HelloTaskValidationError
- func (e Task_HelloTaskValidationError) Cause() error
- func (e Task_HelloTaskValidationError) Error() string
- func (e Task_HelloTaskValidationError) ErrorName() string
- func (e Task_HelloTaskValidationError) Field() string
- func (e Task_HelloTaskValidationError) Key() bool
- func (e Task_HelloTaskValidationError) Reason() string
- type Task_ListTicketSchemas
- type Task_ListTicketSchemasTask
- func (*Task_ListTicketSchemasTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_ListTicketSchemasTask) GetAnnotations() []*anypb.Any
- func (*Task_ListTicketSchemasTask) ProtoMessage()
- func (x *Task_ListTicketSchemasTask) ProtoReflect() protoreflect.Message
- func (x *Task_ListTicketSchemasTask) Reset()
- func (x *Task_ListTicketSchemasTask) String() string
- func (m *Task_ListTicketSchemasTask) Validate() error
- func (m *Task_ListTicketSchemasTask) ValidateAll() error
- type Task_ListTicketSchemasTaskMultiError
- type Task_ListTicketSchemasTaskValidationError
- func (e Task_ListTicketSchemasTaskValidationError) Cause() error
- func (e Task_ListTicketSchemasTaskValidationError) Error() string
- func (e Task_ListTicketSchemasTaskValidationError) ErrorName() string
- func (e Task_ListTicketSchemasTaskValidationError) Field() string
- func (e Task_ListTicketSchemasTaskValidationError) Key() bool
- func (e Task_ListTicketSchemasTaskValidationError) Reason() string
- type Task_None
- type Task_NoneTask
- func (*Task_NoneTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_NoneTask) GetAnnotations() []*anypb.Any
- func (*Task_NoneTask) ProtoMessage()
- func (x *Task_NoneTask) ProtoReflect() protoreflect.Message
- func (x *Task_NoneTask) Reset()
- func (x *Task_NoneTask) String() string
- func (m *Task_NoneTask) Validate() error
- func (m *Task_NoneTask) ValidateAll() error
- type Task_NoneTaskMultiError
- type Task_NoneTaskValidationError
- func (e Task_NoneTaskValidationError) Cause() error
- func (e Task_NoneTaskValidationError) Error() string
- func (e Task_NoneTaskValidationError) ErrorName() string
- func (e Task_NoneTaskValidationError) Field() string
- func (e Task_NoneTaskValidationError) Key() bool
- func (e Task_NoneTaskValidationError) Reason() string
- type Task_Revoke
- type Task_RevokeTask
- func (*Task_RevokeTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_RevokeTask) GetAnnotations() []*anypb.Any
- func (x *Task_RevokeTask) GetGrant() *v2.Grant
- func (*Task_RevokeTask) ProtoMessage()
- func (x *Task_RevokeTask) ProtoReflect() protoreflect.Message
- func (x *Task_RevokeTask) Reset()
- func (x *Task_RevokeTask) String() string
- func (m *Task_RevokeTask) Validate() error
- func (m *Task_RevokeTask) ValidateAll() error
- type Task_RevokeTaskMultiError
- type Task_RevokeTaskValidationError
- func (e Task_RevokeTaskValidationError) Cause() error
- func (e Task_RevokeTaskValidationError) Error() string
- func (e Task_RevokeTaskValidationError) ErrorName() string
- func (e Task_RevokeTaskValidationError) Field() string
- func (e Task_RevokeTaskValidationError) Key() bool
- func (e Task_RevokeTaskValidationError) Reason() string
- type Task_RotateCredentials
- type Task_RotateCredentialsTask
- func (*Task_RotateCredentialsTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_RotateCredentialsTask) GetCredentialOptions() *v2.CredentialOptions
- func (x *Task_RotateCredentialsTask) GetEncryptionConfigs() []*v2.EncryptionConfig
- func (x *Task_RotateCredentialsTask) GetResourceId() *v2.ResourceId
- func (*Task_RotateCredentialsTask) ProtoMessage()
- func (x *Task_RotateCredentialsTask) ProtoReflect() protoreflect.Message
- func (x *Task_RotateCredentialsTask) Reset()
- func (x *Task_RotateCredentialsTask) String() string
- func (m *Task_RotateCredentialsTask) Validate() error
- func (m *Task_RotateCredentialsTask) ValidateAll() error
- type Task_RotateCredentialsTaskMultiError
- type Task_RotateCredentialsTaskValidationError
- func (e Task_RotateCredentialsTaskValidationError) Cause() error
- func (e Task_RotateCredentialsTaskValidationError) Error() string
- func (e Task_RotateCredentialsTaskValidationError) ErrorName() string
- func (e Task_RotateCredentialsTaskValidationError) Field() string
- func (e Task_RotateCredentialsTaskValidationError) Key() bool
- func (e Task_RotateCredentialsTaskValidationError) Reason() string
- type Task_Status
- func (Task_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Task_Status) Enum() *Task_Status
- func (Task_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Task_Status) Number() protoreflect.EnumNumber
- func (x Task_Status) String() string
- func (Task_Status) Type() protoreflect.EnumType
- type Task_SyncFull
- type Task_SyncFullTask
- func (*Task_SyncFullTask) Descriptor() ([]byte, []int)deprecated
- func (x *Task_SyncFullTask) GetAnnotations() []*anypb.Any
- func (*Task_SyncFullTask) ProtoMessage()
- func (x *Task_SyncFullTask) ProtoReflect() protoreflect.Message
- func (x *Task_SyncFullTask) Reset()
- func (x *Task_SyncFullTask) String() string
- func (m *Task_SyncFullTask) Validate() error
- func (m *Task_SyncFullTask) ValidateAll() error
- type Task_SyncFullTaskMultiError
- type Task_SyncFullTaskValidationError
- func (e Task_SyncFullTaskValidationError) Cause() error
- func (e Task_SyncFullTaskValidationError) Error() string
- func (e Task_SyncFullTaskValidationError) ErrorName() string
- func (e Task_SyncFullTaskValidationError) Field() string
- func (e Task_SyncFullTaskValidationError) Key() bool
- func (e Task_SyncFullTaskValidationError) Reason() string
- type UnimplementedBatonServiceServer
- func (UnimplementedBatonServiceServer) FinishTask(context.Context, *BatonServiceFinishTaskRequest) (*BatonServiceFinishTaskResponse, error)
- func (UnimplementedBatonServiceServer) GetTask(context.Context, *BatonServiceGetTaskRequest) (*BatonServiceGetTaskResponse, error)
- func (UnimplementedBatonServiceServer) Heartbeat(context.Context, *BatonServiceHeartbeatRequest) (*BatonServiceHeartbeatResponse, error)
- func (UnimplementedBatonServiceServer) Hello(context.Context, *BatonServiceHelloRequest) (*BatonServiceHelloResponse, error)
- func (UnimplementedBatonServiceServer) UploadAsset(BatonService_UploadAssetServer) error
- type UnsafeBatonServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Task_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_PENDING", 2: "STATUS_SCHEDULED", 3: "STATUS_RUNNING", 4: "STATUS_FINISHED", } Task_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_PENDING": 1, "STATUS_SCHEDULED": 2, "STATUS_RUNNING": 3, "STATUS_FINISHED": 4, } )
Enum value maps for Task_Status.
var BatonService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connectorapi.baton.v1.BatonService", HandlerType: (*BatonServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Hello", Handler: _BatonService_Hello_Handler, }, { MethodName: "GetTask", Handler: _BatonService_GetTask_Handler, }, { MethodName: "Heartbeat", Handler: _BatonService_Heartbeat_Handler, }, { MethodName: "FinishTask", Handler: _BatonService_FinishTask_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadAsset", Handler: _BatonService_UploadAsset_Handler, ClientStreams: true, }, }, Metadata: "c1/connectorapi/baton/v1/baton.proto", }
BatonService_ServiceDesc is the grpc.ServiceDesc for BatonService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_c1_connectorapi_baton_v1_baton_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBatonServiceServer ¶
func RegisterBatonServiceServer(s grpc.ServiceRegistrar, srv BatonServiceServer)
Types ¶
type BatonServiceClient ¶
type BatonServiceClient interface { Hello(ctx context.Context, in *BatonServiceHelloRequest, opts ...grpc.CallOption) (*BatonServiceHelloResponse, error) GetTask(ctx context.Context, in *BatonServiceGetTaskRequest, opts ...grpc.CallOption) (*BatonServiceGetTaskResponse, error) Heartbeat(ctx context.Context, in *BatonServiceHeartbeatRequest, opts ...grpc.CallOption) (*BatonServiceHeartbeatResponse, error) FinishTask(ctx context.Context, in *BatonServiceFinishTaskRequest, opts ...grpc.CallOption) (*BatonServiceFinishTaskResponse, error) UploadAsset(ctx context.Context, opts ...grpc.CallOption) (BatonService_UploadAssetClient, error) }
BatonServiceClient is the client API for BatonService 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 NewBatonServiceClient ¶
func NewBatonServiceClient(cc grpc.ClientConnInterface) BatonServiceClient
type BatonServiceFinishTaskRequest ¶
type BatonServiceFinishTaskRequest struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // Types that are assignable to FinalState: // // *BatonServiceFinishTaskRequest_Error_ // *BatonServiceFinishTaskRequest_Success_ FinalState isBatonServiceFinishTaskRequest_FinalState `protobuf_oneof:"final_state"` // contains filtered or unexported fields }
Connector submits a task has been finished. It should always be removed from the queue, and if it isn't a fatal error, we should re-add it to the queue to try again.
func (*BatonServiceFinishTaskRequest) Descriptor
deprecated
func (*BatonServiceFinishTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceFinishTaskRequest.ProtoReflect.Descriptor instead.
func (*BatonServiceFinishTaskRequest) GetError ¶
func (x *BatonServiceFinishTaskRequest) GetError() *BatonServiceFinishTaskRequest_Error
func (*BatonServiceFinishTaskRequest) GetFinalState ¶
func (m *BatonServiceFinishTaskRequest) GetFinalState() isBatonServiceFinishTaskRequest_FinalState
func (*BatonServiceFinishTaskRequest) GetHostId ¶
func (x *BatonServiceFinishTaskRequest) GetHostId() string
func (*BatonServiceFinishTaskRequest) GetStatus ¶
func (x *BatonServiceFinishTaskRequest) GetStatus() *status.Status
func (*BatonServiceFinishTaskRequest) GetSuccess ¶
func (x *BatonServiceFinishTaskRequest) GetSuccess() *BatonServiceFinishTaskRequest_Success
func (*BatonServiceFinishTaskRequest) GetTaskId ¶
func (x *BatonServiceFinishTaskRequest) GetTaskId() string
func (*BatonServiceFinishTaskRequest) ProtoMessage ¶
func (*BatonServiceFinishTaskRequest) ProtoMessage()
func (*BatonServiceFinishTaskRequest) ProtoReflect ¶
func (x *BatonServiceFinishTaskRequest) ProtoReflect() protoreflect.Message
func (*BatonServiceFinishTaskRequest) Reset ¶
func (x *BatonServiceFinishTaskRequest) Reset()
func (*BatonServiceFinishTaskRequest) String ¶
func (x *BatonServiceFinishTaskRequest) String() string
func (*BatonServiceFinishTaskRequest) Validate ¶
func (m *BatonServiceFinishTaskRequest) Validate() error
Validate checks the field values on BatonServiceFinishTaskRequest 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 (*BatonServiceFinishTaskRequest) ValidateAll ¶
func (m *BatonServiceFinishTaskRequest) ValidateAll() error
ValidateAll checks the field values on BatonServiceFinishTaskRequest 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 BatonServiceFinishTaskRequestMultiError, or nil if none found.
type BatonServiceFinishTaskRequestMultiError ¶
type BatonServiceFinishTaskRequestMultiError []error
BatonServiceFinishTaskRequestMultiError is an error wrapping multiple validation errors returned by BatonServiceFinishTaskRequest.ValidateAll() if the designated constraints aren't met.
func (BatonServiceFinishTaskRequestMultiError) AllErrors ¶
func (m BatonServiceFinishTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceFinishTaskRequestMultiError) Error ¶
func (m BatonServiceFinishTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceFinishTaskRequestValidationError ¶
type BatonServiceFinishTaskRequestValidationError struct {
// contains filtered or unexported fields
}
BatonServiceFinishTaskRequestValidationError is the validation error returned by BatonServiceFinishTaskRequest.Validate if the designated constraints aren't met.
func (BatonServiceFinishTaskRequestValidationError) Cause ¶
func (e BatonServiceFinishTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceFinishTaskRequestValidationError) Error ¶
func (e BatonServiceFinishTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceFinishTaskRequestValidationError) ErrorName ¶
func (e BatonServiceFinishTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceFinishTaskRequestValidationError) Field ¶
func (e BatonServiceFinishTaskRequestValidationError) Field() string
Field function returns field value.
func (BatonServiceFinishTaskRequestValidationError) Key ¶
func (e BatonServiceFinishTaskRequestValidationError) Key() bool
Key function returns key value.
func (BatonServiceFinishTaskRequestValidationError) Reason ¶
func (e BatonServiceFinishTaskRequestValidationError) Reason() string
Reason function returns reason value.
type BatonServiceFinishTaskRequest_Error ¶
type BatonServiceFinishTaskRequest_Error struct { NonRetryable bool `protobuf:"varint,1,opt,name=non_retryable,json=nonRetryable,proto3" json:"non_retryable,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // The response from the connector, if any. Response *anypb.Any `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceFinishTaskRequest_Error) Descriptor
deprecated
func (*BatonServiceFinishTaskRequest_Error) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceFinishTaskRequest_Error.ProtoReflect.Descriptor instead.
func (*BatonServiceFinishTaskRequest_Error) GetAnnotations ¶
func (x *BatonServiceFinishTaskRequest_Error) GetAnnotations() []*anypb.Any
func (*BatonServiceFinishTaskRequest_Error) GetNonRetryable ¶
func (x *BatonServiceFinishTaskRequest_Error) GetNonRetryable() bool
func (*BatonServiceFinishTaskRequest_Error) GetResponse ¶ added in v0.1.15
func (x *BatonServiceFinishTaskRequest_Error) GetResponse() *anypb.Any
func (*BatonServiceFinishTaskRequest_Error) ProtoMessage ¶
func (*BatonServiceFinishTaskRequest_Error) ProtoMessage()
func (*BatonServiceFinishTaskRequest_Error) ProtoReflect ¶
func (x *BatonServiceFinishTaskRequest_Error) ProtoReflect() protoreflect.Message
func (*BatonServiceFinishTaskRequest_Error) Reset ¶
func (x *BatonServiceFinishTaskRequest_Error) Reset()
func (*BatonServiceFinishTaskRequest_Error) String ¶
func (x *BatonServiceFinishTaskRequest_Error) String() string
func (*BatonServiceFinishTaskRequest_Error) Validate ¶
func (m *BatonServiceFinishTaskRequest_Error) Validate() error
Validate checks the field values on BatonServiceFinishTaskRequest_Error 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 (*BatonServiceFinishTaskRequest_Error) ValidateAll ¶
func (m *BatonServiceFinishTaskRequest_Error) ValidateAll() error
ValidateAll checks the field values on BatonServiceFinishTaskRequest_Error 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 BatonServiceFinishTaskRequest_ErrorMultiError, or nil if none found.
type BatonServiceFinishTaskRequest_ErrorMultiError ¶
type BatonServiceFinishTaskRequest_ErrorMultiError []error
BatonServiceFinishTaskRequest_ErrorMultiError is an error wrapping multiple validation errors returned by BatonServiceFinishTaskRequest_Error.ValidateAll() if the designated constraints aren't met.
func (BatonServiceFinishTaskRequest_ErrorMultiError) AllErrors ¶
func (m BatonServiceFinishTaskRequest_ErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceFinishTaskRequest_ErrorMultiError) Error ¶
func (m BatonServiceFinishTaskRequest_ErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceFinishTaskRequest_ErrorValidationError ¶
type BatonServiceFinishTaskRequest_ErrorValidationError struct {
// contains filtered or unexported fields
}
BatonServiceFinishTaskRequest_ErrorValidationError is the validation error returned by BatonServiceFinishTaskRequest_Error.Validate if the designated constraints aren't met.
func (BatonServiceFinishTaskRequest_ErrorValidationError) Cause ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceFinishTaskRequest_ErrorValidationError) Error ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceFinishTaskRequest_ErrorValidationError) ErrorName ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceFinishTaskRequest_ErrorValidationError) Field ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) Field() string
Field function returns field value.
func (BatonServiceFinishTaskRequest_ErrorValidationError) Key ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) Key() bool
Key function returns key value.
func (BatonServiceFinishTaskRequest_ErrorValidationError) Reason ¶
func (e BatonServiceFinishTaskRequest_ErrorValidationError) Reason() string
Reason function returns reason value.
type BatonServiceFinishTaskRequest_Error_ ¶
type BatonServiceFinishTaskRequest_Error_ struct {
Error *BatonServiceFinishTaskRequest_Error `protobuf:"bytes,100,opt,name=error,proto3,oneof"`
}
type BatonServiceFinishTaskRequest_Success ¶
type BatonServiceFinishTaskRequest_Success struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // The response from the connector, if any. Response *anypb.Any `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceFinishTaskRequest_Success) Descriptor
deprecated
func (*BatonServiceFinishTaskRequest_Success) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceFinishTaskRequest_Success.ProtoReflect.Descriptor instead.
func (*BatonServiceFinishTaskRequest_Success) GetAnnotations ¶
func (x *BatonServiceFinishTaskRequest_Success) GetAnnotations() []*anypb.Any
func (*BatonServiceFinishTaskRequest_Success) GetResponse ¶ added in v0.1.15
func (x *BatonServiceFinishTaskRequest_Success) GetResponse() *anypb.Any
func (*BatonServiceFinishTaskRequest_Success) ProtoMessage ¶
func (*BatonServiceFinishTaskRequest_Success) ProtoMessage()
func (*BatonServiceFinishTaskRequest_Success) ProtoReflect ¶
func (x *BatonServiceFinishTaskRequest_Success) ProtoReflect() protoreflect.Message
func (*BatonServiceFinishTaskRequest_Success) Reset ¶
func (x *BatonServiceFinishTaskRequest_Success) Reset()
func (*BatonServiceFinishTaskRequest_Success) String ¶
func (x *BatonServiceFinishTaskRequest_Success) String() string
func (*BatonServiceFinishTaskRequest_Success) Validate ¶
func (m *BatonServiceFinishTaskRequest_Success) Validate() error
Validate checks the field values on BatonServiceFinishTaskRequest_Success 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 (*BatonServiceFinishTaskRequest_Success) ValidateAll ¶
func (m *BatonServiceFinishTaskRequest_Success) ValidateAll() error
ValidateAll checks the field values on BatonServiceFinishTaskRequest_Success 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 BatonServiceFinishTaskRequest_SuccessMultiError, or nil if none found.
type BatonServiceFinishTaskRequest_SuccessMultiError ¶
type BatonServiceFinishTaskRequest_SuccessMultiError []error
BatonServiceFinishTaskRequest_SuccessMultiError is an error wrapping multiple validation errors returned by BatonServiceFinishTaskRequest_Success.ValidateAll() if the designated constraints aren't met.
func (BatonServiceFinishTaskRequest_SuccessMultiError) AllErrors ¶
func (m BatonServiceFinishTaskRequest_SuccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceFinishTaskRequest_SuccessMultiError) Error ¶
func (m BatonServiceFinishTaskRequest_SuccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceFinishTaskRequest_SuccessValidationError ¶
type BatonServiceFinishTaskRequest_SuccessValidationError struct {
// contains filtered or unexported fields
}
BatonServiceFinishTaskRequest_SuccessValidationError is the validation error returned by BatonServiceFinishTaskRequest_Success.Validate if the designated constraints aren't met.
func (BatonServiceFinishTaskRequest_SuccessValidationError) Cause ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceFinishTaskRequest_SuccessValidationError) Error ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceFinishTaskRequest_SuccessValidationError) ErrorName ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceFinishTaskRequest_SuccessValidationError) Field ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) Field() string
Field function returns field value.
func (BatonServiceFinishTaskRequest_SuccessValidationError) Key ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) Key() bool
Key function returns key value.
func (BatonServiceFinishTaskRequest_SuccessValidationError) Reason ¶
func (e BatonServiceFinishTaskRequest_SuccessValidationError) Reason() string
Reason function returns reason value.
type BatonServiceFinishTaskRequest_Success_ ¶
type BatonServiceFinishTaskRequest_Success_ struct {
Success *BatonServiceFinishTaskRequest_Success `protobuf:"bytes,101,opt,name=success,proto3,oneof"`
}
type BatonServiceFinishTaskResponse ¶
type BatonServiceFinishTaskResponse struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceFinishTaskResponse) Descriptor
deprecated
func (*BatonServiceFinishTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceFinishTaskResponse.ProtoReflect.Descriptor instead.
func (*BatonServiceFinishTaskResponse) GetAnnotations ¶
func (x *BatonServiceFinishTaskResponse) GetAnnotations() []*anypb.Any
func (*BatonServiceFinishTaskResponse) ProtoMessage ¶
func (*BatonServiceFinishTaskResponse) ProtoMessage()
func (*BatonServiceFinishTaskResponse) ProtoReflect ¶
func (x *BatonServiceFinishTaskResponse) ProtoReflect() protoreflect.Message
func (*BatonServiceFinishTaskResponse) Reset ¶
func (x *BatonServiceFinishTaskResponse) Reset()
func (*BatonServiceFinishTaskResponse) String ¶
func (x *BatonServiceFinishTaskResponse) String() string
func (*BatonServiceFinishTaskResponse) Validate ¶
func (m *BatonServiceFinishTaskResponse) Validate() error
Validate checks the field values on BatonServiceFinishTaskResponse 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 (*BatonServiceFinishTaskResponse) ValidateAll ¶
func (m *BatonServiceFinishTaskResponse) ValidateAll() error
ValidateAll checks the field values on BatonServiceFinishTaskResponse 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 BatonServiceFinishTaskResponseMultiError, or nil if none found.
type BatonServiceFinishTaskResponseMultiError ¶
type BatonServiceFinishTaskResponseMultiError []error
BatonServiceFinishTaskResponseMultiError is an error wrapping multiple validation errors returned by BatonServiceFinishTaskResponse.ValidateAll() if the designated constraints aren't met.
func (BatonServiceFinishTaskResponseMultiError) AllErrors ¶
func (m BatonServiceFinishTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceFinishTaskResponseMultiError) Error ¶
func (m BatonServiceFinishTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceFinishTaskResponseValidationError ¶
type BatonServiceFinishTaskResponseValidationError struct {
// contains filtered or unexported fields
}
BatonServiceFinishTaskResponseValidationError is the validation error returned by BatonServiceFinishTaskResponse.Validate if the designated constraints aren't met.
func (BatonServiceFinishTaskResponseValidationError) Cause ¶
func (e BatonServiceFinishTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceFinishTaskResponseValidationError) Error ¶
func (e BatonServiceFinishTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceFinishTaskResponseValidationError) ErrorName ¶
func (e BatonServiceFinishTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceFinishTaskResponseValidationError) Field ¶
func (e BatonServiceFinishTaskResponseValidationError) Field() string
Field function returns field value.
func (BatonServiceFinishTaskResponseValidationError) Key ¶
func (e BatonServiceFinishTaskResponseValidationError) Key() bool
Key function returns key value.
func (BatonServiceFinishTaskResponseValidationError) Reason ¶
func (e BatonServiceFinishTaskResponseValidationError) Reason() string
Reason function returns reason value.
type BatonServiceGetTaskRequest ¶
type BatonServiceGetTaskRequest struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceGetTaskRequest) Descriptor
deprecated
func (*BatonServiceGetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceGetTaskRequest.ProtoReflect.Descriptor instead.
func (*BatonServiceGetTaskRequest) GetHostId ¶
func (x *BatonServiceGetTaskRequest) GetHostId() string
func (*BatonServiceGetTaskRequest) ProtoMessage ¶
func (*BatonServiceGetTaskRequest) ProtoMessage()
func (*BatonServiceGetTaskRequest) ProtoReflect ¶
func (x *BatonServiceGetTaskRequest) ProtoReflect() protoreflect.Message
func (*BatonServiceGetTaskRequest) Reset ¶
func (x *BatonServiceGetTaskRequest) Reset()
func (*BatonServiceGetTaskRequest) String ¶
func (x *BatonServiceGetTaskRequest) String() string
func (*BatonServiceGetTaskRequest) Validate ¶
func (m *BatonServiceGetTaskRequest) Validate() error
Validate checks the field values on BatonServiceGetTaskRequest 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 (*BatonServiceGetTaskRequest) ValidateAll ¶
func (m *BatonServiceGetTaskRequest) ValidateAll() error
ValidateAll checks the field values on BatonServiceGetTaskRequest 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 BatonServiceGetTaskRequestMultiError, or nil if none found.
type BatonServiceGetTaskRequestMultiError ¶
type BatonServiceGetTaskRequestMultiError []error
BatonServiceGetTaskRequestMultiError is an error wrapping multiple validation errors returned by BatonServiceGetTaskRequest.ValidateAll() if the designated constraints aren't met.
func (BatonServiceGetTaskRequestMultiError) AllErrors ¶
func (m BatonServiceGetTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceGetTaskRequestMultiError) Error ¶
func (m BatonServiceGetTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceGetTaskRequestValidationError ¶
type BatonServiceGetTaskRequestValidationError struct {
// contains filtered or unexported fields
}
BatonServiceGetTaskRequestValidationError is the validation error returned by BatonServiceGetTaskRequest.Validate if the designated constraints aren't met.
func (BatonServiceGetTaskRequestValidationError) Cause ¶
func (e BatonServiceGetTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceGetTaskRequestValidationError) Error ¶
func (e BatonServiceGetTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceGetTaskRequestValidationError) ErrorName ¶
func (e BatonServiceGetTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceGetTaskRequestValidationError) Field ¶
func (e BatonServiceGetTaskRequestValidationError) Field() string
Field function returns field value.
func (BatonServiceGetTaskRequestValidationError) Key ¶
func (e BatonServiceGetTaskRequestValidationError) Key() bool
Key function returns key value.
func (BatonServiceGetTaskRequestValidationError) Reason ¶
func (e BatonServiceGetTaskRequestValidationError) Reason() string
Reason function returns reason value.
type BatonServiceGetTaskResponse ¶
type BatonServiceGetTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` NextPoll *durationpb.Duration `protobuf:"bytes,2,opt,name=next_poll,json=nextPoll,proto3" json:"next_poll,omitempty"` NextHeartbeat *durationpb.Duration `protobuf:"bytes,3,opt,name=next_heartbeat,json=nextHeartbeat,proto3" json:"next_heartbeat,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceGetTaskResponse) Descriptor
deprecated
func (*BatonServiceGetTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceGetTaskResponse.ProtoReflect.Descriptor instead.
func (*BatonServiceGetTaskResponse) GetAnnotations ¶
func (x *BatonServiceGetTaskResponse) GetAnnotations() []*anypb.Any
func (*BatonServiceGetTaskResponse) GetNextHeartbeat ¶
func (x *BatonServiceGetTaskResponse) GetNextHeartbeat() *durationpb.Duration
func (*BatonServiceGetTaskResponse) GetNextPoll ¶
func (x *BatonServiceGetTaskResponse) GetNextPoll() *durationpb.Duration
func (*BatonServiceGetTaskResponse) GetTask ¶
func (x *BatonServiceGetTaskResponse) GetTask() *Task
func (*BatonServiceGetTaskResponse) ProtoMessage ¶
func (*BatonServiceGetTaskResponse) ProtoMessage()
func (*BatonServiceGetTaskResponse) ProtoReflect ¶
func (x *BatonServiceGetTaskResponse) ProtoReflect() protoreflect.Message
func (*BatonServiceGetTaskResponse) Reset ¶
func (x *BatonServiceGetTaskResponse) Reset()
func (*BatonServiceGetTaskResponse) String ¶
func (x *BatonServiceGetTaskResponse) String() string
func (*BatonServiceGetTaskResponse) Validate ¶
func (m *BatonServiceGetTaskResponse) Validate() error
Validate checks the field values on BatonServiceGetTaskResponse 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 (*BatonServiceGetTaskResponse) ValidateAll ¶
func (m *BatonServiceGetTaskResponse) ValidateAll() error
ValidateAll checks the field values on BatonServiceGetTaskResponse 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 BatonServiceGetTaskResponseMultiError, or nil if none found.
type BatonServiceGetTaskResponseMultiError ¶
type BatonServiceGetTaskResponseMultiError []error
BatonServiceGetTaskResponseMultiError is an error wrapping multiple validation errors returned by BatonServiceGetTaskResponse.ValidateAll() if the designated constraints aren't met.
func (BatonServiceGetTaskResponseMultiError) AllErrors ¶
func (m BatonServiceGetTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceGetTaskResponseMultiError) Error ¶
func (m BatonServiceGetTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceGetTaskResponseValidationError ¶
type BatonServiceGetTaskResponseValidationError struct {
// contains filtered or unexported fields
}
BatonServiceGetTaskResponseValidationError is the validation error returned by BatonServiceGetTaskResponse.Validate if the designated constraints aren't met.
func (BatonServiceGetTaskResponseValidationError) Cause ¶
func (e BatonServiceGetTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceGetTaskResponseValidationError) Error ¶
func (e BatonServiceGetTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceGetTaskResponseValidationError) ErrorName ¶
func (e BatonServiceGetTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceGetTaskResponseValidationError) Field ¶
func (e BatonServiceGetTaskResponseValidationError) Field() string
Field function returns field value.
func (BatonServiceGetTaskResponseValidationError) Key ¶
func (e BatonServiceGetTaskResponseValidationError) Key() bool
Key function returns key value.
func (BatonServiceGetTaskResponseValidationError) Reason ¶
func (e BatonServiceGetTaskResponseValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHeartbeatRequest ¶
type BatonServiceHeartbeatRequest struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // Useful for returning status updates on the task // contains filtered or unexported fields }
func (*BatonServiceHeartbeatRequest) Descriptor
deprecated
func (*BatonServiceHeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHeartbeatRequest.ProtoReflect.Descriptor instead.
func (*BatonServiceHeartbeatRequest) GetAnnotations ¶
func (x *BatonServiceHeartbeatRequest) GetAnnotations() []*anypb.Any
func (*BatonServiceHeartbeatRequest) GetHostId ¶
func (x *BatonServiceHeartbeatRequest) GetHostId() string
func (*BatonServiceHeartbeatRequest) GetTaskId ¶
func (x *BatonServiceHeartbeatRequest) GetTaskId() string
func (*BatonServiceHeartbeatRequest) ProtoMessage ¶
func (*BatonServiceHeartbeatRequest) ProtoMessage()
func (*BatonServiceHeartbeatRequest) ProtoReflect ¶
func (x *BatonServiceHeartbeatRequest) ProtoReflect() protoreflect.Message
func (*BatonServiceHeartbeatRequest) Reset ¶
func (x *BatonServiceHeartbeatRequest) Reset()
func (*BatonServiceHeartbeatRequest) String ¶
func (x *BatonServiceHeartbeatRequest) String() string
func (*BatonServiceHeartbeatRequest) Validate ¶
func (m *BatonServiceHeartbeatRequest) Validate() error
Validate checks the field values on BatonServiceHeartbeatRequest 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 (*BatonServiceHeartbeatRequest) ValidateAll ¶
func (m *BatonServiceHeartbeatRequest) ValidateAll() error
ValidateAll checks the field values on BatonServiceHeartbeatRequest 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 BatonServiceHeartbeatRequestMultiError, or nil if none found.
type BatonServiceHeartbeatRequestMultiError ¶
type BatonServiceHeartbeatRequestMultiError []error
BatonServiceHeartbeatRequestMultiError is an error wrapping multiple validation errors returned by BatonServiceHeartbeatRequest.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHeartbeatRequestMultiError) AllErrors ¶
func (m BatonServiceHeartbeatRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHeartbeatRequestMultiError) Error ¶
func (m BatonServiceHeartbeatRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHeartbeatRequestValidationError ¶
type BatonServiceHeartbeatRequestValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHeartbeatRequestValidationError is the validation error returned by BatonServiceHeartbeatRequest.Validate if the designated constraints aren't met.
func (BatonServiceHeartbeatRequestValidationError) Cause ¶
func (e BatonServiceHeartbeatRequestValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHeartbeatRequestValidationError) Error ¶
func (e BatonServiceHeartbeatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHeartbeatRequestValidationError) ErrorName ¶
func (e BatonServiceHeartbeatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHeartbeatRequestValidationError) Field ¶
func (e BatonServiceHeartbeatRequestValidationError) Field() string
Field function returns field value.
func (BatonServiceHeartbeatRequestValidationError) Key ¶
func (e BatonServiceHeartbeatRequestValidationError) Key() bool
Key function returns key value.
func (BatonServiceHeartbeatRequestValidationError) Reason ¶
func (e BatonServiceHeartbeatRequestValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHeartbeatResponse ¶
type BatonServiceHeartbeatResponse struct { NextHeartbeat *durationpb.Duration `protobuf:"bytes,1,opt,name=next_heartbeat,json=nextHeartbeat,proto3" json:"next_heartbeat,omitempty"` Cancelled bool `protobuf:"varint,2,opt,name=cancelled,proto3" json:"cancelled,omitempty"` // Backend has decided that we should stop working on this Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceHeartbeatResponse) Descriptor
deprecated
func (*BatonServiceHeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHeartbeatResponse.ProtoReflect.Descriptor instead.
func (*BatonServiceHeartbeatResponse) GetAnnotations ¶
func (x *BatonServiceHeartbeatResponse) GetAnnotations() []*anypb.Any
func (*BatonServiceHeartbeatResponse) GetCancelled ¶
func (x *BatonServiceHeartbeatResponse) GetCancelled() bool
func (*BatonServiceHeartbeatResponse) GetNextHeartbeat ¶
func (x *BatonServiceHeartbeatResponse) GetNextHeartbeat() *durationpb.Duration
func (*BatonServiceHeartbeatResponse) ProtoMessage ¶
func (*BatonServiceHeartbeatResponse) ProtoMessage()
func (*BatonServiceHeartbeatResponse) ProtoReflect ¶
func (x *BatonServiceHeartbeatResponse) ProtoReflect() protoreflect.Message
func (*BatonServiceHeartbeatResponse) Reset ¶
func (x *BatonServiceHeartbeatResponse) Reset()
func (*BatonServiceHeartbeatResponse) String ¶
func (x *BatonServiceHeartbeatResponse) String() string
func (*BatonServiceHeartbeatResponse) Validate ¶
func (m *BatonServiceHeartbeatResponse) Validate() error
Validate checks the field values on BatonServiceHeartbeatResponse 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 (*BatonServiceHeartbeatResponse) ValidateAll ¶
func (m *BatonServiceHeartbeatResponse) ValidateAll() error
ValidateAll checks the field values on BatonServiceHeartbeatResponse 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 BatonServiceHeartbeatResponseMultiError, or nil if none found.
type BatonServiceHeartbeatResponseMultiError ¶
type BatonServiceHeartbeatResponseMultiError []error
BatonServiceHeartbeatResponseMultiError is an error wrapping multiple validation errors returned by BatonServiceHeartbeatResponse.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHeartbeatResponseMultiError) AllErrors ¶
func (m BatonServiceHeartbeatResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHeartbeatResponseMultiError) Error ¶
func (m BatonServiceHeartbeatResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHeartbeatResponseValidationError ¶
type BatonServiceHeartbeatResponseValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHeartbeatResponseValidationError is the validation error returned by BatonServiceHeartbeatResponse.Validate if the designated constraints aren't met.
func (BatonServiceHeartbeatResponseValidationError) Cause ¶
func (e BatonServiceHeartbeatResponseValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHeartbeatResponseValidationError) Error ¶
func (e BatonServiceHeartbeatResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHeartbeatResponseValidationError) ErrorName ¶
func (e BatonServiceHeartbeatResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHeartbeatResponseValidationError) Field ¶
func (e BatonServiceHeartbeatResponseValidationError) Field() string
Field function returns field value.
func (BatonServiceHeartbeatResponseValidationError) Key ¶
func (e BatonServiceHeartbeatResponseValidationError) Key() bool
Key function returns key value.
func (BatonServiceHeartbeatResponseValidationError) Reason ¶
func (e BatonServiceHeartbeatResponseValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHelloRequest ¶
type BatonServiceHelloRequest struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // You may say Hello anytime, but if you are responding to a task, you must provide the task_id BuildInfo *BatonServiceHelloRequest_BuildInfo `protobuf:"bytes,3,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"` OsInfo *BatonServiceHelloRequest_OSInfo `protobuf:"bytes,4,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"` ConnectorMetadata *v2.ConnectorMetadata `protobuf:"bytes,5,opt,name=connector_metadata,json=connectorMetadata,proto3" json:"connector_metadata,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceHelloRequest) Descriptor
deprecated
func (*BatonServiceHelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHelloRequest.ProtoReflect.Descriptor instead.
func (*BatonServiceHelloRequest) GetAnnotations ¶
func (x *BatonServiceHelloRequest) GetAnnotations() []*anypb.Any
func (*BatonServiceHelloRequest) GetBuildInfo ¶
func (x *BatonServiceHelloRequest) GetBuildInfo() *BatonServiceHelloRequest_BuildInfo
func (*BatonServiceHelloRequest) GetConnectorMetadata ¶
func (x *BatonServiceHelloRequest) GetConnectorMetadata() *v2.ConnectorMetadata
func (*BatonServiceHelloRequest) GetHostId ¶
func (x *BatonServiceHelloRequest) GetHostId() string
func (*BatonServiceHelloRequest) GetOsInfo ¶
func (x *BatonServiceHelloRequest) GetOsInfo() *BatonServiceHelloRequest_OSInfo
func (*BatonServiceHelloRequest) GetTaskId ¶
func (x *BatonServiceHelloRequest) GetTaskId() string
func (*BatonServiceHelloRequest) ProtoMessage ¶
func (*BatonServiceHelloRequest) ProtoMessage()
func (*BatonServiceHelloRequest) ProtoReflect ¶
func (x *BatonServiceHelloRequest) ProtoReflect() protoreflect.Message
func (*BatonServiceHelloRequest) Reset ¶
func (x *BatonServiceHelloRequest) Reset()
func (*BatonServiceHelloRequest) String ¶
func (x *BatonServiceHelloRequest) String() string
func (*BatonServiceHelloRequest) Validate ¶
func (m *BatonServiceHelloRequest) Validate() error
Validate checks the field values on BatonServiceHelloRequest 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 (*BatonServiceHelloRequest) ValidateAll ¶
func (m *BatonServiceHelloRequest) ValidateAll() error
ValidateAll checks the field values on BatonServiceHelloRequest 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 BatonServiceHelloRequestMultiError, or nil if none found.
type BatonServiceHelloRequestMultiError ¶
type BatonServiceHelloRequestMultiError []error
BatonServiceHelloRequestMultiError is an error wrapping multiple validation errors returned by BatonServiceHelloRequest.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHelloRequestMultiError) AllErrors ¶
func (m BatonServiceHelloRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHelloRequestMultiError) Error ¶
func (m BatonServiceHelloRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHelloRequestValidationError ¶
type BatonServiceHelloRequestValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHelloRequestValidationError is the validation error returned by BatonServiceHelloRequest.Validate if the designated constraints aren't met.
func (BatonServiceHelloRequestValidationError) Cause ¶
func (e BatonServiceHelloRequestValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHelloRequestValidationError) Error ¶
func (e BatonServiceHelloRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHelloRequestValidationError) ErrorName ¶
func (e BatonServiceHelloRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHelloRequestValidationError) Field ¶
func (e BatonServiceHelloRequestValidationError) Field() string
Field function returns field value.
func (BatonServiceHelloRequestValidationError) Key ¶
func (e BatonServiceHelloRequestValidationError) Key() bool
Key function returns key value.
func (BatonServiceHelloRequestValidationError) Reason ¶
func (e BatonServiceHelloRequestValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHelloRequest_BuildInfo ¶
type BatonServiceHelloRequest_BuildInfo struct { LangVersion string `protobuf:"bytes,1,opt,name=lang_version,json=langVersion,proto3" json:"lang_version,omitempty"` Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` PackageVersion string `protobuf:"bytes,3,opt,name=package_version,json=packageVersion,proto3" json:"package_version,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceHelloRequest_BuildInfo) Descriptor
deprecated
func (*BatonServiceHelloRequest_BuildInfo) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHelloRequest_BuildInfo.ProtoReflect.Descriptor instead.
func (*BatonServiceHelloRequest_BuildInfo) GetLangVersion ¶
func (x *BatonServiceHelloRequest_BuildInfo) GetLangVersion() string
func (*BatonServiceHelloRequest_BuildInfo) GetPackage ¶
func (x *BatonServiceHelloRequest_BuildInfo) GetPackage() string
func (*BatonServiceHelloRequest_BuildInfo) GetPackageVersion ¶
func (x *BatonServiceHelloRequest_BuildInfo) GetPackageVersion() string
func (*BatonServiceHelloRequest_BuildInfo) ProtoMessage ¶
func (*BatonServiceHelloRequest_BuildInfo) ProtoMessage()
func (*BatonServiceHelloRequest_BuildInfo) ProtoReflect ¶
func (x *BatonServiceHelloRequest_BuildInfo) ProtoReflect() protoreflect.Message
func (*BatonServiceHelloRequest_BuildInfo) Reset ¶
func (x *BatonServiceHelloRequest_BuildInfo) Reset()
func (*BatonServiceHelloRequest_BuildInfo) String ¶
func (x *BatonServiceHelloRequest_BuildInfo) String() string
func (*BatonServiceHelloRequest_BuildInfo) Validate ¶
func (m *BatonServiceHelloRequest_BuildInfo) Validate() error
Validate checks the field values on BatonServiceHelloRequest_BuildInfo 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 (*BatonServiceHelloRequest_BuildInfo) ValidateAll ¶
func (m *BatonServiceHelloRequest_BuildInfo) ValidateAll() error
ValidateAll checks the field values on BatonServiceHelloRequest_BuildInfo 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 BatonServiceHelloRequest_BuildInfoMultiError, or nil if none found.
type BatonServiceHelloRequest_BuildInfoMultiError ¶
type BatonServiceHelloRequest_BuildInfoMultiError []error
BatonServiceHelloRequest_BuildInfoMultiError is an error wrapping multiple validation errors returned by BatonServiceHelloRequest_BuildInfo.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHelloRequest_BuildInfoMultiError) AllErrors ¶
func (m BatonServiceHelloRequest_BuildInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHelloRequest_BuildInfoMultiError) Error ¶
func (m BatonServiceHelloRequest_BuildInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHelloRequest_BuildInfoValidationError ¶
type BatonServiceHelloRequest_BuildInfoValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHelloRequest_BuildInfoValidationError is the validation error returned by BatonServiceHelloRequest_BuildInfo.Validate if the designated constraints aren't met.
func (BatonServiceHelloRequest_BuildInfoValidationError) Cause ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHelloRequest_BuildInfoValidationError) Error ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHelloRequest_BuildInfoValidationError) ErrorName ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHelloRequest_BuildInfoValidationError) Field ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) Field() string
Field function returns field value.
func (BatonServiceHelloRequest_BuildInfoValidationError) Key ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) Key() bool
Key function returns key value.
func (BatonServiceHelloRequest_BuildInfoValidationError) Reason ¶
func (e BatonServiceHelloRequest_BuildInfoValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHelloRequest_OSInfo ¶
type BatonServiceHelloRequest_OSInfo struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` PlatformVersion string `protobuf:"bytes,4,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"` PlatformFamily string `protobuf:"bytes,5,opt,name=platform_family,json=platformFamily,proto3" json:"platform_family,omitempty"` KernelVersion string `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"` KernelArch string `protobuf:"bytes,7,opt,name=kernel_arch,json=kernelArch,proto3" json:"kernel_arch,omitempty"` VirtualizationSystem string `protobuf:"bytes,8,opt,name=virtualization_system,json=virtualizationSystem,proto3" json:"virtualization_system,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceHelloRequest_OSInfo) Descriptor
deprecated
func (*BatonServiceHelloRequest_OSInfo) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHelloRequest_OSInfo.ProtoReflect.Descriptor instead.
func (*BatonServiceHelloRequest_OSInfo) GetHostname ¶
func (x *BatonServiceHelloRequest_OSInfo) GetHostname() string
func (*BatonServiceHelloRequest_OSInfo) GetKernelArch ¶
func (x *BatonServiceHelloRequest_OSInfo) GetKernelArch() string
func (*BatonServiceHelloRequest_OSInfo) GetKernelVersion ¶
func (x *BatonServiceHelloRequest_OSInfo) GetKernelVersion() string
func (*BatonServiceHelloRequest_OSInfo) GetOs ¶
func (x *BatonServiceHelloRequest_OSInfo) GetOs() string
func (*BatonServiceHelloRequest_OSInfo) GetPlatform ¶
func (x *BatonServiceHelloRequest_OSInfo) GetPlatform() string
func (*BatonServiceHelloRequest_OSInfo) GetPlatformFamily ¶
func (x *BatonServiceHelloRequest_OSInfo) GetPlatformFamily() string
func (*BatonServiceHelloRequest_OSInfo) GetPlatformVersion ¶
func (x *BatonServiceHelloRequest_OSInfo) GetPlatformVersion() string
func (*BatonServiceHelloRequest_OSInfo) GetVirtualizationSystem ¶
func (x *BatonServiceHelloRequest_OSInfo) GetVirtualizationSystem() string
func (*BatonServiceHelloRequest_OSInfo) ProtoMessage ¶
func (*BatonServiceHelloRequest_OSInfo) ProtoMessage()
func (*BatonServiceHelloRequest_OSInfo) ProtoReflect ¶
func (x *BatonServiceHelloRequest_OSInfo) ProtoReflect() protoreflect.Message
func (*BatonServiceHelloRequest_OSInfo) Reset ¶
func (x *BatonServiceHelloRequest_OSInfo) Reset()
func (*BatonServiceHelloRequest_OSInfo) String ¶
func (x *BatonServiceHelloRequest_OSInfo) String() string
func (*BatonServiceHelloRequest_OSInfo) Validate ¶
func (m *BatonServiceHelloRequest_OSInfo) Validate() error
Validate checks the field values on BatonServiceHelloRequest_OSInfo 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 (*BatonServiceHelloRequest_OSInfo) ValidateAll ¶
func (m *BatonServiceHelloRequest_OSInfo) ValidateAll() error
ValidateAll checks the field values on BatonServiceHelloRequest_OSInfo 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 BatonServiceHelloRequest_OSInfoMultiError, or nil if none found.
type BatonServiceHelloRequest_OSInfoMultiError ¶
type BatonServiceHelloRequest_OSInfoMultiError []error
BatonServiceHelloRequest_OSInfoMultiError is an error wrapping multiple validation errors returned by BatonServiceHelloRequest_OSInfo.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHelloRequest_OSInfoMultiError) AllErrors ¶
func (m BatonServiceHelloRequest_OSInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHelloRequest_OSInfoMultiError) Error ¶
func (m BatonServiceHelloRequest_OSInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHelloRequest_OSInfoValidationError ¶
type BatonServiceHelloRequest_OSInfoValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHelloRequest_OSInfoValidationError is the validation error returned by BatonServiceHelloRequest_OSInfo.Validate if the designated constraints aren't met.
func (BatonServiceHelloRequest_OSInfoValidationError) Cause ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHelloRequest_OSInfoValidationError) Error ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHelloRequest_OSInfoValidationError) ErrorName ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHelloRequest_OSInfoValidationError) Field ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) Field() string
Field function returns field value.
func (BatonServiceHelloRequest_OSInfoValidationError) Key ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) Key() bool
Key function returns key value.
func (BatonServiceHelloRequest_OSInfoValidationError) Reason ¶
func (e BatonServiceHelloRequest_OSInfoValidationError) Reason() string
Reason function returns reason value.
type BatonServiceHelloResponse ¶
type BatonServiceHelloResponse struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceHelloResponse) Descriptor
deprecated
func (*BatonServiceHelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceHelloResponse.ProtoReflect.Descriptor instead.
func (*BatonServiceHelloResponse) GetAnnotations ¶
func (x *BatonServiceHelloResponse) GetAnnotations() []*anypb.Any
func (*BatonServiceHelloResponse) ProtoMessage ¶
func (*BatonServiceHelloResponse) ProtoMessage()
func (*BatonServiceHelloResponse) ProtoReflect ¶
func (x *BatonServiceHelloResponse) ProtoReflect() protoreflect.Message
func (*BatonServiceHelloResponse) Reset ¶
func (x *BatonServiceHelloResponse) Reset()
func (*BatonServiceHelloResponse) String ¶
func (x *BatonServiceHelloResponse) String() string
func (*BatonServiceHelloResponse) Validate ¶
func (m *BatonServiceHelloResponse) Validate() error
Validate checks the field values on BatonServiceHelloResponse 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 (*BatonServiceHelloResponse) ValidateAll ¶
func (m *BatonServiceHelloResponse) ValidateAll() error
ValidateAll checks the field values on BatonServiceHelloResponse 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 BatonServiceHelloResponseMultiError, or nil if none found.
type BatonServiceHelloResponseMultiError ¶
type BatonServiceHelloResponseMultiError []error
BatonServiceHelloResponseMultiError is an error wrapping multiple validation errors returned by BatonServiceHelloResponse.ValidateAll() if the designated constraints aren't met.
func (BatonServiceHelloResponseMultiError) AllErrors ¶
func (m BatonServiceHelloResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceHelloResponseMultiError) Error ¶
func (m BatonServiceHelloResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceHelloResponseValidationError ¶
type BatonServiceHelloResponseValidationError struct {
// contains filtered or unexported fields
}
BatonServiceHelloResponseValidationError is the validation error returned by BatonServiceHelloResponse.Validate if the designated constraints aren't met.
func (BatonServiceHelloResponseValidationError) Cause ¶
func (e BatonServiceHelloResponseValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceHelloResponseValidationError) Error ¶
func (e BatonServiceHelloResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceHelloResponseValidationError) ErrorName ¶
func (e BatonServiceHelloResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceHelloResponseValidationError) Field ¶
func (e BatonServiceHelloResponseValidationError) Field() string
Field function returns field value.
func (BatonServiceHelloResponseValidationError) Key ¶
func (e BatonServiceHelloResponseValidationError) Key() bool
Key function returns key value.
func (BatonServiceHelloResponseValidationError) Reason ¶
func (e BatonServiceHelloResponseValidationError) Reason() string
Reason function returns reason value.
type BatonServiceServer ¶
type BatonServiceServer interface { Hello(context.Context, *BatonServiceHelloRequest) (*BatonServiceHelloResponse, error) GetTask(context.Context, *BatonServiceGetTaskRequest) (*BatonServiceGetTaskResponse, error) Heartbeat(context.Context, *BatonServiceHeartbeatRequest) (*BatonServiceHeartbeatResponse, error) FinishTask(context.Context, *BatonServiceFinishTaskRequest) (*BatonServiceFinishTaskResponse, error) UploadAsset(BatonService_UploadAssetServer) error }
BatonServiceServer is the server API for BatonService service. All implementations should embed UnimplementedBatonServiceServer for forward compatibility
type BatonServiceUploadAssetRequest ¶
type BatonServiceUploadAssetRequest struct { // Types that are assignable to Msg: // // *BatonServiceUploadAssetRequest_Metadata // *BatonServiceUploadAssetRequest_Data // *BatonServiceUploadAssetRequest_Eof Msg isBatonServiceUploadAssetRequest_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*BatonServiceUploadAssetRequest) Descriptor
deprecated
func (*BatonServiceUploadAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceUploadAssetRequest.ProtoReflect.Descriptor instead.
func (*BatonServiceUploadAssetRequest) GetData ¶
func (x *BatonServiceUploadAssetRequest) GetData() *BatonServiceUploadAssetRequest_UploadData
func (*BatonServiceUploadAssetRequest) GetEof ¶
func (x *BatonServiceUploadAssetRequest) GetEof() *BatonServiceUploadAssetRequest_UploadEOF
func (*BatonServiceUploadAssetRequest) GetMetadata ¶
func (x *BatonServiceUploadAssetRequest) GetMetadata() *BatonServiceUploadAssetRequest_UploadMetadata
func (*BatonServiceUploadAssetRequest) GetMsg ¶
func (m *BatonServiceUploadAssetRequest) GetMsg() isBatonServiceUploadAssetRequest_Msg
func (*BatonServiceUploadAssetRequest) ProtoMessage ¶
func (*BatonServiceUploadAssetRequest) ProtoMessage()
func (*BatonServiceUploadAssetRequest) ProtoReflect ¶
func (x *BatonServiceUploadAssetRequest) ProtoReflect() protoreflect.Message
func (*BatonServiceUploadAssetRequest) Reset ¶
func (x *BatonServiceUploadAssetRequest) Reset()
func (*BatonServiceUploadAssetRequest) String ¶
func (x *BatonServiceUploadAssetRequest) String() string
func (*BatonServiceUploadAssetRequest) Validate ¶
func (m *BatonServiceUploadAssetRequest) Validate() error
Validate checks the field values on BatonServiceUploadAssetRequest 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 (*BatonServiceUploadAssetRequest) ValidateAll ¶
func (m *BatonServiceUploadAssetRequest) ValidateAll() error
ValidateAll checks the field values on BatonServiceUploadAssetRequest 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 BatonServiceUploadAssetRequestMultiError, or nil if none found.
type BatonServiceUploadAssetRequestMultiError ¶
type BatonServiceUploadAssetRequestMultiError []error
BatonServiceUploadAssetRequestMultiError is an error wrapping multiple validation errors returned by BatonServiceUploadAssetRequest.ValidateAll() if the designated constraints aren't met.
func (BatonServiceUploadAssetRequestMultiError) AllErrors ¶
func (m BatonServiceUploadAssetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceUploadAssetRequestMultiError) Error ¶
func (m BatonServiceUploadAssetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceUploadAssetRequestValidationError ¶
type BatonServiceUploadAssetRequestValidationError struct {
// contains filtered or unexported fields
}
BatonServiceUploadAssetRequestValidationError is the validation error returned by BatonServiceUploadAssetRequest.Validate if the designated constraints aren't met.
func (BatonServiceUploadAssetRequestValidationError) Cause ¶
func (e BatonServiceUploadAssetRequestValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceUploadAssetRequestValidationError) Error ¶
func (e BatonServiceUploadAssetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceUploadAssetRequestValidationError) ErrorName ¶
func (e BatonServiceUploadAssetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceUploadAssetRequestValidationError) Field ¶
func (e BatonServiceUploadAssetRequestValidationError) Field() string
Field function returns field value.
func (BatonServiceUploadAssetRequestValidationError) Key ¶
func (e BatonServiceUploadAssetRequestValidationError) Key() bool
Key function returns key value.
func (BatonServiceUploadAssetRequestValidationError) Reason ¶
func (e BatonServiceUploadAssetRequestValidationError) Reason() string
Reason function returns reason value.
type BatonServiceUploadAssetRequest_Data ¶
type BatonServiceUploadAssetRequest_Data struct {
Data *BatonServiceUploadAssetRequest_UploadData `protobuf:"bytes,101,opt,name=data,proto3,oneof"`
}
type BatonServiceUploadAssetRequest_Eof ¶
type BatonServiceUploadAssetRequest_Eof struct {
Eof *BatonServiceUploadAssetRequest_UploadEOF `protobuf:"bytes,102,opt,name=eof,proto3,oneof"`
}
type BatonServiceUploadAssetRequest_Metadata ¶
type BatonServiceUploadAssetRequest_Metadata struct {
Metadata *BatonServiceUploadAssetRequest_UploadMetadata `protobuf:"bytes,100,opt,name=metadata,proto3,oneof"`
}
type BatonServiceUploadAssetRequest_UploadData ¶
type BatonServiceUploadAssetRequest_UploadData struct { // 1MB limit Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceUploadAssetRequest_UploadData) Descriptor
deprecated
func (*BatonServiceUploadAssetRequest_UploadData) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceUploadAssetRequest_UploadData.ProtoReflect.Descriptor instead.
func (*BatonServiceUploadAssetRequest_UploadData) GetData ¶
func (x *BatonServiceUploadAssetRequest_UploadData) GetData() []byte
func (*BatonServiceUploadAssetRequest_UploadData) ProtoMessage ¶
func (*BatonServiceUploadAssetRequest_UploadData) ProtoMessage()
func (*BatonServiceUploadAssetRequest_UploadData) ProtoReflect ¶
func (x *BatonServiceUploadAssetRequest_UploadData) ProtoReflect() protoreflect.Message
func (*BatonServiceUploadAssetRequest_UploadData) Reset ¶
func (x *BatonServiceUploadAssetRequest_UploadData) Reset()
func (*BatonServiceUploadAssetRequest_UploadData) String ¶
func (x *BatonServiceUploadAssetRequest_UploadData) String() string
func (*BatonServiceUploadAssetRequest_UploadData) Validate ¶
func (m *BatonServiceUploadAssetRequest_UploadData) Validate() error
Validate checks the field values on BatonServiceUploadAssetRequest_UploadData 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 (*BatonServiceUploadAssetRequest_UploadData) ValidateAll ¶
func (m *BatonServiceUploadAssetRequest_UploadData) ValidateAll() error
ValidateAll checks the field values on BatonServiceUploadAssetRequest_UploadData 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 BatonServiceUploadAssetRequest_UploadDataMultiError, or nil if none found.
type BatonServiceUploadAssetRequest_UploadDataMultiError ¶
type BatonServiceUploadAssetRequest_UploadDataMultiError []error
BatonServiceUploadAssetRequest_UploadDataMultiError is an error wrapping multiple validation errors returned by BatonServiceUploadAssetRequest_UploadData.ValidateAll() if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadDataMultiError) AllErrors ¶
func (m BatonServiceUploadAssetRequest_UploadDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceUploadAssetRequest_UploadDataMultiError) Error ¶
func (m BatonServiceUploadAssetRequest_UploadDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceUploadAssetRequest_UploadDataValidationError ¶
type BatonServiceUploadAssetRequest_UploadDataValidationError struct {
// contains filtered or unexported fields
}
BatonServiceUploadAssetRequest_UploadDataValidationError is the validation error returned by BatonServiceUploadAssetRequest_UploadData.Validate if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadDataValidationError) Cause ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceUploadAssetRequest_UploadDataValidationError) Error ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceUploadAssetRequest_UploadDataValidationError) ErrorName ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceUploadAssetRequest_UploadDataValidationError) Field ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Field() string
Field function returns field value.
func (BatonServiceUploadAssetRequest_UploadDataValidationError) Key ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Key() bool
Key function returns key value.
func (BatonServiceUploadAssetRequest_UploadDataValidationError) Reason ¶
func (e BatonServiceUploadAssetRequest_UploadDataValidationError) Reason() string
Reason function returns reason value.
type BatonServiceUploadAssetRequest_UploadEOF ¶
type BatonServiceUploadAssetRequest_UploadEOF struct { Sha256Checksum []byte `protobuf:"bytes,1,opt,name=sha256_checksum,json=sha256Checksum,proto3" json:"sha256_checksum,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceUploadAssetRequest_UploadEOF) Descriptor
deprecated
func (*BatonServiceUploadAssetRequest_UploadEOF) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceUploadAssetRequest_UploadEOF.ProtoReflect.Descriptor instead.
func (*BatonServiceUploadAssetRequest_UploadEOF) GetAnnotations ¶
func (x *BatonServiceUploadAssetRequest_UploadEOF) GetAnnotations() []*anypb.Any
func (*BatonServiceUploadAssetRequest_UploadEOF) GetSha256Checksum ¶
func (x *BatonServiceUploadAssetRequest_UploadEOF) GetSha256Checksum() []byte
func (*BatonServiceUploadAssetRequest_UploadEOF) ProtoMessage ¶
func (*BatonServiceUploadAssetRequest_UploadEOF) ProtoMessage()
func (*BatonServiceUploadAssetRequest_UploadEOF) ProtoReflect ¶
func (x *BatonServiceUploadAssetRequest_UploadEOF) ProtoReflect() protoreflect.Message
func (*BatonServiceUploadAssetRequest_UploadEOF) Reset ¶
func (x *BatonServiceUploadAssetRequest_UploadEOF) Reset()
func (*BatonServiceUploadAssetRequest_UploadEOF) String ¶
func (x *BatonServiceUploadAssetRequest_UploadEOF) String() string
func (*BatonServiceUploadAssetRequest_UploadEOF) Validate ¶
func (m *BatonServiceUploadAssetRequest_UploadEOF) Validate() error
Validate checks the field values on BatonServiceUploadAssetRequest_UploadEOF 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 (*BatonServiceUploadAssetRequest_UploadEOF) ValidateAll ¶
func (m *BatonServiceUploadAssetRequest_UploadEOF) ValidateAll() error
ValidateAll checks the field values on BatonServiceUploadAssetRequest_UploadEOF 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 BatonServiceUploadAssetRequest_UploadEOFMultiError, or nil if none found.
type BatonServiceUploadAssetRequest_UploadEOFMultiError ¶
type BatonServiceUploadAssetRequest_UploadEOFMultiError []error
BatonServiceUploadAssetRequest_UploadEOFMultiError is an error wrapping multiple validation errors returned by BatonServiceUploadAssetRequest_UploadEOF.ValidateAll() if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadEOFMultiError) AllErrors ¶
func (m BatonServiceUploadAssetRequest_UploadEOFMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceUploadAssetRequest_UploadEOFMultiError) Error ¶
func (m BatonServiceUploadAssetRequest_UploadEOFMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceUploadAssetRequest_UploadEOFValidationError ¶
type BatonServiceUploadAssetRequest_UploadEOFValidationError struct {
// contains filtered or unexported fields
}
BatonServiceUploadAssetRequest_UploadEOFValidationError is the validation error returned by BatonServiceUploadAssetRequest_UploadEOF.Validate if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) Cause ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) Error ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) ErrorName ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) Field ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Field() string
Field function returns field value.
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) Key ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Key() bool
Key function returns key value.
func (BatonServiceUploadAssetRequest_UploadEOFValidationError) Reason ¶
func (e BatonServiceUploadAssetRequest_UploadEOFValidationError) Reason() string
Reason function returns reason value.
type BatonServiceUploadAssetRequest_UploadMetadata ¶
type BatonServiceUploadAssetRequest_UploadMetadata struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceUploadAssetRequest_UploadMetadata) Descriptor
deprecated
func (*BatonServiceUploadAssetRequest_UploadMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceUploadAssetRequest_UploadMetadata.ProtoReflect.Descriptor instead.
func (*BatonServiceUploadAssetRequest_UploadMetadata) GetAnnotations ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetAnnotations() []*anypb.Any
func (*BatonServiceUploadAssetRequest_UploadMetadata) GetHostId ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetHostId() string
func (*BatonServiceUploadAssetRequest_UploadMetadata) GetTaskId ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) GetTaskId() string
func (*BatonServiceUploadAssetRequest_UploadMetadata) ProtoMessage ¶
func (*BatonServiceUploadAssetRequest_UploadMetadata) ProtoMessage()
func (*BatonServiceUploadAssetRequest_UploadMetadata) ProtoReflect ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) ProtoReflect() protoreflect.Message
func (*BatonServiceUploadAssetRequest_UploadMetadata) Reset ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) Reset()
func (*BatonServiceUploadAssetRequest_UploadMetadata) String ¶
func (x *BatonServiceUploadAssetRequest_UploadMetadata) String() string
func (*BatonServiceUploadAssetRequest_UploadMetadata) Validate ¶
func (m *BatonServiceUploadAssetRequest_UploadMetadata) Validate() error
Validate checks the field values on BatonServiceUploadAssetRequest_UploadMetadata 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 (*BatonServiceUploadAssetRequest_UploadMetadata) ValidateAll ¶
func (m *BatonServiceUploadAssetRequest_UploadMetadata) ValidateAll() error
ValidateAll checks the field values on BatonServiceUploadAssetRequest_UploadMetadata 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 BatonServiceUploadAssetRequest_UploadMetadataMultiError, or nil if none found.
type BatonServiceUploadAssetRequest_UploadMetadataMultiError ¶
type BatonServiceUploadAssetRequest_UploadMetadataMultiError []error
BatonServiceUploadAssetRequest_UploadMetadataMultiError is an error wrapping multiple validation errors returned by BatonServiceUploadAssetRequest_UploadMetadata.ValidateAll() if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadMetadataMultiError) AllErrors ¶
func (m BatonServiceUploadAssetRequest_UploadMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceUploadAssetRequest_UploadMetadataMultiError) Error ¶
func (m BatonServiceUploadAssetRequest_UploadMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceUploadAssetRequest_UploadMetadataValidationError ¶
type BatonServiceUploadAssetRequest_UploadMetadataValidationError struct {
// contains filtered or unexported fields
}
BatonServiceUploadAssetRequest_UploadMetadataValidationError is the validation error returned by BatonServiceUploadAssetRequest_UploadMetadata.Validate if the designated constraints aren't met.
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) Cause ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) Error ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) ErrorName ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) Field ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Field() string
Field function returns field value.
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) Key ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Key() bool
Key function returns key value.
func (BatonServiceUploadAssetRequest_UploadMetadataValidationError) Reason ¶
func (e BatonServiceUploadAssetRequest_UploadMetadataValidationError) Reason() string
Reason function returns reason value.
type BatonServiceUploadAssetResponse ¶
type BatonServiceUploadAssetResponse struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*BatonServiceUploadAssetResponse) Descriptor
deprecated
func (*BatonServiceUploadAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatonServiceUploadAssetResponse.ProtoReflect.Descriptor instead.
func (*BatonServiceUploadAssetResponse) GetAnnotations ¶
func (x *BatonServiceUploadAssetResponse) GetAnnotations() []*anypb.Any
func (*BatonServiceUploadAssetResponse) ProtoMessage ¶
func (*BatonServiceUploadAssetResponse) ProtoMessage()
func (*BatonServiceUploadAssetResponse) ProtoReflect ¶
func (x *BatonServiceUploadAssetResponse) ProtoReflect() protoreflect.Message
func (*BatonServiceUploadAssetResponse) Reset ¶
func (x *BatonServiceUploadAssetResponse) Reset()
func (*BatonServiceUploadAssetResponse) String ¶
func (x *BatonServiceUploadAssetResponse) String() string
func (*BatonServiceUploadAssetResponse) Validate ¶
func (m *BatonServiceUploadAssetResponse) Validate() error
Validate checks the field values on BatonServiceUploadAssetResponse 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 (*BatonServiceUploadAssetResponse) ValidateAll ¶
func (m *BatonServiceUploadAssetResponse) ValidateAll() error
ValidateAll checks the field values on BatonServiceUploadAssetResponse 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 BatonServiceUploadAssetResponseMultiError, or nil if none found.
type BatonServiceUploadAssetResponseMultiError ¶
type BatonServiceUploadAssetResponseMultiError []error
BatonServiceUploadAssetResponseMultiError is an error wrapping multiple validation errors returned by BatonServiceUploadAssetResponse.ValidateAll() if the designated constraints aren't met.
func (BatonServiceUploadAssetResponseMultiError) AllErrors ¶
func (m BatonServiceUploadAssetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatonServiceUploadAssetResponseMultiError) Error ¶
func (m BatonServiceUploadAssetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatonServiceUploadAssetResponseValidationError ¶
type BatonServiceUploadAssetResponseValidationError struct {
// contains filtered or unexported fields
}
BatonServiceUploadAssetResponseValidationError is the validation error returned by BatonServiceUploadAssetResponse.Validate if the designated constraints aren't met.
func (BatonServiceUploadAssetResponseValidationError) Cause ¶
func (e BatonServiceUploadAssetResponseValidationError) Cause() error
Cause function returns cause value.
func (BatonServiceUploadAssetResponseValidationError) Error ¶
func (e BatonServiceUploadAssetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatonServiceUploadAssetResponseValidationError) ErrorName ¶
func (e BatonServiceUploadAssetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatonServiceUploadAssetResponseValidationError) Field ¶
func (e BatonServiceUploadAssetResponseValidationError) Field() string
Field function returns field value.
func (BatonServiceUploadAssetResponseValidationError) Key ¶
func (e BatonServiceUploadAssetResponseValidationError) Key() bool
Key function returns key value.
func (BatonServiceUploadAssetResponseValidationError) Reason ¶
func (e BatonServiceUploadAssetResponseValidationError) Reason() string
Reason function returns reason value.
type BatonService_UploadAssetClient ¶
type BatonService_UploadAssetClient interface { Send(*BatonServiceUploadAssetRequest) error CloseAndRecv() (*BatonServiceUploadAssetResponse, error) grpc.ClientStream }
type BatonService_UploadAssetServer ¶
type BatonService_UploadAssetServer interface { SendAndClose(*BatonServiceUploadAssetResponse) error Recv() (*BatonServiceUploadAssetRequest, error) grpc.ServerStream }
type Task ¶
type Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status Task_Status `protobuf:"varint,2,opt,name=status,proto3,enum=c1.connectorapi.baton.v1.Task_Status" json:"status,omitempty"` // Types that are assignable to TaskType: // // *Task_None // *Task_Hello // *Task_SyncFull // *Task_Grant // *Task_Revoke // *Task_CreateAccount // *Task_CreateResource // *Task_DeleteResource // *Task_RotateCredentials // *Task_EventFeed // *Task_CreateTicketTask_ // *Task_ListTicketSchemas // *Task_GetTicket TaskType isTask_TaskType `protobuf_oneof:"task_type"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetCreateAccount ¶ added in v0.1.15
func (x *Task) GetCreateAccount() *Task_CreateAccountTask
func (*Task) GetCreateResource ¶ added in v0.1.15
func (x *Task) GetCreateResource() *Task_CreateResourceTask
func (*Task) GetCreateTicketTask ¶ added in v0.1.36
func (x *Task) GetCreateTicketTask() *Task_CreateTicketTask
func (*Task) GetDeleteResource ¶ added in v0.1.15
func (x *Task) GetDeleteResource() *Task_DeleteResourceTask
func (*Task) GetEventFeed ¶ added in v0.1.16
func (x *Task) GetEventFeed() *Task_EventFeedTask
func (*Task) GetGetTicket ¶ added in v0.1.36
func (x *Task) GetGetTicket() *Task_GetTicketTask
func (*Task) GetGrant ¶
func (x *Task) GetGrant() *Task_GrantTask
func (*Task) GetHello ¶
func (x *Task) GetHello() *Task_HelloTask
func (*Task) GetListTicketSchemas ¶ added in v0.1.36
func (x *Task) GetListTicketSchemas() *Task_ListTicketSchemasTask
func (*Task) GetNone ¶
func (x *Task) GetNone() *Task_NoneTask
func (*Task) GetRevoke ¶
func (x *Task) GetRevoke() *Task_RevokeTask
func (*Task) GetRotateCredentials ¶ added in v0.1.15
func (x *Task) GetRotateCredentials() *Task_RotateCredentialsTask
func (*Task) GetStatus ¶
func (x *Task) GetStatus() Task_Status
func (*Task) GetSyncFull ¶
func (x *Task) GetSyncFull() *Task_SyncFullTask
func (*Task) GetTaskType ¶
func (m *Task) GetTaskType() isTask_TaskType
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
func (*Task) Validate ¶
Validate checks the field values on Task 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 (*Task) ValidateAll ¶
ValidateAll checks the field values on Task 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 TaskMultiError, or nil if none found.
type TaskMultiError ¶
type TaskMultiError []error
TaskMultiError is an error wrapping multiple validation errors returned by Task.ValidateAll() if the designated constraints aren't met.
func (TaskMultiError) AllErrors ¶
func (m TaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskMultiError) Error ¶
func (m TaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskValidationError ¶
type TaskValidationError struct {
// contains filtered or unexported fields
}
TaskValidationError is the validation error returned by Task.Validate if the designated constraints aren't met.
func (TaskValidationError) Cause ¶
func (e TaskValidationError) Cause() error
Cause function returns cause value.
func (TaskValidationError) Error ¶
func (e TaskValidationError) Error() string
Error satisfies the builtin error interface
func (TaskValidationError) ErrorName ¶
func (e TaskValidationError) ErrorName() string
ErrorName returns error name.
func (TaskValidationError) Field ¶
func (e TaskValidationError) Field() string
Field function returns field value.
func (TaskValidationError) Key ¶
func (e TaskValidationError) Key() bool
Key function returns key value.
func (TaskValidationError) Reason ¶
func (e TaskValidationError) Reason() string
Reason function returns reason value.
type Task_CreateAccount ¶ added in v0.1.15
type Task_CreateAccount struct {
CreateAccount *Task_CreateAccountTask `protobuf:"bytes,105,opt,name=create_account,json=createAccount,proto3,oneof"`
}
type Task_CreateAccountTask ¶ added in v0.1.15
type Task_CreateAccountTask struct { AccountInfo *v2.AccountInfo `protobuf:"bytes,1,opt,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"` CredentialOptions *v2.CredentialOptions `protobuf:"bytes,2,opt,name=credential_options,json=credentialOptions,proto3" json:"credential_options,omitempty"` EncryptionConfigs []*v2.EncryptionConfig `protobuf:"bytes,3,rep,name=encryption_configs,json=encryptionConfigs,proto3" json:"encryption_configs,omitempty"` // contains filtered or unexported fields }
func (*Task_CreateAccountTask) Descriptor
deprecated
added in
v0.1.15
func (*Task_CreateAccountTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_CreateAccountTask.ProtoReflect.Descriptor instead.
func (*Task_CreateAccountTask) GetAccountInfo ¶ added in v0.1.15
func (x *Task_CreateAccountTask) GetAccountInfo() *v2.AccountInfo
func (*Task_CreateAccountTask) GetCredentialOptions ¶ added in v0.1.15
func (x *Task_CreateAccountTask) GetCredentialOptions() *v2.CredentialOptions
func (*Task_CreateAccountTask) GetEncryptionConfigs ¶ added in v0.1.15
func (x *Task_CreateAccountTask) GetEncryptionConfigs() []*v2.EncryptionConfig
func (*Task_CreateAccountTask) ProtoMessage ¶ added in v0.1.15
func (*Task_CreateAccountTask) ProtoMessage()
func (*Task_CreateAccountTask) ProtoReflect ¶ added in v0.1.15
func (x *Task_CreateAccountTask) ProtoReflect() protoreflect.Message
func (*Task_CreateAccountTask) Reset ¶ added in v0.1.15
func (x *Task_CreateAccountTask) Reset()
func (*Task_CreateAccountTask) String ¶ added in v0.1.15
func (x *Task_CreateAccountTask) String() string
func (*Task_CreateAccountTask) Validate ¶ added in v0.1.15
func (m *Task_CreateAccountTask) Validate() error
Validate checks the field values on Task_CreateAccountTask 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 (*Task_CreateAccountTask) ValidateAll ¶ added in v0.1.15
func (m *Task_CreateAccountTask) ValidateAll() error
ValidateAll checks the field values on Task_CreateAccountTask 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 Task_CreateAccountTaskMultiError, or nil if none found.
type Task_CreateAccountTaskMultiError ¶ added in v0.1.15
type Task_CreateAccountTaskMultiError []error
Task_CreateAccountTaskMultiError is an error wrapping multiple validation errors returned by Task_CreateAccountTask.ValidateAll() if the designated constraints aren't met.
func (Task_CreateAccountTaskMultiError) AllErrors ¶ added in v0.1.15
func (m Task_CreateAccountTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_CreateAccountTaskMultiError) Error ¶ added in v0.1.15
func (m Task_CreateAccountTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_CreateAccountTaskValidationError ¶ added in v0.1.15
type Task_CreateAccountTaskValidationError struct {
// contains filtered or unexported fields
}
Task_CreateAccountTaskValidationError is the validation error returned by Task_CreateAccountTask.Validate if the designated constraints aren't met.
func (Task_CreateAccountTaskValidationError) Cause ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_CreateAccountTaskValidationError) Error ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_CreateAccountTaskValidationError) ErrorName ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_CreateAccountTaskValidationError) Field ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) Field() string
Field function returns field value.
func (Task_CreateAccountTaskValidationError) Key ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) Key() bool
Key function returns key value.
func (Task_CreateAccountTaskValidationError) Reason ¶ added in v0.1.15
func (e Task_CreateAccountTaskValidationError) Reason() string
Reason function returns reason value.
type Task_CreateResource ¶ added in v0.1.15
type Task_CreateResource struct {
CreateResource *Task_CreateResourceTask `protobuf:"bytes,106,opt,name=create_resource,json=createResource,proto3,oneof"`
}
type Task_CreateResourceTask ¶ added in v0.1.15
type Task_CreateResourceTask struct { Resource *v2.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Task_CreateResourceTask) Descriptor
deprecated
added in
v0.1.15
func (*Task_CreateResourceTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_CreateResourceTask.ProtoReflect.Descriptor instead.
func (*Task_CreateResourceTask) GetResource ¶ added in v0.1.15
func (x *Task_CreateResourceTask) GetResource() *v2.Resource
func (*Task_CreateResourceTask) ProtoMessage ¶ added in v0.1.15
func (*Task_CreateResourceTask) ProtoMessage()
func (*Task_CreateResourceTask) ProtoReflect ¶ added in v0.1.15
func (x *Task_CreateResourceTask) ProtoReflect() protoreflect.Message
func (*Task_CreateResourceTask) Reset ¶ added in v0.1.15
func (x *Task_CreateResourceTask) Reset()
func (*Task_CreateResourceTask) String ¶ added in v0.1.15
func (x *Task_CreateResourceTask) String() string
func (*Task_CreateResourceTask) Validate ¶ added in v0.1.15
func (m *Task_CreateResourceTask) Validate() error
Validate checks the field values on Task_CreateResourceTask 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 (*Task_CreateResourceTask) ValidateAll ¶ added in v0.1.15
func (m *Task_CreateResourceTask) ValidateAll() error
ValidateAll checks the field values on Task_CreateResourceTask 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 Task_CreateResourceTaskMultiError, or nil if none found.
type Task_CreateResourceTaskMultiError ¶ added in v0.1.15
type Task_CreateResourceTaskMultiError []error
Task_CreateResourceTaskMultiError is an error wrapping multiple validation errors returned by Task_CreateResourceTask.ValidateAll() if the designated constraints aren't met.
func (Task_CreateResourceTaskMultiError) AllErrors ¶ added in v0.1.15
func (m Task_CreateResourceTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_CreateResourceTaskMultiError) Error ¶ added in v0.1.15
func (m Task_CreateResourceTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_CreateResourceTaskValidationError ¶ added in v0.1.15
type Task_CreateResourceTaskValidationError struct {
// contains filtered or unexported fields
}
Task_CreateResourceTaskValidationError is the validation error returned by Task_CreateResourceTask.Validate if the designated constraints aren't met.
func (Task_CreateResourceTaskValidationError) Cause ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_CreateResourceTaskValidationError) Error ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_CreateResourceTaskValidationError) ErrorName ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_CreateResourceTaskValidationError) Field ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) Field() string
Field function returns field value.
func (Task_CreateResourceTaskValidationError) Key ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) Key() bool
Key function returns key value.
func (Task_CreateResourceTaskValidationError) Reason ¶ added in v0.1.15
func (e Task_CreateResourceTaskValidationError) Reason() string
Reason function returns reason value.
type Task_CreateTicketTask ¶ added in v0.1.36
type Task_CreateTicketTask struct { TicketRequest *v2.TicketRequest `protobuf:"bytes,1,opt,name=ticket_request,json=ticketRequest,proto3" json:"ticket_request,omitempty"` TicketSchema *v2.TicketSchema `protobuf:"bytes,2,opt,name=ticket_schema,json=ticketSchema,proto3" json:"ticket_schema,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_CreateTicketTask) Descriptor
deprecated
added in
v0.1.36
func (*Task_CreateTicketTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_CreateTicketTask.ProtoReflect.Descriptor instead.
func (*Task_CreateTicketTask) GetAnnotations ¶ added in v0.1.36
func (x *Task_CreateTicketTask) GetAnnotations() []*anypb.Any
func (*Task_CreateTicketTask) GetTicketRequest ¶ added in v0.1.36
func (x *Task_CreateTicketTask) GetTicketRequest() *v2.TicketRequest
func (*Task_CreateTicketTask) GetTicketSchema ¶ added in v0.1.36
func (x *Task_CreateTicketTask) GetTicketSchema() *v2.TicketSchema
func (*Task_CreateTicketTask) ProtoMessage ¶ added in v0.1.36
func (*Task_CreateTicketTask) ProtoMessage()
func (*Task_CreateTicketTask) ProtoReflect ¶ added in v0.1.36
func (x *Task_CreateTicketTask) ProtoReflect() protoreflect.Message
func (*Task_CreateTicketTask) Reset ¶ added in v0.1.36
func (x *Task_CreateTicketTask) Reset()
func (*Task_CreateTicketTask) String ¶ added in v0.1.36
func (x *Task_CreateTicketTask) String() string
func (*Task_CreateTicketTask) Validate ¶ added in v0.1.36
func (m *Task_CreateTicketTask) Validate() error
Validate checks the field values on Task_CreateTicketTask 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 (*Task_CreateTicketTask) ValidateAll ¶ added in v0.1.36
func (m *Task_CreateTicketTask) ValidateAll() error
ValidateAll checks the field values on Task_CreateTicketTask 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 Task_CreateTicketTaskMultiError, or nil if none found.
type Task_CreateTicketTaskMultiError ¶ added in v0.1.36
type Task_CreateTicketTaskMultiError []error
Task_CreateTicketTaskMultiError is an error wrapping multiple validation errors returned by Task_CreateTicketTask.ValidateAll() if the designated constraints aren't met.
func (Task_CreateTicketTaskMultiError) AllErrors ¶ added in v0.1.36
func (m Task_CreateTicketTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_CreateTicketTaskMultiError) Error ¶ added in v0.1.36
func (m Task_CreateTicketTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_CreateTicketTaskValidationError ¶ added in v0.1.36
type Task_CreateTicketTaskValidationError struct {
// contains filtered or unexported fields
}
Task_CreateTicketTaskValidationError is the validation error returned by Task_CreateTicketTask.Validate if the designated constraints aren't met.
func (Task_CreateTicketTaskValidationError) Cause ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_CreateTicketTaskValidationError) Error ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_CreateTicketTaskValidationError) ErrorName ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_CreateTicketTaskValidationError) Field ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) Field() string
Field function returns field value.
func (Task_CreateTicketTaskValidationError) Key ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) Key() bool
Key function returns key value.
func (Task_CreateTicketTaskValidationError) Reason ¶ added in v0.1.36
func (e Task_CreateTicketTaskValidationError) Reason() string
Reason function returns reason value.
type Task_CreateTicketTask_ ¶ added in v0.1.36
type Task_CreateTicketTask_ struct {
CreateTicketTask *Task_CreateTicketTask `protobuf:"bytes,110,opt,name=create_ticket_task,json=createTicketTask,proto3,oneof"`
}
type Task_DeleteResource ¶ added in v0.1.15
type Task_DeleteResource struct {
DeleteResource *Task_DeleteResourceTask `protobuf:"bytes,107,opt,name=delete_resource,json=deleteResource,proto3,oneof"`
}
type Task_DeleteResourceTask ¶ added in v0.1.15
type Task_DeleteResourceTask struct { ResourceId *v2.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*Task_DeleteResourceTask) Descriptor
deprecated
added in
v0.1.15
func (*Task_DeleteResourceTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_DeleteResourceTask.ProtoReflect.Descriptor instead.
func (*Task_DeleteResourceTask) GetResourceId ¶ added in v0.1.15
func (x *Task_DeleteResourceTask) GetResourceId() *v2.ResourceId
func (*Task_DeleteResourceTask) ProtoMessage ¶ added in v0.1.15
func (*Task_DeleteResourceTask) ProtoMessage()
func (*Task_DeleteResourceTask) ProtoReflect ¶ added in v0.1.15
func (x *Task_DeleteResourceTask) ProtoReflect() protoreflect.Message
func (*Task_DeleteResourceTask) Reset ¶ added in v0.1.15
func (x *Task_DeleteResourceTask) Reset()
func (*Task_DeleteResourceTask) String ¶ added in v0.1.15
func (x *Task_DeleteResourceTask) String() string
func (*Task_DeleteResourceTask) Validate ¶ added in v0.1.15
func (m *Task_DeleteResourceTask) Validate() error
Validate checks the field values on Task_DeleteResourceTask 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 (*Task_DeleteResourceTask) ValidateAll ¶ added in v0.1.15
func (m *Task_DeleteResourceTask) ValidateAll() error
ValidateAll checks the field values on Task_DeleteResourceTask 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 Task_DeleteResourceTaskMultiError, or nil if none found.
type Task_DeleteResourceTaskMultiError ¶ added in v0.1.15
type Task_DeleteResourceTaskMultiError []error
Task_DeleteResourceTaskMultiError is an error wrapping multiple validation errors returned by Task_DeleteResourceTask.ValidateAll() if the designated constraints aren't met.
func (Task_DeleteResourceTaskMultiError) AllErrors ¶ added in v0.1.15
func (m Task_DeleteResourceTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_DeleteResourceTaskMultiError) Error ¶ added in v0.1.15
func (m Task_DeleteResourceTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_DeleteResourceTaskValidationError ¶ added in v0.1.15
type Task_DeleteResourceTaskValidationError struct {
// contains filtered or unexported fields
}
Task_DeleteResourceTaskValidationError is the validation error returned by Task_DeleteResourceTask.Validate if the designated constraints aren't met.
func (Task_DeleteResourceTaskValidationError) Cause ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_DeleteResourceTaskValidationError) Error ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_DeleteResourceTaskValidationError) ErrorName ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_DeleteResourceTaskValidationError) Field ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) Field() string
Field function returns field value.
func (Task_DeleteResourceTaskValidationError) Key ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) Key() bool
Key function returns key value.
func (Task_DeleteResourceTaskValidationError) Reason ¶ added in v0.1.15
func (e Task_DeleteResourceTaskValidationError) Reason() string
Reason function returns reason value.
type Task_EventFeed ¶ added in v0.1.16
type Task_EventFeed struct {
EventFeed *Task_EventFeedTask `protobuf:"bytes,109,opt,name=event_feed,json=eventFeed,proto3,oneof"`
}
type Task_EventFeedTask ¶ added in v0.1.16
type Task_EventFeedTask struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` StartAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` // contains filtered or unexported fields }
func (*Task_EventFeedTask) Descriptor
deprecated
added in
v0.1.16
func (*Task_EventFeedTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_EventFeedTask.ProtoReflect.Descriptor instead.
func (*Task_EventFeedTask) GetAnnotations ¶ added in v0.1.16
func (x *Task_EventFeedTask) GetAnnotations() []*anypb.Any
func (*Task_EventFeedTask) GetStartAt ¶ added in v0.1.16
func (x *Task_EventFeedTask) GetStartAt() *timestamppb.Timestamp
func (*Task_EventFeedTask) ProtoMessage ¶ added in v0.1.16
func (*Task_EventFeedTask) ProtoMessage()
func (*Task_EventFeedTask) ProtoReflect ¶ added in v0.1.16
func (x *Task_EventFeedTask) ProtoReflect() protoreflect.Message
func (*Task_EventFeedTask) Reset ¶ added in v0.1.16
func (x *Task_EventFeedTask) Reset()
func (*Task_EventFeedTask) String ¶ added in v0.1.16
func (x *Task_EventFeedTask) String() string
func (*Task_EventFeedTask) Validate ¶ added in v0.1.16
func (m *Task_EventFeedTask) Validate() error
Validate checks the field values on Task_EventFeedTask 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 (*Task_EventFeedTask) ValidateAll ¶ added in v0.1.16
func (m *Task_EventFeedTask) ValidateAll() error
ValidateAll checks the field values on Task_EventFeedTask 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 Task_EventFeedTaskMultiError, or nil if none found.
type Task_EventFeedTaskMultiError ¶ added in v0.1.16
type Task_EventFeedTaskMultiError []error
Task_EventFeedTaskMultiError is an error wrapping multiple validation errors returned by Task_EventFeedTask.ValidateAll() if the designated constraints aren't met.
func (Task_EventFeedTaskMultiError) AllErrors ¶ added in v0.1.16
func (m Task_EventFeedTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_EventFeedTaskMultiError) Error ¶ added in v0.1.16
func (m Task_EventFeedTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_EventFeedTaskValidationError ¶ added in v0.1.16
type Task_EventFeedTaskValidationError struct {
// contains filtered or unexported fields
}
Task_EventFeedTaskValidationError is the validation error returned by Task_EventFeedTask.Validate if the designated constraints aren't met.
func (Task_EventFeedTaskValidationError) Cause ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_EventFeedTaskValidationError) Error ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_EventFeedTaskValidationError) ErrorName ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_EventFeedTaskValidationError) Field ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) Field() string
Field function returns field value.
func (Task_EventFeedTaskValidationError) Key ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) Key() bool
Key function returns key value.
func (Task_EventFeedTaskValidationError) Reason ¶ added in v0.1.16
func (e Task_EventFeedTaskValidationError) Reason() string
Reason function returns reason value.
type Task_GetTicket ¶ added in v0.1.36
type Task_GetTicket struct {
GetTicket *Task_GetTicketTask `protobuf:"bytes,112,opt,name=get_ticket,json=getTicket,proto3,oneof"`
}
type Task_GetTicketTask ¶ added in v0.1.36
type Task_GetTicketTask struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_GetTicketTask) Descriptor
deprecated
added in
v0.1.36
func (*Task_GetTicketTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_GetTicketTask.ProtoReflect.Descriptor instead.
func (*Task_GetTicketTask) GetAnnotations ¶ added in v0.1.36
func (x *Task_GetTicketTask) GetAnnotations() []*anypb.Any
func (*Task_GetTicketTask) GetTicketId ¶ added in v0.1.36
func (x *Task_GetTicketTask) GetTicketId() string
func (*Task_GetTicketTask) ProtoMessage ¶ added in v0.1.36
func (*Task_GetTicketTask) ProtoMessage()
func (*Task_GetTicketTask) ProtoReflect ¶ added in v0.1.36
func (x *Task_GetTicketTask) ProtoReflect() protoreflect.Message
func (*Task_GetTicketTask) Reset ¶ added in v0.1.36
func (x *Task_GetTicketTask) Reset()
func (*Task_GetTicketTask) String ¶ added in v0.1.36
func (x *Task_GetTicketTask) String() string
func (*Task_GetTicketTask) Validate ¶ added in v0.1.36
func (m *Task_GetTicketTask) Validate() error
Validate checks the field values on Task_GetTicketTask 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 (*Task_GetTicketTask) ValidateAll ¶ added in v0.1.36
func (m *Task_GetTicketTask) ValidateAll() error
ValidateAll checks the field values on Task_GetTicketTask 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 Task_GetTicketTaskMultiError, or nil if none found.
type Task_GetTicketTaskMultiError ¶ added in v0.1.36
type Task_GetTicketTaskMultiError []error
Task_GetTicketTaskMultiError is an error wrapping multiple validation errors returned by Task_GetTicketTask.ValidateAll() if the designated constraints aren't met.
func (Task_GetTicketTaskMultiError) AllErrors ¶ added in v0.1.36
func (m Task_GetTicketTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_GetTicketTaskMultiError) Error ¶ added in v0.1.36
func (m Task_GetTicketTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_GetTicketTaskValidationError ¶ added in v0.1.36
type Task_GetTicketTaskValidationError struct {
// contains filtered or unexported fields
}
Task_GetTicketTaskValidationError is the validation error returned by Task_GetTicketTask.Validate if the designated constraints aren't met.
func (Task_GetTicketTaskValidationError) Cause ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_GetTicketTaskValidationError) Error ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_GetTicketTaskValidationError) ErrorName ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_GetTicketTaskValidationError) Field ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) Field() string
Field function returns field value.
func (Task_GetTicketTaskValidationError) Key ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) Key() bool
Key function returns key value.
func (Task_GetTicketTaskValidationError) Reason ¶ added in v0.1.36
func (e Task_GetTicketTaskValidationError) Reason() string
Reason function returns reason value.
type Task_Grant ¶
type Task_Grant struct {
Grant *Task_GrantTask `protobuf:"bytes,103,opt,name=grant,proto3,oneof"`
}
type Task_GrantTask ¶
type Task_GrantTask struct { Entitlement *v2.Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` Principal *v2.Resource `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*Task_GrantTask) Descriptor
deprecated
func (*Task_GrantTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_GrantTask.ProtoReflect.Descriptor instead.
func (*Task_GrantTask) GetAnnotations ¶
func (x *Task_GrantTask) GetAnnotations() []*anypb.Any
func (*Task_GrantTask) GetDuration ¶ added in v0.1.15
func (x *Task_GrantTask) GetDuration() *durationpb.Duration
func (*Task_GrantTask) GetEntitlement ¶
func (x *Task_GrantTask) GetEntitlement() *v2.Entitlement
func (*Task_GrantTask) GetPrincipal ¶
func (x *Task_GrantTask) GetPrincipal() *v2.Resource
func (*Task_GrantTask) ProtoMessage ¶
func (*Task_GrantTask) ProtoMessage()
func (*Task_GrantTask) ProtoReflect ¶
func (x *Task_GrantTask) ProtoReflect() protoreflect.Message
func (*Task_GrantTask) Reset ¶
func (x *Task_GrantTask) Reset()
func (*Task_GrantTask) String ¶
func (x *Task_GrantTask) String() string
func (*Task_GrantTask) Validate ¶
func (m *Task_GrantTask) Validate() error
Validate checks the field values on Task_GrantTask 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 (*Task_GrantTask) ValidateAll ¶
func (m *Task_GrantTask) ValidateAll() error
ValidateAll checks the field values on Task_GrantTask 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 Task_GrantTaskMultiError, or nil if none found.
type Task_GrantTaskMultiError ¶
type Task_GrantTaskMultiError []error
Task_GrantTaskMultiError is an error wrapping multiple validation errors returned by Task_GrantTask.ValidateAll() if the designated constraints aren't met.
func (Task_GrantTaskMultiError) AllErrors ¶
func (m Task_GrantTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_GrantTaskMultiError) Error ¶
func (m Task_GrantTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_GrantTaskValidationError ¶
type Task_GrantTaskValidationError struct {
// contains filtered or unexported fields
}
Task_GrantTaskValidationError is the validation error returned by Task_GrantTask.Validate if the designated constraints aren't met.
func (Task_GrantTaskValidationError) Cause ¶
func (e Task_GrantTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_GrantTaskValidationError) Error ¶
func (e Task_GrantTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_GrantTaskValidationError) ErrorName ¶
func (e Task_GrantTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_GrantTaskValidationError) Field ¶
func (e Task_GrantTaskValidationError) Field() string
Field function returns field value.
func (Task_GrantTaskValidationError) Key ¶
func (e Task_GrantTaskValidationError) Key() bool
Key function returns key value.
func (Task_GrantTaskValidationError) Reason ¶
func (e Task_GrantTaskValidationError) Reason() string
Reason function returns reason value.
type Task_Hello ¶
type Task_Hello struct {
Hello *Task_HelloTask `protobuf:"bytes,101,opt,name=hello,proto3,oneof"`
}
type Task_HelloTask ¶
type Task_HelloTask struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_HelloTask) Descriptor
deprecated
func (*Task_HelloTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_HelloTask.ProtoReflect.Descriptor instead.
func (*Task_HelloTask) GetAnnotations ¶
func (x *Task_HelloTask) GetAnnotations() []*anypb.Any
func (*Task_HelloTask) ProtoMessage ¶
func (*Task_HelloTask) ProtoMessage()
func (*Task_HelloTask) ProtoReflect ¶
func (x *Task_HelloTask) ProtoReflect() protoreflect.Message
func (*Task_HelloTask) Reset ¶
func (x *Task_HelloTask) Reset()
func (*Task_HelloTask) String ¶
func (x *Task_HelloTask) String() string
func (*Task_HelloTask) Validate ¶
func (m *Task_HelloTask) Validate() error
Validate checks the field values on Task_HelloTask 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 (*Task_HelloTask) ValidateAll ¶
func (m *Task_HelloTask) ValidateAll() error
ValidateAll checks the field values on Task_HelloTask 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 Task_HelloTaskMultiError, or nil if none found.
type Task_HelloTaskMultiError ¶
type Task_HelloTaskMultiError []error
Task_HelloTaskMultiError is an error wrapping multiple validation errors returned by Task_HelloTask.ValidateAll() if the designated constraints aren't met.
func (Task_HelloTaskMultiError) AllErrors ¶
func (m Task_HelloTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_HelloTaskMultiError) Error ¶
func (m Task_HelloTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_HelloTaskValidationError ¶
type Task_HelloTaskValidationError struct {
// contains filtered or unexported fields
}
Task_HelloTaskValidationError is the validation error returned by Task_HelloTask.Validate if the designated constraints aren't met.
func (Task_HelloTaskValidationError) Cause ¶
func (e Task_HelloTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_HelloTaskValidationError) Error ¶
func (e Task_HelloTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_HelloTaskValidationError) ErrorName ¶
func (e Task_HelloTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_HelloTaskValidationError) Field ¶
func (e Task_HelloTaskValidationError) Field() string
Field function returns field value.
func (Task_HelloTaskValidationError) Key ¶
func (e Task_HelloTaskValidationError) Key() bool
Key function returns key value.
func (Task_HelloTaskValidationError) Reason ¶
func (e Task_HelloTaskValidationError) Reason() string
Reason function returns reason value.
type Task_ListTicketSchemas ¶ added in v0.1.36
type Task_ListTicketSchemas struct {
ListTicketSchemas *Task_ListTicketSchemasTask `protobuf:"bytes,111,opt,name=list_ticket_schemas,json=listTicketSchemas,proto3,oneof"`
}
type Task_ListTicketSchemasTask ¶ added in v0.1.36
type Task_ListTicketSchemasTask struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_ListTicketSchemasTask) Descriptor
deprecated
added in
v0.1.36
func (*Task_ListTicketSchemasTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_ListTicketSchemasTask.ProtoReflect.Descriptor instead.
func (*Task_ListTicketSchemasTask) GetAnnotations ¶ added in v0.1.36
func (x *Task_ListTicketSchemasTask) GetAnnotations() []*anypb.Any
func (*Task_ListTicketSchemasTask) ProtoMessage ¶ added in v0.1.36
func (*Task_ListTicketSchemasTask) ProtoMessage()
func (*Task_ListTicketSchemasTask) ProtoReflect ¶ added in v0.1.36
func (x *Task_ListTicketSchemasTask) ProtoReflect() protoreflect.Message
func (*Task_ListTicketSchemasTask) Reset ¶ added in v0.1.36
func (x *Task_ListTicketSchemasTask) Reset()
func (*Task_ListTicketSchemasTask) String ¶ added in v0.1.36
func (x *Task_ListTicketSchemasTask) String() string
func (*Task_ListTicketSchemasTask) Validate ¶ added in v0.1.36
func (m *Task_ListTicketSchemasTask) Validate() error
Validate checks the field values on Task_ListTicketSchemasTask 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 (*Task_ListTicketSchemasTask) ValidateAll ¶ added in v0.1.36
func (m *Task_ListTicketSchemasTask) ValidateAll() error
ValidateAll checks the field values on Task_ListTicketSchemasTask 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 Task_ListTicketSchemasTaskMultiError, or nil if none found.
type Task_ListTicketSchemasTaskMultiError ¶ added in v0.1.36
type Task_ListTicketSchemasTaskMultiError []error
Task_ListTicketSchemasTaskMultiError is an error wrapping multiple validation errors returned by Task_ListTicketSchemasTask.ValidateAll() if the designated constraints aren't met.
func (Task_ListTicketSchemasTaskMultiError) AllErrors ¶ added in v0.1.36
func (m Task_ListTicketSchemasTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_ListTicketSchemasTaskMultiError) Error ¶ added in v0.1.36
func (m Task_ListTicketSchemasTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_ListTicketSchemasTaskValidationError ¶ added in v0.1.36
type Task_ListTicketSchemasTaskValidationError struct {
// contains filtered or unexported fields
}
Task_ListTicketSchemasTaskValidationError is the validation error returned by Task_ListTicketSchemasTask.Validate if the designated constraints aren't met.
func (Task_ListTicketSchemasTaskValidationError) Cause ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_ListTicketSchemasTaskValidationError) Error ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_ListTicketSchemasTaskValidationError) ErrorName ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_ListTicketSchemasTaskValidationError) Field ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) Field() string
Field function returns field value.
func (Task_ListTicketSchemasTaskValidationError) Key ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) Key() bool
Key function returns key value.
func (Task_ListTicketSchemasTaskValidationError) Reason ¶ added in v0.1.36
func (e Task_ListTicketSchemasTaskValidationError) Reason() string
Reason function returns reason value.
type Task_None ¶
type Task_None struct {
None *Task_NoneTask `protobuf:"bytes,100,opt,name=none,proto3,oneof"`
}
type Task_NoneTask ¶
type Task_NoneTask struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_NoneTask) Descriptor
deprecated
func (*Task_NoneTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_NoneTask.ProtoReflect.Descriptor instead.
func (*Task_NoneTask) GetAnnotations ¶
func (x *Task_NoneTask) GetAnnotations() []*anypb.Any
func (*Task_NoneTask) ProtoMessage ¶
func (*Task_NoneTask) ProtoMessage()
func (*Task_NoneTask) ProtoReflect ¶
func (x *Task_NoneTask) ProtoReflect() protoreflect.Message
func (*Task_NoneTask) Reset ¶
func (x *Task_NoneTask) Reset()
func (*Task_NoneTask) String ¶
func (x *Task_NoneTask) String() string
func (*Task_NoneTask) Validate ¶
func (m *Task_NoneTask) Validate() error
Validate checks the field values on Task_NoneTask 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 (*Task_NoneTask) ValidateAll ¶
func (m *Task_NoneTask) ValidateAll() error
ValidateAll checks the field values on Task_NoneTask 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 Task_NoneTaskMultiError, or nil if none found.
type Task_NoneTaskMultiError ¶
type Task_NoneTaskMultiError []error
Task_NoneTaskMultiError is an error wrapping multiple validation errors returned by Task_NoneTask.ValidateAll() if the designated constraints aren't met.
func (Task_NoneTaskMultiError) AllErrors ¶
func (m Task_NoneTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_NoneTaskMultiError) Error ¶
func (m Task_NoneTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_NoneTaskValidationError ¶
type Task_NoneTaskValidationError struct {
// contains filtered or unexported fields
}
Task_NoneTaskValidationError is the validation error returned by Task_NoneTask.Validate if the designated constraints aren't met.
func (Task_NoneTaskValidationError) Cause ¶
func (e Task_NoneTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_NoneTaskValidationError) Error ¶
func (e Task_NoneTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_NoneTaskValidationError) ErrorName ¶
func (e Task_NoneTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_NoneTaskValidationError) Field ¶
func (e Task_NoneTaskValidationError) Field() string
Field function returns field value.
func (Task_NoneTaskValidationError) Key ¶
func (e Task_NoneTaskValidationError) Key() bool
Key function returns key value.
func (Task_NoneTaskValidationError) Reason ¶
func (e Task_NoneTaskValidationError) Reason() string
Reason function returns reason value.
type Task_Revoke ¶
type Task_Revoke struct {
Revoke *Task_RevokeTask `protobuf:"bytes,104,opt,name=revoke,proto3,oneof"`
}
type Task_RevokeTask ¶
type Task_RevokeTask struct { Grant *v2.Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_RevokeTask) Descriptor
deprecated
func (*Task_RevokeTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_RevokeTask.ProtoReflect.Descriptor instead.
func (*Task_RevokeTask) GetAnnotations ¶
func (x *Task_RevokeTask) GetAnnotations() []*anypb.Any
func (*Task_RevokeTask) GetGrant ¶
func (x *Task_RevokeTask) GetGrant() *v2.Grant
func (*Task_RevokeTask) ProtoMessage ¶
func (*Task_RevokeTask) ProtoMessage()
func (*Task_RevokeTask) ProtoReflect ¶
func (x *Task_RevokeTask) ProtoReflect() protoreflect.Message
func (*Task_RevokeTask) Reset ¶
func (x *Task_RevokeTask) Reset()
func (*Task_RevokeTask) String ¶
func (x *Task_RevokeTask) String() string
func (*Task_RevokeTask) Validate ¶
func (m *Task_RevokeTask) Validate() error
Validate checks the field values on Task_RevokeTask 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 (*Task_RevokeTask) ValidateAll ¶
func (m *Task_RevokeTask) ValidateAll() error
ValidateAll checks the field values on Task_RevokeTask 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 Task_RevokeTaskMultiError, or nil if none found.
type Task_RevokeTaskMultiError ¶
type Task_RevokeTaskMultiError []error
Task_RevokeTaskMultiError is an error wrapping multiple validation errors returned by Task_RevokeTask.ValidateAll() if the designated constraints aren't met.
func (Task_RevokeTaskMultiError) AllErrors ¶
func (m Task_RevokeTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_RevokeTaskMultiError) Error ¶
func (m Task_RevokeTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_RevokeTaskValidationError ¶
type Task_RevokeTaskValidationError struct {
// contains filtered or unexported fields
}
Task_RevokeTaskValidationError is the validation error returned by Task_RevokeTask.Validate if the designated constraints aren't met.
func (Task_RevokeTaskValidationError) Cause ¶
func (e Task_RevokeTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_RevokeTaskValidationError) Error ¶
func (e Task_RevokeTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_RevokeTaskValidationError) ErrorName ¶
func (e Task_RevokeTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_RevokeTaskValidationError) Field ¶
func (e Task_RevokeTaskValidationError) Field() string
Field function returns field value.
func (Task_RevokeTaskValidationError) Key ¶
func (e Task_RevokeTaskValidationError) Key() bool
Key function returns key value.
func (Task_RevokeTaskValidationError) Reason ¶
func (e Task_RevokeTaskValidationError) Reason() string
Reason function returns reason value.
type Task_RotateCredentials ¶ added in v0.1.15
type Task_RotateCredentials struct {
RotateCredentials *Task_RotateCredentialsTask `protobuf:"bytes,108,opt,name=rotate_credentials,json=rotateCredentials,proto3,oneof"`
}
type Task_RotateCredentialsTask ¶ added in v0.1.15
type Task_RotateCredentialsTask struct { ResourceId *v2.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` CredentialOptions *v2.CredentialOptions `protobuf:"bytes,2,opt,name=credential_options,json=credentialOptions,proto3" json:"credential_options,omitempty"` EncryptionConfigs []*v2.EncryptionConfig `protobuf:"bytes,3,rep,name=encryption_configs,json=encryptionConfigs,proto3" json:"encryption_configs,omitempty"` // contains filtered or unexported fields }
func (*Task_RotateCredentialsTask) Descriptor
deprecated
added in
v0.1.15
func (*Task_RotateCredentialsTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_RotateCredentialsTask.ProtoReflect.Descriptor instead.
func (*Task_RotateCredentialsTask) GetCredentialOptions ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) GetCredentialOptions() *v2.CredentialOptions
func (*Task_RotateCredentialsTask) GetEncryptionConfigs ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) GetEncryptionConfigs() []*v2.EncryptionConfig
func (*Task_RotateCredentialsTask) GetResourceId ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) GetResourceId() *v2.ResourceId
func (*Task_RotateCredentialsTask) ProtoMessage ¶ added in v0.1.15
func (*Task_RotateCredentialsTask) ProtoMessage()
func (*Task_RotateCredentialsTask) ProtoReflect ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) ProtoReflect() protoreflect.Message
func (*Task_RotateCredentialsTask) Reset ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) Reset()
func (*Task_RotateCredentialsTask) String ¶ added in v0.1.15
func (x *Task_RotateCredentialsTask) String() string
func (*Task_RotateCredentialsTask) Validate ¶ added in v0.1.15
func (m *Task_RotateCredentialsTask) Validate() error
Validate checks the field values on Task_RotateCredentialsTask 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 (*Task_RotateCredentialsTask) ValidateAll ¶ added in v0.1.15
func (m *Task_RotateCredentialsTask) ValidateAll() error
ValidateAll checks the field values on Task_RotateCredentialsTask 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 Task_RotateCredentialsTaskMultiError, or nil if none found.
type Task_RotateCredentialsTaskMultiError ¶ added in v0.1.15
type Task_RotateCredentialsTaskMultiError []error
Task_RotateCredentialsTaskMultiError is an error wrapping multiple validation errors returned by Task_RotateCredentialsTask.ValidateAll() if the designated constraints aren't met.
func (Task_RotateCredentialsTaskMultiError) AllErrors ¶ added in v0.1.15
func (m Task_RotateCredentialsTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_RotateCredentialsTaskMultiError) Error ¶ added in v0.1.15
func (m Task_RotateCredentialsTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_RotateCredentialsTaskValidationError ¶ added in v0.1.15
type Task_RotateCredentialsTaskValidationError struct {
// contains filtered or unexported fields
}
Task_RotateCredentialsTaskValidationError is the validation error returned by Task_RotateCredentialsTask.Validate if the designated constraints aren't met.
func (Task_RotateCredentialsTaskValidationError) Cause ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_RotateCredentialsTaskValidationError) Error ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_RotateCredentialsTaskValidationError) ErrorName ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_RotateCredentialsTaskValidationError) Field ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) Field() string
Field function returns field value.
func (Task_RotateCredentialsTaskValidationError) Key ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) Key() bool
Key function returns key value.
func (Task_RotateCredentialsTaskValidationError) Reason ¶ added in v0.1.15
func (e Task_RotateCredentialsTaskValidationError) Reason() string
Reason function returns reason value.
type Task_Status ¶
type Task_Status int32
const ( Task_STATUS_UNSPECIFIED Task_Status = 0 Task_STATUS_PENDING Task_Status = 1 Task_STATUS_SCHEDULED Task_Status = 2 Task_STATUS_RUNNING Task_Status = 3 Task_STATUS_FINISHED Task_Status = 4 )
func (Task_Status) Descriptor ¶
func (Task_Status) Descriptor() protoreflect.EnumDescriptor
func (Task_Status) Enum ¶
func (x Task_Status) Enum() *Task_Status
func (Task_Status) EnumDescriptor
deprecated
func (Task_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Task_Status.Descriptor instead.
func (Task_Status) Number ¶
func (x Task_Status) Number() protoreflect.EnumNumber
func (Task_Status) String ¶
func (x Task_Status) String() string
func (Task_Status) Type ¶
func (Task_Status) Type() protoreflect.EnumType
type Task_SyncFull ¶
type Task_SyncFull struct {
SyncFull *Task_SyncFullTask `protobuf:"bytes,102,opt,name=sync_full,json=syncFull,proto3,oneof"`
}
type Task_SyncFullTask ¶
type Task_SyncFullTask struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Task_SyncFullTask) Descriptor
deprecated
func (*Task_SyncFullTask) Descriptor() ([]byte, []int)
Deprecated: Use Task_SyncFullTask.ProtoReflect.Descriptor instead.
func (*Task_SyncFullTask) GetAnnotations ¶
func (x *Task_SyncFullTask) GetAnnotations() []*anypb.Any
func (*Task_SyncFullTask) ProtoMessage ¶
func (*Task_SyncFullTask) ProtoMessage()
func (*Task_SyncFullTask) ProtoReflect ¶
func (x *Task_SyncFullTask) ProtoReflect() protoreflect.Message
func (*Task_SyncFullTask) Reset ¶
func (x *Task_SyncFullTask) Reset()
func (*Task_SyncFullTask) String ¶
func (x *Task_SyncFullTask) String() string
func (*Task_SyncFullTask) Validate ¶
func (m *Task_SyncFullTask) Validate() error
Validate checks the field values on Task_SyncFullTask 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 (*Task_SyncFullTask) ValidateAll ¶
func (m *Task_SyncFullTask) ValidateAll() error
ValidateAll checks the field values on Task_SyncFullTask 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 Task_SyncFullTaskMultiError, or nil if none found.
type Task_SyncFullTaskMultiError ¶
type Task_SyncFullTaskMultiError []error
Task_SyncFullTaskMultiError is an error wrapping multiple validation errors returned by Task_SyncFullTask.ValidateAll() if the designated constraints aren't met.
func (Task_SyncFullTaskMultiError) AllErrors ¶
func (m Task_SyncFullTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_SyncFullTaskMultiError) Error ¶
func (m Task_SyncFullTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_SyncFullTaskValidationError ¶
type Task_SyncFullTaskValidationError struct {
// contains filtered or unexported fields
}
Task_SyncFullTaskValidationError is the validation error returned by Task_SyncFullTask.Validate if the designated constraints aren't met.
func (Task_SyncFullTaskValidationError) Cause ¶
func (e Task_SyncFullTaskValidationError) Cause() error
Cause function returns cause value.
func (Task_SyncFullTaskValidationError) Error ¶
func (e Task_SyncFullTaskValidationError) Error() string
Error satisfies the builtin error interface
func (Task_SyncFullTaskValidationError) ErrorName ¶
func (e Task_SyncFullTaskValidationError) ErrorName() string
ErrorName returns error name.
func (Task_SyncFullTaskValidationError) Field ¶
func (e Task_SyncFullTaskValidationError) Field() string
Field function returns field value.
func (Task_SyncFullTaskValidationError) Key ¶
func (e Task_SyncFullTaskValidationError) Key() bool
Key function returns key value.
func (Task_SyncFullTaskValidationError) Reason ¶
func (e Task_SyncFullTaskValidationError) Reason() string
Reason function returns reason value.
type UnimplementedBatonServiceServer ¶
type UnimplementedBatonServiceServer struct { }
UnimplementedBatonServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedBatonServiceServer) FinishTask ¶
func (UnimplementedBatonServiceServer) FinishTask(context.Context, *BatonServiceFinishTaskRequest) (*BatonServiceFinishTaskResponse, error)
func (UnimplementedBatonServiceServer) GetTask ¶
func (UnimplementedBatonServiceServer) GetTask(context.Context, *BatonServiceGetTaskRequest) (*BatonServiceGetTaskResponse, error)
func (UnimplementedBatonServiceServer) Heartbeat ¶
func (UnimplementedBatonServiceServer) Heartbeat(context.Context, *BatonServiceHeartbeatRequest) (*BatonServiceHeartbeatResponse, error)
func (UnimplementedBatonServiceServer) Hello ¶
func (UnimplementedBatonServiceServer) Hello(context.Context, *BatonServiceHelloRequest) (*BatonServiceHelloResponse, error)
func (UnimplementedBatonServiceServer) UploadAsset ¶
func (UnimplementedBatonServiceServer) UploadAsset(BatonService_UploadAssetServer) error
type UnsafeBatonServiceServer ¶
type UnsafeBatonServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBatonServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BatonServiceServer will result in compilation errors.