operation

package
v0.0.0-...-5ed2604 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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
	State string `protobuf:"bytes,2,opt,name=state,proto3" 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
	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) 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() string

func (*AsyncOperation) ProtoMessage

func (*AsyncOperation) ProtoMessage()

func (*AsyncOperation) ProtoReflect

func (x *AsyncOperation) ProtoReflect() protoreflect.Message

func (*AsyncOperation) Reset

func (x *AsyncOperation) Reset()

func (*AsyncOperation) String

func (x *AsyncOperation) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL