operation

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

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 *types.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 *types.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 *types.Timestamp `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"`
	// The date and time when the operation completed
	FinishedTime *types.Timestamp `protobuf:"bytes,8,opt,name=finished_time,json=finishedTime,proto3" json:"finished_time,omitempty"`
}

func (*AsyncOperation) Descriptor

func (*AsyncOperation) Descriptor() ([]byte, []int)

func (*AsyncOperation) Equal

func (this *AsyncOperation) Equal(that interface{}) bool

func (*AsyncOperation) GetCheckDuration

func (m *AsyncOperation) GetCheckDuration() *types.Duration

func (*AsyncOperation) GetFailureReason

func (m *AsyncOperation) GetFailureReason() string

func (*AsyncOperation) GetFinishedTime

func (m *AsyncOperation) GetFinishedTime() *types.Timestamp

func (*AsyncOperation) GetId

func (m *AsyncOperation) GetId() string

func (*AsyncOperation) GetOperationInput

func (m *AsyncOperation) GetOperationInput() *types.Any

func (*AsyncOperation) GetOperationType

func (m *AsyncOperation) GetOperationType() string

func (*AsyncOperation) GetStartedTime

func (m *AsyncOperation) GetStartedTime() *types.Timestamp

func (*AsyncOperation) GetState

func (m *AsyncOperation) GetState() string

func (*AsyncOperation) GoString

func (this *AsyncOperation) GoString() string

func (*AsyncOperation) Marshal

func (m *AsyncOperation) Marshal() (dAtA []byte, err error)

func (*AsyncOperation) MarshalTo

func (m *AsyncOperation) MarshalTo(dAtA []byte) (int, error)

func (*AsyncOperation) MarshalToSizedBuffer

func (m *AsyncOperation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AsyncOperation) ProtoMessage

func (*AsyncOperation) ProtoMessage()

func (*AsyncOperation) Reset

func (m *AsyncOperation) Reset()

func (*AsyncOperation) Size

func (m *AsyncOperation) Size() (n int)

func (*AsyncOperation) String

func (this *AsyncOperation) String() string

func (*AsyncOperation) Unmarshal

func (m *AsyncOperation) Unmarshal(dAtA []byte) error

func (*AsyncOperation) XXX_DiscardUnknown

func (m *AsyncOperation) XXX_DiscardUnknown()

func (*AsyncOperation) XXX_Marshal

func (m *AsyncOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AsyncOperation) XXX_Merge

func (m *AsyncOperation) XXX_Merge(src proto.Message)

func (*AsyncOperation) XXX_Size

func (m *AsyncOperation) XXX_Size() int

func (*AsyncOperation) XXX_Unmarshal

func (m *AsyncOperation) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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