callback

package
v1.62.9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 10 Imported by: 0

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_callback_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CallbackInfo

type CallbackInfo struct {

	// Information on how this callback should be invoked (e.g. its URL and type).
	Callback *v1.Callback `protobuf:"bytes,1,opt,name=callback,proto3" json:"callback,omitempty"`
	// The time when the callback was registered.
	RegistrationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=registration_time,json=registrationTime,proto3" json:"registration_time,omitempty"`
	// The current state of the callback.
	State v11.CallbackState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.CallbackState" json:"state,omitempty"`
	// The number of attempts made to deliver the callback.
	// This number represents a minimum bound since the attempt is incremented after the callback request completes.
	Attempt int32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// The time when the last attempt completed.
	LastAttemptCompleteTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */
	// The last attempt's failure, if any.
	LastAttemptFailure *v12.Failure `protobuf:"bytes,6,opt,name=last_attempt_failure,json=lastAttemptFailure,proto3" json:"last_attempt_failure,omitempty"`
	// The time when the next attempt is scheduled.
	NextAttemptScheduleTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */
	// If the state is BLOCKED, blocked reason provides additional information.
	BlockedReason string `protobuf:"bytes,8,opt,name=blocked_reason,json=blockedReason,proto3" json:"blocked_reason,omitempty"`
	// contains filtered or unexported fields
}

Common callback information. Specific CallbackInfo messages should embed this and may include additional fields.

func (*CallbackInfo) Descriptor deprecated

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

Deprecated: Use CallbackInfo.ProtoReflect.Descriptor instead.

func (*CallbackInfo) Equal

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

Equal returns whether two CallbackInfo 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 (*CallbackInfo) GetAttempt

func (x *CallbackInfo) GetAttempt() int32

func (*CallbackInfo) GetBlockedReason

func (x *CallbackInfo) GetBlockedReason() string

func (*CallbackInfo) GetCallback

func (x *CallbackInfo) GetCallback() *v1.Callback

func (*CallbackInfo) GetLastAttemptCompleteTime

func (x *CallbackInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp

func (*CallbackInfo) GetLastAttemptFailure

func (x *CallbackInfo) GetLastAttemptFailure() *v12.Failure

func (*CallbackInfo) GetNextAttemptScheduleTime

func (x *CallbackInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp

func (*CallbackInfo) GetRegistrationTime

func (x *CallbackInfo) GetRegistrationTime() *timestamppb.Timestamp

func (*CallbackInfo) GetState

func (x *CallbackInfo) GetState() v11.CallbackState

func (*CallbackInfo) Marshal

func (val *CallbackInfo) Marshal() ([]byte, error)

Marshal an object of type CallbackInfo to the protobuf v3 wire format

func (*CallbackInfo) ProtoMessage

func (*CallbackInfo) ProtoMessage()

func (*CallbackInfo) ProtoReflect

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

func (*CallbackInfo) Reset

func (x *CallbackInfo) Reset()

func (*CallbackInfo) Size

func (val *CallbackInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*CallbackInfo) String

func (x *CallbackInfo) String() string

func (*CallbackInfo) Unmarshal

func (val *CallbackInfo) Unmarshal(buf []byte) error

Unmarshal an object of type CallbackInfo from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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