Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type AsyncOperation
- func (*AsyncOperation) Descriptor() ([]byte, []int)deprecated
- func (this *AsyncOperation) Equal(that interface{}) bool
- func (x *AsyncOperation) GetCheckDuration() *durationpb.Duration
- func (x *AsyncOperation) GetFailureReason() string
- func (x *AsyncOperation) GetFinishedTime() *timestamppb.Timestamp
- func (x *AsyncOperation) GetId() string
- func (x *AsyncOperation) GetOperationInput() *anypb.Any
- func (x *AsyncOperation) GetOperationType() string
- func (x *AsyncOperation) GetStartedTime() *timestamppb.Timestamp
- func (x *AsyncOperation) GetState() AsyncOperation_State
- func (x *AsyncOperation) GetStateDeprecated() stringdeprecated
- func (val *AsyncOperation) Marshal() ([]byte, error)
- func (*AsyncOperation) ProtoMessage()
- func (x *AsyncOperation) ProtoReflect() protoreflect.Message
- func (x *AsyncOperation) Reset()
- func (val *AsyncOperation) Size() int
- func (x *AsyncOperation) String() string
- func (val *AsyncOperation) Unmarshal(buf []byte) error
- type AsyncOperation_State
- func (AsyncOperation_State) Descriptor() protoreflect.EnumDescriptor
- func (x AsyncOperation_State) Enum() *AsyncOperation_State
- func (AsyncOperation_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x AsyncOperation_State) Number() protoreflect.EnumNumber
- func (x AsyncOperation_State) String() string
- func (AsyncOperation_State) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( AsyncOperation_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_PENDING", 2: "STATE_IN_PROGRESS", 3: "STATE_FAILED", 4: "STATE_CANCELLED", 5: "STATE_FULFILLED", } AsyncOperation_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_PENDING": 1, "STATE_IN_PROGRESS": 2, "STATE_FAILED": 3, "STATE_CANCELLED": 4, "STATE_FULFILLED": 5, } )
Enum value maps for AsyncOperation_State.
var File_temporal_api_cloud_operation_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AsyncOperation ¶
type AsyncOperation struct { // The operation id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current state of this operation. // Possible values are: pending, in_progress, failed, cancelled, fulfilled. // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. // temporal:versioning:max_version=2024-10-01-00 // // Deprecated: Marked as deprecated in temporal/api/cloud/operation/v1/message.proto. StateDeprecated string `protobuf:"bytes,2,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of this operation. // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated State AsyncOperation_State `protobuf:"varint,9,opt,name=state,proto3,enum=temporal.api.cloud.operation.v1.AsyncOperation_State" json:"state,omitempty"` // The recommended duration to check back for an update in the operation's state. CheckDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` // The type of operation being performed. OperationType string `protobuf:"bytes,4,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // The input to the operation being performed. // // (-- api-linter: core::0146::any=disabled --) OperationInput *anypb.Any `protobuf:"bytes,5,opt,name=operation_input,json=operationInput,proto3" json:"operation_input,omitempty"` // If the operation failed, the reason for the failure. FailureReason string `protobuf:"bytes,6,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // The date and time when the operation initiated. StartedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` // The date and time when the operation completed. FinishedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finished_time,json=finishedTime,proto3" json:"finished_time,omitempty"` // contains filtered or unexported fields }
func (*AsyncOperation) Descriptor
deprecated
func (*AsyncOperation) Descriptor() ([]byte, []int)
Deprecated: Use AsyncOperation.ProtoReflect.Descriptor instead.
func (*AsyncOperation) Equal ¶
func (this *AsyncOperation) Equal(that interface{}) bool
Equal returns whether two AsyncOperation values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*AsyncOperation) GetCheckDuration ¶
func (x *AsyncOperation) GetCheckDuration() *durationpb.Duration
func (*AsyncOperation) GetFailureReason ¶
func (x *AsyncOperation) GetFailureReason() string
func (*AsyncOperation) GetFinishedTime ¶
func (x *AsyncOperation) GetFinishedTime() *timestamppb.Timestamp
func (*AsyncOperation) GetId ¶
func (x *AsyncOperation) GetId() string
func (*AsyncOperation) GetOperationInput ¶
func (x *AsyncOperation) GetOperationInput() *anypb.Any
func (*AsyncOperation) GetOperationType ¶
func (x *AsyncOperation) GetOperationType() string
func (*AsyncOperation) GetStartedTime ¶
func (x *AsyncOperation) GetStartedTime() *timestamppb.Timestamp
func (*AsyncOperation) GetState ¶
func (x *AsyncOperation) GetState() AsyncOperation_State
func (*AsyncOperation) GetStateDeprecated
deprecated
added in
v1.40.0
func (x *AsyncOperation) GetStateDeprecated() string
Deprecated: Marked as deprecated in temporal/api/cloud/operation/v1/message.proto.
func (*AsyncOperation) Marshal ¶
func (val *AsyncOperation) Marshal() ([]byte, error)
Marshal an object of type AsyncOperation to the protobuf v3 wire format
func (*AsyncOperation) ProtoMessage ¶
func (*AsyncOperation) ProtoMessage()
func (*AsyncOperation) ProtoReflect ¶
func (x *AsyncOperation) ProtoReflect() protoreflect.Message
func (*AsyncOperation) Reset ¶
func (x *AsyncOperation) Reset()
func (*AsyncOperation) Size ¶
func (val *AsyncOperation) Size() int
Size returns the size of the object, in bytes, once serialized
func (*AsyncOperation) String ¶
func (x *AsyncOperation) String() string
func (*AsyncOperation) Unmarshal ¶
func (val *AsyncOperation) Unmarshal(buf []byte) error
Unmarshal an object of type AsyncOperation from the protobuf v3 wire format
type AsyncOperation_State ¶ added in v1.40.0
type AsyncOperation_State int32
const ( AsyncOperation_STATE_UNSPECIFIED AsyncOperation_State = 0 AsyncOperation_STATE_PENDING AsyncOperation_State = 1 AsyncOperation_STATE_IN_PROGRESS AsyncOperation_State = 2 AsyncOperation_STATE_FAILED AsyncOperation_State = 3 AsyncOperation_STATE_CANCELLED AsyncOperation_State = 4 AsyncOperation_STATE_FULFILLED AsyncOperation_State = 5 // The operation was fulfilled. )
func (AsyncOperation_State) Descriptor ¶ added in v1.40.0
func (AsyncOperation_State) Descriptor() protoreflect.EnumDescriptor
func (AsyncOperation_State) Enum ¶ added in v1.40.0
func (x AsyncOperation_State) Enum() *AsyncOperation_State
func (AsyncOperation_State) EnumDescriptor
deprecated
added in
v1.40.0
func (AsyncOperation_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AsyncOperation_State.Descriptor instead.
func (AsyncOperation_State) Number ¶ added in v1.40.0
func (x AsyncOperation_State) Number() protoreflect.EnumNumber
func (AsyncOperation_State) String ¶ added in v1.40.0
func (x AsyncOperation_State) String() string
func (AsyncOperation_State) Type ¶ added in v1.40.0
func (AsyncOperation_State) Type() protoreflect.EnumType