operation

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

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
	//
	// (-- 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() string

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

Jump to

Keyboard shortcuts

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