shared

package
v0.0.0-...-93c17bf Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ThriftModule = &thriftreflect.ThriftModule{
	Name:     "shared",
	Package:  "github.com/coinbase/cadence-ruby/proxy/gen/shared",
	FilePath: "shared.thrift",
	SHA1:     "d2d1643686779117be1c2a3a3c86375229536df6",
	Raw:      rawIDL,
}

ThriftModule represents the IDL file used to generate this package.

Functions

This section is empty.

Types

type AccessDeniedError

type AccessDeniedError struct {
	Message string `json:"message,required"`
}

func (*AccessDeniedError) Equals

func (v *AccessDeniedError) Equals(rhs *AccessDeniedError) bool

Equals returns true if all the fields of this AccessDeniedError match the provided AccessDeniedError.

This function performs a deep comparison.

func (*AccessDeniedError) Error

func (v *AccessDeniedError) Error() string

func (*AccessDeniedError) ErrorName

func (*AccessDeniedError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*AccessDeniedError) FromWire

func (v *AccessDeniedError) FromWire(w wire.Value) error

FromWire deserializes a AccessDeniedError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a AccessDeniedError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v AccessDeniedError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*AccessDeniedError) GetMessage

func (v *AccessDeniedError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*AccessDeniedError) MarshalLogObject

func (v *AccessDeniedError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of AccessDeniedError.

func (*AccessDeniedError) String

func (v *AccessDeniedError) String() string

String returns a readable string representation of a AccessDeniedError struct.

func (*AccessDeniedError) ToWire

func (v *AccessDeniedError) ToWire() (wire.Value, error)

ToWire translates a AccessDeniedError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskCancelRequestedEventAttributes

type ActivityTaskCancelRequestedEventAttributes struct {
	ActivityId                   *string `json:"activityId,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*ActivityTaskCancelRequestedEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskCancelRequestedEventAttributes match the provided ActivityTaskCancelRequestedEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskCancelRequestedEventAttributes) FromWire

FromWire deserializes a ActivityTaskCancelRequestedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskCancelRequestedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskCancelRequestedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskCancelRequestedEventAttributes) GetActivityId

func (v *ActivityTaskCancelRequestedEventAttributes) GetActivityId() (o string)

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*ActivityTaskCancelRequestedEventAttributes) GetDecisionTaskCompletedEventId

func (v *ActivityTaskCancelRequestedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCancelRequestedEventAttributes) IsSetActivityId

func (v *ActivityTaskCancelRequestedEventAttributes) IsSetActivityId() bool

IsSetActivityId returns true if ActivityId is not nil.

func (*ActivityTaskCancelRequestedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *ActivityTaskCancelRequestedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*ActivityTaskCancelRequestedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskCancelRequestedEventAttributes.

func (*ActivityTaskCancelRequestedEventAttributes) String

String returns a readable string representation of a ActivityTaskCancelRequestedEventAttributes struct.

func (*ActivityTaskCancelRequestedEventAttributes) ToWire

ToWire translates a ActivityTaskCancelRequestedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskCanceledEventAttributes

type ActivityTaskCanceledEventAttributes struct {
	Details                      []byte  `json:"details,omitempty"`
	LatestCancelRequestedEventId *int64  `json:"latestCancelRequestedEventId,omitempty"`
	ScheduledEventId             *int64  `json:"scheduledEventId,omitempty"`
	StartedEventId               *int64  `json:"startedEventId,omitempty"`
	Identity                     *string `json:"identity,omitempty"`
}

func (*ActivityTaskCanceledEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskCanceledEventAttributes match the provided ActivityTaskCanceledEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskCanceledEventAttributes) FromWire

FromWire deserializes a ActivityTaskCanceledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskCanceledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskCanceledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskCanceledEventAttributes) GetDetails

func (v *ActivityTaskCanceledEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*ActivityTaskCanceledEventAttributes) GetIdentity

func (v *ActivityTaskCanceledEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*ActivityTaskCanceledEventAttributes) GetLatestCancelRequestedEventId

func (v *ActivityTaskCanceledEventAttributes) GetLatestCancelRequestedEventId() (o int64)

GetLatestCancelRequestedEventId returns the value of LatestCancelRequestedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCanceledEventAttributes) GetScheduledEventId

func (v *ActivityTaskCanceledEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCanceledEventAttributes) GetStartedEventId

func (v *ActivityTaskCanceledEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCanceledEventAttributes) IsSetDetails

func (v *ActivityTaskCanceledEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*ActivityTaskCanceledEventAttributes) IsSetIdentity

func (v *ActivityTaskCanceledEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*ActivityTaskCanceledEventAttributes) IsSetLatestCancelRequestedEventId

func (v *ActivityTaskCanceledEventAttributes) IsSetLatestCancelRequestedEventId() bool

IsSetLatestCancelRequestedEventId returns true if LatestCancelRequestedEventId is not nil.

func (*ActivityTaskCanceledEventAttributes) IsSetScheduledEventId

func (v *ActivityTaskCanceledEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*ActivityTaskCanceledEventAttributes) IsSetStartedEventId

func (v *ActivityTaskCanceledEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ActivityTaskCanceledEventAttributes) MarshalLogObject

func (v *ActivityTaskCanceledEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskCanceledEventAttributes.

func (*ActivityTaskCanceledEventAttributes) String

String returns a readable string representation of a ActivityTaskCanceledEventAttributes struct.

func (*ActivityTaskCanceledEventAttributes) ToWire

ToWire translates a ActivityTaskCanceledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskCompletedEventAttributes

type ActivityTaskCompletedEventAttributes struct {
	Result           []byte  `json:"result,omitempty"`
	ScheduledEventId *int64  `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64  `json:"startedEventId,omitempty"`
	Identity         *string `json:"identity,omitempty"`
}

func (*ActivityTaskCompletedEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskCompletedEventAttributes match the provided ActivityTaskCompletedEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskCompletedEventAttributes) FromWire

FromWire deserializes a ActivityTaskCompletedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskCompletedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskCompletedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskCompletedEventAttributes) GetIdentity

func (v *ActivityTaskCompletedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*ActivityTaskCompletedEventAttributes) GetResult

func (v *ActivityTaskCompletedEventAttributes) GetResult() (o []byte)

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*ActivityTaskCompletedEventAttributes) GetScheduledEventId

func (v *ActivityTaskCompletedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCompletedEventAttributes) GetStartedEventId

func (v *ActivityTaskCompletedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskCompletedEventAttributes) IsSetIdentity

func (v *ActivityTaskCompletedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*ActivityTaskCompletedEventAttributes) IsSetResult

func (v *ActivityTaskCompletedEventAttributes) IsSetResult() bool

IsSetResult returns true if Result is not nil.

func (*ActivityTaskCompletedEventAttributes) IsSetScheduledEventId

func (v *ActivityTaskCompletedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*ActivityTaskCompletedEventAttributes) IsSetStartedEventId

func (v *ActivityTaskCompletedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ActivityTaskCompletedEventAttributes) MarshalLogObject

func (v *ActivityTaskCompletedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskCompletedEventAttributes.

func (*ActivityTaskCompletedEventAttributes) String

String returns a readable string representation of a ActivityTaskCompletedEventAttributes struct.

func (*ActivityTaskCompletedEventAttributes) ToWire

ToWire translates a ActivityTaskCompletedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskFailedEventAttributes

type ActivityTaskFailedEventAttributes struct {
	Reason           *string `json:"reason,omitempty"`
	Details          []byte  `json:"details,omitempty"`
	ScheduledEventId *int64  `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64  `json:"startedEventId,omitempty"`
	Identity         *string `json:"identity,omitempty"`
}

func (*ActivityTaskFailedEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskFailedEventAttributes match the provided ActivityTaskFailedEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskFailedEventAttributes) FromWire

FromWire deserializes a ActivityTaskFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskFailedEventAttributes) GetDetails

func (v *ActivityTaskFailedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*ActivityTaskFailedEventAttributes) GetIdentity

func (v *ActivityTaskFailedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*ActivityTaskFailedEventAttributes) GetReason

func (v *ActivityTaskFailedEventAttributes) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*ActivityTaskFailedEventAttributes) GetScheduledEventId

func (v *ActivityTaskFailedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*ActivityTaskFailedEventAttributes) GetStartedEventId

func (v *ActivityTaskFailedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskFailedEventAttributes) IsSetDetails

func (v *ActivityTaskFailedEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*ActivityTaskFailedEventAttributes) IsSetIdentity

func (v *ActivityTaskFailedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*ActivityTaskFailedEventAttributes) IsSetReason

func (v *ActivityTaskFailedEventAttributes) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*ActivityTaskFailedEventAttributes) IsSetScheduledEventId

func (v *ActivityTaskFailedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*ActivityTaskFailedEventAttributes) IsSetStartedEventId

func (v *ActivityTaskFailedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ActivityTaskFailedEventAttributes) MarshalLogObject

func (v *ActivityTaskFailedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskFailedEventAttributes.

func (*ActivityTaskFailedEventAttributes) String

String returns a readable string representation of a ActivityTaskFailedEventAttributes struct.

func (*ActivityTaskFailedEventAttributes) ToWire

ToWire translates a ActivityTaskFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskScheduledEventAttributes

type ActivityTaskScheduledEventAttributes struct {
	ActivityId                    *string       `json:"activityId,omitempty"`
	ActivityType                  *ActivityType `json:"activityType,omitempty"`
	Domain                        *string       `json:"domain,omitempty"`
	TaskList                      *TaskList     `json:"taskList,omitempty"`
	Input                         []byte        `json:"input,omitempty"`
	ScheduleToCloseTimeoutSeconds *int32        `json:"scheduleToCloseTimeoutSeconds,omitempty"`
	ScheduleToStartTimeoutSeconds *int32        `json:"scheduleToStartTimeoutSeconds,omitempty"`
	StartToCloseTimeoutSeconds    *int32        `json:"startToCloseTimeoutSeconds,omitempty"`
	HeartbeatTimeoutSeconds       *int32        `json:"heartbeatTimeoutSeconds,omitempty"`
	DecisionTaskCompletedEventId  *int64        `json:"decisionTaskCompletedEventId,omitempty"`
	RetryPolicy                   *RetryPolicy  `json:"retryPolicy,omitempty"`
	Header                        *Header       `json:"header,omitempty"`
}

func (*ActivityTaskScheduledEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskScheduledEventAttributes match the provided ActivityTaskScheduledEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskScheduledEventAttributes) FromWire

FromWire deserializes a ActivityTaskScheduledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskScheduledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskScheduledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskScheduledEventAttributes) GetActivityId

func (v *ActivityTaskScheduledEventAttributes) GetActivityId() (o string)

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetActivityType

func (v *ActivityTaskScheduledEventAttributes) GetActivityType() (o *ActivityType)

GetActivityType returns the value of ActivityType if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetDecisionTaskCompletedEventId

func (v *ActivityTaskScheduledEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetDomain

func (v *ActivityTaskScheduledEventAttributes) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetHeader

func (v *ActivityTaskScheduledEventAttributes) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetHeartbeatTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) GetHeartbeatTimeoutSeconds() (o int32)

GetHeartbeatTimeoutSeconds returns the value of HeartbeatTimeoutSeconds if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetInput

func (v *ActivityTaskScheduledEventAttributes) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetRetryPolicy

func (v *ActivityTaskScheduledEventAttributes) GetRetryPolicy() (o *RetryPolicy)

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetScheduleToCloseTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) GetScheduleToCloseTimeoutSeconds() (o int32)

GetScheduleToCloseTimeoutSeconds returns the value of ScheduleToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetScheduleToStartTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) GetScheduleToStartTimeoutSeconds() (o int32)

GetScheduleToStartTimeoutSeconds returns the value of ScheduleToStartTimeoutSeconds if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetStartToCloseTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) GetStartToCloseTimeoutSeconds() (o int32)

GetStartToCloseTimeoutSeconds returns the value of StartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) GetTaskList

func (v *ActivityTaskScheduledEventAttributes) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*ActivityTaskScheduledEventAttributes) IsSetActivityId

func (v *ActivityTaskScheduledEventAttributes) IsSetActivityId() bool

IsSetActivityId returns true if ActivityId is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetActivityType

func (v *ActivityTaskScheduledEventAttributes) IsSetActivityType() bool

IsSetActivityType returns true if ActivityType is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *ActivityTaskScheduledEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetDomain

func (v *ActivityTaskScheduledEventAttributes) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetHeader

func (v *ActivityTaskScheduledEventAttributes) IsSetHeader() bool

IsSetHeader returns true if Header is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetHeartbeatTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) IsSetHeartbeatTimeoutSeconds() bool

IsSetHeartbeatTimeoutSeconds returns true if HeartbeatTimeoutSeconds is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetRetryPolicy

func (v *ActivityTaskScheduledEventAttributes) IsSetRetryPolicy() bool

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetScheduleToCloseTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) IsSetScheduleToCloseTimeoutSeconds() bool

IsSetScheduleToCloseTimeoutSeconds returns true if ScheduleToCloseTimeoutSeconds is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetScheduleToStartTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) IsSetScheduleToStartTimeoutSeconds() bool

IsSetScheduleToStartTimeoutSeconds returns true if ScheduleToStartTimeoutSeconds is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetStartToCloseTimeoutSeconds

func (v *ActivityTaskScheduledEventAttributes) IsSetStartToCloseTimeoutSeconds() bool

IsSetStartToCloseTimeoutSeconds returns true if StartToCloseTimeoutSeconds is not nil.

func (*ActivityTaskScheduledEventAttributes) IsSetTaskList

func (v *ActivityTaskScheduledEventAttributes) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*ActivityTaskScheduledEventAttributes) MarshalLogObject

func (v *ActivityTaskScheduledEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskScheduledEventAttributes.

func (*ActivityTaskScheduledEventAttributes) String

String returns a readable string representation of a ActivityTaskScheduledEventAttributes struct.

func (*ActivityTaskScheduledEventAttributes) ToWire

ToWire translates a ActivityTaskScheduledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskStartedEventAttributes

type ActivityTaskStartedEventAttributes struct {
	ScheduledEventId *int64  `json:"scheduledEventId,omitempty"`
	Identity         *string `json:"identity,omitempty"`
	RequestId        *string `json:"requestId,omitempty"`
	Attempt          *int32  `json:"attempt,omitempty"`
}

func (*ActivityTaskStartedEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskStartedEventAttributes match the provided ActivityTaskStartedEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskStartedEventAttributes) FromWire

FromWire deserializes a ActivityTaskStartedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskStartedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskStartedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskStartedEventAttributes) GetAttempt

func (v *ActivityTaskStartedEventAttributes) GetAttempt() (o int32)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*ActivityTaskStartedEventAttributes) GetIdentity

func (v *ActivityTaskStartedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*ActivityTaskStartedEventAttributes) GetRequestId

func (v *ActivityTaskStartedEventAttributes) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*ActivityTaskStartedEventAttributes) GetScheduledEventId

func (v *ActivityTaskStartedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*ActivityTaskStartedEventAttributes) IsSetAttempt

func (v *ActivityTaskStartedEventAttributes) IsSetAttempt() bool

IsSetAttempt returns true if Attempt is not nil.

func (*ActivityTaskStartedEventAttributes) IsSetIdentity

func (v *ActivityTaskStartedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*ActivityTaskStartedEventAttributes) IsSetRequestId

func (v *ActivityTaskStartedEventAttributes) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*ActivityTaskStartedEventAttributes) IsSetScheduledEventId

func (v *ActivityTaskStartedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*ActivityTaskStartedEventAttributes) MarshalLogObject

func (v *ActivityTaskStartedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskStartedEventAttributes.

func (*ActivityTaskStartedEventAttributes) String

String returns a readable string representation of a ActivityTaskStartedEventAttributes struct.

func (*ActivityTaskStartedEventAttributes) ToWire

ToWire translates a ActivityTaskStartedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityTaskTimedOutEventAttributes

type ActivityTaskTimedOutEventAttributes struct {
	Details          []byte       `json:"details,omitempty"`
	ScheduledEventId *int64       `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64       `json:"startedEventId,omitempty"`
	TimeoutType      *TimeoutType `json:"timeoutType,omitempty"`
}

func (*ActivityTaskTimedOutEventAttributes) Equals

Equals returns true if all the fields of this ActivityTaskTimedOutEventAttributes match the provided ActivityTaskTimedOutEventAttributes.

This function performs a deep comparison.

func (*ActivityTaskTimedOutEventAttributes) FromWire

FromWire deserializes a ActivityTaskTimedOutEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityTaskTimedOutEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityTaskTimedOutEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityTaskTimedOutEventAttributes) GetDetails

func (v *ActivityTaskTimedOutEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*ActivityTaskTimedOutEventAttributes) GetScheduledEventId

func (v *ActivityTaskTimedOutEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*ActivityTaskTimedOutEventAttributes) GetStartedEventId

func (v *ActivityTaskTimedOutEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ActivityTaskTimedOutEventAttributes) GetTimeoutType

func (v *ActivityTaskTimedOutEventAttributes) GetTimeoutType() (o TimeoutType)

GetTimeoutType returns the value of TimeoutType if it is set or its zero value if it is unset.

func (*ActivityTaskTimedOutEventAttributes) IsSetDetails

func (v *ActivityTaskTimedOutEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*ActivityTaskTimedOutEventAttributes) IsSetScheduledEventId

func (v *ActivityTaskTimedOutEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*ActivityTaskTimedOutEventAttributes) IsSetStartedEventId

func (v *ActivityTaskTimedOutEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ActivityTaskTimedOutEventAttributes) IsSetTimeoutType

func (v *ActivityTaskTimedOutEventAttributes) IsSetTimeoutType() bool

IsSetTimeoutType returns true if TimeoutType is not nil.

func (*ActivityTaskTimedOutEventAttributes) MarshalLogObject

func (v *ActivityTaskTimedOutEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityTaskTimedOutEventAttributes.

func (*ActivityTaskTimedOutEventAttributes) String

String returns a readable string representation of a ActivityTaskTimedOutEventAttributes struct.

func (*ActivityTaskTimedOutEventAttributes) ToWire

ToWire translates a ActivityTaskTimedOutEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ActivityType

type ActivityType struct {
	Name *string `json:"name,omitempty"`
}

func (*ActivityType) Equals

func (v *ActivityType) Equals(rhs *ActivityType) bool

Equals returns true if all the fields of this ActivityType match the provided ActivityType.

This function performs a deep comparison.

func (*ActivityType) FromWire

func (v *ActivityType) FromWire(w wire.Value) error

FromWire deserializes a ActivityType struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ActivityType struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ActivityType
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ActivityType) GetName

func (v *ActivityType) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*ActivityType) IsSetName

func (v *ActivityType) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*ActivityType) MarshalLogObject

func (v *ActivityType) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ActivityType.

func (*ActivityType) String

func (v *ActivityType) String() string

String returns a readable string representation of a ActivityType struct.

func (*ActivityType) ToWire

func (v *ActivityType) ToWire() (wire.Value, error)

ToWire translates a ActivityType struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ArchivalStatus

type ArchivalStatus int32
const (
	ArchivalStatusDisabled ArchivalStatus = 0
	ArchivalStatusEnabled  ArchivalStatus = 1
)

func ArchivalStatus_Values

func ArchivalStatus_Values() []ArchivalStatus

ArchivalStatus_Values returns all recognized values of ArchivalStatus.

func (ArchivalStatus) Equals

func (v ArchivalStatus) Equals(rhs ArchivalStatus) bool

Equals returns true if this ArchivalStatus value matches the provided value.

func (*ArchivalStatus) FromWire

func (v *ArchivalStatus) FromWire(w wire.Value) error

FromWire deserializes ArchivalStatus from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return ArchivalStatus(0), err
}

var v ArchivalStatus
if err := v.FromWire(x); err != nil {
  return ArchivalStatus(0), err
}
return v, nil

func (ArchivalStatus) MarshalJSON

func (v ArchivalStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes ArchivalStatus into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (ArchivalStatus) MarshalLogObject

func (v ArchivalStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ArchivalStatus. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (ArchivalStatus) MarshalText

func (v ArchivalStatus) MarshalText() ([]byte, error)

MarshalText encodes ArchivalStatus to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (ArchivalStatus) Ptr

func (v ArchivalStatus) Ptr() *ArchivalStatus

Ptr returns a pointer to this enum value.

func (ArchivalStatus) String

func (v ArchivalStatus) String() string

String returns a readable string representation of ArchivalStatus.

func (ArchivalStatus) ToWire

func (v ArchivalStatus) ToWire() (wire.Value, error)

ToWire translates ArchivalStatus into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*ArchivalStatus) UnmarshalJSON

func (v *ArchivalStatus) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode ArchivalStatus from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*ArchivalStatus) UnmarshalText

func (v *ArchivalStatus) UnmarshalText(value []byte) error

UnmarshalText tries to decode ArchivalStatus from a byte slice containing its name.

var v ArchivalStatus
err := v.UnmarshalText([]byte("DISABLED"))

type BadBinaries

type BadBinaries struct {
	Binaries map[string]*BadBinaryInfo `json:"binaries,omitempty"`
}

func (*BadBinaries) Equals

func (v *BadBinaries) Equals(rhs *BadBinaries) bool

Equals returns true if all the fields of this BadBinaries match the provided BadBinaries.

This function performs a deep comparison.

func (*BadBinaries) FromWire

func (v *BadBinaries) FromWire(w wire.Value) error

FromWire deserializes a BadBinaries struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BadBinaries struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BadBinaries
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BadBinaries) GetBinaries

func (v *BadBinaries) GetBinaries() (o map[string]*BadBinaryInfo)

GetBinaries returns the value of Binaries if it is set or its zero value if it is unset.

func (*BadBinaries) IsSetBinaries

func (v *BadBinaries) IsSetBinaries() bool

IsSetBinaries returns true if Binaries is not nil.

func (*BadBinaries) MarshalLogObject

func (v *BadBinaries) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BadBinaries.

func (*BadBinaries) String

func (v *BadBinaries) String() string

String returns a readable string representation of a BadBinaries struct.

func (*BadBinaries) ToWire

func (v *BadBinaries) ToWire() (wire.Value, error)

ToWire translates a BadBinaries struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type BadBinaryInfo

type BadBinaryInfo struct {
	Reason          *string `json:"reason,omitempty"`
	Operator        *string `json:"operator,omitempty"`
	CreatedTimeNano *int64  `json:"createdTimeNano,omitempty"`
}

func (*BadBinaryInfo) Equals

func (v *BadBinaryInfo) Equals(rhs *BadBinaryInfo) bool

Equals returns true if all the fields of this BadBinaryInfo match the provided BadBinaryInfo.

This function performs a deep comparison.

func (*BadBinaryInfo) FromWire

func (v *BadBinaryInfo) FromWire(w wire.Value) error

FromWire deserializes a BadBinaryInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BadBinaryInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BadBinaryInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BadBinaryInfo) GetCreatedTimeNano

func (v *BadBinaryInfo) GetCreatedTimeNano() (o int64)

GetCreatedTimeNano returns the value of CreatedTimeNano if it is set or its zero value if it is unset.

func (*BadBinaryInfo) GetOperator

func (v *BadBinaryInfo) GetOperator() (o string)

GetOperator returns the value of Operator if it is set or its zero value if it is unset.

func (*BadBinaryInfo) GetReason

func (v *BadBinaryInfo) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*BadBinaryInfo) IsSetCreatedTimeNano

func (v *BadBinaryInfo) IsSetCreatedTimeNano() bool

IsSetCreatedTimeNano returns true if CreatedTimeNano is not nil.

func (*BadBinaryInfo) IsSetOperator

func (v *BadBinaryInfo) IsSetOperator() bool

IsSetOperator returns true if Operator is not nil.

func (*BadBinaryInfo) IsSetReason

func (v *BadBinaryInfo) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*BadBinaryInfo) MarshalLogObject

func (v *BadBinaryInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BadBinaryInfo.

func (*BadBinaryInfo) String

func (v *BadBinaryInfo) String() string

String returns a readable string representation of a BadBinaryInfo struct.

func (*BadBinaryInfo) ToWire

func (v *BadBinaryInfo) ToWire() (wire.Value, error)

ToWire translates a BadBinaryInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type BadRequestError

type BadRequestError struct {
	Message string `json:"message,required"`
}

func (*BadRequestError) Equals

func (v *BadRequestError) Equals(rhs *BadRequestError) bool

Equals returns true if all the fields of this BadRequestError match the provided BadRequestError.

This function performs a deep comparison.

func (*BadRequestError) Error

func (v *BadRequestError) Error() string

func (*BadRequestError) ErrorName

func (*BadRequestError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*BadRequestError) FromWire

func (v *BadRequestError) FromWire(w wire.Value) error

FromWire deserializes a BadRequestError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BadRequestError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BadRequestError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BadRequestError) GetMessage

func (v *BadRequestError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*BadRequestError) MarshalLogObject

func (v *BadRequestError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BadRequestError.

func (*BadRequestError) String

func (v *BadRequestError) String() string

String returns a readable string representation of a BadRequestError struct.

func (*BadRequestError) ToWire

func (v *BadRequestError) ToWire() (wire.Value, error)

ToWire translates a BadRequestError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CancelExternalWorkflowExecutionFailedCause

type CancelExternalWorkflowExecutionFailedCause int32
const (
	CancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution CancelExternalWorkflowExecutionFailedCause = 0
)

func CancelExternalWorkflowExecutionFailedCause_Values

func CancelExternalWorkflowExecutionFailedCause_Values() []CancelExternalWorkflowExecutionFailedCause

CancelExternalWorkflowExecutionFailedCause_Values returns all recognized values of CancelExternalWorkflowExecutionFailedCause.

func (CancelExternalWorkflowExecutionFailedCause) Equals

Equals returns true if this CancelExternalWorkflowExecutionFailedCause value matches the provided value.

func (*CancelExternalWorkflowExecutionFailedCause) FromWire

FromWire deserializes CancelExternalWorkflowExecutionFailedCause from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return CancelExternalWorkflowExecutionFailedCause(0), err
}

var v CancelExternalWorkflowExecutionFailedCause
if err := v.FromWire(x); err != nil {
  return CancelExternalWorkflowExecutionFailedCause(0), err
}
return v, nil

func (CancelExternalWorkflowExecutionFailedCause) MarshalJSON

MarshalJSON serializes CancelExternalWorkflowExecutionFailedCause into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (CancelExternalWorkflowExecutionFailedCause) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CancelExternalWorkflowExecutionFailedCause. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (CancelExternalWorkflowExecutionFailedCause) MarshalText

MarshalText encodes CancelExternalWorkflowExecutionFailedCause to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (CancelExternalWorkflowExecutionFailedCause) Ptr

Ptr returns a pointer to this enum value.

func (CancelExternalWorkflowExecutionFailedCause) String

String returns a readable string representation of CancelExternalWorkflowExecutionFailedCause.

func (CancelExternalWorkflowExecutionFailedCause) ToWire

ToWire translates CancelExternalWorkflowExecutionFailedCause into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*CancelExternalWorkflowExecutionFailedCause) UnmarshalJSON

func (v *CancelExternalWorkflowExecutionFailedCause) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode CancelExternalWorkflowExecutionFailedCause from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*CancelExternalWorkflowExecutionFailedCause) UnmarshalText

func (v *CancelExternalWorkflowExecutionFailedCause) UnmarshalText(value []byte) error

UnmarshalText tries to decode CancelExternalWorkflowExecutionFailedCause from a byte slice containing its name.

var v CancelExternalWorkflowExecutionFailedCause
err := v.UnmarshalText([]byte("UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"))

type CancelTimerDecisionAttributes

type CancelTimerDecisionAttributes struct {
	TimerId *string `json:"timerId,omitempty"`
}

func (*CancelTimerDecisionAttributes) Equals

Equals returns true if all the fields of this CancelTimerDecisionAttributes match the provided CancelTimerDecisionAttributes.

This function performs a deep comparison.

func (*CancelTimerDecisionAttributes) FromWire

FromWire deserializes a CancelTimerDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CancelTimerDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CancelTimerDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CancelTimerDecisionAttributes) GetTimerId

func (v *CancelTimerDecisionAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*CancelTimerDecisionAttributes) IsSetTimerId

func (v *CancelTimerDecisionAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*CancelTimerDecisionAttributes) MarshalLogObject

func (v *CancelTimerDecisionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CancelTimerDecisionAttributes.

func (*CancelTimerDecisionAttributes) String

String returns a readable string representation of a CancelTimerDecisionAttributes struct.

func (*CancelTimerDecisionAttributes) ToWire

ToWire translates a CancelTimerDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CancelTimerFailedEventAttributes

type CancelTimerFailedEventAttributes struct {
	TimerId                      *string `json:"timerId,omitempty"`
	Cause                        *string `json:"cause,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
	Identity                     *string `json:"identity,omitempty"`
}

func (*CancelTimerFailedEventAttributes) Equals

Equals returns true if all the fields of this CancelTimerFailedEventAttributes match the provided CancelTimerFailedEventAttributes.

This function performs a deep comparison.

func (*CancelTimerFailedEventAttributes) FromWire

FromWire deserializes a CancelTimerFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CancelTimerFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CancelTimerFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CancelTimerFailedEventAttributes) GetCause

func (v *CancelTimerFailedEventAttributes) GetCause() (o string)

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*CancelTimerFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *CancelTimerFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*CancelTimerFailedEventAttributes) GetIdentity

func (v *CancelTimerFailedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*CancelTimerFailedEventAttributes) GetTimerId

func (v *CancelTimerFailedEventAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*CancelTimerFailedEventAttributes) IsSetCause

func (v *CancelTimerFailedEventAttributes) IsSetCause() bool

IsSetCause returns true if Cause is not nil.

func (*CancelTimerFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *CancelTimerFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*CancelTimerFailedEventAttributes) IsSetIdentity

func (v *CancelTimerFailedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*CancelTimerFailedEventAttributes) IsSetTimerId

func (v *CancelTimerFailedEventAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*CancelTimerFailedEventAttributes) MarshalLogObject

func (v *CancelTimerFailedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CancelTimerFailedEventAttributes.

func (*CancelTimerFailedEventAttributes) String

String returns a readable string representation of a CancelTimerFailedEventAttributes struct.

func (*CancelTimerFailedEventAttributes) ToWire

ToWire translates a CancelTimerFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CancelWorkflowExecutionDecisionAttributes

type CancelWorkflowExecutionDecisionAttributes struct {
	Details []byte `json:"details,omitempty"`
}

func (*CancelWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this CancelWorkflowExecutionDecisionAttributes match the provided CancelWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*CancelWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a CancelWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CancelWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CancelWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CancelWorkflowExecutionDecisionAttributes) GetDetails

func (v *CancelWorkflowExecutionDecisionAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*CancelWorkflowExecutionDecisionAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*CancelWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CancelWorkflowExecutionDecisionAttributes.

func (*CancelWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a CancelWorkflowExecutionDecisionAttributes struct.

func (*CancelWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a CancelWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CancellationAlreadyRequestedError

type CancellationAlreadyRequestedError struct {
	Message string `json:"message,required"`
}

func (*CancellationAlreadyRequestedError) Equals

Equals returns true if all the fields of this CancellationAlreadyRequestedError match the provided CancellationAlreadyRequestedError.

This function performs a deep comparison.

func (*CancellationAlreadyRequestedError) Error

func (*CancellationAlreadyRequestedError) ErrorName

ErrorName is the name of this type as defined in the Thrift file.

func (*CancellationAlreadyRequestedError) FromWire

FromWire deserializes a CancellationAlreadyRequestedError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CancellationAlreadyRequestedError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CancellationAlreadyRequestedError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CancellationAlreadyRequestedError) GetMessage

func (v *CancellationAlreadyRequestedError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*CancellationAlreadyRequestedError) MarshalLogObject

func (v *CancellationAlreadyRequestedError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CancellationAlreadyRequestedError.

func (*CancellationAlreadyRequestedError) String

String returns a readable string representation of a CancellationAlreadyRequestedError struct.

func (*CancellationAlreadyRequestedError) ToWire

ToWire translates a CancellationAlreadyRequestedError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionCanceledEventAttributes

type ChildWorkflowExecutionCanceledEventAttributes struct {
	Details           []byte             `json:"details,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	StartedEventId    *int64             `json:"startedEventId,omitempty"`
}

func (*ChildWorkflowExecutionCanceledEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionCanceledEventAttributes match the provided ChildWorkflowExecutionCanceledEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionCanceledEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionCanceledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionCanceledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionCanceledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionCanceledEventAttributes) GetDetails

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionCanceledEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) GetStartedEventId

func (v *ChildWorkflowExecutionCanceledEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionCanceledEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetStartedEventId

func (v *ChildWorkflowExecutionCanceledEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionCanceledEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) IsSetWorkflowType

func (v *ChildWorkflowExecutionCanceledEventAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionCanceledEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionCanceledEventAttributes.

func (*ChildWorkflowExecutionCanceledEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionCanceledEventAttributes struct.

func (*ChildWorkflowExecutionCanceledEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionCanceledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionCompletedEventAttributes

type ChildWorkflowExecutionCompletedEventAttributes struct {
	Result            []byte             `json:"result,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	StartedEventId    *int64             `json:"startedEventId,omitempty"`
}

func (*ChildWorkflowExecutionCompletedEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionCompletedEventAttributes match the provided ChildWorkflowExecutionCompletedEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionCompletedEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionCompletedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionCompletedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionCompletedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionCompletedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionCompletedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) GetResult

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) GetStartedEventId

func (v *ChildWorkflowExecutionCompletedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionCompletedEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetResult

IsSetResult returns true if Result is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetStartedEventId

func (v *ChildWorkflowExecutionCompletedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionCompletedEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionCompletedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionCompletedEventAttributes.

func (*ChildWorkflowExecutionCompletedEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionCompletedEventAttributes struct.

func (*ChildWorkflowExecutionCompletedEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionCompletedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionFailedCause

type ChildWorkflowExecutionFailedCause int32
const (
	ChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning ChildWorkflowExecutionFailedCause = 0
)

func ChildWorkflowExecutionFailedCause_Values

func ChildWorkflowExecutionFailedCause_Values() []ChildWorkflowExecutionFailedCause

ChildWorkflowExecutionFailedCause_Values returns all recognized values of ChildWorkflowExecutionFailedCause.

func (ChildWorkflowExecutionFailedCause) Equals

Equals returns true if this ChildWorkflowExecutionFailedCause value matches the provided value.

func (*ChildWorkflowExecutionFailedCause) FromWire

FromWire deserializes ChildWorkflowExecutionFailedCause from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return ChildWorkflowExecutionFailedCause(0), err
}

var v ChildWorkflowExecutionFailedCause
if err := v.FromWire(x); err != nil {
  return ChildWorkflowExecutionFailedCause(0), err
}
return v, nil

func (ChildWorkflowExecutionFailedCause) MarshalJSON

func (v ChildWorkflowExecutionFailedCause) MarshalJSON() ([]byte, error)

MarshalJSON serializes ChildWorkflowExecutionFailedCause into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (ChildWorkflowExecutionFailedCause) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionFailedCause. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (ChildWorkflowExecutionFailedCause) MarshalText

func (v ChildWorkflowExecutionFailedCause) MarshalText() ([]byte, error)

MarshalText encodes ChildWorkflowExecutionFailedCause to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (ChildWorkflowExecutionFailedCause) Ptr

Ptr returns a pointer to this enum value.

func (ChildWorkflowExecutionFailedCause) String

String returns a readable string representation of ChildWorkflowExecutionFailedCause.

func (ChildWorkflowExecutionFailedCause) ToWire

ToWire translates ChildWorkflowExecutionFailedCause into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*ChildWorkflowExecutionFailedCause) UnmarshalJSON

func (v *ChildWorkflowExecutionFailedCause) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode ChildWorkflowExecutionFailedCause from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*ChildWorkflowExecutionFailedCause) UnmarshalText

func (v *ChildWorkflowExecutionFailedCause) UnmarshalText(value []byte) error

UnmarshalText tries to decode ChildWorkflowExecutionFailedCause from a byte slice containing its name.

var v ChildWorkflowExecutionFailedCause
err := v.UnmarshalText([]byte("WORKFLOW_ALREADY_RUNNING"))

type ChildWorkflowExecutionFailedEventAttributes

type ChildWorkflowExecutionFailedEventAttributes struct {
	Reason            *string            `json:"reason,omitempty"`
	Details           []byte             `json:"details,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	StartedEventId    *int64             `json:"startedEventId,omitempty"`
}

func (*ChildWorkflowExecutionFailedEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionFailedEventAttributes match the provided ChildWorkflowExecutionFailedEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionFailedEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionFailedEventAttributes) GetDetails

func (v *ChildWorkflowExecutionFailedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetReason

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetStartedEventId

func (v *ChildWorkflowExecutionFailedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetWorkflowExecution

func (v *ChildWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetReason

IsSetReason returns true if Reason is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetStartedEventId

func (v *ChildWorkflowExecutionFailedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowType

func (v *ChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionFailedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionFailedEventAttributes.

func (*ChildWorkflowExecutionFailedEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionFailedEventAttributes struct.

func (*ChildWorkflowExecutionFailedEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionStartedEventAttributes

type ChildWorkflowExecutionStartedEventAttributes struct {
	Domain            *string            `json:"domain,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	Header            *Header            `json:"header,omitempty"`
}

func (*ChildWorkflowExecutionStartedEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionStartedEventAttributes match the provided ChildWorkflowExecutionStartedEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionStartedEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionStartedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionStartedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionStartedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionStartedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionStartedEventAttributes) GetHeader

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionStartedEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionStartedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionStartedEventAttributes) GetWorkflowExecution

func (v *ChildWorkflowExecutionStartedEventAttributes) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionStartedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionStartedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionStartedEventAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*ChildWorkflowExecutionStartedEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionStartedEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionStartedEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionStartedEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionStartedEventAttributes) IsSetWorkflowType

func (v *ChildWorkflowExecutionStartedEventAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionStartedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionStartedEventAttributes.

func (*ChildWorkflowExecutionStartedEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionStartedEventAttributes struct.

func (*ChildWorkflowExecutionStartedEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionStartedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionTerminatedEventAttributes

type ChildWorkflowExecutionTerminatedEventAttributes struct {
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	StartedEventId    *int64             `json:"startedEventId,omitempty"`
}

func (*ChildWorkflowExecutionTerminatedEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionTerminatedEventAttributes match the provided ChildWorkflowExecutionTerminatedEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionTerminatedEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionTerminatedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionTerminatedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionTerminatedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionTerminatedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTerminatedEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionTerminatedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTerminatedEventAttributes) GetStartedEventId

func (v *ChildWorkflowExecutionTerminatedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTerminatedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionTerminatedEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionTerminatedEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionTerminatedEventAttributes) IsSetStartedEventId

func (v *ChildWorkflowExecutionTerminatedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ChildWorkflowExecutionTerminatedEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionTerminatedEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionTerminatedEventAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionTerminatedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionTerminatedEventAttributes.

func (*ChildWorkflowExecutionTerminatedEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionTerminatedEventAttributes struct.

func (*ChildWorkflowExecutionTerminatedEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionTerminatedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ChildWorkflowExecutionTimedOutEventAttributes

type ChildWorkflowExecutionTimedOutEventAttributes struct {
	TimeoutType       *TimeoutType       `json:"timeoutType,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType      *WorkflowType      `json:"workflowType,omitempty"`
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	StartedEventId    *int64             `json:"startedEventId,omitempty"`
}

func (*ChildWorkflowExecutionTimedOutEventAttributes) Equals

Equals returns true if all the fields of this ChildWorkflowExecutionTimedOutEventAttributes match the provided ChildWorkflowExecutionTimedOutEventAttributes.

This function performs a deep comparison.

func (*ChildWorkflowExecutionTimedOutEventAttributes) FromWire

FromWire deserializes a ChildWorkflowExecutionTimedOutEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ChildWorkflowExecutionTimedOutEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ChildWorkflowExecutionTimedOutEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetInitiatedEventId

func (v *ChildWorkflowExecutionTimedOutEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetStartedEventId

func (v *ChildWorkflowExecutionTimedOutEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetTimeoutType

GetTimeoutType returns the value of TimeoutType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetInitiatedEventId

func (v *ChildWorkflowExecutionTimedOutEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetStartedEventId

func (v *ChildWorkflowExecutionTimedOutEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetTimeoutType

IsSetTimeoutType returns true if TimeoutType is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetWorkflowExecution

func (v *ChildWorkflowExecutionTimedOutEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) IsSetWorkflowType

func (v *ChildWorkflowExecutionTimedOutEventAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ChildWorkflowExecutionTimedOutEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ChildWorkflowExecutionTimedOutEventAttributes.

func (*ChildWorkflowExecutionTimedOutEventAttributes) String

String returns a readable string representation of a ChildWorkflowExecutionTimedOutEventAttributes struct.

func (*ChildWorkflowExecutionTimedOutEventAttributes) ToWire

ToWire translates a ChildWorkflowExecutionTimedOutEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ClientVersionNotSupportedError

type ClientVersionNotSupportedError struct {
	FeatureVersion    string `json:"featureVersion,required"`
	ClientImpl        string `json:"clientImpl,required"`
	SupportedVersions string `json:"supportedVersions,required"`
}

func (*ClientVersionNotSupportedError) Equals

Equals returns true if all the fields of this ClientVersionNotSupportedError match the provided ClientVersionNotSupportedError.

This function performs a deep comparison.

func (*ClientVersionNotSupportedError) Error

func (*ClientVersionNotSupportedError) ErrorName

ErrorName is the name of this type as defined in the Thrift file.

func (*ClientVersionNotSupportedError) FromWire

FromWire deserializes a ClientVersionNotSupportedError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ClientVersionNotSupportedError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ClientVersionNotSupportedError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ClientVersionNotSupportedError) GetClientImpl

func (v *ClientVersionNotSupportedError) GetClientImpl() (o string)

GetClientImpl returns the value of ClientImpl if it is set or its zero value if it is unset.

func (*ClientVersionNotSupportedError) GetFeatureVersion

func (v *ClientVersionNotSupportedError) GetFeatureVersion() (o string)

GetFeatureVersion returns the value of FeatureVersion if it is set or its zero value if it is unset.

func (*ClientVersionNotSupportedError) GetSupportedVersions

func (v *ClientVersionNotSupportedError) GetSupportedVersions() (o string)

GetSupportedVersions returns the value of SupportedVersions if it is set or its zero value if it is unset.

func (*ClientVersionNotSupportedError) MarshalLogObject

func (v *ClientVersionNotSupportedError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ClientVersionNotSupportedError.

func (*ClientVersionNotSupportedError) String

String returns a readable string representation of a ClientVersionNotSupportedError struct.

func (*ClientVersionNotSupportedError) ToWire

ToWire translates a ClientVersionNotSupportedError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CloseShardRequest

type CloseShardRequest struct {
	ShardID *int32 `json:"shardID,omitempty"`
}

func (*CloseShardRequest) Equals

func (v *CloseShardRequest) Equals(rhs *CloseShardRequest) bool

Equals returns true if all the fields of this CloseShardRequest match the provided CloseShardRequest.

This function performs a deep comparison.

func (*CloseShardRequest) FromWire

func (v *CloseShardRequest) FromWire(w wire.Value) error

FromWire deserializes a CloseShardRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CloseShardRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CloseShardRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CloseShardRequest) GetShardID

func (v *CloseShardRequest) GetShardID() (o int32)

GetShardID returns the value of ShardID if it is set or its zero value if it is unset.

func (*CloseShardRequest) IsSetShardID

func (v *CloseShardRequest) IsSetShardID() bool

IsSetShardID returns true if ShardID is not nil.

func (*CloseShardRequest) MarshalLogObject

func (v *CloseShardRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CloseShardRequest.

func (*CloseShardRequest) String

func (v *CloseShardRequest) String() string

String returns a readable string representation of a CloseShardRequest struct.

func (*CloseShardRequest) ToWire

func (v *CloseShardRequest) ToWire() (wire.Value, error)

ToWire translates a CloseShardRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ClusterReplicationConfiguration

type ClusterReplicationConfiguration struct {
	ClusterName *string `json:"clusterName,omitempty"`
}

func (*ClusterReplicationConfiguration) Equals

Equals returns true if all the fields of this ClusterReplicationConfiguration match the provided ClusterReplicationConfiguration.

This function performs a deep comparison.

func (*ClusterReplicationConfiguration) FromWire

FromWire deserializes a ClusterReplicationConfiguration struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ClusterReplicationConfiguration struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ClusterReplicationConfiguration
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ClusterReplicationConfiguration) GetClusterName

func (v *ClusterReplicationConfiguration) GetClusterName() (o string)

GetClusterName returns the value of ClusterName if it is set or its zero value if it is unset.

func (*ClusterReplicationConfiguration) IsSetClusterName

func (v *ClusterReplicationConfiguration) IsSetClusterName() bool

IsSetClusterName returns true if ClusterName is not nil.

func (*ClusterReplicationConfiguration) MarshalLogObject

func (v *ClusterReplicationConfiguration) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ClusterReplicationConfiguration.

func (*ClusterReplicationConfiguration) String

String returns a readable string representation of a ClusterReplicationConfiguration struct.

func (*ClusterReplicationConfiguration) ToWire

ToWire translates a ClusterReplicationConfiguration struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CompleteWorkflowExecutionDecisionAttributes

type CompleteWorkflowExecutionDecisionAttributes struct {
	Result []byte `json:"result,omitempty"`
}

func (*CompleteWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this CompleteWorkflowExecutionDecisionAttributes match the provided CompleteWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*CompleteWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a CompleteWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CompleteWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CompleteWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CompleteWorkflowExecutionDecisionAttributes) GetResult

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*CompleteWorkflowExecutionDecisionAttributes) IsSetResult

IsSetResult returns true if Result is not nil.

func (*CompleteWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CompleteWorkflowExecutionDecisionAttributes.

func (*CompleteWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a CompleteWorkflowExecutionDecisionAttributes struct.

func (*CompleteWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a CompleteWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ContinueAsNewInitiator

type ContinueAsNewInitiator int32
const (
	ContinueAsNewInitiatorDecider      ContinueAsNewInitiator = 0
	ContinueAsNewInitiatorRetryPolicy  ContinueAsNewInitiator = 1
	ContinueAsNewInitiatorCronSchedule ContinueAsNewInitiator = 2
)

func ContinueAsNewInitiator_Values

func ContinueAsNewInitiator_Values() []ContinueAsNewInitiator

ContinueAsNewInitiator_Values returns all recognized values of ContinueAsNewInitiator.

func (ContinueAsNewInitiator) Equals

Equals returns true if this ContinueAsNewInitiator value matches the provided value.

func (*ContinueAsNewInitiator) FromWire

func (v *ContinueAsNewInitiator) FromWire(w wire.Value) error

FromWire deserializes ContinueAsNewInitiator from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return ContinueAsNewInitiator(0), err
}

var v ContinueAsNewInitiator
if err := v.FromWire(x); err != nil {
  return ContinueAsNewInitiator(0), err
}
return v, nil

func (ContinueAsNewInitiator) MarshalJSON

func (v ContinueAsNewInitiator) MarshalJSON() ([]byte, error)

MarshalJSON serializes ContinueAsNewInitiator into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (ContinueAsNewInitiator) MarshalLogObject

func (v ContinueAsNewInitiator) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ContinueAsNewInitiator. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (ContinueAsNewInitiator) MarshalText

func (v ContinueAsNewInitiator) MarshalText() ([]byte, error)

MarshalText encodes ContinueAsNewInitiator to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (ContinueAsNewInitiator) Ptr

Ptr returns a pointer to this enum value.

func (ContinueAsNewInitiator) String

func (v ContinueAsNewInitiator) String() string

String returns a readable string representation of ContinueAsNewInitiator.

func (ContinueAsNewInitiator) ToWire

func (v ContinueAsNewInitiator) ToWire() (wire.Value, error)

ToWire translates ContinueAsNewInitiator into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*ContinueAsNewInitiator) UnmarshalJSON

func (v *ContinueAsNewInitiator) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode ContinueAsNewInitiator from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*ContinueAsNewInitiator) UnmarshalText

func (v *ContinueAsNewInitiator) UnmarshalText(value []byte) error

UnmarshalText tries to decode ContinueAsNewInitiator from a byte slice containing its name.

var v ContinueAsNewInitiator
err := v.UnmarshalText([]byte("Decider"))

type ContinueAsNewWorkflowExecutionDecisionAttributes

type ContinueAsNewWorkflowExecutionDecisionAttributes struct {
	WorkflowType                        *WorkflowType           `json:"workflowType,omitempty"`
	TaskList                            *TaskList               `json:"taskList,omitempty"`
	Input                               []byte                  `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                  `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                  `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	BackoffStartIntervalInSeconds       *int32                  `json:"backoffStartIntervalInSeconds,omitempty"`
	RetryPolicy                         *RetryPolicy            `json:"retryPolicy,omitempty"`
	Initiator                           *ContinueAsNewInitiator `json:"initiator,omitempty"`
	FailureReason                       *string                 `json:"failureReason,omitempty"`
	FailureDetails                      []byte                  `json:"failureDetails,omitempty"`
	LastCompletionResult                []byte                  `json:"lastCompletionResult,omitempty"`
	CronSchedule                        *string                 `json:"cronSchedule,omitempty"`
	Header                              *Header                 `json:"header,omitempty"`
	Memo                                *Memo                   `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes       `json:"searchAttributes,omitempty"`
}

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this ContinueAsNewWorkflowExecutionDecisionAttributes match the provided ContinueAsNewWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a ContinueAsNewWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ContinueAsNewWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ContinueAsNewWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetBackoffStartIntervalInSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetBackoffStartIntervalInSeconds() (o int32)

GetBackoffStartIntervalInSeconds returns the value of BackoffStartIntervalInSeconds if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetCronSchedule

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeoutSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailureDetails

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailureDetails() (o []byte)

GetFailureDetails returns the value of FailureDetails if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailureReason

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailureReason() (o string)

GetFailureReason returns the value of FailureReason if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetHeader

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetInitiator

GetInitiator returns the value of Initiator if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetLastCompletionResult

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetLastCompletionResult() (o []byte)

GetLastCompletionResult returns the value of LastCompletionResult if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetRetryPolicy

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskList

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeoutSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetBackoffStartIntervalInSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetBackoffStartIntervalInSeconds() bool

IsSetBackoffStartIntervalInSeconds returns true if BackoffStartIntervalInSeconds is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetCronSchedule

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetExecutionStartToCloseTimeoutSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetFailureDetails

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetFailureDetails() bool

IsSetFailureDetails returns true if FailureDetails is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetFailureReason

IsSetFailureReason returns true if FailureReason is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetInitiator

IsSetInitiator returns true if Initiator is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetLastCompletionResult

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetLastCompletionResult() bool

IsSetLastCompletionResult returns true if LastCompletionResult is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetRetryPolicy

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetSearchAttributes

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetTaskList

IsSetTaskList returns true if TaskList is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetTaskStartToCloseTimeoutSeconds

func (v *ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ContinueAsNewWorkflowExecutionDecisionAttributes.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a ContinueAsNewWorkflowExecutionDecisionAttributes struct.

func (*ContinueAsNewWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a ContinueAsNewWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CountWorkflowExecutionsRequest

type CountWorkflowExecutionsRequest struct {
	Domain *string `json:"domain,omitempty"`
	Query  *string `json:"query,omitempty"`
}

func (*CountWorkflowExecutionsRequest) Equals

Equals returns true if all the fields of this CountWorkflowExecutionsRequest match the provided CountWorkflowExecutionsRequest.

This function performs a deep comparison.

func (*CountWorkflowExecutionsRequest) FromWire

FromWire deserializes a CountWorkflowExecutionsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CountWorkflowExecutionsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CountWorkflowExecutionsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CountWorkflowExecutionsRequest) GetDomain

func (v *CountWorkflowExecutionsRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*CountWorkflowExecutionsRequest) GetQuery

func (v *CountWorkflowExecutionsRequest) GetQuery() (o string)

GetQuery returns the value of Query if it is set or its zero value if it is unset.

func (*CountWorkflowExecutionsRequest) IsSetDomain

func (v *CountWorkflowExecutionsRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*CountWorkflowExecutionsRequest) IsSetQuery

func (v *CountWorkflowExecutionsRequest) IsSetQuery() bool

IsSetQuery returns true if Query is not nil.

func (*CountWorkflowExecutionsRequest) MarshalLogObject

func (v *CountWorkflowExecutionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CountWorkflowExecutionsRequest.

func (*CountWorkflowExecutionsRequest) String

String returns a readable string representation of a CountWorkflowExecutionsRequest struct.

func (*CountWorkflowExecutionsRequest) ToWire

ToWire translates a CountWorkflowExecutionsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type CountWorkflowExecutionsResponse

type CountWorkflowExecutionsResponse struct {
	Count *int64 `json:"count,omitempty"`
}

func (*CountWorkflowExecutionsResponse) Equals

Equals returns true if all the fields of this CountWorkflowExecutionsResponse match the provided CountWorkflowExecutionsResponse.

This function performs a deep comparison.

func (*CountWorkflowExecutionsResponse) FromWire

FromWire deserializes a CountWorkflowExecutionsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a CountWorkflowExecutionsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v CountWorkflowExecutionsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*CountWorkflowExecutionsResponse) GetCount

func (v *CountWorkflowExecutionsResponse) GetCount() (o int64)

GetCount returns the value of Count if it is set or its zero value if it is unset.

func (*CountWorkflowExecutionsResponse) IsSetCount

func (v *CountWorkflowExecutionsResponse) IsSetCount() bool

IsSetCount returns true if Count is not nil.

func (*CountWorkflowExecutionsResponse) MarshalLogObject

func (v *CountWorkflowExecutionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of CountWorkflowExecutionsResponse.

func (*CountWorkflowExecutionsResponse) String

String returns a readable string representation of a CountWorkflowExecutionsResponse struct.

func (*CountWorkflowExecutionsResponse) ToWire

ToWire translates a CountWorkflowExecutionsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DataBlob

type DataBlob struct {
	EncodingType *EncodingType `json:"EncodingType,omitempty"`
	Data         []byte        `json:"Data,omitempty"`
}

func (*DataBlob) Equals

func (v *DataBlob) Equals(rhs *DataBlob) bool

Equals returns true if all the fields of this DataBlob match the provided DataBlob.

This function performs a deep comparison.

func (*DataBlob) FromWire

func (v *DataBlob) FromWire(w wire.Value) error

FromWire deserializes a DataBlob struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DataBlob struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DataBlob
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DataBlob) GetData

func (v *DataBlob) GetData() (o []byte)

GetData returns the value of Data if it is set or its zero value if it is unset.

func (*DataBlob) GetEncodingType

func (v *DataBlob) GetEncodingType() (o EncodingType)

GetEncodingType returns the value of EncodingType if it is set or its zero value if it is unset.

func (*DataBlob) IsSetData

func (v *DataBlob) IsSetData() bool

IsSetData returns true if Data is not nil.

func (*DataBlob) IsSetEncodingType

func (v *DataBlob) IsSetEncodingType() bool

IsSetEncodingType returns true if EncodingType is not nil.

func (*DataBlob) MarshalLogObject

func (v *DataBlob) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DataBlob.

func (*DataBlob) String

func (v *DataBlob) String() string

String returns a readable string representation of a DataBlob struct.

func (*DataBlob) ToWire

func (v *DataBlob) ToWire() (wire.Value, error)

ToWire translates a DataBlob struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type Decision

type Decision struct {
	DecisionType                                             *DecisionType                                             `json:"decisionType,omitempty"`
	ScheduleActivityTaskDecisionAttributes                   *ScheduleActivityTaskDecisionAttributes                   `json:"scheduleActivityTaskDecisionAttributes,omitempty"`
	StartTimerDecisionAttributes                             *StartTimerDecisionAttributes                             `json:"startTimerDecisionAttributes,omitempty"`
	CompleteWorkflowExecutionDecisionAttributes              *CompleteWorkflowExecutionDecisionAttributes              `json:"completeWorkflowExecutionDecisionAttributes,omitempty"`
	FailWorkflowExecutionDecisionAttributes                  *FailWorkflowExecutionDecisionAttributes                  `json:"failWorkflowExecutionDecisionAttributes,omitempty"`
	RequestCancelActivityTaskDecisionAttributes              *RequestCancelActivityTaskDecisionAttributes              `json:"requestCancelActivityTaskDecisionAttributes,omitempty"`
	CancelTimerDecisionAttributes                            *CancelTimerDecisionAttributes                            `json:"cancelTimerDecisionAttributes,omitempty"`
	CancelWorkflowExecutionDecisionAttributes                *CancelWorkflowExecutionDecisionAttributes                `json:"cancelWorkflowExecutionDecisionAttributes,omitempty"`
	RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes `json:"requestCancelExternalWorkflowExecutionDecisionAttributes,omitempty"`
	RecordMarkerDecisionAttributes                           *RecordMarkerDecisionAttributes                           `json:"recordMarkerDecisionAttributes,omitempty"`
	ContinueAsNewWorkflowExecutionDecisionAttributes         *ContinueAsNewWorkflowExecutionDecisionAttributes         `json:"continueAsNewWorkflowExecutionDecisionAttributes,omitempty"`
	StartChildWorkflowExecutionDecisionAttributes            *StartChildWorkflowExecutionDecisionAttributes            `json:"startChildWorkflowExecutionDecisionAttributes,omitempty"`
	SignalExternalWorkflowExecutionDecisionAttributes        *SignalExternalWorkflowExecutionDecisionAttributes        `json:"signalExternalWorkflowExecutionDecisionAttributes,omitempty"`
	UpsertWorkflowSearchAttributesDecisionAttributes         *UpsertWorkflowSearchAttributesDecisionAttributes         `json:"upsertWorkflowSearchAttributesDecisionAttributes,omitempty"`
}

func (*Decision) Equals

func (v *Decision) Equals(rhs *Decision) bool

Equals returns true if all the fields of this Decision match the provided Decision.

This function performs a deep comparison.

func (*Decision) FromWire

func (v *Decision) FromWire(w wire.Value) error

FromWire deserializes a Decision struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Decision struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Decision
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Decision) GetCancelTimerDecisionAttributes

func (v *Decision) GetCancelTimerDecisionAttributes() (o *CancelTimerDecisionAttributes)

GetCancelTimerDecisionAttributes returns the value of CancelTimerDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetCancelWorkflowExecutionDecisionAttributes

func (v *Decision) GetCancelWorkflowExecutionDecisionAttributes() (o *CancelWorkflowExecutionDecisionAttributes)

GetCancelWorkflowExecutionDecisionAttributes returns the value of CancelWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetCompleteWorkflowExecutionDecisionAttributes

func (v *Decision) GetCompleteWorkflowExecutionDecisionAttributes() (o *CompleteWorkflowExecutionDecisionAttributes)

GetCompleteWorkflowExecutionDecisionAttributes returns the value of CompleteWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetContinueAsNewWorkflowExecutionDecisionAttributes

func (v *Decision) GetContinueAsNewWorkflowExecutionDecisionAttributes() (o *ContinueAsNewWorkflowExecutionDecisionAttributes)

GetContinueAsNewWorkflowExecutionDecisionAttributes returns the value of ContinueAsNewWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetDecisionType

func (v *Decision) GetDecisionType() (o DecisionType)

GetDecisionType returns the value of DecisionType if it is set or its zero value if it is unset.

func (*Decision) GetFailWorkflowExecutionDecisionAttributes

func (v *Decision) GetFailWorkflowExecutionDecisionAttributes() (o *FailWorkflowExecutionDecisionAttributes)

GetFailWorkflowExecutionDecisionAttributes returns the value of FailWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetRecordMarkerDecisionAttributes

func (v *Decision) GetRecordMarkerDecisionAttributes() (o *RecordMarkerDecisionAttributes)

GetRecordMarkerDecisionAttributes returns the value of RecordMarkerDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetRequestCancelActivityTaskDecisionAttributes

func (v *Decision) GetRequestCancelActivityTaskDecisionAttributes() (o *RequestCancelActivityTaskDecisionAttributes)

GetRequestCancelActivityTaskDecisionAttributes returns the value of RequestCancelActivityTaskDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetRequestCancelExternalWorkflowExecutionDecisionAttributes

func (v *Decision) GetRequestCancelExternalWorkflowExecutionDecisionAttributes() (o *RequestCancelExternalWorkflowExecutionDecisionAttributes)

GetRequestCancelExternalWorkflowExecutionDecisionAttributes returns the value of RequestCancelExternalWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetScheduleActivityTaskDecisionAttributes

func (v *Decision) GetScheduleActivityTaskDecisionAttributes() (o *ScheduleActivityTaskDecisionAttributes)

GetScheduleActivityTaskDecisionAttributes returns the value of ScheduleActivityTaskDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetSignalExternalWorkflowExecutionDecisionAttributes

func (v *Decision) GetSignalExternalWorkflowExecutionDecisionAttributes() (o *SignalExternalWorkflowExecutionDecisionAttributes)

GetSignalExternalWorkflowExecutionDecisionAttributes returns the value of SignalExternalWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetStartChildWorkflowExecutionDecisionAttributes

func (v *Decision) GetStartChildWorkflowExecutionDecisionAttributes() (o *StartChildWorkflowExecutionDecisionAttributes)

GetStartChildWorkflowExecutionDecisionAttributes returns the value of StartChildWorkflowExecutionDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetStartTimerDecisionAttributes

func (v *Decision) GetStartTimerDecisionAttributes() (o *StartTimerDecisionAttributes)

GetStartTimerDecisionAttributes returns the value of StartTimerDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) GetUpsertWorkflowSearchAttributesDecisionAttributes

func (v *Decision) GetUpsertWorkflowSearchAttributesDecisionAttributes() (o *UpsertWorkflowSearchAttributesDecisionAttributes)

GetUpsertWorkflowSearchAttributesDecisionAttributes returns the value of UpsertWorkflowSearchAttributesDecisionAttributes if it is set or its zero value if it is unset.

func (*Decision) IsSetCancelTimerDecisionAttributes

func (v *Decision) IsSetCancelTimerDecisionAttributes() bool

IsSetCancelTimerDecisionAttributes returns true if CancelTimerDecisionAttributes is not nil.

func (*Decision) IsSetCancelWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetCancelWorkflowExecutionDecisionAttributes() bool

IsSetCancelWorkflowExecutionDecisionAttributes returns true if CancelWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetCompleteWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetCompleteWorkflowExecutionDecisionAttributes() bool

IsSetCompleteWorkflowExecutionDecisionAttributes returns true if CompleteWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetContinueAsNewWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetContinueAsNewWorkflowExecutionDecisionAttributes() bool

IsSetContinueAsNewWorkflowExecutionDecisionAttributes returns true if ContinueAsNewWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetDecisionType

func (v *Decision) IsSetDecisionType() bool

IsSetDecisionType returns true if DecisionType is not nil.

func (*Decision) IsSetFailWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetFailWorkflowExecutionDecisionAttributes() bool

IsSetFailWorkflowExecutionDecisionAttributes returns true if FailWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetRecordMarkerDecisionAttributes

func (v *Decision) IsSetRecordMarkerDecisionAttributes() bool

IsSetRecordMarkerDecisionAttributes returns true if RecordMarkerDecisionAttributes is not nil.

func (*Decision) IsSetRequestCancelActivityTaskDecisionAttributes

func (v *Decision) IsSetRequestCancelActivityTaskDecisionAttributes() bool

IsSetRequestCancelActivityTaskDecisionAttributes returns true if RequestCancelActivityTaskDecisionAttributes is not nil.

func (*Decision) IsSetRequestCancelExternalWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetRequestCancelExternalWorkflowExecutionDecisionAttributes() bool

IsSetRequestCancelExternalWorkflowExecutionDecisionAttributes returns true if RequestCancelExternalWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetScheduleActivityTaskDecisionAttributes

func (v *Decision) IsSetScheduleActivityTaskDecisionAttributes() bool

IsSetScheduleActivityTaskDecisionAttributes returns true if ScheduleActivityTaskDecisionAttributes is not nil.

func (*Decision) IsSetSignalExternalWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetSignalExternalWorkflowExecutionDecisionAttributes() bool

IsSetSignalExternalWorkflowExecutionDecisionAttributes returns true if SignalExternalWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetStartChildWorkflowExecutionDecisionAttributes

func (v *Decision) IsSetStartChildWorkflowExecutionDecisionAttributes() bool

IsSetStartChildWorkflowExecutionDecisionAttributes returns true if StartChildWorkflowExecutionDecisionAttributes is not nil.

func (*Decision) IsSetStartTimerDecisionAttributes

func (v *Decision) IsSetStartTimerDecisionAttributes() bool

IsSetStartTimerDecisionAttributes returns true if StartTimerDecisionAttributes is not nil.

func (*Decision) IsSetUpsertWorkflowSearchAttributesDecisionAttributes

func (v *Decision) IsSetUpsertWorkflowSearchAttributesDecisionAttributes() bool

IsSetUpsertWorkflowSearchAttributesDecisionAttributes returns true if UpsertWorkflowSearchAttributesDecisionAttributes is not nil.

func (*Decision) MarshalLogObject

func (v *Decision) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Decision.

func (*Decision) String

func (v *Decision) String() string

String returns a readable string representation of a Decision struct.

func (*Decision) ToWire

func (v *Decision) ToWire() (wire.Value, error)

ToWire translates a Decision struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionTaskCompletedEventAttributes

type DecisionTaskCompletedEventAttributes struct {
	ExecutionContext []byte  `json:"executionContext,omitempty"`
	ScheduledEventId *int64  `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64  `json:"startedEventId,omitempty"`
	Identity         *string `json:"identity,omitempty"`
	BinaryChecksum   *string `json:"binaryChecksum,omitempty"`
}

func (*DecisionTaskCompletedEventAttributes) Equals

Equals returns true if all the fields of this DecisionTaskCompletedEventAttributes match the provided DecisionTaskCompletedEventAttributes.

This function performs a deep comparison.

func (*DecisionTaskCompletedEventAttributes) FromWire

FromWire deserializes a DecisionTaskCompletedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DecisionTaskCompletedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DecisionTaskCompletedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DecisionTaskCompletedEventAttributes) GetBinaryChecksum

func (v *DecisionTaskCompletedEventAttributes) GetBinaryChecksum() (o string)

GetBinaryChecksum returns the value of BinaryChecksum if it is set or its zero value if it is unset.

func (*DecisionTaskCompletedEventAttributes) GetExecutionContext

func (v *DecisionTaskCompletedEventAttributes) GetExecutionContext() (o []byte)

GetExecutionContext returns the value of ExecutionContext if it is set or its zero value if it is unset.

func (*DecisionTaskCompletedEventAttributes) GetIdentity

func (v *DecisionTaskCompletedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*DecisionTaskCompletedEventAttributes) GetScheduledEventId

func (v *DecisionTaskCompletedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*DecisionTaskCompletedEventAttributes) GetStartedEventId

func (v *DecisionTaskCompletedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*DecisionTaskCompletedEventAttributes) IsSetBinaryChecksum

func (v *DecisionTaskCompletedEventAttributes) IsSetBinaryChecksum() bool

IsSetBinaryChecksum returns true if BinaryChecksum is not nil.

func (*DecisionTaskCompletedEventAttributes) IsSetExecutionContext

func (v *DecisionTaskCompletedEventAttributes) IsSetExecutionContext() bool

IsSetExecutionContext returns true if ExecutionContext is not nil.

func (*DecisionTaskCompletedEventAttributes) IsSetIdentity

func (v *DecisionTaskCompletedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*DecisionTaskCompletedEventAttributes) IsSetScheduledEventId

func (v *DecisionTaskCompletedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*DecisionTaskCompletedEventAttributes) IsSetStartedEventId

func (v *DecisionTaskCompletedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*DecisionTaskCompletedEventAttributes) MarshalLogObject

func (v *DecisionTaskCompletedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskCompletedEventAttributes.

func (*DecisionTaskCompletedEventAttributes) String

String returns a readable string representation of a DecisionTaskCompletedEventAttributes struct.

func (*DecisionTaskCompletedEventAttributes) ToWire

ToWire translates a DecisionTaskCompletedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionTaskFailedCause

type DecisionTaskFailedCause int32
const (
	DecisionTaskFailedCauseUnhandledDecision                                   DecisionTaskFailedCause = 0
	DecisionTaskFailedCauseBadScheduleActivityAttributes                       DecisionTaskFailedCause = 1
	DecisionTaskFailedCauseBadRequestCancelActivityAttributes                  DecisionTaskFailedCause = 2
	DecisionTaskFailedCauseBadStartTimerAttributes                             DecisionTaskFailedCause = 3
	DecisionTaskFailedCauseBadCancelTimerAttributes                            DecisionTaskFailedCause = 4
	DecisionTaskFailedCauseBadRecordMarkerAttributes                           DecisionTaskFailedCause = 5
	DecisionTaskFailedCauseBadCompleteWorkflowExecutionAttributes              DecisionTaskFailedCause = 6
	DecisionTaskFailedCauseBadFailWorkflowExecutionAttributes                  DecisionTaskFailedCause = 7
	DecisionTaskFailedCauseBadCancelWorkflowExecutionAttributes                DecisionTaskFailedCause = 8
	DecisionTaskFailedCauseBadRequestCancelExternalWorkflowExecutionAttributes DecisionTaskFailedCause = 9
	DecisionTaskFailedCauseBadContinueAsNewAttributes                          DecisionTaskFailedCause = 10
	DecisionTaskFailedCauseStartTimerDuplicateID                               DecisionTaskFailedCause = 11
	DecisionTaskFailedCauseResetStickyTasklist                                 DecisionTaskFailedCause = 12
	DecisionTaskFailedCauseWorkflowWorkerUnhandledFailure                      DecisionTaskFailedCause = 13
	DecisionTaskFailedCauseBadSignalWorkflowExecutionAttributes                DecisionTaskFailedCause = 14
	DecisionTaskFailedCauseBadStartChildExecutionAttributes                    DecisionTaskFailedCause = 15
	DecisionTaskFailedCauseForceCloseDecision                                  DecisionTaskFailedCause = 16
	DecisionTaskFailedCauseFailoverCloseDecision                               DecisionTaskFailedCause = 17
	DecisionTaskFailedCauseBadSignalInputSize                                  DecisionTaskFailedCause = 18
	DecisionTaskFailedCauseResetWorkflow                                       DecisionTaskFailedCause = 19
	DecisionTaskFailedCauseBadBinary                                           DecisionTaskFailedCause = 20
	DecisionTaskFailedCauseScheduleActivityDuplicateID                         DecisionTaskFailedCause = 21
	DecisionTaskFailedCauseBadSearchAttributes                                 DecisionTaskFailedCause = 22
)

func DecisionTaskFailedCause_Values

func DecisionTaskFailedCause_Values() []DecisionTaskFailedCause

DecisionTaskFailedCause_Values returns all recognized values of DecisionTaskFailedCause.

func (DecisionTaskFailedCause) Equals

Equals returns true if this DecisionTaskFailedCause value matches the provided value.

func (*DecisionTaskFailedCause) FromWire

func (v *DecisionTaskFailedCause) FromWire(w wire.Value) error

FromWire deserializes DecisionTaskFailedCause from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return DecisionTaskFailedCause(0), err
}

var v DecisionTaskFailedCause
if err := v.FromWire(x); err != nil {
  return DecisionTaskFailedCause(0), err
}
return v, nil

func (DecisionTaskFailedCause) MarshalJSON

func (v DecisionTaskFailedCause) MarshalJSON() ([]byte, error)

MarshalJSON serializes DecisionTaskFailedCause into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (DecisionTaskFailedCause) MarshalLogObject

func (v DecisionTaskFailedCause) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskFailedCause. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (DecisionTaskFailedCause) MarshalText

func (v DecisionTaskFailedCause) MarshalText() ([]byte, error)

MarshalText encodes DecisionTaskFailedCause to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (DecisionTaskFailedCause) Ptr

Ptr returns a pointer to this enum value.

func (DecisionTaskFailedCause) String

func (v DecisionTaskFailedCause) String() string

String returns a readable string representation of DecisionTaskFailedCause.

func (DecisionTaskFailedCause) ToWire

func (v DecisionTaskFailedCause) ToWire() (wire.Value, error)

ToWire translates DecisionTaskFailedCause into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*DecisionTaskFailedCause) UnmarshalJSON

func (v *DecisionTaskFailedCause) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode DecisionTaskFailedCause from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*DecisionTaskFailedCause) UnmarshalText

func (v *DecisionTaskFailedCause) UnmarshalText(value []byte) error

UnmarshalText tries to decode DecisionTaskFailedCause from a byte slice containing its name.

var v DecisionTaskFailedCause
err := v.UnmarshalText([]byte("UNHANDLED_DECISION"))

type DecisionTaskFailedEventAttributes

type DecisionTaskFailedEventAttributes struct {
	ScheduledEventId *int64                   `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64                   `json:"startedEventId,omitempty"`
	Cause            *DecisionTaskFailedCause `json:"cause,omitempty"`
	Details          []byte                   `json:"details,omitempty"`
	Identity         *string                  `json:"identity,omitempty"`
	Reason           *string                  `json:"reason,omitempty"`
	BaseRunId        *string                  `json:"baseRunId,omitempty"`
	NewRunId         *string                  `json:"newRunId,omitempty"`
	ForkEventVersion *int64                   `json:"forkEventVersion,omitempty"`
}

func (*DecisionTaskFailedEventAttributes) Equals

Equals returns true if all the fields of this DecisionTaskFailedEventAttributes match the provided DecisionTaskFailedEventAttributes.

This function performs a deep comparison.

func (*DecisionTaskFailedEventAttributes) FromWire

FromWire deserializes a DecisionTaskFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DecisionTaskFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DecisionTaskFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DecisionTaskFailedEventAttributes) GetBaseRunId

func (v *DecisionTaskFailedEventAttributes) GetBaseRunId() (o string)

GetBaseRunId returns the value of BaseRunId if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetDetails

func (v *DecisionTaskFailedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetForkEventVersion

func (v *DecisionTaskFailedEventAttributes) GetForkEventVersion() (o int64)

GetForkEventVersion returns the value of ForkEventVersion if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetIdentity

func (v *DecisionTaskFailedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetNewRunId

func (v *DecisionTaskFailedEventAttributes) GetNewRunId() (o string)

GetNewRunId returns the value of NewRunId if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetReason

func (v *DecisionTaskFailedEventAttributes) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetScheduledEventId

func (v *DecisionTaskFailedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) GetStartedEventId

func (v *DecisionTaskFailedEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*DecisionTaskFailedEventAttributes) IsSetBaseRunId

func (v *DecisionTaskFailedEventAttributes) IsSetBaseRunId() bool

IsSetBaseRunId returns true if BaseRunId is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetCause

func (v *DecisionTaskFailedEventAttributes) IsSetCause() bool

IsSetCause returns true if Cause is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetDetails

func (v *DecisionTaskFailedEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetForkEventVersion

func (v *DecisionTaskFailedEventAttributes) IsSetForkEventVersion() bool

IsSetForkEventVersion returns true if ForkEventVersion is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetIdentity

func (v *DecisionTaskFailedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetNewRunId

func (v *DecisionTaskFailedEventAttributes) IsSetNewRunId() bool

IsSetNewRunId returns true if NewRunId is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetReason

func (v *DecisionTaskFailedEventAttributes) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetScheduledEventId

func (v *DecisionTaskFailedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*DecisionTaskFailedEventAttributes) IsSetStartedEventId

func (v *DecisionTaskFailedEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*DecisionTaskFailedEventAttributes) MarshalLogObject

func (v *DecisionTaskFailedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskFailedEventAttributes.

func (*DecisionTaskFailedEventAttributes) String

String returns a readable string representation of a DecisionTaskFailedEventAttributes struct.

func (*DecisionTaskFailedEventAttributes) ToWire

ToWire translates a DecisionTaskFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionTaskScheduledEventAttributes

type DecisionTaskScheduledEventAttributes struct {
	TaskList                   *TaskList `json:"taskList,omitempty"`
	StartToCloseTimeoutSeconds *int32    `json:"startToCloseTimeoutSeconds,omitempty"`
	Attempt                    *int64    `json:"attempt,omitempty"`
}

func (*DecisionTaskScheduledEventAttributes) Equals

Equals returns true if all the fields of this DecisionTaskScheduledEventAttributes match the provided DecisionTaskScheduledEventAttributes.

This function performs a deep comparison.

func (*DecisionTaskScheduledEventAttributes) FromWire

FromWire deserializes a DecisionTaskScheduledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DecisionTaskScheduledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DecisionTaskScheduledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DecisionTaskScheduledEventAttributes) GetAttempt

func (v *DecisionTaskScheduledEventAttributes) GetAttempt() (o int64)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*DecisionTaskScheduledEventAttributes) GetStartToCloseTimeoutSeconds

func (v *DecisionTaskScheduledEventAttributes) GetStartToCloseTimeoutSeconds() (o int32)

GetStartToCloseTimeoutSeconds returns the value of StartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*DecisionTaskScheduledEventAttributes) GetTaskList

func (v *DecisionTaskScheduledEventAttributes) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*DecisionTaskScheduledEventAttributes) IsSetAttempt

func (v *DecisionTaskScheduledEventAttributes) IsSetAttempt() bool

IsSetAttempt returns true if Attempt is not nil.

func (*DecisionTaskScheduledEventAttributes) IsSetStartToCloseTimeoutSeconds

func (v *DecisionTaskScheduledEventAttributes) IsSetStartToCloseTimeoutSeconds() bool

IsSetStartToCloseTimeoutSeconds returns true if StartToCloseTimeoutSeconds is not nil.

func (*DecisionTaskScheduledEventAttributes) IsSetTaskList

func (v *DecisionTaskScheduledEventAttributes) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*DecisionTaskScheduledEventAttributes) MarshalLogObject

func (v *DecisionTaskScheduledEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskScheduledEventAttributes.

func (*DecisionTaskScheduledEventAttributes) String

String returns a readable string representation of a DecisionTaskScheduledEventAttributes struct.

func (*DecisionTaskScheduledEventAttributes) ToWire

ToWire translates a DecisionTaskScheduledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionTaskStartedEventAttributes

type DecisionTaskStartedEventAttributes struct {
	ScheduledEventId *int64  `json:"scheduledEventId,omitempty"`
	Identity         *string `json:"identity,omitempty"`
	RequestId        *string `json:"requestId,omitempty"`
}

func (*DecisionTaskStartedEventAttributes) Equals

Equals returns true if all the fields of this DecisionTaskStartedEventAttributes match the provided DecisionTaskStartedEventAttributes.

This function performs a deep comparison.

func (*DecisionTaskStartedEventAttributes) FromWire

FromWire deserializes a DecisionTaskStartedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DecisionTaskStartedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DecisionTaskStartedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DecisionTaskStartedEventAttributes) GetIdentity

func (v *DecisionTaskStartedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*DecisionTaskStartedEventAttributes) GetRequestId

func (v *DecisionTaskStartedEventAttributes) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*DecisionTaskStartedEventAttributes) GetScheduledEventId

func (v *DecisionTaskStartedEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*DecisionTaskStartedEventAttributes) IsSetIdentity

func (v *DecisionTaskStartedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*DecisionTaskStartedEventAttributes) IsSetRequestId

func (v *DecisionTaskStartedEventAttributes) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*DecisionTaskStartedEventAttributes) IsSetScheduledEventId

func (v *DecisionTaskStartedEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*DecisionTaskStartedEventAttributes) MarshalLogObject

func (v *DecisionTaskStartedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskStartedEventAttributes.

func (*DecisionTaskStartedEventAttributes) String

String returns a readable string representation of a DecisionTaskStartedEventAttributes struct.

func (*DecisionTaskStartedEventAttributes) ToWire

ToWire translates a DecisionTaskStartedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionTaskTimedOutEventAttributes

type DecisionTaskTimedOutEventAttributes struct {
	ScheduledEventId *int64       `json:"scheduledEventId,omitempty"`
	StartedEventId   *int64       `json:"startedEventId,omitempty"`
	TimeoutType      *TimeoutType `json:"timeoutType,omitempty"`
}

func (*DecisionTaskTimedOutEventAttributes) Equals

Equals returns true if all the fields of this DecisionTaskTimedOutEventAttributes match the provided DecisionTaskTimedOutEventAttributes.

This function performs a deep comparison.

func (*DecisionTaskTimedOutEventAttributes) FromWire

FromWire deserializes a DecisionTaskTimedOutEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DecisionTaskTimedOutEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DecisionTaskTimedOutEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DecisionTaskTimedOutEventAttributes) GetScheduledEventId

func (v *DecisionTaskTimedOutEventAttributes) GetScheduledEventId() (o int64)

GetScheduledEventId returns the value of ScheduledEventId if it is set or its zero value if it is unset.

func (*DecisionTaskTimedOutEventAttributes) GetStartedEventId

func (v *DecisionTaskTimedOutEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*DecisionTaskTimedOutEventAttributes) GetTimeoutType

func (v *DecisionTaskTimedOutEventAttributes) GetTimeoutType() (o TimeoutType)

GetTimeoutType returns the value of TimeoutType if it is set or its zero value if it is unset.

func (*DecisionTaskTimedOutEventAttributes) IsSetScheduledEventId

func (v *DecisionTaskTimedOutEventAttributes) IsSetScheduledEventId() bool

IsSetScheduledEventId returns true if ScheduledEventId is not nil.

func (*DecisionTaskTimedOutEventAttributes) IsSetStartedEventId

func (v *DecisionTaskTimedOutEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*DecisionTaskTimedOutEventAttributes) IsSetTimeoutType

func (v *DecisionTaskTimedOutEventAttributes) IsSetTimeoutType() bool

IsSetTimeoutType returns true if TimeoutType is not nil.

func (*DecisionTaskTimedOutEventAttributes) MarshalLogObject

func (v *DecisionTaskTimedOutEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionTaskTimedOutEventAttributes.

func (*DecisionTaskTimedOutEventAttributes) String

String returns a readable string representation of a DecisionTaskTimedOutEventAttributes struct.

func (*DecisionTaskTimedOutEventAttributes) ToWire

ToWire translates a DecisionTaskTimedOutEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DecisionType

type DecisionType int32
const (
	DecisionTypeScheduleActivityTask                   DecisionType = 0
	DecisionTypeRequestCancelActivityTask              DecisionType = 1
	DecisionTypeStartTimer                             DecisionType = 2
	DecisionTypeCompleteWorkflowExecution              DecisionType = 3
	DecisionTypeFailWorkflowExecution                  DecisionType = 4
	DecisionTypeCancelTimer                            DecisionType = 5
	DecisionTypeCancelWorkflowExecution                DecisionType = 6
	DecisionTypeRequestCancelExternalWorkflowExecution DecisionType = 7
	DecisionTypeRecordMarker                           DecisionType = 8
	DecisionTypeContinueAsNewWorkflowExecution         DecisionType = 9
	DecisionTypeStartChildWorkflowExecution            DecisionType = 10
	DecisionTypeSignalExternalWorkflowExecution        DecisionType = 11
	DecisionTypeUpsertWorkflowSearchAttributes         DecisionType = 12
)

func DecisionType_Values

func DecisionType_Values() []DecisionType

DecisionType_Values returns all recognized values of DecisionType.

func (DecisionType) Equals

func (v DecisionType) Equals(rhs DecisionType) bool

Equals returns true if this DecisionType value matches the provided value.

func (*DecisionType) FromWire

func (v *DecisionType) FromWire(w wire.Value) error

FromWire deserializes DecisionType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return DecisionType(0), err
}

var v DecisionType
if err := v.FromWire(x); err != nil {
  return DecisionType(0), err
}
return v, nil

func (DecisionType) MarshalJSON

func (v DecisionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes DecisionType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (DecisionType) MarshalLogObject

func (v DecisionType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DecisionType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (DecisionType) MarshalText

func (v DecisionType) MarshalText() ([]byte, error)

MarshalText encodes DecisionType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (DecisionType) Ptr

func (v DecisionType) Ptr() *DecisionType

Ptr returns a pointer to this enum value.

func (DecisionType) String

func (v DecisionType) String() string

String returns a readable string representation of DecisionType.

func (DecisionType) ToWire

func (v DecisionType) ToWire() (wire.Value, error)

ToWire translates DecisionType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*DecisionType) UnmarshalJSON

func (v *DecisionType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode DecisionType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*DecisionType) UnmarshalText

func (v *DecisionType) UnmarshalText(value []byte) error

UnmarshalText tries to decode DecisionType from a byte slice containing its name.

var v DecisionType
err := v.UnmarshalText([]byte("ScheduleActivityTask"))

type DeprecateDomainRequest

type DeprecateDomainRequest struct {
	Name          *string `json:"name,omitempty"`
	SecurityToken *string `json:"securityToken,omitempty"`
}

func (*DeprecateDomainRequest) Equals

Equals returns true if all the fields of this DeprecateDomainRequest match the provided DeprecateDomainRequest.

This function performs a deep comparison.

func (*DeprecateDomainRequest) FromWire

func (v *DeprecateDomainRequest) FromWire(w wire.Value) error

FromWire deserializes a DeprecateDomainRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DeprecateDomainRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DeprecateDomainRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DeprecateDomainRequest) GetName

func (v *DeprecateDomainRequest) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*DeprecateDomainRequest) GetSecurityToken

func (v *DeprecateDomainRequest) GetSecurityToken() (o string)

GetSecurityToken returns the value of SecurityToken if it is set or its zero value if it is unset.

func (*DeprecateDomainRequest) IsSetName

func (v *DeprecateDomainRequest) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*DeprecateDomainRequest) IsSetSecurityToken

func (v *DeprecateDomainRequest) IsSetSecurityToken() bool

IsSetSecurityToken returns true if SecurityToken is not nil.

func (*DeprecateDomainRequest) MarshalLogObject

func (v *DeprecateDomainRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DeprecateDomainRequest.

func (*DeprecateDomainRequest) String

func (v *DeprecateDomainRequest) String() string

String returns a readable string representation of a DeprecateDomainRequest struct.

func (*DeprecateDomainRequest) ToWire

func (v *DeprecateDomainRequest) ToWire() (wire.Value, error)

ToWire translates a DeprecateDomainRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeDomainRequest

type DescribeDomainRequest struct {
	Name *string `json:"name,omitempty"`
	UUID *string `json:"uuid,omitempty"`
}

func (*DescribeDomainRequest) Equals

Equals returns true if all the fields of this DescribeDomainRequest match the provided DescribeDomainRequest.

This function performs a deep comparison.

func (*DescribeDomainRequest) FromWire

func (v *DescribeDomainRequest) FromWire(w wire.Value) error

FromWire deserializes a DescribeDomainRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeDomainRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeDomainRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeDomainRequest) GetName

func (v *DescribeDomainRequest) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*DescribeDomainRequest) GetUUID

func (v *DescribeDomainRequest) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*DescribeDomainRequest) IsSetName

func (v *DescribeDomainRequest) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*DescribeDomainRequest) IsSetUUID

func (v *DescribeDomainRequest) IsSetUUID() bool

IsSetUUID returns true if UUID is not nil.

func (*DescribeDomainRequest) MarshalLogObject

func (v *DescribeDomainRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeDomainRequest.

func (*DescribeDomainRequest) String

func (v *DescribeDomainRequest) String() string

String returns a readable string representation of a DescribeDomainRequest struct.

func (*DescribeDomainRequest) ToWire

func (v *DescribeDomainRequest) ToWire() (wire.Value, error)

ToWire translates a DescribeDomainRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeDomainResponse

type DescribeDomainResponse struct {
	DomainInfo               *DomainInfo                     `json:"domainInfo,omitempty"`
	Configuration            *DomainConfiguration            `json:"configuration,omitempty"`
	ReplicationConfiguration *DomainReplicationConfiguration `json:"replicationConfiguration,omitempty"`
	FailoverVersion          *int64                          `json:"failoverVersion,omitempty"`
	IsGlobalDomain           *bool                           `json:"isGlobalDomain,omitempty"`
}

func (*DescribeDomainResponse) Equals

Equals returns true if all the fields of this DescribeDomainResponse match the provided DescribeDomainResponse.

This function performs a deep comparison.

func (*DescribeDomainResponse) FromWire

func (v *DescribeDomainResponse) FromWire(w wire.Value) error

FromWire deserializes a DescribeDomainResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeDomainResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeDomainResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeDomainResponse) GetConfiguration

func (v *DescribeDomainResponse) GetConfiguration() (o *DomainConfiguration)

GetConfiguration returns the value of Configuration if it is set or its zero value if it is unset.

func (*DescribeDomainResponse) GetDomainInfo

func (v *DescribeDomainResponse) GetDomainInfo() (o *DomainInfo)

GetDomainInfo returns the value of DomainInfo if it is set or its zero value if it is unset.

func (*DescribeDomainResponse) GetFailoverVersion

func (v *DescribeDomainResponse) GetFailoverVersion() (o int64)

GetFailoverVersion returns the value of FailoverVersion if it is set or its zero value if it is unset.

func (*DescribeDomainResponse) GetIsGlobalDomain

func (v *DescribeDomainResponse) GetIsGlobalDomain() (o bool)

GetIsGlobalDomain returns the value of IsGlobalDomain if it is set or its zero value if it is unset.

func (*DescribeDomainResponse) GetReplicationConfiguration

func (v *DescribeDomainResponse) GetReplicationConfiguration() (o *DomainReplicationConfiguration)

GetReplicationConfiguration returns the value of ReplicationConfiguration if it is set or its zero value if it is unset.

func (*DescribeDomainResponse) IsSetConfiguration

func (v *DescribeDomainResponse) IsSetConfiguration() bool

IsSetConfiguration returns true if Configuration is not nil.

func (*DescribeDomainResponse) IsSetDomainInfo

func (v *DescribeDomainResponse) IsSetDomainInfo() bool

IsSetDomainInfo returns true if DomainInfo is not nil.

func (*DescribeDomainResponse) IsSetFailoverVersion

func (v *DescribeDomainResponse) IsSetFailoverVersion() bool

IsSetFailoverVersion returns true if FailoverVersion is not nil.

func (*DescribeDomainResponse) IsSetIsGlobalDomain

func (v *DescribeDomainResponse) IsSetIsGlobalDomain() bool

IsSetIsGlobalDomain returns true if IsGlobalDomain is not nil.

func (*DescribeDomainResponse) IsSetReplicationConfiguration

func (v *DescribeDomainResponse) IsSetReplicationConfiguration() bool

IsSetReplicationConfiguration returns true if ReplicationConfiguration is not nil.

func (*DescribeDomainResponse) MarshalLogObject

func (v *DescribeDomainResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeDomainResponse.

func (*DescribeDomainResponse) String

func (v *DescribeDomainResponse) String() string

String returns a readable string representation of a DescribeDomainResponse struct.

func (*DescribeDomainResponse) ToWire

func (v *DescribeDomainResponse) ToWire() (wire.Value, error)

ToWire translates a DescribeDomainResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeHistoryHostRequest

type DescribeHistoryHostRequest struct {
	HostAddress      *string            `json:"hostAddress,omitempty"`
	ShardIdForHost   *int32             `json:"shardIdForHost,omitempty"`
	ExecutionForHost *WorkflowExecution `json:"executionForHost,omitempty"`
}

func (*DescribeHistoryHostRequest) Equals

Equals returns true if all the fields of this DescribeHistoryHostRequest match the provided DescribeHistoryHostRequest.

This function performs a deep comparison.

func (*DescribeHistoryHostRequest) FromWire

func (v *DescribeHistoryHostRequest) FromWire(w wire.Value) error

FromWire deserializes a DescribeHistoryHostRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeHistoryHostRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeHistoryHostRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeHistoryHostRequest) GetExecutionForHost

func (v *DescribeHistoryHostRequest) GetExecutionForHost() (o *WorkflowExecution)

GetExecutionForHost returns the value of ExecutionForHost if it is set or its zero value if it is unset.

func (*DescribeHistoryHostRequest) GetHostAddress

func (v *DescribeHistoryHostRequest) GetHostAddress() (o string)

GetHostAddress returns the value of HostAddress if it is set or its zero value if it is unset.

func (*DescribeHistoryHostRequest) GetShardIdForHost

func (v *DescribeHistoryHostRequest) GetShardIdForHost() (o int32)

GetShardIdForHost returns the value of ShardIdForHost if it is set or its zero value if it is unset.

func (*DescribeHistoryHostRequest) IsSetExecutionForHost

func (v *DescribeHistoryHostRequest) IsSetExecutionForHost() bool

IsSetExecutionForHost returns true if ExecutionForHost is not nil.

func (*DescribeHistoryHostRequest) IsSetHostAddress

func (v *DescribeHistoryHostRequest) IsSetHostAddress() bool

IsSetHostAddress returns true if HostAddress is not nil.

func (*DescribeHistoryHostRequest) IsSetShardIdForHost

func (v *DescribeHistoryHostRequest) IsSetShardIdForHost() bool

IsSetShardIdForHost returns true if ShardIdForHost is not nil.

func (*DescribeHistoryHostRequest) MarshalLogObject

func (v *DescribeHistoryHostRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeHistoryHostRequest.

func (*DescribeHistoryHostRequest) String

func (v *DescribeHistoryHostRequest) String() string

String returns a readable string representation of a DescribeHistoryHostRequest struct.

func (*DescribeHistoryHostRequest) ToWire

func (v *DescribeHistoryHostRequest) ToWire() (wire.Value, error)

ToWire translates a DescribeHistoryHostRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeHistoryHostResponse

type DescribeHistoryHostResponse struct {
	NumberOfShards        *int32           `json:"numberOfShards,omitempty"`
	ShardIDs              []int32          `json:"shardIDs,omitempty"`
	DomainCache           *DomainCacheInfo `json:"domainCache,omitempty"`
	ShardControllerStatus *string          `json:"shardControllerStatus,omitempty"`
	Address               *string          `json:"address,omitempty"`
}

func (*DescribeHistoryHostResponse) Equals

Equals returns true if all the fields of this DescribeHistoryHostResponse match the provided DescribeHistoryHostResponse.

This function performs a deep comparison.

func (*DescribeHistoryHostResponse) FromWire

FromWire deserializes a DescribeHistoryHostResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeHistoryHostResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeHistoryHostResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeHistoryHostResponse) GetAddress

func (v *DescribeHistoryHostResponse) GetAddress() (o string)

GetAddress returns the value of Address if it is set or its zero value if it is unset.

func (*DescribeHistoryHostResponse) GetDomainCache

func (v *DescribeHistoryHostResponse) GetDomainCache() (o *DomainCacheInfo)

GetDomainCache returns the value of DomainCache if it is set or its zero value if it is unset.

func (*DescribeHistoryHostResponse) GetNumberOfShards

func (v *DescribeHistoryHostResponse) GetNumberOfShards() (o int32)

GetNumberOfShards returns the value of NumberOfShards if it is set or its zero value if it is unset.

func (*DescribeHistoryHostResponse) GetShardControllerStatus

func (v *DescribeHistoryHostResponse) GetShardControllerStatus() (o string)

GetShardControllerStatus returns the value of ShardControllerStatus if it is set or its zero value if it is unset.

func (*DescribeHistoryHostResponse) GetShardIDs

func (v *DescribeHistoryHostResponse) GetShardIDs() (o []int32)

GetShardIDs returns the value of ShardIDs if it is set or its zero value if it is unset.

func (*DescribeHistoryHostResponse) IsSetAddress

func (v *DescribeHistoryHostResponse) IsSetAddress() bool

IsSetAddress returns true if Address is not nil.

func (*DescribeHistoryHostResponse) IsSetDomainCache

func (v *DescribeHistoryHostResponse) IsSetDomainCache() bool

IsSetDomainCache returns true if DomainCache is not nil.

func (*DescribeHistoryHostResponse) IsSetNumberOfShards

func (v *DescribeHistoryHostResponse) IsSetNumberOfShards() bool

IsSetNumberOfShards returns true if NumberOfShards is not nil.

func (*DescribeHistoryHostResponse) IsSetShardControllerStatus

func (v *DescribeHistoryHostResponse) IsSetShardControllerStatus() bool

IsSetShardControllerStatus returns true if ShardControllerStatus is not nil.

func (*DescribeHistoryHostResponse) IsSetShardIDs

func (v *DescribeHistoryHostResponse) IsSetShardIDs() bool

IsSetShardIDs returns true if ShardIDs is not nil.

func (*DescribeHistoryHostResponse) MarshalLogObject

func (v *DescribeHistoryHostResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeHistoryHostResponse.

func (*DescribeHistoryHostResponse) String

func (v *DescribeHistoryHostResponse) String() string

String returns a readable string representation of a DescribeHistoryHostResponse struct.

func (*DescribeHistoryHostResponse) ToWire

ToWire translates a DescribeHistoryHostResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeTaskListRequest

type DescribeTaskListRequest struct {
	Domain                *string       `json:"domain,omitempty"`
	TaskList              *TaskList     `json:"taskList,omitempty"`
	TaskListType          *TaskListType `json:"taskListType,omitempty"`
	IncludeTaskListStatus *bool         `json:"includeTaskListStatus,omitempty"`
}

func (*DescribeTaskListRequest) Equals

Equals returns true if all the fields of this DescribeTaskListRequest match the provided DescribeTaskListRequest.

This function performs a deep comparison.

func (*DescribeTaskListRequest) FromWire

func (v *DescribeTaskListRequest) FromWire(w wire.Value) error

FromWire deserializes a DescribeTaskListRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeTaskListRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeTaskListRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeTaskListRequest) GetDomain

func (v *DescribeTaskListRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*DescribeTaskListRequest) GetIncludeTaskListStatus

func (v *DescribeTaskListRequest) GetIncludeTaskListStatus() (o bool)

GetIncludeTaskListStatus returns the value of IncludeTaskListStatus if it is set or its zero value if it is unset.

func (*DescribeTaskListRequest) GetTaskList

func (v *DescribeTaskListRequest) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*DescribeTaskListRequest) GetTaskListType

func (v *DescribeTaskListRequest) GetTaskListType() (o TaskListType)

GetTaskListType returns the value of TaskListType if it is set or its zero value if it is unset.

func (*DescribeTaskListRequest) IsSetDomain

func (v *DescribeTaskListRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*DescribeTaskListRequest) IsSetIncludeTaskListStatus

func (v *DescribeTaskListRequest) IsSetIncludeTaskListStatus() bool

IsSetIncludeTaskListStatus returns true if IncludeTaskListStatus is not nil.

func (*DescribeTaskListRequest) IsSetTaskList

func (v *DescribeTaskListRequest) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*DescribeTaskListRequest) IsSetTaskListType

func (v *DescribeTaskListRequest) IsSetTaskListType() bool

IsSetTaskListType returns true if TaskListType is not nil.

func (*DescribeTaskListRequest) MarshalLogObject

func (v *DescribeTaskListRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeTaskListRequest.

func (*DescribeTaskListRequest) String

func (v *DescribeTaskListRequest) String() string

String returns a readable string representation of a DescribeTaskListRequest struct.

func (*DescribeTaskListRequest) ToWire

func (v *DescribeTaskListRequest) ToWire() (wire.Value, error)

ToWire translates a DescribeTaskListRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeTaskListResponse

type DescribeTaskListResponse struct {
	Pollers        []*PollerInfo   `json:"pollers,omitempty"`
	TaskListStatus *TaskListStatus `json:"taskListStatus,omitempty"`
}

func (*DescribeTaskListResponse) Equals

Equals returns true if all the fields of this DescribeTaskListResponse match the provided DescribeTaskListResponse.

This function performs a deep comparison.

func (*DescribeTaskListResponse) FromWire

func (v *DescribeTaskListResponse) FromWire(w wire.Value) error

FromWire deserializes a DescribeTaskListResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeTaskListResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeTaskListResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeTaskListResponse) GetPollers

func (v *DescribeTaskListResponse) GetPollers() (o []*PollerInfo)

GetPollers returns the value of Pollers if it is set or its zero value if it is unset.

func (*DescribeTaskListResponse) GetTaskListStatus

func (v *DescribeTaskListResponse) GetTaskListStatus() (o *TaskListStatus)

GetTaskListStatus returns the value of TaskListStatus if it is set or its zero value if it is unset.

func (*DescribeTaskListResponse) IsSetPollers

func (v *DescribeTaskListResponse) IsSetPollers() bool

IsSetPollers returns true if Pollers is not nil.

func (*DescribeTaskListResponse) IsSetTaskListStatus

func (v *DescribeTaskListResponse) IsSetTaskListStatus() bool

IsSetTaskListStatus returns true if TaskListStatus is not nil.

func (*DescribeTaskListResponse) MarshalLogObject

func (v *DescribeTaskListResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeTaskListResponse.

func (*DescribeTaskListResponse) String

func (v *DescribeTaskListResponse) String() string

String returns a readable string representation of a DescribeTaskListResponse struct.

func (*DescribeTaskListResponse) ToWire

func (v *DescribeTaskListResponse) ToWire() (wire.Value, error)

ToWire translates a DescribeTaskListResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeWorkflowExecutionRequest

type DescribeWorkflowExecutionRequest struct {
	Domain    *string            `json:"domain,omitempty"`
	Execution *WorkflowExecution `json:"execution,omitempty"`
}

func (*DescribeWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this DescribeWorkflowExecutionRequest match the provided DescribeWorkflowExecutionRequest.

This function performs a deep comparison.

func (*DescribeWorkflowExecutionRequest) FromWire

FromWire deserializes a DescribeWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeWorkflowExecutionRequest) GetDomain

func (v *DescribeWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionRequest) GetExecution

func (v *DescribeWorkflowExecutionRequest) GetExecution() (o *WorkflowExecution)

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionRequest) IsSetDomain

func (v *DescribeWorkflowExecutionRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*DescribeWorkflowExecutionRequest) IsSetExecution

func (v *DescribeWorkflowExecutionRequest) IsSetExecution() bool

IsSetExecution returns true if Execution is not nil.

func (*DescribeWorkflowExecutionRequest) MarshalLogObject

func (v *DescribeWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeWorkflowExecutionRequest.

func (*DescribeWorkflowExecutionRequest) String

String returns a readable string representation of a DescribeWorkflowExecutionRequest struct.

func (*DescribeWorkflowExecutionRequest) ToWire

ToWire translates a DescribeWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DescribeWorkflowExecutionResponse

type DescribeWorkflowExecutionResponse struct {
	ExecutionConfiguration *WorkflowExecutionConfiguration `json:"executionConfiguration,omitempty"`
	WorkflowExecutionInfo  *WorkflowExecutionInfo          `json:"workflowExecutionInfo,omitempty"`
	PendingActivities      []*PendingActivityInfo          `json:"pendingActivities,omitempty"`
	PendingChildren        []*PendingChildExecutionInfo    `json:"pendingChildren,omitempty"`
}

func (*DescribeWorkflowExecutionResponse) Equals

Equals returns true if all the fields of this DescribeWorkflowExecutionResponse match the provided DescribeWorkflowExecutionResponse.

This function performs a deep comparison.

func (*DescribeWorkflowExecutionResponse) FromWire

FromWire deserializes a DescribeWorkflowExecutionResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DescribeWorkflowExecutionResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DescribeWorkflowExecutionResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DescribeWorkflowExecutionResponse) GetExecutionConfiguration

func (v *DescribeWorkflowExecutionResponse) GetExecutionConfiguration() (o *WorkflowExecutionConfiguration)

GetExecutionConfiguration returns the value of ExecutionConfiguration if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionResponse) GetPendingActivities

func (v *DescribeWorkflowExecutionResponse) GetPendingActivities() (o []*PendingActivityInfo)

GetPendingActivities returns the value of PendingActivities if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionResponse) GetPendingChildren

func (v *DescribeWorkflowExecutionResponse) GetPendingChildren() (o []*PendingChildExecutionInfo)

GetPendingChildren returns the value of PendingChildren if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo

func (v *DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo() (o *WorkflowExecutionInfo)

GetWorkflowExecutionInfo returns the value of WorkflowExecutionInfo if it is set or its zero value if it is unset.

func (*DescribeWorkflowExecutionResponse) IsSetExecutionConfiguration

func (v *DescribeWorkflowExecutionResponse) IsSetExecutionConfiguration() bool

IsSetExecutionConfiguration returns true if ExecutionConfiguration is not nil.

func (*DescribeWorkflowExecutionResponse) IsSetPendingActivities

func (v *DescribeWorkflowExecutionResponse) IsSetPendingActivities() bool

IsSetPendingActivities returns true if PendingActivities is not nil.

func (*DescribeWorkflowExecutionResponse) IsSetPendingChildren

func (v *DescribeWorkflowExecutionResponse) IsSetPendingChildren() bool

IsSetPendingChildren returns true if PendingChildren is not nil.

func (*DescribeWorkflowExecutionResponse) IsSetWorkflowExecutionInfo

func (v *DescribeWorkflowExecutionResponse) IsSetWorkflowExecutionInfo() bool

IsSetWorkflowExecutionInfo returns true if WorkflowExecutionInfo is not nil.

func (*DescribeWorkflowExecutionResponse) MarshalLogObject

func (v *DescribeWorkflowExecutionResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DescribeWorkflowExecutionResponse.

func (*DescribeWorkflowExecutionResponse) String

String returns a readable string representation of a DescribeWorkflowExecutionResponse struct.

func (*DescribeWorkflowExecutionResponse) ToWire

ToWire translates a DescribeWorkflowExecutionResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainAlreadyExistsError

type DomainAlreadyExistsError struct {
	Message string `json:"message,required"`
}

func (*DomainAlreadyExistsError) Equals

Equals returns true if all the fields of this DomainAlreadyExistsError match the provided DomainAlreadyExistsError.

This function performs a deep comparison.

func (*DomainAlreadyExistsError) Error

func (v *DomainAlreadyExistsError) Error() string

func (*DomainAlreadyExistsError) ErrorName

func (*DomainAlreadyExistsError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*DomainAlreadyExistsError) FromWire

func (v *DomainAlreadyExistsError) FromWire(w wire.Value) error

FromWire deserializes a DomainAlreadyExistsError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainAlreadyExistsError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainAlreadyExistsError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainAlreadyExistsError) GetMessage

func (v *DomainAlreadyExistsError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*DomainAlreadyExistsError) MarshalLogObject

func (v *DomainAlreadyExistsError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainAlreadyExistsError.

func (*DomainAlreadyExistsError) String

func (v *DomainAlreadyExistsError) String() string

String returns a readable string representation of a DomainAlreadyExistsError struct.

func (*DomainAlreadyExistsError) ToWire

func (v *DomainAlreadyExistsError) ToWire() (wire.Value, error)

ToWire translates a DomainAlreadyExistsError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainCacheInfo

type DomainCacheInfo struct {
	NumOfItemsInCacheByID   *int64 `json:"numOfItemsInCacheByID,omitempty"`
	NumOfItemsInCacheByName *int64 `json:"numOfItemsInCacheByName,omitempty"`
}

func (*DomainCacheInfo) Equals

func (v *DomainCacheInfo) Equals(rhs *DomainCacheInfo) bool

Equals returns true if all the fields of this DomainCacheInfo match the provided DomainCacheInfo.

This function performs a deep comparison.

func (*DomainCacheInfo) FromWire

func (v *DomainCacheInfo) FromWire(w wire.Value) error

FromWire deserializes a DomainCacheInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainCacheInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainCacheInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainCacheInfo) GetNumOfItemsInCacheByID

func (v *DomainCacheInfo) GetNumOfItemsInCacheByID() (o int64)

GetNumOfItemsInCacheByID returns the value of NumOfItemsInCacheByID if it is set or its zero value if it is unset.

func (*DomainCacheInfo) GetNumOfItemsInCacheByName

func (v *DomainCacheInfo) GetNumOfItemsInCacheByName() (o int64)

GetNumOfItemsInCacheByName returns the value of NumOfItemsInCacheByName if it is set or its zero value if it is unset.

func (*DomainCacheInfo) IsSetNumOfItemsInCacheByID

func (v *DomainCacheInfo) IsSetNumOfItemsInCacheByID() bool

IsSetNumOfItemsInCacheByID returns true if NumOfItemsInCacheByID is not nil.

func (*DomainCacheInfo) IsSetNumOfItemsInCacheByName

func (v *DomainCacheInfo) IsSetNumOfItemsInCacheByName() bool

IsSetNumOfItemsInCacheByName returns true if NumOfItemsInCacheByName is not nil.

func (*DomainCacheInfo) MarshalLogObject

func (v *DomainCacheInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainCacheInfo.

func (*DomainCacheInfo) String

func (v *DomainCacheInfo) String() string

String returns a readable string representation of a DomainCacheInfo struct.

func (*DomainCacheInfo) ToWire

func (v *DomainCacheInfo) ToWire() (wire.Value, error)

ToWire translates a DomainCacheInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainConfiguration

type DomainConfiguration struct {
	WorkflowExecutionRetentionPeriodInDays *int32          `json:"workflowExecutionRetentionPeriodInDays,omitempty"`
	EmitMetric                             *bool           `json:"emitMetric,omitempty"`
	BadBinaries                            *BadBinaries    `json:"badBinaries,omitempty"`
	HistoryArchivalStatus                  *ArchivalStatus `json:"historyArchivalStatus,omitempty"`
	HistoryArchivalURI                     *string         `json:"historyArchivalURI,omitempty"`
	VisibilityArchivalStatus               *ArchivalStatus `json:"visibilityArchivalStatus,omitempty"`
	VisibilityArchivalURI                  *string         `json:"visibilityArchivalURI,omitempty"`
}

func (*DomainConfiguration) Equals

Equals returns true if all the fields of this DomainConfiguration match the provided DomainConfiguration.

This function performs a deep comparison.

func (*DomainConfiguration) FromWire

func (v *DomainConfiguration) FromWire(w wire.Value) error

FromWire deserializes a DomainConfiguration struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainConfiguration struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainConfiguration
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainConfiguration) GetBadBinaries

func (v *DomainConfiguration) GetBadBinaries() (o *BadBinaries)

GetBadBinaries returns the value of BadBinaries if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetEmitMetric

func (v *DomainConfiguration) GetEmitMetric() (o bool)

GetEmitMetric returns the value of EmitMetric if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetHistoryArchivalStatus

func (v *DomainConfiguration) GetHistoryArchivalStatus() (o ArchivalStatus)

GetHistoryArchivalStatus returns the value of HistoryArchivalStatus if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetHistoryArchivalURI

func (v *DomainConfiguration) GetHistoryArchivalURI() (o string)

GetHistoryArchivalURI returns the value of HistoryArchivalURI if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetVisibilityArchivalStatus

func (v *DomainConfiguration) GetVisibilityArchivalStatus() (o ArchivalStatus)

GetVisibilityArchivalStatus returns the value of VisibilityArchivalStatus if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetVisibilityArchivalURI

func (v *DomainConfiguration) GetVisibilityArchivalURI() (o string)

GetVisibilityArchivalURI returns the value of VisibilityArchivalURI if it is set or its zero value if it is unset.

func (*DomainConfiguration) GetWorkflowExecutionRetentionPeriodInDays

func (v *DomainConfiguration) GetWorkflowExecutionRetentionPeriodInDays() (o int32)

GetWorkflowExecutionRetentionPeriodInDays returns the value of WorkflowExecutionRetentionPeriodInDays if it is set or its zero value if it is unset.

func (*DomainConfiguration) IsSetBadBinaries

func (v *DomainConfiguration) IsSetBadBinaries() bool

IsSetBadBinaries returns true if BadBinaries is not nil.

func (*DomainConfiguration) IsSetEmitMetric

func (v *DomainConfiguration) IsSetEmitMetric() bool

IsSetEmitMetric returns true if EmitMetric is not nil.

func (*DomainConfiguration) IsSetHistoryArchivalStatus

func (v *DomainConfiguration) IsSetHistoryArchivalStatus() bool

IsSetHistoryArchivalStatus returns true if HistoryArchivalStatus is not nil.

func (*DomainConfiguration) IsSetHistoryArchivalURI

func (v *DomainConfiguration) IsSetHistoryArchivalURI() bool

IsSetHistoryArchivalURI returns true if HistoryArchivalURI is not nil.

func (*DomainConfiguration) IsSetVisibilityArchivalStatus

func (v *DomainConfiguration) IsSetVisibilityArchivalStatus() bool

IsSetVisibilityArchivalStatus returns true if VisibilityArchivalStatus is not nil.

func (*DomainConfiguration) IsSetVisibilityArchivalURI

func (v *DomainConfiguration) IsSetVisibilityArchivalURI() bool

IsSetVisibilityArchivalURI returns true if VisibilityArchivalURI is not nil.

func (*DomainConfiguration) IsSetWorkflowExecutionRetentionPeriodInDays

func (v *DomainConfiguration) IsSetWorkflowExecutionRetentionPeriodInDays() bool

IsSetWorkflowExecutionRetentionPeriodInDays returns true if WorkflowExecutionRetentionPeriodInDays is not nil.

func (*DomainConfiguration) MarshalLogObject

func (v *DomainConfiguration) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainConfiguration.

func (*DomainConfiguration) String

func (v *DomainConfiguration) String() string

String returns a readable string representation of a DomainConfiguration struct.

func (*DomainConfiguration) ToWire

func (v *DomainConfiguration) ToWire() (wire.Value, error)

ToWire translates a DomainConfiguration struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainInfo

type DomainInfo struct {
	Name        *string           `json:"name,omitempty"`
	Status      *DomainStatus     `json:"status,omitempty"`
	Description *string           `json:"description,omitempty"`
	OwnerEmail  *string           `json:"ownerEmail,omitempty"`
	Data        map[string]string `json:"data,omitempty"`
	UUID        *string           `json:"uuid,omitempty"`
}

func (*DomainInfo) Equals

func (v *DomainInfo) Equals(rhs *DomainInfo) bool

Equals returns true if all the fields of this DomainInfo match the provided DomainInfo.

This function performs a deep comparison.

func (*DomainInfo) FromWire

func (v *DomainInfo) FromWire(w wire.Value) error

FromWire deserializes a DomainInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainInfo) GetData

func (v *DomainInfo) GetData() (o map[string]string)

GetData returns the value of Data if it is set or its zero value if it is unset.

func (*DomainInfo) GetDescription

func (v *DomainInfo) GetDescription() (o string)

GetDescription returns the value of Description if it is set or its zero value if it is unset.

func (*DomainInfo) GetName

func (v *DomainInfo) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*DomainInfo) GetOwnerEmail

func (v *DomainInfo) GetOwnerEmail() (o string)

GetOwnerEmail returns the value of OwnerEmail if it is set or its zero value if it is unset.

func (*DomainInfo) GetStatus

func (v *DomainInfo) GetStatus() (o DomainStatus)

GetStatus returns the value of Status if it is set or its zero value if it is unset.

func (*DomainInfo) GetUUID

func (v *DomainInfo) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*DomainInfo) IsSetData

func (v *DomainInfo) IsSetData() bool

IsSetData returns true if Data is not nil.

func (*DomainInfo) IsSetDescription

func (v *DomainInfo) IsSetDescription() bool

IsSetDescription returns true if Description is not nil.

func (*DomainInfo) IsSetName

func (v *DomainInfo) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*DomainInfo) IsSetOwnerEmail

func (v *DomainInfo) IsSetOwnerEmail() bool

IsSetOwnerEmail returns true if OwnerEmail is not nil.

func (*DomainInfo) IsSetStatus

func (v *DomainInfo) IsSetStatus() bool

IsSetStatus returns true if Status is not nil.

func (*DomainInfo) IsSetUUID

func (v *DomainInfo) IsSetUUID() bool

IsSetUUID returns true if UUID is not nil.

func (*DomainInfo) MarshalLogObject

func (v *DomainInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainInfo.

func (*DomainInfo) String

func (v *DomainInfo) String() string

String returns a readable string representation of a DomainInfo struct.

func (*DomainInfo) ToWire

func (v *DomainInfo) ToWire() (wire.Value, error)

ToWire translates a DomainInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainNotActiveError

type DomainNotActiveError struct {
	Message        string `json:"message,required"`
	DomainName     string `json:"domainName,required"`
	CurrentCluster string `json:"currentCluster,required"`
	ActiveCluster  string `json:"activeCluster,required"`
}

func (*DomainNotActiveError) Equals

Equals returns true if all the fields of this DomainNotActiveError match the provided DomainNotActiveError.

This function performs a deep comparison.

func (*DomainNotActiveError) Error

func (v *DomainNotActiveError) Error() string

func (*DomainNotActiveError) ErrorName

func (*DomainNotActiveError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*DomainNotActiveError) FromWire

func (v *DomainNotActiveError) FromWire(w wire.Value) error

FromWire deserializes a DomainNotActiveError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainNotActiveError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainNotActiveError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainNotActiveError) GetActiveCluster

func (v *DomainNotActiveError) GetActiveCluster() (o string)

GetActiveCluster returns the value of ActiveCluster if it is set or its zero value if it is unset.

func (*DomainNotActiveError) GetCurrentCluster

func (v *DomainNotActiveError) GetCurrentCluster() (o string)

GetCurrentCluster returns the value of CurrentCluster if it is set or its zero value if it is unset.

func (*DomainNotActiveError) GetDomainName

func (v *DomainNotActiveError) GetDomainName() (o string)

GetDomainName returns the value of DomainName if it is set or its zero value if it is unset.

func (*DomainNotActiveError) GetMessage

func (v *DomainNotActiveError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*DomainNotActiveError) MarshalLogObject

func (v *DomainNotActiveError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainNotActiveError.

func (*DomainNotActiveError) String

func (v *DomainNotActiveError) String() string

String returns a readable string representation of a DomainNotActiveError struct.

func (*DomainNotActiveError) ToWire

func (v *DomainNotActiveError) ToWire() (wire.Value, error)

ToWire translates a DomainNotActiveError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainReplicationConfiguration

type DomainReplicationConfiguration struct {
	ActiveClusterName *string                            `json:"activeClusterName,omitempty"`
	Clusters          []*ClusterReplicationConfiguration `json:"clusters,omitempty"`
}

func (*DomainReplicationConfiguration) Equals

Equals returns true if all the fields of this DomainReplicationConfiguration match the provided DomainReplicationConfiguration.

This function performs a deep comparison.

func (*DomainReplicationConfiguration) FromWire

FromWire deserializes a DomainReplicationConfiguration struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a DomainReplicationConfiguration struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v DomainReplicationConfiguration
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*DomainReplicationConfiguration) GetActiveClusterName

func (v *DomainReplicationConfiguration) GetActiveClusterName() (o string)

GetActiveClusterName returns the value of ActiveClusterName if it is set or its zero value if it is unset.

func (*DomainReplicationConfiguration) GetClusters

GetClusters returns the value of Clusters if it is set or its zero value if it is unset.

func (*DomainReplicationConfiguration) IsSetActiveClusterName

func (v *DomainReplicationConfiguration) IsSetActiveClusterName() bool

IsSetActiveClusterName returns true if ActiveClusterName is not nil.

func (*DomainReplicationConfiguration) IsSetClusters

func (v *DomainReplicationConfiguration) IsSetClusters() bool

IsSetClusters returns true if Clusters is not nil.

func (*DomainReplicationConfiguration) MarshalLogObject

func (v *DomainReplicationConfiguration) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainReplicationConfiguration.

func (*DomainReplicationConfiguration) String

String returns a readable string representation of a DomainReplicationConfiguration struct.

func (*DomainReplicationConfiguration) ToWire

ToWire translates a DomainReplicationConfiguration struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type DomainStatus

type DomainStatus int32
const (
	DomainStatusRegistered DomainStatus = 0
	DomainStatusDeprecated DomainStatus = 1
	DomainStatusDeleted    DomainStatus = 2
)

func DomainStatus_Values

func DomainStatus_Values() []DomainStatus

DomainStatus_Values returns all recognized values of DomainStatus.

func (DomainStatus) Equals

func (v DomainStatus) Equals(rhs DomainStatus) bool

Equals returns true if this DomainStatus value matches the provided value.

func (*DomainStatus) FromWire

func (v *DomainStatus) FromWire(w wire.Value) error

FromWire deserializes DomainStatus from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return DomainStatus(0), err
}

var v DomainStatus
if err := v.FromWire(x); err != nil {
  return DomainStatus(0), err
}
return v, nil

func (DomainStatus) MarshalJSON

func (v DomainStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes DomainStatus into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (DomainStatus) MarshalLogObject

func (v DomainStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DomainStatus. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (DomainStatus) MarshalText

func (v DomainStatus) MarshalText() ([]byte, error)

MarshalText encodes DomainStatus to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (DomainStatus) Ptr

func (v DomainStatus) Ptr() *DomainStatus

Ptr returns a pointer to this enum value.

func (DomainStatus) String

func (v DomainStatus) String() string

String returns a readable string representation of DomainStatus.

func (DomainStatus) ToWire

func (v DomainStatus) ToWire() (wire.Value, error)

ToWire translates DomainStatus into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*DomainStatus) UnmarshalJSON

func (v *DomainStatus) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode DomainStatus from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*DomainStatus) UnmarshalText

func (v *DomainStatus) UnmarshalText(value []byte) error

UnmarshalText tries to decode DomainStatus from a byte slice containing its name.

var v DomainStatus
err := v.UnmarshalText([]byte("REGISTERED"))

type EncodingType

type EncodingType int32
const (
	EncodingTypeThriftRW EncodingType = 0
)

func EncodingType_Values

func EncodingType_Values() []EncodingType

EncodingType_Values returns all recognized values of EncodingType.

func (EncodingType) Equals

func (v EncodingType) Equals(rhs EncodingType) bool

Equals returns true if this EncodingType value matches the provided value.

func (*EncodingType) FromWire

func (v *EncodingType) FromWire(w wire.Value) error

FromWire deserializes EncodingType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return EncodingType(0), err
}

var v EncodingType
if err := v.FromWire(x); err != nil {
  return EncodingType(0), err
}
return v, nil

func (EncodingType) MarshalJSON

func (v EncodingType) MarshalJSON() ([]byte, error)

MarshalJSON serializes EncodingType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (EncodingType) MarshalLogObject

func (v EncodingType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of EncodingType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (EncodingType) MarshalText

func (v EncodingType) MarshalText() ([]byte, error)

MarshalText encodes EncodingType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (EncodingType) Ptr

func (v EncodingType) Ptr() *EncodingType

Ptr returns a pointer to this enum value.

func (EncodingType) String

func (v EncodingType) String() string

String returns a readable string representation of EncodingType.

func (EncodingType) ToWire

func (v EncodingType) ToWire() (wire.Value, error)

ToWire translates EncodingType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*EncodingType) UnmarshalJSON

func (v *EncodingType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode EncodingType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*EncodingType) UnmarshalText

func (v *EncodingType) UnmarshalText(value []byte) error

UnmarshalText tries to decode EncodingType from a byte slice containing its name.

var v EncodingType
err := v.UnmarshalText([]byte("ThriftRW"))

type EntityNotExistsError

type EntityNotExistsError struct {
	Message string `json:"message,required"`
}

func (*EntityNotExistsError) Equals

Equals returns true if all the fields of this EntityNotExistsError match the provided EntityNotExistsError.

This function performs a deep comparison.

func (*EntityNotExistsError) Error

func (v *EntityNotExistsError) Error() string

func (*EntityNotExistsError) ErrorName

func (*EntityNotExistsError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*EntityNotExistsError) FromWire

func (v *EntityNotExistsError) FromWire(w wire.Value) error

FromWire deserializes a EntityNotExistsError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a EntityNotExistsError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v EntityNotExistsError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*EntityNotExistsError) GetMessage

func (v *EntityNotExistsError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*EntityNotExistsError) MarshalLogObject

func (v *EntityNotExistsError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of EntityNotExistsError.

func (*EntityNotExistsError) String

func (v *EntityNotExistsError) String() string

String returns a readable string representation of a EntityNotExistsError struct.

func (*EntityNotExistsError) ToWire

func (v *EntityNotExistsError) ToWire() (wire.Value, error)

ToWire translates a EntityNotExistsError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type EventType

type EventType int32
const (
	EventTypeWorkflowExecutionStarted                        EventType = 0
	EventTypeWorkflowExecutionCompleted                      EventType = 1
	EventTypeWorkflowExecutionFailed                         EventType = 2
	EventTypeWorkflowExecutionTimedOut                       EventType = 3
	EventTypeDecisionTaskScheduled                           EventType = 4
	EventTypeDecisionTaskStarted                             EventType = 5
	EventTypeDecisionTaskCompleted                           EventType = 6
	EventTypeDecisionTaskTimedOut                            EventType = 7
	EventTypeDecisionTaskFailed                              EventType = 8
	EventTypeActivityTaskScheduled                           EventType = 9
	EventTypeActivityTaskStarted                             EventType = 10
	EventTypeActivityTaskCompleted                           EventType = 11
	EventTypeActivityTaskFailed                              EventType = 12
	EventTypeActivityTaskTimedOut                            EventType = 13
	EventTypeActivityTaskCancelRequested                     EventType = 14
	EventTypeRequestCancelActivityTaskFailed                 EventType = 15
	EventTypeActivityTaskCanceled                            EventType = 16
	EventTypeTimerStarted                                    EventType = 17
	EventTypeTimerFired                                      EventType = 18
	EventTypeCancelTimerFailed                               EventType = 19
	EventTypeTimerCanceled                                   EventType = 20
	EventTypeWorkflowExecutionCancelRequested                EventType = 21
	EventTypeWorkflowExecutionCanceled                       EventType = 22
	EventTypeRequestCancelExternalWorkflowExecutionInitiated EventType = 23
	EventTypeRequestCancelExternalWorkflowExecutionFailed    EventType = 24
	EventTypeExternalWorkflowExecutionCancelRequested        EventType = 25
	EventTypeMarkerRecorded                                  EventType = 26
	EventTypeWorkflowExecutionSignaled                       EventType = 27
	EventTypeWorkflowExecutionTerminated                     EventType = 28
	EventTypeWorkflowExecutionContinuedAsNew                 EventType = 29
	EventTypeStartChildWorkflowExecutionInitiated            EventType = 30
	EventTypeStartChildWorkflowExecutionFailed               EventType = 31
	EventTypeChildWorkflowExecutionStarted                   EventType = 32
	EventTypeChildWorkflowExecutionCompleted                 EventType = 33
	EventTypeChildWorkflowExecutionFailed                    EventType = 34
	EventTypeChildWorkflowExecutionCanceled                  EventType = 35
	EventTypeChildWorkflowExecutionTimedOut                  EventType = 36
	EventTypeChildWorkflowExecutionTerminated                EventType = 37
	EventTypeSignalExternalWorkflowExecutionInitiated        EventType = 38
	EventTypeSignalExternalWorkflowExecutionFailed           EventType = 39
	EventTypeExternalWorkflowExecutionSignaled               EventType = 40
	EventTypeUpsertWorkflowSearchAttributes                  EventType = 41
)

func EventType_Values

func EventType_Values() []EventType

EventType_Values returns all recognized values of EventType.

func (EventType) Equals

func (v EventType) Equals(rhs EventType) bool

Equals returns true if this EventType value matches the provided value.

func (*EventType) FromWire

func (v *EventType) FromWire(w wire.Value) error

FromWire deserializes EventType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return EventType(0), err
}

var v EventType
if err := v.FromWire(x); err != nil {
  return EventType(0), err
}
return v, nil

func (EventType) MarshalJSON

func (v EventType) MarshalJSON() ([]byte, error)

MarshalJSON serializes EventType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (EventType) MarshalLogObject

func (v EventType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of EventType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (EventType) MarshalText

func (v EventType) MarshalText() ([]byte, error)

MarshalText encodes EventType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (EventType) Ptr

func (v EventType) Ptr() *EventType

Ptr returns a pointer to this enum value.

func (EventType) String

func (v EventType) String() string

String returns a readable string representation of EventType.

func (EventType) ToWire

func (v EventType) ToWire() (wire.Value, error)

ToWire translates EventType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*EventType) UnmarshalJSON

func (v *EventType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode EventType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*EventType) UnmarshalText

func (v *EventType) UnmarshalText(value []byte) error

UnmarshalText tries to decode EventType from a byte slice containing its name.

var v EventType
err := v.UnmarshalText([]byte("WorkflowExecutionStarted"))

type ExternalWorkflowExecutionCancelRequestedEventAttributes

type ExternalWorkflowExecutionCancelRequestedEventAttributes struct {
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
}

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) Equals

Equals returns true if all the fields of this ExternalWorkflowExecutionCancelRequestedEventAttributes match the provided ExternalWorkflowExecutionCancelRequestedEventAttributes.

This function performs a deep comparison.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) FromWire

FromWire deserializes a ExternalWorkflowExecutionCancelRequestedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ExternalWorkflowExecutionCancelRequestedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ExternalWorkflowExecutionCancelRequestedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) GetInitiatedEventId

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) IsSetInitiatedEventId

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) IsSetWorkflowExecution

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ExternalWorkflowExecutionCancelRequestedEventAttributes.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) String

String returns a readable string representation of a ExternalWorkflowExecutionCancelRequestedEventAttributes struct.

func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) ToWire

ToWire translates a ExternalWorkflowExecutionCancelRequestedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ExternalWorkflowExecutionSignaledEventAttributes

type ExternalWorkflowExecutionSignaledEventAttributes struct {
	InitiatedEventId  *int64             `json:"initiatedEventId,omitempty"`
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	Control           []byte             `json:"control,omitempty"`
}

func (*ExternalWorkflowExecutionSignaledEventAttributes) Equals

Equals returns true if all the fields of this ExternalWorkflowExecutionSignaledEventAttributes match the provided ExternalWorkflowExecutionSignaledEventAttributes.

This function performs a deep comparison.

func (*ExternalWorkflowExecutionSignaledEventAttributes) FromWire

FromWire deserializes a ExternalWorkflowExecutionSignaledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ExternalWorkflowExecutionSignaledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ExternalWorkflowExecutionSignaledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ExternalWorkflowExecutionSignaledEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionSignaledEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionSignaledEventAttributes) GetInitiatedEventId

func (v *ExternalWorkflowExecutionSignaledEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionSignaledEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ExternalWorkflowExecutionSignaledEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*ExternalWorkflowExecutionSignaledEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ExternalWorkflowExecutionSignaledEventAttributes) IsSetInitiatedEventId

func (v *ExternalWorkflowExecutionSignaledEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*ExternalWorkflowExecutionSignaledEventAttributes) IsSetWorkflowExecution

func (v *ExternalWorkflowExecutionSignaledEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ExternalWorkflowExecutionSignaledEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ExternalWorkflowExecutionSignaledEventAttributes.

func (*ExternalWorkflowExecutionSignaledEventAttributes) String

String returns a readable string representation of a ExternalWorkflowExecutionSignaledEventAttributes struct.

func (*ExternalWorkflowExecutionSignaledEventAttributes) ToWire

ToWire translates a ExternalWorkflowExecutionSignaledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type FailWorkflowExecutionDecisionAttributes

type FailWorkflowExecutionDecisionAttributes struct {
	Reason  *string `json:"reason,omitempty"`
	Details []byte  `json:"details,omitempty"`
}

func (*FailWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this FailWorkflowExecutionDecisionAttributes match the provided FailWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*FailWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a FailWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a FailWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v FailWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*FailWorkflowExecutionDecisionAttributes) GetDetails

func (v *FailWorkflowExecutionDecisionAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*FailWorkflowExecutionDecisionAttributes) GetReason

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*FailWorkflowExecutionDecisionAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*FailWorkflowExecutionDecisionAttributes) IsSetReason

IsSetReason returns true if Reason is not nil.

func (*FailWorkflowExecutionDecisionAttributes) MarshalLogObject

func (v *FailWorkflowExecutionDecisionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of FailWorkflowExecutionDecisionAttributes.

func (*FailWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a FailWorkflowExecutionDecisionAttributes struct.

func (*FailWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a FailWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type GetSearchAttributesResponse

type GetSearchAttributesResponse struct {
	Keys map[string]IndexedValueType `json:"keys,omitempty"`
}

func (*GetSearchAttributesResponse) Equals

Equals returns true if all the fields of this GetSearchAttributesResponse match the provided GetSearchAttributesResponse.

This function performs a deep comparison.

func (*GetSearchAttributesResponse) FromWire

FromWire deserializes a GetSearchAttributesResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a GetSearchAttributesResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v GetSearchAttributesResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*GetSearchAttributesResponse) GetKeys

GetKeys returns the value of Keys if it is set or its zero value if it is unset.

func (*GetSearchAttributesResponse) IsSetKeys

func (v *GetSearchAttributesResponse) IsSetKeys() bool

IsSetKeys returns true if Keys is not nil.

func (*GetSearchAttributesResponse) MarshalLogObject

func (v *GetSearchAttributesResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of GetSearchAttributesResponse.

func (*GetSearchAttributesResponse) String

func (v *GetSearchAttributesResponse) String() string

String returns a readable string representation of a GetSearchAttributesResponse struct.

func (*GetSearchAttributesResponse) ToWire

ToWire translates a GetSearchAttributesResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type GetWorkflowExecutionHistoryRequest

type GetWorkflowExecutionHistoryRequest struct {
	Domain                 *string                 `json:"domain,omitempty"`
	Execution              *WorkflowExecution      `json:"execution,omitempty"`
	MaximumPageSize        *int32                  `json:"maximumPageSize,omitempty"`
	NextPageToken          []byte                  `json:"nextPageToken,omitempty"`
	WaitForNewEvent        *bool                   `json:"waitForNewEvent,omitempty"`
	HistoryEventFilterType *HistoryEventFilterType `json:"HistoryEventFilterType,omitempty"`
}

func (*GetWorkflowExecutionHistoryRequest) Equals

Equals returns true if all the fields of this GetWorkflowExecutionHistoryRequest match the provided GetWorkflowExecutionHistoryRequest.

This function performs a deep comparison.

func (*GetWorkflowExecutionHistoryRequest) FromWire

FromWire deserializes a GetWorkflowExecutionHistoryRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a GetWorkflowExecutionHistoryRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v GetWorkflowExecutionHistoryRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*GetWorkflowExecutionHistoryRequest) GetDomain

func (v *GetWorkflowExecutionHistoryRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) GetExecution

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) GetHistoryEventFilterType

func (v *GetWorkflowExecutionHistoryRequest) GetHistoryEventFilterType() (o HistoryEventFilterType)

GetHistoryEventFilterType returns the value of HistoryEventFilterType if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) GetMaximumPageSize

func (v *GetWorkflowExecutionHistoryRequest) GetMaximumPageSize() (o int32)

GetMaximumPageSize returns the value of MaximumPageSize if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) GetNextPageToken

func (v *GetWorkflowExecutionHistoryRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) GetWaitForNewEvent

func (v *GetWorkflowExecutionHistoryRequest) GetWaitForNewEvent() (o bool)

GetWaitForNewEvent returns the value of WaitForNewEvent if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryRequest) IsSetDomain

func (v *GetWorkflowExecutionHistoryRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*GetWorkflowExecutionHistoryRequest) IsSetExecution

func (v *GetWorkflowExecutionHistoryRequest) IsSetExecution() bool

IsSetExecution returns true if Execution is not nil.

func (*GetWorkflowExecutionHistoryRequest) IsSetHistoryEventFilterType

func (v *GetWorkflowExecutionHistoryRequest) IsSetHistoryEventFilterType() bool

IsSetHistoryEventFilterType returns true if HistoryEventFilterType is not nil.

func (*GetWorkflowExecutionHistoryRequest) IsSetMaximumPageSize

func (v *GetWorkflowExecutionHistoryRequest) IsSetMaximumPageSize() bool

IsSetMaximumPageSize returns true if MaximumPageSize is not nil.

func (*GetWorkflowExecutionHistoryRequest) IsSetNextPageToken

func (v *GetWorkflowExecutionHistoryRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*GetWorkflowExecutionHistoryRequest) IsSetWaitForNewEvent

func (v *GetWorkflowExecutionHistoryRequest) IsSetWaitForNewEvent() bool

IsSetWaitForNewEvent returns true if WaitForNewEvent is not nil.

func (*GetWorkflowExecutionHistoryRequest) MarshalLogObject

func (v *GetWorkflowExecutionHistoryRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of GetWorkflowExecutionHistoryRequest.

func (*GetWorkflowExecutionHistoryRequest) String

String returns a readable string representation of a GetWorkflowExecutionHistoryRequest struct.

func (*GetWorkflowExecutionHistoryRequest) ToWire

ToWire translates a GetWorkflowExecutionHistoryRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type GetWorkflowExecutionHistoryResponse

type GetWorkflowExecutionHistoryResponse struct {
	History       *History `json:"history,omitempty"`
	NextPageToken []byte   `json:"nextPageToken,omitempty"`
	Archived      *bool    `json:"archived,omitempty"`
}

func (*GetWorkflowExecutionHistoryResponse) Equals

Equals returns true if all the fields of this GetWorkflowExecutionHistoryResponse match the provided GetWorkflowExecutionHistoryResponse.

This function performs a deep comparison.

func (*GetWorkflowExecutionHistoryResponse) FromWire

FromWire deserializes a GetWorkflowExecutionHistoryResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a GetWorkflowExecutionHistoryResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v GetWorkflowExecutionHistoryResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*GetWorkflowExecutionHistoryResponse) GetArchived

func (v *GetWorkflowExecutionHistoryResponse) GetArchived() (o bool)

GetArchived returns the value of Archived if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryResponse) GetHistory

func (v *GetWorkflowExecutionHistoryResponse) GetHistory() (o *History)

GetHistory returns the value of History if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryResponse) GetNextPageToken

func (v *GetWorkflowExecutionHistoryResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*GetWorkflowExecutionHistoryResponse) IsSetArchived

func (v *GetWorkflowExecutionHistoryResponse) IsSetArchived() bool

IsSetArchived returns true if Archived is not nil.

func (*GetWorkflowExecutionHistoryResponse) IsSetHistory

func (v *GetWorkflowExecutionHistoryResponse) IsSetHistory() bool

IsSetHistory returns true if History is not nil.

func (*GetWorkflowExecutionHistoryResponse) IsSetNextPageToken

func (v *GetWorkflowExecutionHistoryResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*GetWorkflowExecutionHistoryResponse) MarshalLogObject

func (v *GetWorkflowExecutionHistoryResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of GetWorkflowExecutionHistoryResponse.

func (*GetWorkflowExecutionHistoryResponse) String

String returns a readable string representation of a GetWorkflowExecutionHistoryResponse struct.

func (*GetWorkflowExecutionHistoryResponse) ToWire

ToWire translates a GetWorkflowExecutionHistoryResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}
type Header struct {
	Fields map[string][]byte `json:"fields,omitempty"`
}

func (*Header) Equals

func (v *Header) Equals(rhs *Header) bool

Equals returns true if all the fields of this Header match the provided Header.

This function performs a deep comparison.

func (*Header) FromWire

func (v *Header) FromWire(w wire.Value) error

FromWire deserializes a Header struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Header struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Header
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Header) GetFields

func (v *Header) GetFields() (o map[string][]byte)

GetFields returns the value of Fields if it is set or its zero value if it is unset.

func (*Header) IsSetFields

func (v *Header) IsSetFields() bool

IsSetFields returns true if Fields is not nil.

func (*Header) MarshalLogObject

func (v *Header) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Header.

func (*Header) String

func (v *Header) String() string

String returns a readable string representation of a Header struct.

func (*Header) ToWire

func (v *Header) ToWire() (wire.Value, error)

ToWire translates a Header struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type History

type History struct {
	Events []*HistoryEvent `json:"events,omitempty"`
}

func (*History) Equals

func (v *History) Equals(rhs *History) bool

Equals returns true if all the fields of this History match the provided History.

This function performs a deep comparison.

func (*History) FromWire

func (v *History) FromWire(w wire.Value) error

FromWire deserializes a History struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a History struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v History
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*History) GetEvents

func (v *History) GetEvents() (o []*HistoryEvent)

GetEvents returns the value of Events if it is set or its zero value if it is unset.

func (*History) IsSetEvents

func (v *History) IsSetEvents() bool

IsSetEvents returns true if Events is not nil.

func (*History) MarshalLogObject

func (v *History) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of History.

func (*History) String

func (v *History) String() string

String returns a readable string representation of a History struct.

func (*History) ToWire

func (v *History) ToWire() (wire.Value, error)

ToWire translates a History struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type HistoryBranch

type HistoryBranch struct {
	TreeID    *string               `json:"treeID,omitempty"`
	BranchID  *string               `json:"branchID,omitempty"`
	Ancestors []*HistoryBranchRange `json:"ancestors,omitempty"`
}

func (*HistoryBranch) Equals

func (v *HistoryBranch) Equals(rhs *HistoryBranch) bool

Equals returns true if all the fields of this HistoryBranch match the provided HistoryBranch.

This function performs a deep comparison.

func (*HistoryBranch) FromWire

func (v *HistoryBranch) FromWire(w wire.Value) error

FromWire deserializes a HistoryBranch struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a HistoryBranch struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v HistoryBranch
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*HistoryBranch) GetAncestors

func (v *HistoryBranch) GetAncestors() (o []*HistoryBranchRange)

GetAncestors returns the value of Ancestors if it is set or its zero value if it is unset.

func (*HistoryBranch) GetBranchID

func (v *HistoryBranch) GetBranchID() (o string)

GetBranchID returns the value of BranchID if it is set or its zero value if it is unset.

func (*HistoryBranch) GetTreeID

func (v *HistoryBranch) GetTreeID() (o string)

GetTreeID returns the value of TreeID if it is set or its zero value if it is unset.

func (*HistoryBranch) IsSetAncestors

func (v *HistoryBranch) IsSetAncestors() bool

IsSetAncestors returns true if Ancestors is not nil.

func (*HistoryBranch) IsSetBranchID

func (v *HistoryBranch) IsSetBranchID() bool

IsSetBranchID returns true if BranchID is not nil.

func (*HistoryBranch) IsSetTreeID

func (v *HistoryBranch) IsSetTreeID() bool

IsSetTreeID returns true if TreeID is not nil.

func (*HistoryBranch) MarshalLogObject

func (v *HistoryBranch) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of HistoryBranch.

func (*HistoryBranch) String

func (v *HistoryBranch) String() string

String returns a readable string representation of a HistoryBranch struct.

func (*HistoryBranch) ToWire

func (v *HistoryBranch) ToWire() (wire.Value, error)

ToWire translates a HistoryBranch struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type HistoryBranchRange

type HistoryBranchRange struct {
	BranchID    *string `json:"branchID,omitempty"`
	BeginNodeID *int64  `json:"beginNodeID,omitempty"`
	EndNodeID   *int64  `json:"endNodeID,omitempty"`
}

func (*HistoryBranchRange) Equals

func (v *HistoryBranchRange) Equals(rhs *HistoryBranchRange) bool

Equals returns true if all the fields of this HistoryBranchRange match the provided HistoryBranchRange.

This function performs a deep comparison.

func (*HistoryBranchRange) FromWire

func (v *HistoryBranchRange) FromWire(w wire.Value) error

FromWire deserializes a HistoryBranchRange struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a HistoryBranchRange struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v HistoryBranchRange
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*HistoryBranchRange) GetBeginNodeID

func (v *HistoryBranchRange) GetBeginNodeID() (o int64)

GetBeginNodeID returns the value of BeginNodeID if it is set or its zero value if it is unset.

func (*HistoryBranchRange) GetBranchID

func (v *HistoryBranchRange) GetBranchID() (o string)

GetBranchID returns the value of BranchID if it is set or its zero value if it is unset.

func (*HistoryBranchRange) GetEndNodeID

func (v *HistoryBranchRange) GetEndNodeID() (o int64)

GetEndNodeID returns the value of EndNodeID if it is set or its zero value if it is unset.

func (*HistoryBranchRange) IsSetBeginNodeID

func (v *HistoryBranchRange) IsSetBeginNodeID() bool

IsSetBeginNodeID returns true if BeginNodeID is not nil.

func (*HistoryBranchRange) IsSetBranchID

func (v *HistoryBranchRange) IsSetBranchID() bool

IsSetBranchID returns true if BranchID is not nil.

func (*HistoryBranchRange) IsSetEndNodeID

func (v *HistoryBranchRange) IsSetEndNodeID() bool

IsSetEndNodeID returns true if EndNodeID is not nil.

func (*HistoryBranchRange) MarshalLogObject

func (v *HistoryBranchRange) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of HistoryBranchRange.

func (*HistoryBranchRange) String

func (v *HistoryBranchRange) String() string

String returns a readable string representation of a HistoryBranchRange struct.

func (*HistoryBranchRange) ToWire

func (v *HistoryBranchRange) ToWire() (wire.Value, error)

ToWire translates a HistoryBranchRange struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type HistoryEvent

type HistoryEvent struct {
	EventId                                                        *int64                                                          `json:"eventId,omitempty"`
	Timestamp                                                      *int64                                                          `json:"timestamp,omitempty"`
	EventType                                                      *EventType                                                      `json:"eventType,omitempty"`
	Version                                                        *int64                                                          `json:"version,omitempty"`
	TaskId                                                         *int64                                                          `json:"taskId,omitempty"`
	WorkflowExecutionStartedEventAttributes                        *WorkflowExecutionStartedEventAttributes                        `json:"workflowExecutionStartedEventAttributes,omitempty"`
	WorkflowExecutionCompletedEventAttributes                      *WorkflowExecutionCompletedEventAttributes                      `json:"workflowExecutionCompletedEventAttributes,omitempty"`
	WorkflowExecutionFailedEventAttributes                         *WorkflowExecutionFailedEventAttributes                         `json:"workflowExecutionFailedEventAttributes,omitempty"`
	WorkflowExecutionTimedOutEventAttributes                       *WorkflowExecutionTimedOutEventAttributes                       `json:"workflowExecutionTimedOutEventAttributes,omitempty"`
	DecisionTaskScheduledEventAttributes                           *DecisionTaskScheduledEventAttributes                           `json:"decisionTaskScheduledEventAttributes,omitempty"`
	DecisionTaskStartedEventAttributes                             *DecisionTaskStartedEventAttributes                             `json:"decisionTaskStartedEventAttributes,omitempty"`
	DecisionTaskCompletedEventAttributes                           *DecisionTaskCompletedEventAttributes                           `json:"decisionTaskCompletedEventAttributes,omitempty"`
	DecisionTaskTimedOutEventAttributes                            *DecisionTaskTimedOutEventAttributes                            `json:"decisionTaskTimedOutEventAttributes,omitempty"`
	DecisionTaskFailedEventAttributes                              *DecisionTaskFailedEventAttributes                              `json:"decisionTaskFailedEventAttributes,omitempty"`
	ActivityTaskScheduledEventAttributes                           *ActivityTaskScheduledEventAttributes                           `json:"activityTaskScheduledEventAttributes,omitempty"`
	ActivityTaskStartedEventAttributes                             *ActivityTaskStartedEventAttributes                             `json:"activityTaskStartedEventAttributes,omitempty"`
	ActivityTaskCompletedEventAttributes                           *ActivityTaskCompletedEventAttributes                           `json:"activityTaskCompletedEventAttributes,omitempty"`
	ActivityTaskFailedEventAttributes                              *ActivityTaskFailedEventAttributes                              `json:"activityTaskFailedEventAttributes,omitempty"`
	ActivityTaskTimedOutEventAttributes                            *ActivityTaskTimedOutEventAttributes                            `json:"activityTaskTimedOutEventAttributes,omitempty"`
	TimerStartedEventAttributes                                    *TimerStartedEventAttributes                                    `json:"timerStartedEventAttributes,omitempty"`
	TimerFiredEventAttributes                                      *TimerFiredEventAttributes                                      `json:"timerFiredEventAttributes,omitempty"`
	ActivityTaskCancelRequestedEventAttributes                     *ActivityTaskCancelRequestedEventAttributes                     `json:"activityTaskCancelRequestedEventAttributes,omitempty"`
	RequestCancelActivityTaskFailedEventAttributes                 *RequestCancelActivityTaskFailedEventAttributes                 `json:"requestCancelActivityTaskFailedEventAttributes,omitempty"`
	ActivityTaskCanceledEventAttributes                            *ActivityTaskCanceledEventAttributes                            `json:"activityTaskCanceledEventAttributes,omitempty"`
	TimerCanceledEventAttributes                                   *TimerCanceledEventAttributes                                   `json:"timerCanceledEventAttributes,omitempty"`
	CancelTimerFailedEventAttributes                               *CancelTimerFailedEventAttributes                               `json:"cancelTimerFailedEventAttributes,omitempty"`
	MarkerRecordedEventAttributes                                  *MarkerRecordedEventAttributes                                  `json:"markerRecordedEventAttributes,omitempty"`
	WorkflowExecutionSignaledEventAttributes                       *WorkflowExecutionSignaledEventAttributes                       `json:"workflowExecutionSignaledEventAttributes,omitempty"`
	WorkflowExecutionTerminatedEventAttributes                     *WorkflowExecutionTerminatedEventAttributes                     `json:"workflowExecutionTerminatedEventAttributes,omitempty"`
	WorkflowExecutionCancelRequestedEventAttributes                *WorkflowExecutionCancelRequestedEventAttributes                `json:"workflowExecutionCancelRequestedEventAttributes,omitempty"`
	WorkflowExecutionCanceledEventAttributes                       *WorkflowExecutionCanceledEventAttributes                       `json:"workflowExecutionCanceledEventAttributes,omitempty"`
	RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes `json:"requestCancelExternalWorkflowExecutionInitiatedEventAttributes,omitempty"`
	RequestCancelExternalWorkflowExecutionFailedEventAttributes    *RequestCancelExternalWorkflowExecutionFailedEventAttributes    `json:"requestCancelExternalWorkflowExecutionFailedEventAttributes,omitempty"`
	ExternalWorkflowExecutionCancelRequestedEventAttributes        *ExternalWorkflowExecutionCancelRequestedEventAttributes        `json:"externalWorkflowExecutionCancelRequestedEventAttributes,omitempty"`
	WorkflowExecutionContinuedAsNewEventAttributes                 *WorkflowExecutionContinuedAsNewEventAttributes                 `json:"workflowExecutionContinuedAsNewEventAttributes,omitempty"`
	StartChildWorkflowExecutionInitiatedEventAttributes            *StartChildWorkflowExecutionInitiatedEventAttributes            `json:"startChildWorkflowExecutionInitiatedEventAttributes,omitempty"`
	StartChildWorkflowExecutionFailedEventAttributes               *StartChildWorkflowExecutionFailedEventAttributes               `json:"startChildWorkflowExecutionFailedEventAttributes,omitempty"`
	ChildWorkflowExecutionStartedEventAttributes                   *ChildWorkflowExecutionStartedEventAttributes                   `json:"childWorkflowExecutionStartedEventAttributes,omitempty"`
	ChildWorkflowExecutionCompletedEventAttributes                 *ChildWorkflowExecutionCompletedEventAttributes                 `json:"childWorkflowExecutionCompletedEventAttributes,omitempty"`
	ChildWorkflowExecutionFailedEventAttributes                    *ChildWorkflowExecutionFailedEventAttributes                    `json:"childWorkflowExecutionFailedEventAttributes,omitempty"`
	ChildWorkflowExecutionCanceledEventAttributes                  *ChildWorkflowExecutionCanceledEventAttributes                  `json:"childWorkflowExecutionCanceledEventAttributes,omitempty"`
	ChildWorkflowExecutionTimedOutEventAttributes                  *ChildWorkflowExecutionTimedOutEventAttributes                  `json:"childWorkflowExecutionTimedOutEventAttributes,omitempty"`
	ChildWorkflowExecutionTerminatedEventAttributes                *ChildWorkflowExecutionTerminatedEventAttributes                `json:"childWorkflowExecutionTerminatedEventAttributes,omitempty"`
	SignalExternalWorkflowExecutionInitiatedEventAttributes        *SignalExternalWorkflowExecutionInitiatedEventAttributes        `json:"signalExternalWorkflowExecutionInitiatedEventAttributes,omitempty"`
	SignalExternalWorkflowExecutionFailedEventAttributes           *SignalExternalWorkflowExecutionFailedEventAttributes           `json:"signalExternalWorkflowExecutionFailedEventAttributes,omitempty"`
	ExternalWorkflowExecutionSignaledEventAttributes               *ExternalWorkflowExecutionSignaledEventAttributes               `json:"externalWorkflowExecutionSignaledEventAttributes,omitempty"`
	UpsertWorkflowSearchAttributesEventAttributes                  *UpsertWorkflowSearchAttributesEventAttributes                  `json:"upsertWorkflowSearchAttributesEventAttributes,omitempty"`
}

func (*HistoryEvent) Equals

func (v *HistoryEvent) Equals(rhs *HistoryEvent) bool

Equals returns true if all the fields of this HistoryEvent match the provided HistoryEvent.

This function performs a deep comparison.

func (*HistoryEvent) FromWire

func (v *HistoryEvent) FromWire(w wire.Value) error

FromWire deserializes a HistoryEvent struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a HistoryEvent struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v HistoryEvent
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*HistoryEvent) GetActivityTaskCancelRequestedEventAttributes

func (v *HistoryEvent) GetActivityTaskCancelRequestedEventAttributes() (o *ActivityTaskCancelRequestedEventAttributes)

GetActivityTaskCancelRequestedEventAttributes returns the value of ActivityTaskCancelRequestedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskCanceledEventAttributes

func (v *HistoryEvent) GetActivityTaskCanceledEventAttributes() (o *ActivityTaskCanceledEventAttributes)

GetActivityTaskCanceledEventAttributes returns the value of ActivityTaskCanceledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskCompletedEventAttributes

func (v *HistoryEvent) GetActivityTaskCompletedEventAttributes() (o *ActivityTaskCompletedEventAttributes)

GetActivityTaskCompletedEventAttributes returns the value of ActivityTaskCompletedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskFailedEventAttributes

func (v *HistoryEvent) GetActivityTaskFailedEventAttributes() (o *ActivityTaskFailedEventAttributes)

GetActivityTaskFailedEventAttributes returns the value of ActivityTaskFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskScheduledEventAttributes

func (v *HistoryEvent) GetActivityTaskScheduledEventAttributes() (o *ActivityTaskScheduledEventAttributes)

GetActivityTaskScheduledEventAttributes returns the value of ActivityTaskScheduledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskStartedEventAttributes

func (v *HistoryEvent) GetActivityTaskStartedEventAttributes() (o *ActivityTaskStartedEventAttributes)

GetActivityTaskStartedEventAttributes returns the value of ActivityTaskStartedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetActivityTaskTimedOutEventAttributes

func (v *HistoryEvent) GetActivityTaskTimedOutEventAttributes() (o *ActivityTaskTimedOutEventAttributes)

GetActivityTaskTimedOutEventAttributes returns the value of ActivityTaskTimedOutEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetCancelTimerFailedEventAttributes

func (v *HistoryEvent) GetCancelTimerFailedEventAttributes() (o *CancelTimerFailedEventAttributes)

GetCancelTimerFailedEventAttributes returns the value of CancelTimerFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionCanceledEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionCanceledEventAttributes() (o *ChildWorkflowExecutionCanceledEventAttributes)

GetChildWorkflowExecutionCanceledEventAttributes returns the value of ChildWorkflowExecutionCanceledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionCompletedEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionCompletedEventAttributes() (o *ChildWorkflowExecutionCompletedEventAttributes)

GetChildWorkflowExecutionCompletedEventAttributes returns the value of ChildWorkflowExecutionCompletedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionFailedEventAttributes() (o *ChildWorkflowExecutionFailedEventAttributes)

GetChildWorkflowExecutionFailedEventAttributes returns the value of ChildWorkflowExecutionFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionStartedEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionStartedEventAttributes() (o *ChildWorkflowExecutionStartedEventAttributes)

GetChildWorkflowExecutionStartedEventAttributes returns the value of ChildWorkflowExecutionStartedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionTerminatedEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionTerminatedEventAttributes() (o *ChildWorkflowExecutionTerminatedEventAttributes)

GetChildWorkflowExecutionTerminatedEventAttributes returns the value of ChildWorkflowExecutionTerminatedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetChildWorkflowExecutionTimedOutEventAttributes

func (v *HistoryEvent) GetChildWorkflowExecutionTimedOutEventAttributes() (o *ChildWorkflowExecutionTimedOutEventAttributes)

GetChildWorkflowExecutionTimedOutEventAttributes returns the value of ChildWorkflowExecutionTimedOutEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetDecisionTaskCompletedEventAttributes

func (v *HistoryEvent) GetDecisionTaskCompletedEventAttributes() (o *DecisionTaskCompletedEventAttributes)

GetDecisionTaskCompletedEventAttributes returns the value of DecisionTaskCompletedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetDecisionTaskFailedEventAttributes

func (v *HistoryEvent) GetDecisionTaskFailedEventAttributes() (o *DecisionTaskFailedEventAttributes)

GetDecisionTaskFailedEventAttributes returns the value of DecisionTaskFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetDecisionTaskScheduledEventAttributes

func (v *HistoryEvent) GetDecisionTaskScheduledEventAttributes() (o *DecisionTaskScheduledEventAttributes)

GetDecisionTaskScheduledEventAttributes returns the value of DecisionTaskScheduledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetDecisionTaskStartedEventAttributes

func (v *HistoryEvent) GetDecisionTaskStartedEventAttributes() (o *DecisionTaskStartedEventAttributes)

GetDecisionTaskStartedEventAttributes returns the value of DecisionTaskStartedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetDecisionTaskTimedOutEventAttributes

func (v *HistoryEvent) GetDecisionTaskTimedOutEventAttributes() (o *DecisionTaskTimedOutEventAttributes)

GetDecisionTaskTimedOutEventAttributes returns the value of DecisionTaskTimedOutEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetEventId

func (v *HistoryEvent) GetEventId() (o int64)

GetEventId returns the value of EventId if it is set or its zero value if it is unset.

func (*HistoryEvent) GetEventType

func (v *HistoryEvent) GetEventType() (o EventType)

GetEventType returns the value of EventType if it is set or its zero value if it is unset.

func (*HistoryEvent) GetExternalWorkflowExecutionCancelRequestedEventAttributes

func (v *HistoryEvent) GetExternalWorkflowExecutionCancelRequestedEventAttributes() (o *ExternalWorkflowExecutionCancelRequestedEventAttributes)

GetExternalWorkflowExecutionCancelRequestedEventAttributes returns the value of ExternalWorkflowExecutionCancelRequestedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetExternalWorkflowExecutionSignaledEventAttributes

func (v *HistoryEvent) GetExternalWorkflowExecutionSignaledEventAttributes() (o *ExternalWorkflowExecutionSignaledEventAttributes)

GetExternalWorkflowExecutionSignaledEventAttributes returns the value of ExternalWorkflowExecutionSignaledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetMarkerRecordedEventAttributes

func (v *HistoryEvent) GetMarkerRecordedEventAttributes() (o *MarkerRecordedEventAttributes)

GetMarkerRecordedEventAttributes returns the value of MarkerRecordedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetRequestCancelActivityTaskFailedEventAttributes

func (v *HistoryEvent) GetRequestCancelActivityTaskFailedEventAttributes() (o *RequestCancelActivityTaskFailedEventAttributes)

GetRequestCancelActivityTaskFailedEventAttributes returns the value of RequestCancelActivityTaskFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetRequestCancelExternalWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) GetRequestCancelExternalWorkflowExecutionFailedEventAttributes() (o *RequestCancelExternalWorkflowExecutionFailedEventAttributes)

GetRequestCancelExternalWorkflowExecutionFailedEventAttributes returns the value of RequestCancelExternalWorkflowExecutionFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() (o *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)

GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes returns the value of RequestCancelExternalWorkflowExecutionInitiatedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetSignalExternalWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) GetSignalExternalWorkflowExecutionFailedEventAttributes() (o *SignalExternalWorkflowExecutionFailedEventAttributes)

GetSignalExternalWorkflowExecutionFailedEventAttributes returns the value of SignalExternalWorkflowExecutionFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetSignalExternalWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) GetSignalExternalWorkflowExecutionInitiatedEventAttributes() (o *SignalExternalWorkflowExecutionInitiatedEventAttributes)

GetSignalExternalWorkflowExecutionInitiatedEventAttributes returns the value of SignalExternalWorkflowExecutionInitiatedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetStartChildWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) GetStartChildWorkflowExecutionFailedEventAttributes() (o *StartChildWorkflowExecutionFailedEventAttributes)

GetStartChildWorkflowExecutionFailedEventAttributes returns the value of StartChildWorkflowExecutionFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetStartChildWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) GetStartChildWorkflowExecutionInitiatedEventAttributes() (o *StartChildWorkflowExecutionInitiatedEventAttributes)

GetStartChildWorkflowExecutionInitiatedEventAttributes returns the value of StartChildWorkflowExecutionInitiatedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetTaskId

func (v *HistoryEvent) GetTaskId() (o int64)

GetTaskId returns the value of TaskId if it is set or its zero value if it is unset.

func (*HistoryEvent) GetTimerCanceledEventAttributes

func (v *HistoryEvent) GetTimerCanceledEventAttributes() (o *TimerCanceledEventAttributes)

GetTimerCanceledEventAttributes returns the value of TimerCanceledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetTimerFiredEventAttributes

func (v *HistoryEvent) GetTimerFiredEventAttributes() (o *TimerFiredEventAttributes)

GetTimerFiredEventAttributes returns the value of TimerFiredEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetTimerStartedEventAttributes

func (v *HistoryEvent) GetTimerStartedEventAttributes() (o *TimerStartedEventAttributes)

GetTimerStartedEventAttributes returns the value of TimerStartedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetTimestamp

func (v *HistoryEvent) GetTimestamp() (o int64)

GetTimestamp returns the value of Timestamp if it is set or its zero value if it is unset.

func (*HistoryEvent) GetUpsertWorkflowSearchAttributesEventAttributes

func (v *HistoryEvent) GetUpsertWorkflowSearchAttributesEventAttributes() (o *UpsertWorkflowSearchAttributesEventAttributes)

GetUpsertWorkflowSearchAttributesEventAttributes returns the value of UpsertWorkflowSearchAttributesEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetVersion

func (v *HistoryEvent) GetVersion() (o int64)

GetVersion returns the value of Version if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionCancelRequestedEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionCancelRequestedEventAttributes() (o *WorkflowExecutionCancelRequestedEventAttributes)

GetWorkflowExecutionCancelRequestedEventAttributes returns the value of WorkflowExecutionCancelRequestedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionCanceledEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionCanceledEventAttributes() (o *WorkflowExecutionCanceledEventAttributes)

GetWorkflowExecutionCanceledEventAttributes returns the value of WorkflowExecutionCanceledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionCompletedEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionCompletedEventAttributes() (o *WorkflowExecutionCompletedEventAttributes)

GetWorkflowExecutionCompletedEventAttributes returns the value of WorkflowExecutionCompletedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionContinuedAsNewEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionContinuedAsNewEventAttributes() (o *WorkflowExecutionContinuedAsNewEventAttributes)

GetWorkflowExecutionContinuedAsNewEventAttributes returns the value of WorkflowExecutionContinuedAsNewEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionFailedEventAttributes() (o *WorkflowExecutionFailedEventAttributes)

GetWorkflowExecutionFailedEventAttributes returns the value of WorkflowExecutionFailedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionSignaledEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionSignaledEventAttributes() (o *WorkflowExecutionSignaledEventAttributes)

GetWorkflowExecutionSignaledEventAttributes returns the value of WorkflowExecutionSignaledEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionStartedEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionStartedEventAttributes() (o *WorkflowExecutionStartedEventAttributes)

GetWorkflowExecutionStartedEventAttributes returns the value of WorkflowExecutionStartedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionTerminatedEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionTerminatedEventAttributes() (o *WorkflowExecutionTerminatedEventAttributes)

GetWorkflowExecutionTerminatedEventAttributes returns the value of WorkflowExecutionTerminatedEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) GetWorkflowExecutionTimedOutEventAttributes

func (v *HistoryEvent) GetWorkflowExecutionTimedOutEventAttributes() (o *WorkflowExecutionTimedOutEventAttributes)

GetWorkflowExecutionTimedOutEventAttributes returns the value of WorkflowExecutionTimedOutEventAttributes if it is set or its zero value if it is unset.

func (*HistoryEvent) IsSetActivityTaskCancelRequestedEventAttributes

func (v *HistoryEvent) IsSetActivityTaskCancelRequestedEventAttributes() bool

IsSetActivityTaskCancelRequestedEventAttributes returns true if ActivityTaskCancelRequestedEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskCanceledEventAttributes

func (v *HistoryEvent) IsSetActivityTaskCanceledEventAttributes() bool

IsSetActivityTaskCanceledEventAttributes returns true if ActivityTaskCanceledEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskCompletedEventAttributes

func (v *HistoryEvent) IsSetActivityTaskCompletedEventAttributes() bool

IsSetActivityTaskCompletedEventAttributes returns true if ActivityTaskCompletedEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskFailedEventAttributes

func (v *HistoryEvent) IsSetActivityTaskFailedEventAttributes() bool

IsSetActivityTaskFailedEventAttributes returns true if ActivityTaskFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskScheduledEventAttributes

func (v *HistoryEvent) IsSetActivityTaskScheduledEventAttributes() bool

IsSetActivityTaskScheduledEventAttributes returns true if ActivityTaskScheduledEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskStartedEventAttributes

func (v *HistoryEvent) IsSetActivityTaskStartedEventAttributes() bool

IsSetActivityTaskStartedEventAttributes returns true if ActivityTaskStartedEventAttributes is not nil.

func (*HistoryEvent) IsSetActivityTaskTimedOutEventAttributes

func (v *HistoryEvent) IsSetActivityTaskTimedOutEventAttributes() bool

IsSetActivityTaskTimedOutEventAttributes returns true if ActivityTaskTimedOutEventAttributes is not nil.

func (*HistoryEvent) IsSetCancelTimerFailedEventAttributes

func (v *HistoryEvent) IsSetCancelTimerFailedEventAttributes() bool

IsSetCancelTimerFailedEventAttributes returns true if CancelTimerFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionCanceledEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionCanceledEventAttributes() bool

IsSetChildWorkflowExecutionCanceledEventAttributes returns true if ChildWorkflowExecutionCanceledEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionCompletedEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionCompletedEventAttributes() bool

IsSetChildWorkflowExecutionCompletedEventAttributes returns true if ChildWorkflowExecutionCompletedEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionFailedEventAttributes() bool

IsSetChildWorkflowExecutionFailedEventAttributes returns true if ChildWorkflowExecutionFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionStartedEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionStartedEventAttributes() bool

IsSetChildWorkflowExecutionStartedEventAttributes returns true if ChildWorkflowExecutionStartedEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionTerminatedEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionTerminatedEventAttributes() bool

IsSetChildWorkflowExecutionTerminatedEventAttributes returns true if ChildWorkflowExecutionTerminatedEventAttributes is not nil.

func (*HistoryEvent) IsSetChildWorkflowExecutionTimedOutEventAttributes

func (v *HistoryEvent) IsSetChildWorkflowExecutionTimedOutEventAttributes() bool

IsSetChildWorkflowExecutionTimedOutEventAttributes returns true if ChildWorkflowExecutionTimedOutEventAttributes is not nil.

func (*HistoryEvent) IsSetDecisionTaskCompletedEventAttributes

func (v *HistoryEvent) IsSetDecisionTaskCompletedEventAttributes() bool

IsSetDecisionTaskCompletedEventAttributes returns true if DecisionTaskCompletedEventAttributes is not nil.

func (*HistoryEvent) IsSetDecisionTaskFailedEventAttributes

func (v *HistoryEvent) IsSetDecisionTaskFailedEventAttributes() bool

IsSetDecisionTaskFailedEventAttributes returns true if DecisionTaskFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetDecisionTaskScheduledEventAttributes

func (v *HistoryEvent) IsSetDecisionTaskScheduledEventAttributes() bool

IsSetDecisionTaskScheduledEventAttributes returns true if DecisionTaskScheduledEventAttributes is not nil.

func (*HistoryEvent) IsSetDecisionTaskStartedEventAttributes

func (v *HistoryEvent) IsSetDecisionTaskStartedEventAttributes() bool

IsSetDecisionTaskStartedEventAttributes returns true if DecisionTaskStartedEventAttributes is not nil.

func (*HistoryEvent) IsSetDecisionTaskTimedOutEventAttributes

func (v *HistoryEvent) IsSetDecisionTaskTimedOutEventAttributes() bool

IsSetDecisionTaskTimedOutEventAttributes returns true if DecisionTaskTimedOutEventAttributes is not nil.

func (*HistoryEvent) IsSetEventId

func (v *HistoryEvent) IsSetEventId() bool

IsSetEventId returns true if EventId is not nil.

func (*HistoryEvent) IsSetEventType

func (v *HistoryEvent) IsSetEventType() bool

IsSetEventType returns true if EventType is not nil.

func (*HistoryEvent) IsSetExternalWorkflowExecutionCancelRequestedEventAttributes

func (v *HistoryEvent) IsSetExternalWorkflowExecutionCancelRequestedEventAttributes() bool

IsSetExternalWorkflowExecutionCancelRequestedEventAttributes returns true if ExternalWorkflowExecutionCancelRequestedEventAttributes is not nil.

func (*HistoryEvent) IsSetExternalWorkflowExecutionSignaledEventAttributes

func (v *HistoryEvent) IsSetExternalWorkflowExecutionSignaledEventAttributes() bool

IsSetExternalWorkflowExecutionSignaledEventAttributes returns true if ExternalWorkflowExecutionSignaledEventAttributes is not nil.

func (*HistoryEvent) IsSetMarkerRecordedEventAttributes

func (v *HistoryEvent) IsSetMarkerRecordedEventAttributes() bool

IsSetMarkerRecordedEventAttributes returns true if MarkerRecordedEventAttributes is not nil.

func (*HistoryEvent) IsSetRequestCancelActivityTaskFailedEventAttributes

func (v *HistoryEvent) IsSetRequestCancelActivityTaskFailedEventAttributes() bool

IsSetRequestCancelActivityTaskFailedEventAttributes returns true if RequestCancelActivityTaskFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetRequestCancelExternalWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) IsSetRequestCancelExternalWorkflowExecutionFailedEventAttributes() bool

IsSetRequestCancelExternalWorkflowExecutionFailedEventAttributes returns true if RequestCancelExternalWorkflowExecutionFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) IsSetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() bool

IsSetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes returns true if RequestCancelExternalWorkflowExecutionInitiatedEventAttributes is not nil.

func (*HistoryEvent) IsSetSignalExternalWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) IsSetSignalExternalWorkflowExecutionFailedEventAttributes() bool

IsSetSignalExternalWorkflowExecutionFailedEventAttributes returns true if SignalExternalWorkflowExecutionFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetSignalExternalWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) IsSetSignalExternalWorkflowExecutionInitiatedEventAttributes() bool

IsSetSignalExternalWorkflowExecutionInitiatedEventAttributes returns true if SignalExternalWorkflowExecutionInitiatedEventAttributes is not nil.

func (*HistoryEvent) IsSetStartChildWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) IsSetStartChildWorkflowExecutionFailedEventAttributes() bool

IsSetStartChildWorkflowExecutionFailedEventAttributes returns true if StartChildWorkflowExecutionFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetStartChildWorkflowExecutionInitiatedEventAttributes

func (v *HistoryEvent) IsSetStartChildWorkflowExecutionInitiatedEventAttributes() bool

IsSetStartChildWorkflowExecutionInitiatedEventAttributes returns true if StartChildWorkflowExecutionInitiatedEventAttributes is not nil.

func (*HistoryEvent) IsSetTaskId

func (v *HistoryEvent) IsSetTaskId() bool

IsSetTaskId returns true if TaskId is not nil.

func (*HistoryEvent) IsSetTimerCanceledEventAttributes

func (v *HistoryEvent) IsSetTimerCanceledEventAttributes() bool

IsSetTimerCanceledEventAttributes returns true if TimerCanceledEventAttributes is not nil.

func (*HistoryEvent) IsSetTimerFiredEventAttributes

func (v *HistoryEvent) IsSetTimerFiredEventAttributes() bool

IsSetTimerFiredEventAttributes returns true if TimerFiredEventAttributes is not nil.

func (*HistoryEvent) IsSetTimerStartedEventAttributes

func (v *HistoryEvent) IsSetTimerStartedEventAttributes() bool

IsSetTimerStartedEventAttributes returns true if TimerStartedEventAttributes is not nil.

func (*HistoryEvent) IsSetTimestamp

func (v *HistoryEvent) IsSetTimestamp() bool

IsSetTimestamp returns true if Timestamp is not nil.

func (*HistoryEvent) IsSetUpsertWorkflowSearchAttributesEventAttributes

func (v *HistoryEvent) IsSetUpsertWorkflowSearchAttributesEventAttributes() bool

IsSetUpsertWorkflowSearchAttributesEventAttributes returns true if UpsertWorkflowSearchAttributesEventAttributes is not nil.

func (*HistoryEvent) IsSetVersion

func (v *HistoryEvent) IsSetVersion() bool

IsSetVersion returns true if Version is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionCancelRequestedEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionCancelRequestedEventAttributes() bool

IsSetWorkflowExecutionCancelRequestedEventAttributes returns true if WorkflowExecutionCancelRequestedEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionCanceledEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionCanceledEventAttributes() bool

IsSetWorkflowExecutionCanceledEventAttributes returns true if WorkflowExecutionCanceledEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionCompletedEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionCompletedEventAttributes() bool

IsSetWorkflowExecutionCompletedEventAttributes returns true if WorkflowExecutionCompletedEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionContinuedAsNewEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionContinuedAsNewEventAttributes() bool

IsSetWorkflowExecutionContinuedAsNewEventAttributes returns true if WorkflowExecutionContinuedAsNewEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionFailedEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionFailedEventAttributes() bool

IsSetWorkflowExecutionFailedEventAttributes returns true if WorkflowExecutionFailedEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionSignaledEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionSignaledEventAttributes() bool

IsSetWorkflowExecutionSignaledEventAttributes returns true if WorkflowExecutionSignaledEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionStartedEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionStartedEventAttributes() bool

IsSetWorkflowExecutionStartedEventAttributes returns true if WorkflowExecutionStartedEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionTerminatedEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionTerminatedEventAttributes() bool

IsSetWorkflowExecutionTerminatedEventAttributes returns true if WorkflowExecutionTerminatedEventAttributes is not nil.

func (*HistoryEvent) IsSetWorkflowExecutionTimedOutEventAttributes

func (v *HistoryEvent) IsSetWorkflowExecutionTimedOutEventAttributes() bool

IsSetWorkflowExecutionTimedOutEventAttributes returns true if WorkflowExecutionTimedOutEventAttributes is not nil.

func (*HistoryEvent) MarshalLogObject

func (v *HistoryEvent) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of HistoryEvent.

func (*HistoryEvent) String

func (v *HistoryEvent) String() string

String returns a readable string representation of a HistoryEvent struct.

func (*HistoryEvent) ToWire

func (v *HistoryEvent) ToWire() (wire.Value, error)

ToWire translates a HistoryEvent struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type HistoryEventFilterType

type HistoryEventFilterType int32
const (
	HistoryEventFilterTypeAllEvent   HistoryEventFilterType = 0
	HistoryEventFilterTypeCloseEvent HistoryEventFilterType = 1
)

func HistoryEventFilterType_Values

func HistoryEventFilterType_Values() []HistoryEventFilterType

HistoryEventFilterType_Values returns all recognized values of HistoryEventFilterType.

func (HistoryEventFilterType) Equals

Equals returns true if this HistoryEventFilterType value matches the provided value.

func (*HistoryEventFilterType) FromWire

func (v *HistoryEventFilterType) FromWire(w wire.Value) error

FromWire deserializes HistoryEventFilterType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return HistoryEventFilterType(0), err
}

var v HistoryEventFilterType
if err := v.FromWire(x); err != nil {
  return HistoryEventFilterType(0), err
}
return v, nil

func (HistoryEventFilterType) MarshalJSON

func (v HistoryEventFilterType) MarshalJSON() ([]byte, error)

MarshalJSON serializes HistoryEventFilterType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (HistoryEventFilterType) MarshalLogObject

func (v HistoryEventFilterType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of HistoryEventFilterType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (HistoryEventFilterType) MarshalText

func (v HistoryEventFilterType) MarshalText() ([]byte, error)

MarshalText encodes HistoryEventFilterType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (HistoryEventFilterType) Ptr

Ptr returns a pointer to this enum value.

func (HistoryEventFilterType) String

func (v HistoryEventFilterType) String() string

String returns a readable string representation of HistoryEventFilterType.

func (HistoryEventFilterType) ToWire

func (v HistoryEventFilterType) ToWire() (wire.Value, error)

ToWire translates HistoryEventFilterType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*HistoryEventFilterType) UnmarshalJSON

func (v *HistoryEventFilterType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode HistoryEventFilterType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*HistoryEventFilterType) UnmarshalText

func (v *HistoryEventFilterType) UnmarshalText(value []byte) error

UnmarshalText tries to decode HistoryEventFilterType from a byte slice containing its name.

var v HistoryEventFilterType
err := v.UnmarshalText([]byte("ALL_EVENT"))

type IndexedValueType

type IndexedValueType int32
const (
	IndexedValueTypeString   IndexedValueType = 0
	IndexedValueTypeKeyword  IndexedValueType = 1
	IndexedValueTypeInt      IndexedValueType = 2
	IndexedValueTypeDouble   IndexedValueType = 3
	IndexedValueTypeBool     IndexedValueType = 4
	IndexedValueTypeDatetime IndexedValueType = 5
)

func IndexedValueType_Values

func IndexedValueType_Values() []IndexedValueType

IndexedValueType_Values returns all recognized values of IndexedValueType.

func (IndexedValueType) Equals

func (v IndexedValueType) Equals(rhs IndexedValueType) bool

Equals returns true if this IndexedValueType value matches the provided value.

func (*IndexedValueType) FromWire

func (v *IndexedValueType) FromWire(w wire.Value) error

FromWire deserializes IndexedValueType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return IndexedValueType(0), err
}

var v IndexedValueType
if err := v.FromWire(x); err != nil {
  return IndexedValueType(0), err
}
return v, nil

func (IndexedValueType) MarshalJSON

func (v IndexedValueType) MarshalJSON() ([]byte, error)

MarshalJSON serializes IndexedValueType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (IndexedValueType) MarshalLogObject

func (v IndexedValueType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of IndexedValueType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (IndexedValueType) MarshalText

func (v IndexedValueType) MarshalText() ([]byte, error)

MarshalText encodes IndexedValueType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (IndexedValueType) Ptr

Ptr returns a pointer to this enum value.

func (IndexedValueType) String

func (v IndexedValueType) String() string

String returns a readable string representation of IndexedValueType.

func (IndexedValueType) ToWire

func (v IndexedValueType) ToWire() (wire.Value, error)

ToWire translates IndexedValueType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*IndexedValueType) UnmarshalJSON

func (v *IndexedValueType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode IndexedValueType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*IndexedValueType) UnmarshalText

func (v *IndexedValueType) UnmarshalText(value []byte) error

UnmarshalText tries to decode IndexedValueType from a byte slice containing its name.

var v IndexedValueType
err := v.UnmarshalText([]byte("STRING"))

type InternalServiceError

type InternalServiceError struct {
	Message string `json:"message,required"`
}

func (*InternalServiceError) Equals

Equals returns true if all the fields of this InternalServiceError match the provided InternalServiceError.

This function performs a deep comparison.

func (*InternalServiceError) Error

func (v *InternalServiceError) Error() string

func (*InternalServiceError) ErrorName

func (*InternalServiceError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*InternalServiceError) FromWire

func (v *InternalServiceError) FromWire(w wire.Value) error

FromWire deserializes a InternalServiceError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a InternalServiceError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v InternalServiceError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*InternalServiceError) GetMessage

func (v *InternalServiceError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*InternalServiceError) MarshalLogObject

func (v *InternalServiceError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of InternalServiceError.

func (*InternalServiceError) String

func (v *InternalServiceError) String() string

String returns a readable string representation of a InternalServiceError struct.

func (*InternalServiceError) ToWire

func (v *InternalServiceError) ToWire() (wire.Value, error)

ToWire translates a InternalServiceError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type LimitExceededError

type LimitExceededError struct {
	Message string `json:"message,required"`
}

func (*LimitExceededError) Equals

func (v *LimitExceededError) Equals(rhs *LimitExceededError) bool

Equals returns true if all the fields of this LimitExceededError match the provided LimitExceededError.

This function performs a deep comparison.

func (*LimitExceededError) Error

func (v *LimitExceededError) Error() string

func (*LimitExceededError) ErrorName

func (*LimitExceededError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*LimitExceededError) FromWire

func (v *LimitExceededError) FromWire(w wire.Value) error

FromWire deserializes a LimitExceededError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a LimitExceededError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v LimitExceededError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*LimitExceededError) GetMessage

func (v *LimitExceededError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*LimitExceededError) MarshalLogObject

func (v *LimitExceededError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of LimitExceededError.

func (*LimitExceededError) String

func (v *LimitExceededError) String() string

String returns a readable string representation of a LimitExceededError struct.

func (*LimitExceededError) ToWire

func (v *LimitExceededError) ToWire() (wire.Value, error)

ToWire translates a LimitExceededError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListArchivedWorkflowExecutionsRequest

type ListArchivedWorkflowExecutionsRequest struct {
	Domain        *string `json:"domain,omitempty"`
	PageSize      *int32  `json:"pageSize,omitempty"`
	NextPageToken []byte  `json:"nextPageToken,omitempty"`
	Query         *string `json:"query,omitempty"`
}

func (*ListArchivedWorkflowExecutionsRequest) Equals

Equals returns true if all the fields of this ListArchivedWorkflowExecutionsRequest match the provided ListArchivedWorkflowExecutionsRequest.

This function performs a deep comparison.

func (*ListArchivedWorkflowExecutionsRequest) FromWire

FromWire deserializes a ListArchivedWorkflowExecutionsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListArchivedWorkflowExecutionsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListArchivedWorkflowExecutionsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListArchivedWorkflowExecutionsRequest) GetDomain

func (v *ListArchivedWorkflowExecutionsRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsRequest) GetNextPageToken

func (v *ListArchivedWorkflowExecutionsRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsRequest) GetPageSize

func (v *ListArchivedWorkflowExecutionsRequest) GetPageSize() (o int32)

GetPageSize returns the value of PageSize if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsRequest) GetQuery

GetQuery returns the value of Query if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ListArchivedWorkflowExecutionsRequest) IsSetNextPageToken

func (v *ListArchivedWorkflowExecutionsRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListArchivedWorkflowExecutionsRequest) IsSetPageSize

func (v *ListArchivedWorkflowExecutionsRequest) IsSetPageSize() bool

IsSetPageSize returns true if PageSize is not nil.

func (*ListArchivedWorkflowExecutionsRequest) IsSetQuery

IsSetQuery returns true if Query is not nil.

func (*ListArchivedWorkflowExecutionsRequest) MarshalLogObject

func (v *ListArchivedWorkflowExecutionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListArchivedWorkflowExecutionsRequest.

func (*ListArchivedWorkflowExecutionsRequest) String

String returns a readable string representation of a ListArchivedWorkflowExecutionsRequest struct.

func (*ListArchivedWorkflowExecutionsRequest) ToWire

ToWire translates a ListArchivedWorkflowExecutionsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListArchivedWorkflowExecutionsResponse

type ListArchivedWorkflowExecutionsResponse struct {
	Executions    []*WorkflowExecutionInfo `json:"executions,omitempty"`
	NextPageToken []byte                   `json:"nextPageToken,omitempty"`
}

func (*ListArchivedWorkflowExecutionsResponse) Equals

Equals returns true if all the fields of this ListArchivedWorkflowExecutionsResponse match the provided ListArchivedWorkflowExecutionsResponse.

This function performs a deep comparison.

func (*ListArchivedWorkflowExecutionsResponse) FromWire

FromWire deserializes a ListArchivedWorkflowExecutionsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListArchivedWorkflowExecutionsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListArchivedWorkflowExecutionsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListArchivedWorkflowExecutionsResponse) GetExecutions

GetExecutions returns the value of Executions if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsResponse) GetNextPageToken

func (v *ListArchivedWorkflowExecutionsResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListArchivedWorkflowExecutionsResponse) IsSetExecutions

func (v *ListArchivedWorkflowExecutionsResponse) IsSetExecutions() bool

IsSetExecutions returns true if Executions is not nil.

func (*ListArchivedWorkflowExecutionsResponse) IsSetNextPageToken

func (v *ListArchivedWorkflowExecutionsResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListArchivedWorkflowExecutionsResponse) MarshalLogObject

func (v *ListArchivedWorkflowExecutionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListArchivedWorkflowExecutionsResponse.

func (*ListArchivedWorkflowExecutionsResponse) String

String returns a readable string representation of a ListArchivedWorkflowExecutionsResponse struct.

func (*ListArchivedWorkflowExecutionsResponse) ToWire

ToWire translates a ListArchivedWorkflowExecutionsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListClosedWorkflowExecutionsRequest

type ListClosedWorkflowExecutionsRequest struct {
	Domain          *string                       `json:"domain,omitempty"`
	MaximumPageSize *int32                        `json:"maximumPageSize,omitempty"`
	NextPageToken   []byte                        `json:"nextPageToken,omitempty"`
	StartTimeFilter *StartTimeFilter              `json:"StartTimeFilter,omitempty"`
	ExecutionFilter *WorkflowExecutionFilter      `json:"executionFilter,omitempty"`
	TypeFilter      *WorkflowTypeFilter           `json:"typeFilter,omitempty"`
	StatusFilter    *WorkflowExecutionCloseStatus `json:"statusFilter,omitempty"`
}

func (*ListClosedWorkflowExecutionsRequest) Equals

Equals returns true if all the fields of this ListClosedWorkflowExecutionsRequest match the provided ListClosedWorkflowExecutionsRequest.

This function performs a deep comparison.

func (*ListClosedWorkflowExecutionsRequest) FromWire

FromWire deserializes a ListClosedWorkflowExecutionsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListClosedWorkflowExecutionsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListClosedWorkflowExecutionsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListClosedWorkflowExecutionsRequest) GetDomain

func (v *ListClosedWorkflowExecutionsRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetExecutionFilter

func (v *ListClosedWorkflowExecutionsRequest) GetExecutionFilter() (o *WorkflowExecutionFilter)

GetExecutionFilter returns the value of ExecutionFilter if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetMaximumPageSize

func (v *ListClosedWorkflowExecutionsRequest) GetMaximumPageSize() (o int32)

GetMaximumPageSize returns the value of MaximumPageSize if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetNextPageToken

func (v *ListClosedWorkflowExecutionsRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetStartTimeFilter

func (v *ListClosedWorkflowExecutionsRequest) GetStartTimeFilter() (o *StartTimeFilter)

GetStartTimeFilter returns the value of StartTimeFilter if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetStatusFilter

GetStatusFilter returns the value of StatusFilter if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) GetTypeFilter

GetTypeFilter returns the value of TypeFilter if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsRequest) IsSetDomain

func (v *ListClosedWorkflowExecutionsRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetExecutionFilter

func (v *ListClosedWorkflowExecutionsRequest) IsSetExecutionFilter() bool

IsSetExecutionFilter returns true if ExecutionFilter is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetMaximumPageSize

func (v *ListClosedWorkflowExecutionsRequest) IsSetMaximumPageSize() bool

IsSetMaximumPageSize returns true if MaximumPageSize is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetNextPageToken

func (v *ListClosedWorkflowExecutionsRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetStartTimeFilter

func (v *ListClosedWorkflowExecutionsRequest) IsSetStartTimeFilter() bool

IsSetStartTimeFilter returns true if StartTimeFilter is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetStatusFilter

func (v *ListClosedWorkflowExecutionsRequest) IsSetStatusFilter() bool

IsSetStatusFilter returns true if StatusFilter is not nil.

func (*ListClosedWorkflowExecutionsRequest) IsSetTypeFilter

func (v *ListClosedWorkflowExecutionsRequest) IsSetTypeFilter() bool

IsSetTypeFilter returns true if TypeFilter is not nil.

func (*ListClosedWorkflowExecutionsRequest) MarshalLogObject

func (v *ListClosedWorkflowExecutionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListClosedWorkflowExecutionsRequest.

func (*ListClosedWorkflowExecutionsRequest) String

String returns a readable string representation of a ListClosedWorkflowExecutionsRequest struct.

func (*ListClosedWorkflowExecutionsRequest) ToWire

ToWire translates a ListClosedWorkflowExecutionsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListClosedWorkflowExecutionsResponse

type ListClosedWorkflowExecutionsResponse struct {
	Executions    []*WorkflowExecutionInfo `json:"executions,omitempty"`
	NextPageToken []byte                   `json:"nextPageToken,omitempty"`
}

func (*ListClosedWorkflowExecutionsResponse) Equals

Equals returns true if all the fields of this ListClosedWorkflowExecutionsResponse match the provided ListClosedWorkflowExecutionsResponse.

This function performs a deep comparison.

func (*ListClosedWorkflowExecutionsResponse) FromWire

FromWire deserializes a ListClosedWorkflowExecutionsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListClosedWorkflowExecutionsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListClosedWorkflowExecutionsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListClosedWorkflowExecutionsResponse) GetExecutions

GetExecutions returns the value of Executions if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsResponse) GetNextPageToken

func (v *ListClosedWorkflowExecutionsResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListClosedWorkflowExecutionsResponse) IsSetExecutions

func (v *ListClosedWorkflowExecutionsResponse) IsSetExecutions() bool

IsSetExecutions returns true if Executions is not nil.

func (*ListClosedWorkflowExecutionsResponse) IsSetNextPageToken

func (v *ListClosedWorkflowExecutionsResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListClosedWorkflowExecutionsResponse) MarshalLogObject

func (v *ListClosedWorkflowExecutionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListClosedWorkflowExecutionsResponse.

func (*ListClosedWorkflowExecutionsResponse) String

String returns a readable string representation of a ListClosedWorkflowExecutionsResponse struct.

func (*ListClosedWorkflowExecutionsResponse) ToWire

ToWire translates a ListClosedWorkflowExecutionsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListDomainsRequest

type ListDomainsRequest struct {
	PageSize      *int32 `json:"pageSize,omitempty"`
	NextPageToken []byte `json:"nextPageToken,omitempty"`
}

func (*ListDomainsRequest) Equals

func (v *ListDomainsRequest) Equals(rhs *ListDomainsRequest) bool

Equals returns true if all the fields of this ListDomainsRequest match the provided ListDomainsRequest.

This function performs a deep comparison.

func (*ListDomainsRequest) FromWire

func (v *ListDomainsRequest) FromWire(w wire.Value) error

FromWire deserializes a ListDomainsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListDomainsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListDomainsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListDomainsRequest) GetNextPageToken

func (v *ListDomainsRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListDomainsRequest) GetPageSize

func (v *ListDomainsRequest) GetPageSize() (o int32)

GetPageSize returns the value of PageSize if it is set or its zero value if it is unset.

func (*ListDomainsRequest) IsSetNextPageToken

func (v *ListDomainsRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListDomainsRequest) IsSetPageSize

func (v *ListDomainsRequest) IsSetPageSize() bool

IsSetPageSize returns true if PageSize is not nil.

func (*ListDomainsRequest) MarshalLogObject

func (v *ListDomainsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListDomainsRequest.

func (*ListDomainsRequest) String

func (v *ListDomainsRequest) String() string

String returns a readable string representation of a ListDomainsRequest struct.

func (*ListDomainsRequest) ToWire

func (v *ListDomainsRequest) ToWire() (wire.Value, error)

ToWire translates a ListDomainsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListDomainsResponse

type ListDomainsResponse struct {
	Domains       []*DescribeDomainResponse `json:"domains,omitempty"`
	NextPageToken []byte                    `json:"nextPageToken,omitempty"`
}

func (*ListDomainsResponse) Equals

Equals returns true if all the fields of this ListDomainsResponse match the provided ListDomainsResponse.

This function performs a deep comparison.

func (*ListDomainsResponse) FromWire

func (v *ListDomainsResponse) FromWire(w wire.Value) error

FromWire deserializes a ListDomainsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListDomainsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListDomainsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListDomainsResponse) GetDomains

func (v *ListDomainsResponse) GetDomains() (o []*DescribeDomainResponse)

GetDomains returns the value of Domains if it is set or its zero value if it is unset.

func (*ListDomainsResponse) GetNextPageToken

func (v *ListDomainsResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListDomainsResponse) IsSetDomains

func (v *ListDomainsResponse) IsSetDomains() bool

IsSetDomains returns true if Domains is not nil.

func (*ListDomainsResponse) IsSetNextPageToken

func (v *ListDomainsResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListDomainsResponse) MarshalLogObject

func (v *ListDomainsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListDomainsResponse.

func (*ListDomainsResponse) String

func (v *ListDomainsResponse) String() string

String returns a readable string representation of a ListDomainsResponse struct.

func (*ListDomainsResponse) ToWire

func (v *ListDomainsResponse) ToWire() (wire.Value, error)

ToWire translates a ListDomainsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListOpenWorkflowExecutionsRequest

type ListOpenWorkflowExecutionsRequest struct {
	Domain          *string                  `json:"domain,omitempty"`
	MaximumPageSize *int32                   `json:"maximumPageSize,omitempty"`
	NextPageToken   []byte                   `json:"nextPageToken,omitempty"`
	StartTimeFilter *StartTimeFilter         `json:"StartTimeFilter,omitempty"`
	ExecutionFilter *WorkflowExecutionFilter `json:"executionFilter,omitempty"`
	TypeFilter      *WorkflowTypeFilter      `json:"typeFilter,omitempty"`
}

func (*ListOpenWorkflowExecutionsRequest) Equals

Equals returns true if all the fields of this ListOpenWorkflowExecutionsRequest match the provided ListOpenWorkflowExecutionsRequest.

This function performs a deep comparison.

func (*ListOpenWorkflowExecutionsRequest) FromWire

FromWire deserializes a ListOpenWorkflowExecutionsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListOpenWorkflowExecutionsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListOpenWorkflowExecutionsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListOpenWorkflowExecutionsRequest) GetDomain

func (v *ListOpenWorkflowExecutionsRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) GetExecutionFilter

func (v *ListOpenWorkflowExecutionsRequest) GetExecutionFilter() (o *WorkflowExecutionFilter)

GetExecutionFilter returns the value of ExecutionFilter if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) GetMaximumPageSize

func (v *ListOpenWorkflowExecutionsRequest) GetMaximumPageSize() (o int32)

GetMaximumPageSize returns the value of MaximumPageSize if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) GetNextPageToken

func (v *ListOpenWorkflowExecutionsRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) GetStartTimeFilter

func (v *ListOpenWorkflowExecutionsRequest) GetStartTimeFilter() (o *StartTimeFilter)

GetStartTimeFilter returns the value of StartTimeFilter if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) GetTypeFilter

func (v *ListOpenWorkflowExecutionsRequest) GetTypeFilter() (o *WorkflowTypeFilter)

GetTypeFilter returns the value of TypeFilter if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsRequest) IsSetDomain

func (v *ListOpenWorkflowExecutionsRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ListOpenWorkflowExecutionsRequest) IsSetExecutionFilter

func (v *ListOpenWorkflowExecutionsRequest) IsSetExecutionFilter() bool

IsSetExecutionFilter returns true if ExecutionFilter is not nil.

func (*ListOpenWorkflowExecutionsRequest) IsSetMaximumPageSize

func (v *ListOpenWorkflowExecutionsRequest) IsSetMaximumPageSize() bool

IsSetMaximumPageSize returns true if MaximumPageSize is not nil.

func (*ListOpenWorkflowExecutionsRequest) IsSetNextPageToken

func (v *ListOpenWorkflowExecutionsRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListOpenWorkflowExecutionsRequest) IsSetStartTimeFilter

func (v *ListOpenWorkflowExecutionsRequest) IsSetStartTimeFilter() bool

IsSetStartTimeFilter returns true if StartTimeFilter is not nil.

func (*ListOpenWorkflowExecutionsRequest) IsSetTypeFilter

func (v *ListOpenWorkflowExecutionsRequest) IsSetTypeFilter() bool

IsSetTypeFilter returns true if TypeFilter is not nil.

func (*ListOpenWorkflowExecutionsRequest) MarshalLogObject

func (v *ListOpenWorkflowExecutionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListOpenWorkflowExecutionsRequest.

func (*ListOpenWorkflowExecutionsRequest) String

String returns a readable string representation of a ListOpenWorkflowExecutionsRequest struct.

func (*ListOpenWorkflowExecutionsRequest) ToWire

ToWire translates a ListOpenWorkflowExecutionsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListOpenWorkflowExecutionsResponse

type ListOpenWorkflowExecutionsResponse struct {
	Executions    []*WorkflowExecutionInfo `json:"executions,omitempty"`
	NextPageToken []byte                   `json:"nextPageToken,omitempty"`
}

func (*ListOpenWorkflowExecutionsResponse) Equals

Equals returns true if all the fields of this ListOpenWorkflowExecutionsResponse match the provided ListOpenWorkflowExecutionsResponse.

This function performs a deep comparison.

func (*ListOpenWorkflowExecutionsResponse) FromWire

FromWire deserializes a ListOpenWorkflowExecutionsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListOpenWorkflowExecutionsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListOpenWorkflowExecutionsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListOpenWorkflowExecutionsResponse) GetExecutions

GetExecutions returns the value of Executions if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsResponse) GetNextPageToken

func (v *ListOpenWorkflowExecutionsResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListOpenWorkflowExecutionsResponse) IsSetExecutions

func (v *ListOpenWorkflowExecutionsResponse) IsSetExecutions() bool

IsSetExecutions returns true if Executions is not nil.

func (*ListOpenWorkflowExecutionsResponse) IsSetNextPageToken

func (v *ListOpenWorkflowExecutionsResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListOpenWorkflowExecutionsResponse) MarshalLogObject

func (v *ListOpenWorkflowExecutionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListOpenWorkflowExecutionsResponse.

func (*ListOpenWorkflowExecutionsResponse) String

String returns a readable string representation of a ListOpenWorkflowExecutionsResponse struct.

func (*ListOpenWorkflowExecutionsResponse) ToWire

ToWire translates a ListOpenWorkflowExecutionsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListWorkflowExecutionsRequest

type ListWorkflowExecutionsRequest struct {
	Domain        *string `json:"domain,omitempty"`
	PageSize      *int32  `json:"pageSize,omitempty"`
	NextPageToken []byte  `json:"nextPageToken,omitempty"`
	Query         *string `json:"query,omitempty"`
}

func (*ListWorkflowExecutionsRequest) Equals

Equals returns true if all the fields of this ListWorkflowExecutionsRequest match the provided ListWorkflowExecutionsRequest.

This function performs a deep comparison.

func (*ListWorkflowExecutionsRequest) FromWire

FromWire deserializes a ListWorkflowExecutionsRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListWorkflowExecutionsRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListWorkflowExecutionsRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListWorkflowExecutionsRequest) GetDomain

func (v *ListWorkflowExecutionsRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsRequest) GetNextPageToken

func (v *ListWorkflowExecutionsRequest) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsRequest) GetPageSize

func (v *ListWorkflowExecutionsRequest) GetPageSize() (o int32)

GetPageSize returns the value of PageSize if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsRequest) GetQuery

func (v *ListWorkflowExecutionsRequest) GetQuery() (o string)

GetQuery returns the value of Query if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsRequest) IsSetDomain

func (v *ListWorkflowExecutionsRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ListWorkflowExecutionsRequest) IsSetNextPageToken

func (v *ListWorkflowExecutionsRequest) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListWorkflowExecutionsRequest) IsSetPageSize

func (v *ListWorkflowExecutionsRequest) IsSetPageSize() bool

IsSetPageSize returns true if PageSize is not nil.

func (*ListWorkflowExecutionsRequest) IsSetQuery

func (v *ListWorkflowExecutionsRequest) IsSetQuery() bool

IsSetQuery returns true if Query is not nil.

func (*ListWorkflowExecutionsRequest) MarshalLogObject

func (v *ListWorkflowExecutionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListWorkflowExecutionsRequest.

func (*ListWorkflowExecutionsRequest) String

String returns a readable string representation of a ListWorkflowExecutionsRequest struct.

func (*ListWorkflowExecutionsRequest) ToWire

ToWire translates a ListWorkflowExecutionsRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ListWorkflowExecutionsResponse

type ListWorkflowExecutionsResponse struct {
	Executions    []*WorkflowExecutionInfo `json:"executions,omitempty"`
	NextPageToken []byte                   `json:"nextPageToken,omitempty"`
}

func (*ListWorkflowExecutionsResponse) Equals

Equals returns true if all the fields of this ListWorkflowExecutionsResponse match the provided ListWorkflowExecutionsResponse.

This function performs a deep comparison.

func (*ListWorkflowExecutionsResponse) FromWire

FromWire deserializes a ListWorkflowExecutionsResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ListWorkflowExecutionsResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ListWorkflowExecutionsResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ListWorkflowExecutionsResponse) GetExecutions

func (v *ListWorkflowExecutionsResponse) GetExecutions() (o []*WorkflowExecutionInfo)

GetExecutions returns the value of Executions if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsResponse) GetNextPageToken

func (v *ListWorkflowExecutionsResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*ListWorkflowExecutionsResponse) IsSetExecutions

func (v *ListWorkflowExecutionsResponse) IsSetExecutions() bool

IsSetExecutions returns true if Executions is not nil.

func (*ListWorkflowExecutionsResponse) IsSetNextPageToken

func (v *ListWorkflowExecutionsResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*ListWorkflowExecutionsResponse) MarshalLogObject

func (v *ListWorkflowExecutionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ListWorkflowExecutionsResponse.

func (*ListWorkflowExecutionsResponse) String

String returns a readable string representation of a ListWorkflowExecutionsResponse struct.

func (*ListWorkflowExecutionsResponse) ToWire

ToWire translates a ListWorkflowExecutionsResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type MarkerRecordedEventAttributes

type MarkerRecordedEventAttributes struct {
	MarkerName                   *string `json:"markerName,omitempty"`
	Details                      []byte  `json:"details,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
	Header                       *Header `json:"header,omitempty"`
}

func (*MarkerRecordedEventAttributes) Equals

Equals returns true if all the fields of this MarkerRecordedEventAttributes match the provided MarkerRecordedEventAttributes.

This function performs a deep comparison.

func (*MarkerRecordedEventAttributes) FromWire

FromWire deserializes a MarkerRecordedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a MarkerRecordedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v MarkerRecordedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*MarkerRecordedEventAttributes) GetDecisionTaskCompletedEventId

func (v *MarkerRecordedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*MarkerRecordedEventAttributes) GetDetails

func (v *MarkerRecordedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*MarkerRecordedEventAttributes) GetHeader

func (v *MarkerRecordedEventAttributes) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*MarkerRecordedEventAttributes) GetMarkerName

func (v *MarkerRecordedEventAttributes) GetMarkerName() (o string)

GetMarkerName returns the value of MarkerName if it is set or its zero value if it is unset.

func (*MarkerRecordedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *MarkerRecordedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*MarkerRecordedEventAttributes) IsSetDetails

func (v *MarkerRecordedEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*MarkerRecordedEventAttributes) IsSetHeader

func (v *MarkerRecordedEventAttributes) IsSetHeader() bool

IsSetHeader returns true if Header is not nil.

func (*MarkerRecordedEventAttributes) IsSetMarkerName

func (v *MarkerRecordedEventAttributes) IsSetMarkerName() bool

IsSetMarkerName returns true if MarkerName is not nil.

func (*MarkerRecordedEventAttributes) MarshalLogObject

func (v *MarkerRecordedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of MarkerRecordedEventAttributes.

func (*MarkerRecordedEventAttributes) String

String returns a readable string representation of a MarkerRecordedEventAttributes struct.

func (*MarkerRecordedEventAttributes) ToWire

ToWire translates a MarkerRecordedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type Memo

type Memo struct {
	Fields map[string][]byte `json:"fields,omitempty"`
}

func (*Memo) Equals

func (v *Memo) Equals(rhs *Memo) bool

Equals returns true if all the fields of this Memo match the provided Memo.

This function performs a deep comparison.

func (*Memo) FromWire

func (v *Memo) FromWire(w wire.Value) error

FromWire deserializes a Memo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Memo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Memo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Memo) GetFields

func (v *Memo) GetFields() (o map[string][]byte)

GetFields returns the value of Fields if it is set or its zero value if it is unset.

func (*Memo) IsSetFields

func (v *Memo) IsSetFields() bool

IsSetFields returns true if Fields is not nil.

func (*Memo) MarshalLogObject

func (v *Memo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Memo.

func (*Memo) String

func (v *Memo) String() string

String returns a readable string representation of a Memo struct.

func (*Memo) ToWire

func (v *Memo) ToWire() (wire.Value, error)

ToWire translates a Memo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ParentClosePolicy

type ParentClosePolicy int32
const (
	ParentClosePolicyAbandon       ParentClosePolicy = 0
	ParentClosePolicyRequestCancel ParentClosePolicy = 1
	ParentClosePolicyTerminate     ParentClosePolicy = 2
)

func ParentClosePolicy_Values

func ParentClosePolicy_Values() []ParentClosePolicy

ParentClosePolicy_Values returns all recognized values of ParentClosePolicy.

func (ParentClosePolicy) Equals

Equals returns true if this ParentClosePolicy value matches the provided value.

func (*ParentClosePolicy) FromWire

func (v *ParentClosePolicy) FromWire(w wire.Value) error

FromWire deserializes ParentClosePolicy from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return ParentClosePolicy(0), err
}

var v ParentClosePolicy
if err := v.FromWire(x); err != nil {
  return ParentClosePolicy(0), err
}
return v, nil

func (ParentClosePolicy) MarshalJSON

func (v ParentClosePolicy) MarshalJSON() ([]byte, error)

MarshalJSON serializes ParentClosePolicy into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (ParentClosePolicy) MarshalLogObject

func (v ParentClosePolicy) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ParentClosePolicy. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (ParentClosePolicy) MarshalText

func (v ParentClosePolicy) MarshalText() ([]byte, error)

MarshalText encodes ParentClosePolicy to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (ParentClosePolicy) Ptr

Ptr returns a pointer to this enum value.

func (ParentClosePolicy) String

func (v ParentClosePolicy) String() string

String returns a readable string representation of ParentClosePolicy.

func (ParentClosePolicy) ToWire

func (v ParentClosePolicy) ToWire() (wire.Value, error)

ToWire translates ParentClosePolicy into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*ParentClosePolicy) UnmarshalJSON

func (v *ParentClosePolicy) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode ParentClosePolicy from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*ParentClosePolicy) UnmarshalText

func (v *ParentClosePolicy) UnmarshalText(value []byte) error

UnmarshalText tries to decode ParentClosePolicy from a byte slice containing its name.

var v ParentClosePolicy
err := v.UnmarshalText([]byte("ABANDON"))

type PendingActivityInfo

type PendingActivityInfo struct {
	ActivityID             *string               `json:"activityID,omitempty"`
	ActivityType           *ActivityType         `json:"activityType,omitempty"`
	State                  *PendingActivityState `json:"state,omitempty"`
	HeartbeatDetails       []byte                `json:"heartbeatDetails,omitempty"`
	LastHeartbeatTimestamp *int64                `json:"lastHeartbeatTimestamp,omitempty"`
	LastStartedTimestamp   *int64                `json:"lastStartedTimestamp,omitempty"`
	Attempt                *int32                `json:"attempt,omitempty"`
	MaximumAttempts        *int32                `json:"maximumAttempts,omitempty"`
	ScheduledTimestamp     *int64                `json:"scheduledTimestamp,omitempty"`
	ExpirationTimestamp    *int64                `json:"expirationTimestamp,omitempty"`
	LastFailureReason      *string               `json:"lastFailureReason,omitempty"`
	LastWorkerIdentity     *string               `json:"lastWorkerIdentity,omitempty"`
	LastFailureDetails     []byte                `json:"lastFailureDetails,omitempty"`
}

func (*PendingActivityInfo) Equals

Equals returns true if all the fields of this PendingActivityInfo match the provided PendingActivityInfo.

This function performs a deep comparison.

func (*PendingActivityInfo) FromWire

func (v *PendingActivityInfo) FromWire(w wire.Value) error

FromWire deserializes a PendingActivityInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PendingActivityInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PendingActivityInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PendingActivityInfo) GetActivityID

func (v *PendingActivityInfo) GetActivityID() (o string)

GetActivityID returns the value of ActivityID if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetActivityType

func (v *PendingActivityInfo) GetActivityType() (o *ActivityType)

GetActivityType returns the value of ActivityType if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetAttempt

func (v *PendingActivityInfo) GetAttempt() (o int32)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetExpirationTimestamp

func (v *PendingActivityInfo) GetExpirationTimestamp() (o int64)

GetExpirationTimestamp returns the value of ExpirationTimestamp if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetHeartbeatDetails

func (v *PendingActivityInfo) GetHeartbeatDetails() (o []byte)

GetHeartbeatDetails returns the value of HeartbeatDetails if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetLastFailureDetails

func (v *PendingActivityInfo) GetLastFailureDetails() (o []byte)

GetLastFailureDetails returns the value of LastFailureDetails if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetLastFailureReason

func (v *PendingActivityInfo) GetLastFailureReason() (o string)

GetLastFailureReason returns the value of LastFailureReason if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetLastHeartbeatTimestamp

func (v *PendingActivityInfo) GetLastHeartbeatTimestamp() (o int64)

GetLastHeartbeatTimestamp returns the value of LastHeartbeatTimestamp if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetLastStartedTimestamp

func (v *PendingActivityInfo) GetLastStartedTimestamp() (o int64)

GetLastStartedTimestamp returns the value of LastStartedTimestamp if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetLastWorkerIdentity

func (v *PendingActivityInfo) GetLastWorkerIdentity() (o string)

GetLastWorkerIdentity returns the value of LastWorkerIdentity if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetMaximumAttempts

func (v *PendingActivityInfo) GetMaximumAttempts() (o int32)

GetMaximumAttempts returns the value of MaximumAttempts if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetScheduledTimestamp

func (v *PendingActivityInfo) GetScheduledTimestamp() (o int64)

GetScheduledTimestamp returns the value of ScheduledTimestamp if it is set or its zero value if it is unset.

func (*PendingActivityInfo) GetState

func (v *PendingActivityInfo) GetState() (o PendingActivityState)

GetState returns the value of State if it is set or its zero value if it is unset.

func (*PendingActivityInfo) IsSetActivityID

func (v *PendingActivityInfo) IsSetActivityID() bool

IsSetActivityID returns true if ActivityID is not nil.

func (*PendingActivityInfo) IsSetActivityType

func (v *PendingActivityInfo) IsSetActivityType() bool

IsSetActivityType returns true if ActivityType is not nil.

func (*PendingActivityInfo) IsSetAttempt

func (v *PendingActivityInfo) IsSetAttempt() bool

IsSetAttempt returns true if Attempt is not nil.

func (*PendingActivityInfo) IsSetExpirationTimestamp

func (v *PendingActivityInfo) IsSetExpirationTimestamp() bool

IsSetExpirationTimestamp returns true if ExpirationTimestamp is not nil.

func (*PendingActivityInfo) IsSetHeartbeatDetails

func (v *PendingActivityInfo) IsSetHeartbeatDetails() bool

IsSetHeartbeatDetails returns true if HeartbeatDetails is not nil.

func (*PendingActivityInfo) IsSetLastFailureDetails

func (v *PendingActivityInfo) IsSetLastFailureDetails() bool

IsSetLastFailureDetails returns true if LastFailureDetails is not nil.

func (*PendingActivityInfo) IsSetLastFailureReason

func (v *PendingActivityInfo) IsSetLastFailureReason() bool

IsSetLastFailureReason returns true if LastFailureReason is not nil.

func (*PendingActivityInfo) IsSetLastHeartbeatTimestamp

func (v *PendingActivityInfo) IsSetLastHeartbeatTimestamp() bool

IsSetLastHeartbeatTimestamp returns true if LastHeartbeatTimestamp is not nil.

func (*PendingActivityInfo) IsSetLastStartedTimestamp

func (v *PendingActivityInfo) IsSetLastStartedTimestamp() bool

IsSetLastStartedTimestamp returns true if LastStartedTimestamp is not nil.

func (*PendingActivityInfo) IsSetLastWorkerIdentity

func (v *PendingActivityInfo) IsSetLastWorkerIdentity() bool

IsSetLastWorkerIdentity returns true if LastWorkerIdentity is not nil.

func (*PendingActivityInfo) IsSetMaximumAttempts

func (v *PendingActivityInfo) IsSetMaximumAttempts() bool

IsSetMaximumAttempts returns true if MaximumAttempts is not nil.

func (*PendingActivityInfo) IsSetScheduledTimestamp

func (v *PendingActivityInfo) IsSetScheduledTimestamp() bool

IsSetScheduledTimestamp returns true if ScheduledTimestamp is not nil.

func (*PendingActivityInfo) IsSetState

func (v *PendingActivityInfo) IsSetState() bool

IsSetState returns true if State is not nil.

func (*PendingActivityInfo) MarshalLogObject

func (v *PendingActivityInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PendingActivityInfo.

func (*PendingActivityInfo) String

func (v *PendingActivityInfo) String() string

String returns a readable string representation of a PendingActivityInfo struct.

func (*PendingActivityInfo) ToWire

func (v *PendingActivityInfo) ToWire() (wire.Value, error)

ToWire translates a PendingActivityInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PendingActivityState

type PendingActivityState int32
const (
	PendingActivityStateScheduled       PendingActivityState = 0
	PendingActivityStateStarted         PendingActivityState = 1
	PendingActivityStateCancelRequested PendingActivityState = 2
)

func PendingActivityState_Values

func PendingActivityState_Values() []PendingActivityState

PendingActivityState_Values returns all recognized values of PendingActivityState.

func (PendingActivityState) Equals

Equals returns true if this PendingActivityState value matches the provided value.

func (*PendingActivityState) FromWire

func (v *PendingActivityState) FromWire(w wire.Value) error

FromWire deserializes PendingActivityState from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return PendingActivityState(0), err
}

var v PendingActivityState
if err := v.FromWire(x); err != nil {
  return PendingActivityState(0), err
}
return v, nil

func (PendingActivityState) MarshalJSON

func (v PendingActivityState) MarshalJSON() ([]byte, error)

MarshalJSON serializes PendingActivityState into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (PendingActivityState) MarshalLogObject

func (v PendingActivityState) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PendingActivityState. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (PendingActivityState) MarshalText

func (v PendingActivityState) MarshalText() ([]byte, error)

MarshalText encodes PendingActivityState to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (PendingActivityState) Ptr

Ptr returns a pointer to this enum value.

func (PendingActivityState) String

func (v PendingActivityState) String() string

String returns a readable string representation of PendingActivityState.

func (PendingActivityState) ToWire

func (v PendingActivityState) ToWire() (wire.Value, error)

ToWire translates PendingActivityState into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*PendingActivityState) UnmarshalJSON

func (v *PendingActivityState) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode PendingActivityState from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*PendingActivityState) UnmarshalText

func (v *PendingActivityState) UnmarshalText(value []byte) error

UnmarshalText tries to decode PendingActivityState from a byte slice containing its name.

var v PendingActivityState
err := v.UnmarshalText([]byte("SCHEDULED"))

type PendingChildExecutionInfo

type PendingChildExecutionInfo struct {
	WorkflowID        *string            `json:"workflowID,omitempty"`
	RunID             *string            `json:"runID,omitempty"`
	WorkflowTypName   *string            `json:"workflowTypName,omitempty"`
	InitiatedID       *int64             `json:"initiatedID,omitempty"`
	ParentClosePolicy *ParentClosePolicy `json:"parentClosePolicy,omitempty"`
}

func (*PendingChildExecutionInfo) Equals

Equals returns true if all the fields of this PendingChildExecutionInfo match the provided PendingChildExecutionInfo.

This function performs a deep comparison.

func (*PendingChildExecutionInfo) FromWire

func (v *PendingChildExecutionInfo) FromWire(w wire.Value) error

FromWire deserializes a PendingChildExecutionInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PendingChildExecutionInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PendingChildExecutionInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PendingChildExecutionInfo) GetInitiatedID

func (v *PendingChildExecutionInfo) GetInitiatedID() (o int64)

GetInitiatedID returns the value of InitiatedID if it is set or its zero value if it is unset.

func (*PendingChildExecutionInfo) GetParentClosePolicy

func (v *PendingChildExecutionInfo) GetParentClosePolicy() (o ParentClosePolicy)

GetParentClosePolicy returns the value of ParentClosePolicy if it is set or its zero value if it is unset.

func (*PendingChildExecutionInfo) GetRunID

func (v *PendingChildExecutionInfo) GetRunID() (o string)

GetRunID returns the value of RunID if it is set or its zero value if it is unset.

func (*PendingChildExecutionInfo) GetWorkflowID

func (v *PendingChildExecutionInfo) GetWorkflowID() (o string)

GetWorkflowID returns the value of WorkflowID if it is set or its zero value if it is unset.

func (*PendingChildExecutionInfo) GetWorkflowTypName

func (v *PendingChildExecutionInfo) GetWorkflowTypName() (o string)

GetWorkflowTypName returns the value of WorkflowTypName if it is set or its zero value if it is unset.

func (*PendingChildExecutionInfo) IsSetInitiatedID

func (v *PendingChildExecutionInfo) IsSetInitiatedID() bool

IsSetInitiatedID returns true if InitiatedID is not nil.

func (*PendingChildExecutionInfo) IsSetParentClosePolicy

func (v *PendingChildExecutionInfo) IsSetParentClosePolicy() bool

IsSetParentClosePolicy returns true if ParentClosePolicy is not nil.

func (*PendingChildExecutionInfo) IsSetRunID

func (v *PendingChildExecutionInfo) IsSetRunID() bool

IsSetRunID returns true if RunID is not nil.

func (*PendingChildExecutionInfo) IsSetWorkflowID

func (v *PendingChildExecutionInfo) IsSetWorkflowID() bool

IsSetWorkflowID returns true if WorkflowID is not nil.

func (*PendingChildExecutionInfo) IsSetWorkflowTypName

func (v *PendingChildExecutionInfo) IsSetWorkflowTypName() bool

IsSetWorkflowTypName returns true if WorkflowTypName is not nil.

func (*PendingChildExecutionInfo) MarshalLogObject

func (v *PendingChildExecutionInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PendingChildExecutionInfo.

func (*PendingChildExecutionInfo) String

func (v *PendingChildExecutionInfo) String() string

String returns a readable string representation of a PendingChildExecutionInfo struct.

func (*PendingChildExecutionInfo) ToWire

func (v *PendingChildExecutionInfo) ToWire() (wire.Value, error)

ToWire translates a PendingChildExecutionInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PollForActivityTaskRequest

type PollForActivityTaskRequest struct {
	Domain           *string           `json:"domain,omitempty"`
	TaskList         *TaskList         `json:"taskList,omitempty"`
	Identity         *string           `json:"identity,omitempty"`
	TaskListMetadata *TaskListMetadata `json:"taskListMetadata,omitempty"`
}

func (*PollForActivityTaskRequest) Equals

Equals returns true if all the fields of this PollForActivityTaskRequest match the provided PollForActivityTaskRequest.

This function performs a deep comparison.

func (*PollForActivityTaskRequest) FromWire

func (v *PollForActivityTaskRequest) FromWire(w wire.Value) error

FromWire deserializes a PollForActivityTaskRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PollForActivityTaskRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PollForActivityTaskRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PollForActivityTaskRequest) GetDomain

func (v *PollForActivityTaskRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*PollForActivityTaskRequest) GetIdentity

func (v *PollForActivityTaskRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*PollForActivityTaskRequest) GetTaskList

func (v *PollForActivityTaskRequest) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*PollForActivityTaskRequest) GetTaskListMetadata

func (v *PollForActivityTaskRequest) GetTaskListMetadata() (o *TaskListMetadata)

GetTaskListMetadata returns the value of TaskListMetadata if it is set or its zero value if it is unset.

func (*PollForActivityTaskRequest) IsSetDomain

func (v *PollForActivityTaskRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*PollForActivityTaskRequest) IsSetIdentity

func (v *PollForActivityTaskRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*PollForActivityTaskRequest) IsSetTaskList

func (v *PollForActivityTaskRequest) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*PollForActivityTaskRequest) IsSetTaskListMetadata

func (v *PollForActivityTaskRequest) IsSetTaskListMetadata() bool

IsSetTaskListMetadata returns true if TaskListMetadata is not nil.

func (*PollForActivityTaskRequest) MarshalLogObject

func (v *PollForActivityTaskRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PollForActivityTaskRequest.

func (*PollForActivityTaskRequest) String

func (v *PollForActivityTaskRequest) String() string

String returns a readable string representation of a PollForActivityTaskRequest struct.

func (*PollForActivityTaskRequest) ToWire

func (v *PollForActivityTaskRequest) ToWire() (wire.Value, error)

ToWire translates a PollForActivityTaskRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PollForActivityTaskResponse

type PollForActivityTaskResponse struct {
	TaskToken                       []byte             `json:"taskToken,omitempty"`
	WorkflowExecution               *WorkflowExecution `json:"workflowExecution,omitempty"`
	ActivityId                      *string            `json:"activityId,omitempty"`
	ActivityType                    *ActivityType      `json:"activityType,omitempty"`
	Input                           []byte             `json:"input,omitempty"`
	ScheduledTimestamp              *int64             `json:"scheduledTimestamp,omitempty"`
	ScheduleToCloseTimeoutSeconds   *int32             `json:"scheduleToCloseTimeoutSeconds,omitempty"`
	StartedTimestamp                *int64             `json:"startedTimestamp,omitempty"`
	StartToCloseTimeoutSeconds      *int32             `json:"startToCloseTimeoutSeconds,omitempty"`
	HeartbeatTimeoutSeconds         *int32             `json:"heartbeatTimeoutSeconds,omitempty"`
	Attempt                         *int32             `json:"attempt,omitempty"`
	ScheduledTimestampOfThisAttempt *int64             `json:"scheduledTimestampOfThisAttempt,omitempty"`
	HeartbeatDetails                []byte             `json:"heartbeatDetails,omitempty"`
	WorkflowType                    *WorkflowType      `json:"workflowType,omitempty"`
	WorkflowDomain                  *string            `json:"workflowDomain,omitempty"`
	Header                          *Header            `json:"header,omitempty"`
}

func (*PollForActivityTaskResponse) Equals

Equals returns true if all the fields of this PollForActivityTaskResponse match the provided PollForActivityTaskResponse.

This function performs a deep comparison.

func (*PollForActivityTaskResponse) FromWire

FromWire deserializes a PollForActivityTaskResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PollForActivityTaskResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PollForActivityTaskResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PollForActivityTaskResponse) GetActivityId

func (v *PollForActivityTaskResponse) GetActivityId() (o string)

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetActivityType

func (v *PollForActivityTaskResponse) GetActivityType() (o *ActivityType)

GetActivityType returns the value of ActivityType if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetAttempt

func (v *PollForActivityTaskResponse) GetAttempt() (o int32)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetHeader

func (v *PollForActivityTaskResponse) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetHeartbeatDetails

func (v *PollForActivityTaskResponse) GetHeartbeatDetails() (o []byte)

GetHeartbeatDetails returns the value of HeartbeatDetails if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetHeartbeatTimeoutSeconds

func (v *PollForActivityTaskResponse) GetHeartbeatTimeoutSeconds() (o int32)

GetHeartbeatTimeoutSeconds returns the value of HeartbeatTimeoutSeconds if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetInput

func (v *PollForActivityTaskResponse) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetScheduleToCloseTimeoutSeconds

func (v *PollForActivityTaskResponse) GetScheduleToCloseTimeoutSeconds() (o int32)

GetScheduleToCloseTimeoutSeconds returns the value of ScheduleToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetScheduledTimestamp

func (v *PollForActivityTaskResponse) GetScheduledTimestamp() (o int64)

GetScheduledTimestamp returns the value of ScheduledTimestamp if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetScheduledTimestampOfThisAttempt

func (v *PollForActivityTaskResponse) GetScheduledTimestampOfThisAttempt() (o int64)

GetScheduledTimestampOfThisAttempt returns the value of ScheduledTimestampOfThisAttempt if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetStartToCloseTimeoutSeconds

func (v *PollForActivityTaskResponse) GetStartToCloseTimeoutSeconds() (o int32)

GetStartToCloseTimeoutSeconds returns the value of StartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetStartedTimestamp

func (v *PollForActivityTaskResponse) GetStartedTimestamp() (o int64)

GetStartedTimestamp returns the value of StartedTimestamp if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetTaskToken

func (v *PollForActivityTaskResponse) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetWorkflowDomain

func (v *PollForActivityTaskResponse) GetWorkflowDomain() (o string)

GetWorkflowDomain returns the value of WorkflowDomain if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetWorkflowExecution

func (v *PollForActivityTaskResponse) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) GetWorkflowType

func (v *PollForActivityTaskResponse) GetWorkflowType() (o *WorkflowType)

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*PollForActivityTaskResponse) IsSetActivityId

func (v *PollForActivityTaskResponse) IsSetActivityId() bool

IsSetActivityId returns true if ActivityId is not nil.

func (*PollForActivityTaskResponse) IsSetActivityType

func (v *PollForActivityTaskResponse) IsSetActivityType() bool

IsSetActivityType returns true if ActivityType is not nil.

func (*PollForActivityTaskResponse) IsSetAttempt

func (v *PollForActivityTaskResponse) IsSetAttempt() bool

IsSetAttempt returns true if Attempt is not nil.

func (*PollForActivityTaskResponse) IsSetHeader

func (v *PollForActivityTaskResponse) IsSetHeader() bool

IsSetHeader returns true if Header is not nil.

func (*PollForActivityTaskResponse) IsSetHeartbeatDetails

func (v *PollForActivityTaskResponse) IsSetHeartbeatDetails() bool

IsSetHeartbeatDetails returns true if HeartbeatDetails is not nil.

func (*PollForActivityTaskResponse) IsSetHeartbeatTimeoutSeconds

func (v *PollForActivityTaskResponse) IsSetHeartbeatTimeoutSeconds() bool

IsSetHeartbeatTimeoutSeconds returns true if HeartbeatTimeoutSeconds is not nil.

func (*PollForActivityTaskResponse) IsSetInput

func (v *PollForActivityTaskResponse) IsSetInput() bool

IsSetInput returns true if Input is not nil.

func (*PollForActivityTaskResponse) IsSetScheduleToCloseTimeoutSeconds

func (v *PollForActivityTaskResponse) IsSetScheduleToCloseTimeoutSeconds() bool

IsSetScheduleToCloseTimeoutSeconds returns true if ScheduleToCloseTimeoutSeconds is not nil.

func (*PollForActivityTaskResponse) IsSetScheduledTimestamp

func (v *PollForActivityTaskResponse) IsSetScheduledTimestamp() bool

IsSetScheduledTimestamp returns true if ScheduledTimestamp is not nil.

func (*PollForActivityTaskResponse) IsSetScheduledTimestampOfThisAttempt

func (v *PollForActivityTaskResponse) IsSetScheduledTimestampOfThisAttempt() bool

IsSetScheduledTimestampOfThisAttempt returns true if ScheduledTimestampOfThisAttempt is not nil.

func (*PollForActivityTaskResponse) IsSetStartToCloseTimeoutSeconds

func (v *PollForActivityTaskResponse) IsSetStartToCloseTimeoutSeconds() bool

IsSetStartToCloseTimeoutSeconds returns true if StartToCloseTimeoutSeconds is not nil.

func (*PollForActivityTaskResponse) IsSetStartedTimestamp

func (v *PollForActivityTaskResponse) IsSetStartedTimestamp() bool

IsSetStartedTimestamp returns true if StartedTimestamp is not nil.

func (*PollForActivityTaskResponse) IsSetTaskToken

func (v *PollForActivityTaskResponse) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*PollForActivityTaskResponse) IsSetWorkflowDomain

func (v *PollForActivityTaskResponse) IsSetWorkflowDomain() bool

IsSetWorkflowDomain returns true if WorkflowDomain is not nil.

func (*PollForActivityTaskResponse) IsSetWorkflowExecution

func (v *PollForActivityTaskResponse) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*PollForActivityTaskResponse) IsSetWorkflowType

func (v *PollForActivityTaskResponse) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*PollForActivityTaskResponse) MarshalLogObject

func (v *PollForActivityTaskResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PollForActivityTaskResponse.

func (*PollForActivityTaskResponse) String

func (v *PollForActivityTaskResponse) String() string

String returns a readable string representation of a PollForActivityTaskResponse struct.

func (*PollForActivityTaskResponse) ToWire

ToWire translates a PollForActivityTaskResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PollForDecisionTaskRequest

type PollForDecisionTaskRequest struct {
	Domain         *string   `json:"domain,omitempty"`
	TaskList       *TaskList `json:"taskList,omitempty"`
	Identity       *string   `json:"identity,omitempty"`
	BinaryChecksum *string   `json:"binaryChecksum,omitempty"`
}

func (*PollForDecisionTaskRequest) Equals

Equals returns true if all the fields of this PollForDecisionTaskRequest match the provided PollForDecisionTaskRequest.

This function performs a deep comparison.

func (*PollForDecisionTaskRequest) FromWire

func (v *PollForDecisionTaskRequest) FromWire(w wire.Value) error

FromWire deserializes a PollForDecisionTaskRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PollForDecisionTaskRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PollForDecisionTaskRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PollForDecisionTaskRequest) GetBinaryChecksum

func (v *PollForDecisionTaskRequest) GetBinaryChecksum() (o string)

GetBinaryChecksum returns the value of BinaryChecksum if it is set or its zero value if it is unset.

func (*PollForDecisionTaskRequest) GetDomain

func (v *PollForDecisionTaskRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*PollForDecisionTaskRequest) GetIdentity

func (v *PollForDecisionTaskRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*PollForDecisionTaskRequest) GetTaskList

func (v *PollForDecisionTaskRequest) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*PollForDecisionTaskRequest) IsSetBinaryChecksum

func (v *PollForDecisionTaskRequest) IsSetBinaryChecksum() bool

IsSetBinaryChecksum returns true if BinaryChecksum is not nil.

func (*PollForDecisionTaskRequest) IsSetDomain

func (v *PollForDecisionTaskRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*PollForDecisionTaskRequest) IsSetIdentity

func (v *PollForDecisionTaskRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*PollForDecisionTaskRequest) IsSetTaskList

func (v *PollForDecisionTaskRequest) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*PollForDecisionTaskRequest) MarshalLogObject

func (v *PollForDecisionTaskRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PollForDecisionTaskRequest.

func (*PollForDecisionTaskRequest) String

func (v *PollForDecisionTaskRequest) String() string

String returns a readable string representation of a PollForDecisionTaskRequest struct.

func (*PollForDecisionTaskRequest) ToWire

func (v *PollForDecisionTaskRequest) ToWire() (wire.Value, error)

ToWire translates a PollForDecisionTaskRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PollForDecisionTaskResponse

type PollForDecisionTaskResponse struct {
	TaskToken                 []byte             `json:"taskToken,omitempty"`
	WorkflowExecution         *WorkflowExecution `json:"workflowExecution,omitempty"`
	WorkflowType              *WorkflowType      `json:"workflowType,omitempty"`
	PreviousStartedEventId    *int64             `json:"previousStartedEventId,omitempty"`
	StartedEventId            *int64             `json:"startedEventId,omitempty"`
	Attempt                   *int64             `json:"attempt,omitempty"`
	BacklogCountHint          *int64             `json:"backlogCountHint,omitempty"`
	History                   *History           `json:"history,omitempty"`
	NextPageToken             []byte             `json:"nextPageToken,omitempty"`
	Query                     *WorkflowQuery     `json:"query,omitempty"`
	WorkflowExecutionTaskList *TaskList          `json:"WorkflowExecutionTaskList,omitempty"`
	ScheduledTimestamp        *int64             `json:"scheduledTimestamp,omitempty"`
	StartedTimestamp          *int64             `json:"startedTimestamp,omitempty"`
	Queries                   []*WorkflowQuery   `json:"queries,omitempty"`
}

func (*PollForDecisionTaskResponse) Equals

Equals returns true if all the fields of this PollForDecisionTaskResponse match the provided PollForDecisionTaskResponse.

This function performs a deep comparison.

func (*PollForDecisionTaskResponse) FromWire

FromWire deserializes a PollForDecisionTaskResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PollForDecisionTaskResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PollForDecisionTaskResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PollForDecisionTaskResponse) GetAttempt

func (v *PollForDecisionTaskResponse) GetAttempt() (o int64)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetBacklogCountHint

func (v *PollForDecisionTaskResponse) GetBacklogCountHint() (o int64)

GetBacklogCountHint returns the value of BacklogCountHint if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetHistory

func (v *PollForDecisionTaskResponse) GetHistory() (o *History)

GetHistory returns the value of History if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetNextPageToken

func (v *PollForDecisionTaskResponse) GetNextPageToken() (o []byte)

GetNextPageToken returns the value of NextPageToken if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetPreviousStartedEventId

func (v *PollForDecisionTaskResponse) GetPreviousStartedEventId() (o int64)

GetPreviousStartedEventId returns the value of PreviousStartedEventId if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetQueries

func (v *PollForDecisionTaskResponse) GetQueries() (o []*WorkflowQuery)

GetQueries returns the value of Queries if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetQuery

func (v *PollForDecisionTaskResponse) GetQuery() (o *WorkflowQuery)

GetQuery returns the value of Query if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetScheduledTimestamp

func (v *PollForDecisionTaskResponse) GetScheduledTimestamp() (o int64)

GetScheduledTimestamp returns the value of ScheduledTimestamp if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetStartedEventId

func (v *PollForDecisionTaskResponse) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetStartedTimestamp

func (v *PollForDecisionTaskResponse) GetStartedTimestamp() (o int64)

GetStartedTimestamp returns the value of StartedTimestamp if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetTaskToken

func (v *PollForDecisionTaskResponse) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetWorkflowExecution

func (v *PollForDecisionTaskResponse) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetWorkflowExecutionTaskList

func (v *PollForDecisionTaskResponse) GetWorkflowExecutionTaskList() (o *TaskList)

GetWorkflowExecutionTaskList returns the value of WorkflowExecutionTaskList if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) GetWorkflowType

func (v *PollForDecisionTaskResponse) GetWorkflowType() (o *WorkflowType)

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*PollForDecisionTaskResponse) IsSetAttempt

func (v *PollForDecisionTaskResponse) IsSetAttempt() bool

IsSetAttempt returns true if Attempt is not nil.

func (*PollForDecisionTaskResponse) IsSetBacklogCountHint

func (v *PollForDecisionTaskResponse) IsSetBacklogCountHint() bool

IsSetBacklogCountHint returns true if BacklogCountHint is not nil.

func (*PollForDecisionTaskResponse) IsSetHistory

func (v *PollForDecisionTaskResponse) IsSetHistory() bool

IsSetHistory returns true if History is not nil.

func (*PollForDecisionTaskResponse) IsSetNextPageToken

func (v *PollForDecisionTaskResponse) IsSetNextPageToken() bool

IsSetNextPageToken returns true if NextPageToken is not nil.

func (*PollForDecisionTaskResponse) IsSetPreviousStartedEventId

func (v *PollForDecisionTaskResponse) IsSetPreviousStartedEventId() bool

IsSetPreviousStartedEventId returns true if PreviousStartedEventId is not nil.

func (*PollForDecisionTaskResponse) IsSetQueries

func (v *PollForDecisionTaskResponse) IsSetQueries() bool

IsSetQueries returns true if Queries is not nil.

func (*PollForDecisionTaskResponse) IsSetQuery

func (v *PollForDecisionTaskResponse) IsSetQuery() bool

IsSetQuery returns true if Query is not nil.

func (*PollForDecisionTaskResponse) IsSetScheduledTimestamp

func (v *PollForDecisionTaskResponse) IsSetScheduledTimestamp() bool

IsSetScheduledTimestamp returns true if ScheduledTimestamp is not nil.

func (*PollForDecisionTaskResponse) IsSetStartedEventId

func (v *PollForDecisionTaskResponse) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*PollForDecisionTaskResponse) IsSetStartedTimestamp

func (v *PollForDecisionTaskResponse) IsSetStartedTimestamp() bool

IsSetStartedTimestamp returns true if StartedTimestamp is not nil.

func (*PollForDecisionTaskResponse) IsSetTaskToken

func (v *PollForDecisionTaskResponse) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*PollForDecisionTaskResponse) IsSetWorkflowExecution

func (v *PollForDecisionTaskResponse) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*PollForDecisionTaskResponse) IsSetWorkflowExecutionTaskList

func (v *PollForDecisionTaskResponse) IsSetWorkflowExecutionTaskList() bool

IsSetWorkflowExecutionTaskList returns true if WorkflowExecutionTaskList is not nil.

func (*PollForDecisionTaskResponse) IsSetWorkflowType

func (v *PollForDecisionTaskResponse) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*PollForDecisionTaskResponse) MarshalLogObject

func (v *PollForDecisionTaskResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PollForDecisionTaskResponse.

func (*PollForDecisionTaskResponse) String

func (v *PollForDecisionTaskResponse) String() string

String returns a readable string representation of a PollForDecisionTaskResponse struct.

func (*PollForDecisionTaskResponse) ToWire

ToWire translates a PollForDecisionTaskResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type PollerInfo

type PollerInfo struct {
	LastAccessTime *int64   `json:"lastAccessTime,omitempty"`
	Identity       *string  `json:"identity,omitempty"`
	RatePerSecond  *float64 `json:"ratePerSecond,omitempty"`
}

func (*PollerInfo) Equals

func (v *PollerInfo) Equals(rhs *PollerInfo) bool

Equals returns true if all the fields of this PollerInfo match the provided PollerInfo.

This function performs a deep comparison.

func (*PollerInfo) FromWire

func (v *PollerInfo) FromWire(w wire.Value) error

FromWire deserializes a PollerInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a PollerInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v PollerInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*PollerInfo) GetIdentity

func (v *PollerInfo) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*PollerInfo) GetLastAccessTime

func (v *PollerInfo) GetLastAccessTime() (o int64)

GetLastAccessTime returns the value of LastAccessTime if it is set or its zero value if it is unset.

func (*PollerInfo) GetRatePerSecond

func (v *PollerInfo) GetRatePerSecond() (o float64)

GetRatePerSecond returns the value of RatePerSecond if it is set or its zero value if it is unset.

func (*PollerInfo) IsSetIdentity

func (v *PollerInfo) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*PollerInfo) IsSetLastAccessTime

func (v *PollerInfo) IsSetLastAccessTime() bool

IsSetLastAccessTime returns true if LastAccessTime is not nil.

func (*PollerInfo) IsSetRatePerSecond

func (v *PollerInfo) IsSetRatePerSecond() bool

IsSetRatePerSecond returns true if RatePerSecond is not nil.

func (*PollerInfo) MarshalLogObject

func (v *PollerInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of PollerInfo.

func (*PollerInfo) String

func (v *PollerInfo) String() string

String returns a readable string representation of a PollerInfo struct.

func (*PollerInfo) ToWire

func (v *PollerInfo) ToWire() (wire.Value, error)

ToWire translates a PollerInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type QueryFailedError

type QueryFailedError struct {
	Message string `json:"message,required"`
}

func (*QueryFailedError) Equals

func (v *QueryFailedError) Equals(rhs *QueryFailedError) bool

Equals returns true if all the fields of this QueryFailedError match the provided QueryFailedError.

This function performs a deep comparison.

func (*QueryFailedError) Error

func (v *QueryFailedError) Error() string

func (*QueryFailedError) ErrorName

func (*QueryFailedError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*QueryFailedError) FromWire

func (v *QueryFailedError) FromWire(w wire.Value) error

FromWire deserializes a QueryFailedError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryFailedError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryFailedError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryFailedError) GetMessage

func (v *QueryFailedError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*QueryFailedError) MarshalLogObject

func (v *QueryFailedError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryFailedError.

func (*QueryFailedError) String

func (v *QueryFailedError) String() string

String returns a readable string representation of a QueryFailedError struct.

func (*QueryFailedError) ToWire

func (v *QueryFailedError) ToWire() (wire.Value, error)

ToWire translates a QueryFailedError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type QueryRejectCondition

type QueryRejectCondition int32
const (
	QueryRejectConditionNotOpen             QueryRejectCondition = 0
	QueryRejectConditionNotCompletedCleanly QueryRejectCondition = 1
)

func QueryRejectCondition_Values

func QueryRejectCondition_Values() []QueryRejectCondition

QueryRejectCondition_Values returns all recognized values of QueryRejectCondition.

func (QueryRejectCondition) Equals

Equals returns true if this QueryRejectCondition value matches the provided value.

func (*QueryRejectCondition) FromWire

func (v *QueryRejectCondition) FromWire(w wire.Value) error

FromWire deserializes QueryRejectCondition from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return QueryRejectCondition(0), err
}

var v QueryRejectCondition
if err := v.FromWire(x); err != nil {
  return QueryRejectCondition(0), err
}
return v, nil

func (QueryRejectCondition) MarshalJSON

func (v QueryRejectCondition) MarshalJSON() ([]byte, error)

MarshalJSON serializes QueryRejectCondition into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (QueryRejectCondition) MarshalLogObject

func (v QueryRejectCondition) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryRejectCondition. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (QueryRejectCondition) MarshalText

func (v QueryRejectCondition) MarshalText() ([]byte, error)

MarshalText encodes QueryRejectCondition to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (QueryRejectCondition) Ptr

Ptr returns a pointer to this enum value.

func (QueryRejectCondition) String

func (v QueryRejectCondition) String() string

String returns a readable string representation of QueryRejectCondition.

func (QueryRejectCondition) ToWire

func (v QueryRejectCondition) ToWire() (wire.Value, error)

ToWire translates QueryRejectCondition into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*QueryRejectCondition) UnmarshalJSON

func (v *QueryRejectCondition) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode QueryRejectCondition from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*QueryRejectCondition) UnmarshalText

func (v *QueryRejectCondition) UnmarshalText(value []byte) error

UnmarshalText tries to decode QueryRejectCondition from a byte slice containing its name.

var v QueryRejectCondition
err := v.UnmarshalText([]byte("NOT_OPEN"))

type QueryRejected

type QueryRejected struct {
	CloseStatus *WorkflowExecutionCloseStatus `json:"closeStatus,omitempty"`
}

func (*QueryRejected) Equals

func (v *QueryRejected) Equals(rhs *QueryRejected) bool

Equals returns true if all the fields of this QueryRejected match the provided QueryRejected.

This function performs a deep comparison.

func (*QueryRejected) FromWire

func (v *QueryRejected) FromWire(w wire.Value) error

FromWire deserializes a QueryRejected struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryRejected struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryRejected
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryRejected) GetCloseStatus

func (v *QueryRejected) GetCloseStatus() (o WorkflowExecutionCloseStatus)

GetCloseStatus returns the value of CloseStatus if it is set or its zero value if it is unset.

func (*QueryRejected) IsSetCloseStatus

func (v *QueryRejected) IsSetCloseStatus() bool

IsSetCloseStatus returns true if CloseStatus is not nil.

func (*QueryRejected) MarshalLogObject

func (v *QueryRejected) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryRejected.

func (*QueryRejected) String

func (v *QueryRejected) String() string

String returns a readable string representation of a QueryRejected struct.

func (*QueryRejected) ToWire

func (v *QueryRejected) ToWire() (wire.Value, error)

ToWire translates a QueryRejected struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type QueryResultType

type QueryResultType int32
const (
	QueryResultTypeAnswered QueryResultType = 0
	QueryResultTypeFailed   QueryResultType = 1
)

func QueryResultType_Values

func QueryResultType_Values() []QueryResultType

QueryResultType_Values returns all recognized values of QueryResultType.

func (QueryResultType) Equals

func (v QueryResultType) Equals(rhs QueryResultType) bool

Equals returns true if this QueryResultType value matches the provided value.

func (*QueryResultType) FromWire

func (v *QueryResultType) FromWire(w wire.Value) error

FromWire deserializes QueryResultType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return QueryResultType(0), err
}

var v QueryResultType
if err := v.FromWire(x); err != nil {
  return QueryResultType(0), err
}
return v, nil

func (QueryResultType) MarshalJSON

func (v QueryResultType) MarshalJSON() ([]byte, error)

MarshalJSON serializes QueryResultType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (QueryResultType) MarshalLogObject

func (v QueryResultType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryResultType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (QueryResultType) MarshalText

func (v QueryResultType) MarshalText() ([]byte, error)

MarshalText encodes QueryResultType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (QueryResultType) Ptr

Ptr returns a pointer to this enum value.

func (QueryResultType) String

func (v QueryResultType) String() string

String returns a readable string representation of QueryResultType.

func (QueryResultType) ToWire

func (v QueryResultType) ToWire() (wire.Value, error)

ToWire translates QueryResultType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*QueryResultType) UnmarshalJSON

func (v *QueryResultType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode QueryResultType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*QueryResultType) UnmarshalText

func (v *QueryResultType) UnmarshalText(value []byte) error

UnmarshalText tries to decode QueryResultType from a byte slice containing its name.

var v QueryResultType
err := v.UnmarshalText([]byte("ANSWERED"))

type QueryTaskCompletedType

type QueryTaskCompletedType int32
const (
	QueryTaskCompletedTypeCompleted QueryTaskCompletedType = 0
	QueryTaskCompletedTypeFailed    QueryTaskCompletedType = 1
)

func QueryTaskCompletedType_Values

func QueryTaskCompletedType_Values() []QueryTaskCompletedType

QueryTaskCompletedType_Values returns all recognized values of QueryTaskCompletedType.

func (QueryTaskCompletedType) Equals

Equals returns true if this QueryTaskCompletedType value matches the provided value.

func (*QueryTaskCompletedType) FromWire

func (v *QueryTaskCompletedType) FromWire(w wire.Value) error

FromWire deserializes QueryTaskCompletedType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return QueryTaskCompletedType(0), err
}

var v QueryTaskCompletedType
if err := v.FromWire(x); err != nil {
  return QueryTaskCompletedType(0), err
}
return v, nil

func (QueryTaskCompletedType) MarshalJSON

func (v QueryTaskCompletedType) MarshalJSON() ([]byte, error)

MarshalJSON serializes QueryTaskCompletedType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (QueryTaskCompletedType) MarshalLogObject

func (v QueryTaskCompletedType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryTaskCompletedType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (QueryTaskCompletedType) MarshalText

func (v QueryTaskCompletedType) MarshalText() ([]byte, error)

MarshalText encodes QueryTaskCompletedType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (QueryTaskCompletedType) Ptr

Ptr returns a pointer to this enum value.

func (QueryTaskCompletedType) String

func (v QueryTaskCompletedType) String() string

String returns a readable string representation of QueryTaskCompletedType.

func (QueryTaskCompletedType) ToWire

func (v QueryTaskCompletedType) ToWire() (wire.Value, error)

ToWire translates QueryTaskCompletedType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*QueryTaskCompletedType) UnmarshalJSON

func (v *QueryTaskCompletedType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode QueryTaskCompletedType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*QueryTaskCompletedType) UnmarshalText

func (v *QueryTaskCompletedType) UnmarshalText(value []byte) error

UnmarshalText tries to decode QueryTaskCompletedType from a byte slice containing its name.

var v QueryTaskCompletedType
err := v.UnmarshalText([]byte("COMPLETED"))

type QueryWorkflowRequest

type QueryWorkflowRequest struct {
	Domain               *string               `json:"domain,omitempty"`
	Execution            *WorkflowExecution    `json:"execution,omitempty"`
	Query                *WorkflowQuery        `json:"query,omitempty"`
	QueryRejectCondition *QueryRejectCondition `json:"queryRejectCondition,omitempty"`
}

func (*QueryWorkflowRequest) Equals

Equals returns true if all the fields of this QueryWorkflowRequest match the provided QueryWorkflowRequest.

This function performs a deep comparison.

func (*QueryWorkflowRequest) FromWire

func (v *QueryWorkflowRequest) FromWire(w wire.Value) error

FromWire deserializes a QueryWorkflowRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryWorkflowRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryWorkflowRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryWorkflowRequest) GetDomain

func (v *QueryWorkflowRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*QueryWorkflowRequest) GetExecution

func (v *QueryWorkflowRequest) GetExecution() (o *WorkflowExecution)

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*QueryWorkflowRequest) GetQuery

func (v *QueryWorkflowRequest) GetQuery() (o *WorkflowQuery)

GetQuery returns the value of Query if it is set or its zero value if it is unset.

func (*QueryWorkflowRequest) GetQueryRejectCondition

func (v *QueryWorkflowRequest) GetQueryRejectCondition() (o QueryRejectCondition)

GetQueryRejectCondition returns the value of QueryRejectCondition if it is set or its zero value if it is unset.

func (*QueryWorkflowRequest) IsSetDomain

func (v *QueryWorkflowRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*QueryWorkflowRequest) IsSetExecution

func (v *QueryWorkflowRequest) IsSetExecution() bool

IsSetExecution returns true if Execution is not nil.

func (*QueryWorkflowRequest) IsSetQuery

func (v *QueryWorkflowRequest) IsSetQuery() bool

IsSetQuery returns true if Query is not nil.

func (*QueryWorkflowRequest) IsSetQueryRejectCondition

func (v *QueryWorkflowRequest) IsSetQueryRejectCondition() bool

IsSetQueryRejectCondition returns true if QueryRejectCondition is not nil.

func (*QueryWorkflowRequest) MarshalLogObject

func (v *QueryWorkflowRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryWorkflowRequest.

func (*QueryWorkflowRequest) String

func (v *QueryWorkflowRequest) String() string

String returns a readable string representation of a QueryWorkflowRequest struct.

func (*QueryWorkflowRequest) ToWire

func (v *QueryWorkflowRequest) ToWire() (wire.Value, error)

ToWire translates a QueryWorkflowRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type QueryWorkflowResponse

type QueryWorkflowResponse struct {
	QueryResult   []byte         `json:"queryResult,omitempty"`
	QueryRejected *QueryRejected `json:"queryRejected,omitempty"`
}

func (*QueryWorkflowResponse) Equals

Equals returns true if all the fields of this QueryWorkflowResponse match the provided QueryWorkflowResponse.

This function performs a deep comparison.

func (*QueryWorkflowResponse) FromWire

func (v *QueryWorkflowResponse) FromWire(w wire.Value) error

FromWire deserializes a QueryWorkflowResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryWorkflowResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryWorkflowResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryWorkflowResponse) GetQueryRejected

func (v *QueryWorkflowResponse) GetQueryRejected() (o *QueryRejected)

GetQueryRejected returns the value of QueryRejected if it is set or its zero value if it is unset.

func (*QueryWorkflowResponse) GetQueryResult

func (v *QueryWorkflowResponse) GetQueryResult() (o []byte)

GetQueryResult returns the value of QueryResult if it is set or its zero value if it is unset.

func (*QueryWorkflowResponse) IsSetQueryRejected

func (v *QueryWorkflowResponse) IsSetQueryRejected() bool

IsSetQueryRejected returns true if QueryRejected is not nil.

func (*QueryWorkflowResponse) IsSetQueryResult

func (v *QueryWorkflowResponse) IsSetQueryResult() bool

IsSetQueryResult returns true if QueryResult is not nil.

func (*QueryWorkflowResponse) MarshalLogObject

func (v *QueryWorkflowResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryWorkflowResponse.

func (*QueryWorkflowResponse) String

func (v *QueryWorkflowResponse) String() string

String returns a readable string representation of a QueryWorkflowResponse struct.

func (*QueryWorkflowResponse) ToWire

func (v *QueryWorkflowResponse) ToWire() (wire.Value, error)

ToWire translates a QueryWorkflowResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RecordActivityTaskHeartbeatByIDRequest

type RecordActivityTaskHeartbeatByIDRequest struct {
	Domain     *string `json:"domain,omitempty"`
	WorkflowID *string `json:"workflowID,omitempty"`
	RunID      *string `json:"runID,omitempty"`
	ActivityID *string `json:"activityID,omitempty"`
	Details    []byte  `json:"details,omitempty"`
	Identity   *string `json:"identity,omitempty"`
}

func (*RecordActivityTaskHeartbeatByIDRequest) Equals

Equals returns true if all the fields of this RecordActivityTaskHeartbeatByIDRequest match the provided RecordActivityTaskHeartbeatByIDRequest.

This function performs a deep comparison.

func (*RecordActivityTaskHeartbeatByIDRequest) FromWire

FromWire deserializes a RecordActivityTaskHeartbeatByIDRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RecordActivityTaskHeartbeatByIDRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RecordActivityTaskHeartbeatByIDRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RecordActivityTaskHeartbeatByIDRequest) GetActivityID

func (v *RecordActivityTaskHeartbeatByIDRequest) GetActivityID() (o string)

GetActivityID returns the value of ActivityID if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) GetDetails

func (v *RecordActivityTaskHeartbeatByIDRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) GetIdentity

func (v *RecordActivityTaskHeartbeatByIDRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) GetRunID

GetRunID returns the value of RunID if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) GetWorkflowID

func (v *RecordActivityTaskHeartbeatByIDRequest) GetWorkflowID() (o string)

GetWorkflowID returns the value of WorkflowID if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetActivityID

func (v *RecordActivityTaskHeartbeatByIDRequest) IsSetActivityID() bool

IsSetActivityID returns true if ActivityID is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetDetails

func (v *RecordActivityTaskHeartbeatByIDRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetIdentity

func (v *RecordActivityTaskHeartbeatByIDRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetRunID

IsSetRunID returns true if RunID is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) IsSetWorkflowID

func (v *RecordActivityTaskHeartbeatByIDRequest) IsSetWorkflowID() bool

IsSetWorkflowID returns true if WorkflowID is not nil.

func (*RecordActivityTaskHeartbeatByIDRequest) MarshalLogObject

func (v *RecordActivityTaskHeartbeatByIDRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RecordActivityTaskHeartbeatByIDRequest.

func (*RecordActivityTaskHeartbeatByIDRequest) String

String returns a readable string representation of a RecordActivityTaskHeartbeatByIDRequest struct.

func (*RecordActivityTaskHeartbeatByIDRequest) ToWire

ToWire translates a RecordActivityTaskHeartbeatByIDRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RecordActivityTaskHeartbeatRequest

type RecordActivityTaskHeartbeatRequest struct {
	TaskToken []byte  `json:"taskToken,omitempty"`
	Details   []byte  `json:"details,omitempty"`
	Identity  *string `json:"identity,omitempty"`
}

func (*RecordActivityTaskHeartbeatRequest) Equals

Equals returns true if all the fields of this RecordActivityTaskHeartbeatRequest match the provided RecordActivityTaskHeartbeatRequest.

This function performs a deep comparison.

func (*RecordActivityTaskHeartbeatRequest) FromWire

FromWire deserializes a RecordActivityTaskHeartbeatRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RecordActivityTaskHeartbeatRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RecordActivityTaskHeartbeatRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RecordActivityTaskHeartbeatRequest) GetDetails

func (v *RecordActivityTaskHeartbeatRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatRequest) GetIdentity

func (v *RecordActivityTaskHeartbeatRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatRequest) GetTaskToken

func (v *RecordActivityTaskHeartbeatRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatRequest) IsSetDetails

func (v *RecordActivityTaskHeartbeatRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RecordActivityTaskHeartbeatRequest) IsSetIdentity

func (v *RecordActivityTaskHeartbeatRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RecordActivityTaskHeartbeatRequest) IsSetTaskToken

func (v *RecordActivityTaskHeartbeatRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RecordActivityTaskHeartbeatRequest) MarshalLogObject

func (v *RecordActivityTaskHeartbeatRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RecordActivityTaskHeartbeatRequest.

func (*RecordActivityTaskHeartbeatRequest) String

String returns a readable string representation of a RecordActivityTaskHeartbeatRequest struct.

func (*RecordActivityTaskHeartbeatRequest) ToWire

ToWire translates a RecordActivityTaskHeartbeatRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RecordActivityTaskHeartbeatResponse

type RecordActivityTaskHeartbeatResponse struct {
	CancelRequested *bool `json:"cancelRequested,omitempty"`
}

func (*RecordActivityTaskHeartbeatResponse) Equals

Equals returns true if all the fields of this RecordActivityTaskHeartbeatResponse match the provided RecordActivityTaskHeartbeatResponse.

This function performs a deep comparison.

func (*RecordActivityTaskHeartbeatResponse) FromWire

FromWire deserializes a RecordActivityTaskHeartbeatResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RecordActivityTaskHeartbeatResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RecordActivityTaskHeartbeatResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RecordActivityTaskHeartbeatResponse) GetCancelRequested

func (v *RecordActivityTaskHeartbeatResponse) GetCancelRequested() (o bool)

GetCancelRequested returns the value of CancelRequested if it is set or its zero value if it is unset.

func (*RecordActivityTaskHeartbeatResponse) IsSetCancelRequested

func (v *RecordActivityTaskHeartbeatResponse) IsSetCancelRequested() bool

IsSetCancelRequested returns true if CancelRequested is not nil.

func (*RecordActivityTaskHeartbeatResponse) MarshalLogObject

func (v *RecordActivityTaskHeartbeatResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RecordActivityTaskHeartbeatResponse.

func (*RecordActivityTaskHeartbeatResponse) String

String returns a readable string representation of a RecordActivityTaskHeartbeatResponse struct.

func (*RecordActivityTaskHeartbeatResponse) ToWire

ToWire translates a RecordActivityTaskHeartbeatResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RecordMarkerDecisionAttributes

type RecordMarkerDecisionAttributes struct {
	MarkerName *string `json:"markerName,omitempty"`
	Details    []byte  `json:"details,omitempty"`
	Header     *Header `json:"header,omitempty"`
}

func (*RecordMarkerDecisionAttributes) Equals

Equals returns true if all the fields of this RecordMarkerDecisionAttributes match the provided RecordMarkerDecisionAttributes.

This function performs a deep comparison.

func (*RecordMarkerDecisionAttributes) FromWire

FromWire deserializes a RecordMarkerDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RecordMarkerDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RecordMarkerDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RecordMarkerDecisionAttributes) GetDetails

func (v *RecordMarkerDecisionAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RecordMarkerDecisionAttributes) GetHeader

func (v *RecordMarkerDecisionAttributes) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*RecordMarkerDecisionAttributes) GetMarkerName

func (v *RecordMarkerDecisionAttributes) GetMarkerName() (o string)

GetMarkerName returns the value of MarkerName if it is set or its zero value if it is unset.

func (*RecordMarkerDecisionAttributes) IsSetDetails

func (v *RecordMarkerDecisionAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RecordMarkerDecisionAttributes) IsSetHeader

func (v *RecordMarkerDecisionAttributes) IsSetHeader() bool

IsSetHeader returns true if Header is not nil.

func (*RecordMarkerDecisionAttributes) IsSetMarkerName

func (v *RecordMarkerDecisionAttributes) IsSetMarkerName() bool

IsSetMarkerName returns true if MarkerName is not nil.

func (*RecordMarkerDecisionAttributes) MarshalLogObject

func (v *RecordMarkerDecisionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RecordMarkerDecisionAttributes.

func (*RecordMarkerDecisionAttributes) String

String returns a readable string representation of a RecordMarkerDecisionAttributes struct.

func (*RecordMarkerDecisionAttributes) ToWire

ToWire translates a RecordMarkerDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RegisterDomainRequest

type RegisterDomainRequest struct {
	Name                                   *string                            `json:"name,omitempty"`
	Description                            *string                            `json:"description,omitempty"`
	OwnerEmail                             *string                            `json:"ownerEmail,omitempty"`
	WorkflowExecutionRetentionPeriodInDays *int32                             `json:"workflowExecutionRetentionPeriodInDays,omitempty"`
	EmitMetric                             *bool                              `json:"emitMetric,omitempty"`
	Clusters                               []*ClusterReplicationConfiguration `json:"clusters,omitempty"`
	ActiveClusterName                      *string                            `json:"activeClusterName,omitempty"`
	Data                                   map[string]string                  `json:"data,omitempty"`
	SecurityToken                          *string                            `json:"securityToken,omitempty"`
	IsGlobalDomain                         *bool                              `json:"isGlobalDomain,omitempty"`
	HistoryArchivalStatus                  *ArchivalStatus                    `json:"historyArchivalStatus,omitempty"`
	HistoryArchivalURI                     *string                            `json:"historyArchivalURI,omitempty"`
	VisibilityArchivalStatus               *ArchivalStatus                    `json:"visibilityArchivalStatus,omitempty"`
	VisibilityArchivalURI                  *string                            `json:"visibilityArchivalURI,omitempty"`
}

func (*RegisterDomainRequest) Equals

Equals returns true if all the fields of this RegisterDomainRequest match the provided RegisterDomainRequest.

This function performs a deep comparison.

func (*RegisterDomainRequest) FromWire

func (v *RegisterDomainRequest) FromWire(w wire.Value) error

FromWire deserializes a RegisterDomainRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RegisterDomainRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RegisterDomainRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RegisterDomainRequest) GetActiveClusterName

func (v *RegisterDomainRequest) GetActiveClusterName() (o string)

GetActiveClusterName returns the value of ActiveClusterName if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetClusters

GetClusters returns the value of Clusters if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetData

func (v *RegisterDomainRequest) GetData() (o map[string]string)

GetData returns the value of Data if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetDescription

func (v *RegisterDomainRequest) GetDescription() (o string)

GetDescription returns the value of Description if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetEmitMetric

func (v *RegisterDomainRequest) GetEmitMetric() (o bool)

GetEmitMetric returns the value of EmitMetric if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetHistoryArchivalStatus

func (v *RegisterDomainRequest) GetHistoryArchivalStatus() (o ArchivalStatus)

GetHistoryArchivalStatus returns the value of HistoryArchivalStatus if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetHistoryArchivalURI

func (v *RegisterDomainRequest) GetHistoryArchivalURI() (o string)

GetHistoryArchivalURI returns the value of HistoryArchivalURI if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetIsGlobalDomain

func (v *RegisterDomainRequest) GetIsGlobalDomain() (o bool)

GetIsGlobalDomain returns the value of IsGlobalDomain if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetName

func (v *RegisterDomainRequest) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetOwnerEmail

func (v *RegisterDomainRequest) GetOwnerEmail() (o string)

GetOwnerEmail returns the value of OwnerEmail if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetSecurityToken

func (v *RegisterDomainRequest) GetSecurityToken() (o string)

GetSecurityToken returns the value of SecurityToken if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetVisibilityArchivalStatus

func (v *RegisterDomainRequest) GetVisibilityArchivalStatus() (o ArchivalStatus)

GetVisibilityArchivalStatus returns the value of VisibilityArchivalStatus if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetVisibilityArchivalURI

func (v *RegisterDomainRequest) GetVisibilityArchivalURI() (o string)

GetVisibilityArchivalURI returns the value of VisibilityArchivalURI if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) GetWorkflowExecutionRetentionPeriodInDays

func (v *RegisterDomainRequest) GetWorkflowExecutionRetentionPeriodInDays() (o int32)

GetWorkflowExecutionRetentionPeriodInDays returns the value of WorkflowExecutionRetentionPeriodInDays if it is set or its zero value if it is unset.

func (*RegisterDomainRequest) IsSetActiveClusterName

func (v *RegisterDomainRequest) IsSetActiveClusterName() bool

IsSetActiveClusterName returns true if ActiveClusterName is not nil.

func (*RegisterDomainRequest) IsSetClusters

func (v *RegisterDomainRequest) IsSetClusters() bool

IsSetClusters returns true if Clusters is not nil.

func (*RegisterDomainRequest) IsSetData

func (v *RegisterDomainRequest) IsSetData() bool

IsSetData returns true if Data is not nil.

func (*RegisterDomainRequest) IsSetDescription

func (v *RegisterDomainRequest) IsSetDescription() bool

IsSetDescription returns true if Description is not nil.

func (*RegisterDomainRequest) IsSetEmitMetric

func (v *RegisterDomainRequest) IsSetEmitMetric() bool

IsSetEmitMetric returns true if EmitMetric is not nil.

func (*RegisterDomainRequest) IsSetHistoryArchivalStatus

func (v *RegisterDomainRequest) IsSetHistoryArchivalStatus() bool

IsSetHistoryArchivalStatus returns true if HistoryArchivalStatus is not nil.

func (*RegisterDomainRequest) IsSetHistoryArchivalURI

func (v *RegisterDomainRequest) IsSetHistoryArchivalURI() bool

IsSetHistoryArchivalURI returns true if HistoryArchivalURI is not nil.

func (*RegisterDomainRequest) IsSetIsGlobalDomain

func (v *RegisterDomainRequest) IsSetIsGlobalDomain() bool

IsSetIsGlobalDomain returns true if IsGlobalDomain is not nil.

func (*RegisterDomainRequest) IsSetName

func (v *RegisterDomainRequest) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*RegisterDomainRequest) IsSetOwnerEmail

func (v *RegisterDomainRequest) IsSetOwnerEmail() bool

IsSetOwnerEmail returns true if OwnerEmail is not nil.

func (*RegisterDomainRequest) IsSetSecurityToken

func (v *RegisterDomainRequest) IsSetSecurityToken() bool

IsSetSecurityToken returns true if SecurityToken is not nil.

func (*RegisterDomainRequest) IsSetVisibilityArchivalStatus

func (v *RegisterDomainRequest) IsSetVisibilityArchivalStatus() bool

IsSetVisibilityArchivalStatus returns true if VisibilityArchivalStatus is not nil.

func (*RegisterDomainRequest) IsSetVisibilityArchivalURI

func (v *RegisterDomainRequest) IsSetVisibilityArchivalURI() bool

IsSetVisibilityArchivalURI returns true if VisibilityArchivalURI is not nil.

func (*RegisterDomainRequest) IsSetWorkflowExecutionRetentionPeriodInDays

func (v *RegisterDomainRequest) IsSetWorkflowExecutionRetentionPeriodInDays() bool

IsSetWorkflowExecutionRetentionPeriodInDays returns true if WorkflowExecutionRetentionPeriodInDays is not nil.

func (*RegisterDomainRequest) MarshalLogObject

func (v *RegisterDomainRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RegisterDomainRequest.

func (*RegisterDomainRequest) String

func (v *RegisterDomainRequest) String() string

String returns a readable string representation of a RegisterDomainRequest struct.

func (*RegisterDomainRequest) ToWire

func (v *RegisterDomainRequest) ToWire() (wire.Value, error)

ToWire translates a RegisterDomainRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RemoveTaskRequest

type RemoveTaskRequest struct {
	ShardID *int32 `json:"shardID,omitempty"`
	Type    *int32 `json:"type,omitempty"`
	TaskID  *int64 `json:"taskID,omitempty"`
}

func (*RemoveTaskRequest) Equals

func (v *RemoveTaskRequest) Equals(rhs *RemoveTaskRequest) bool

Equals returns true if all the fields of this RemoveTaskRequest match the provided RemoveTaskRequest.

This function performs a deep comparison.

func (*RemoveTaskRequest) FromWire

func (v *RemoveTaskRequest) FromWire(w wire.Value) error

FromWire deserializes a RemoveTaskRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RemoveTaskRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RemoveTaskRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RemoveTaskRequest) GetShardID

func (v *RemoveTaskRequest) GetShardID() (o int32)

GetShardID returns the value of ShardID if it is set or its zero value if it is unset.

func (*RemoveTaskRequest) GetTaskID

func (v *RemoveTaskRequest) GetTaskID() (o int64)

GetTaskID returns the value of TaskID if it is set or its zero value if it is unset.

func (*RemoveTaskRequest) GetType

func (v *RemoveTaskRequest) GetType() (o int32)

GetType returns the value of Type if it is set or its zero value if it is unset.

func (*RemoveTaskRequest) IsSetShardID

func (v *RemoveTaskRequest) IsSetShardID() bool

IsSetShardID returns true if ShardID is not nil.

func (*RemoveTaskRequest) IsSetTaskID

func (v *RemoveTaskRequest) IsSetTaskID() bool

IsSetTaskID returns true if TaskID is not nil.

func (*RemoveTaskRequest) IsSetType

func (v *RemoveTaskRequest) IsSetType() bool

IsSetType returns true if Type is not nil.

func (*RemoveTaskRequest) MarshalLogObject

func (v *RemoveTaskRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RemoveTaskRequest.

func (*RemoveTaskRequest) String

func (v *RemoveTaskRequest) String() string

String returns a readable string representation of a RemoveTaskRequest struct.

func (*RemoveTaskRequest) ToWire

func (v *RemoveTaskRequest) ToWire() (wire.Value, error)

ToWire translates a RemoveTaskRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ReplicationInfo

type ReplicationInfo struct {
	Version     *int64 `json:"version,omitempty"`
	LastEventId *int64 `json:"lastEventId,omitempty"`
}

func (*ReplicationInfo) Equals

func (v *ReplicationInfo) Equals(rhs *ReplicationInfo) bool

Equals returns true if all the fields of this ReplicationInfo match the provided ReplicationInfo.

This function performs a deep comparison.

func (*ReplicationInfo) FromWire

func (v *ReplicationInfo) FromWire(w wire.Value) error

FromWire deserializes a ReplicationInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ReplicationInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ReplicationInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ReplicationInfo) GetLastEventId

func (v *ReplicationInfo) GetLastEventId() (o int64)

GetLastEventId returns the value of LastEventId if it is set or its zero value if it is unset.

func (*ReplicationInfo) GetVersion

func (v *ReplicationInfo) GetVersion() (o int64)

GetVersion returns the value of Version if it is set or its zero value if it is unset.

func (*ReplicationInfo) IsSetLastEventId

func (v *ReplicationInfo) IsSetLastEventId() bool

IsSetLastEventId returns true if LastEventId is not nil.

func (*ReplicationInfo) IsSetVersion

func (v *ReplicationInfo) IsSetVersion() bool

IsSetVersion returns true if Version is not nil.

func (*ReplicationInfo) MarshalLogObject

func (v *ReplicationInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ReplicationInfo.

func (*ReplicationInfo) String

func (v *ReplicationInfo) String() string

String returns a readable string representation of a ReplicationInfo struct.

func (*ReplicationInfo) ToWire

func (v *ReplicationInfo) ToWire() (wire.Value, error)

ToWire translates a ReplicationInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelActivityTaskDecisionAttributes

type RequestCancelActivityTaskDecisionAttributes struct {
	ActivityId *string `json:"activityId,omitempty"`
}

func (*RequestCancelActivityTaskDecisionAttributes) Equals

Equals returns true if all the fields of this RequestCancelActivityTaskDecisionAttributes match the provided RequestCancelActivityTaskDecisionAttributes.

This function performs a deep comparison.

func (*RequestCancelActivityTaskDecisionAttributes) FromWire

FromWire deserializes a RequestCancelActivityTaskDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelActivityTaskDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelActivityTaskDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelActivityTaskDecisionAttributes) GetActivityId

func (v *RequestCancelActivityTaskDecisionAttributes) GetActivityId() (o string)

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*RequestCancelActivityTaskDecisionAttributes) IsSetActivityId

IsSetActivityId returns true if ActivityId is not nil.

func (*RequestCancelActivityTaskDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelActivityTaskDecisionAttributes.

func (*RequestCancelActivityTaskDecisionAttributes) String

String returns a readable string representation of a RequestCancelActivityTaskDecisionAttributes struct.

func (*RequestCancelActivityTaskDecisionAttributes) ToWire

ToWire translates a RequestCancelActivityTaskDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelActivityTaskFailedEventAttributes

type RequestCancelActivityTaskFailedEventAttributes struct {
	ActivityId                   *string `json:"activityId,omitempty"`
	Cause                        *string `json:"cause,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*RequestCancelActivityTaskFailedEventAttributes) Equals

Equals returns true if all the fields of this RequestCancelActivityTaskFailedEventAttributes match the provided RequestCancelActivityTaskFailedEventAttributes.

This function performs a deep comparison.

func (*RequestCancelActivityTaskFailedEventAttributes) FromWire

FromWire deserializes a RequestCancelActivityTaskFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelActivityTaskFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelActivityTaskFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelActivityTaskFailedEventAttributes) GetActivityId

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*RequestCancelActivityTaskFailedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*RequestCancelActivityTaskFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *RequestCancelActivityTaskFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*RequestCancelActivityTaskFailedEventAttributes) IsSetActivityId

IsSetActivityId returns true if ActivityId is not nil.

func (*RequestCancelActivityTaskFailedEventAttributes) IsSetCause

IsSetCause returns true if Cause is not nil.

func (*RequestCancelActivityTaskFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *RequestCancelActivityTaskFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*RequestCancelActivityTaskFailedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelActivityTaskFailedEventAttributes.

func (*RequestCancelActivityTaskFailedEventAttributes) String

String returns a readable string representation of a RequestCancelActivityTaskFailedEventAttributes struct.

func (*RequestCancelActivityTaskFailedEventAttributes) ToWire

ToWire translates a RequestCancelActivityTaskFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelExternalWorkflowExecutionDecisionAttributes

type RequestCancelExternalWorkflowExecutionDecisionAttributes struct {
	Domain            *string `json:"domain,omitempty"`
	WorkflowId        *string `json:"workflowId,omitempty"`
	RunId             *string `json:"runId,omitempty"`
	Control           []byte  `json:"control,omitempty"`
	ChildWorkflowOnly *bool   `json:"childWorkflowOnly,omitempty"`
}

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this RequestCancelExternalWorkflowExecutionDecisionAttributes match the provided RequestCancelExternalWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a RequestCancelExternalWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelExternalWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelExternalWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly

func (v *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() (o bool)

GetChildWorkflowOnly returns the value of ChildWorkflowOnly if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) GetRunId

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) GetWorkflowId

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) IsSetChildWorkflowOnly

IsSetChildWorkflowOnly returns true if ChildWorkflowOnly is not nil.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) IsSetRunId

IsSetRunId returns true if RunId is not nil.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) IsSetWorkflowId

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelExternalWorkflowExecutionDecisionAttributes.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a RequestCancelExternalWorkflowExecutionDecisionAttributes struct.

func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a RequestCancelExternalWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelExternalWorkflowExecutionFailedEventAttributes

type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct {
	Cause                        *CancelExternalWorkflowExecutionFailedCause `json:"cause,omitempty"`
	DecisionTaskCompletedEventId *int64                                      `json:"decisionTaskCompletedEventId,omitempty"`
	Domain                       *string                                     `json:"domain,omitempty"`
	WorkflowExecution            *WorkflowExecution                          `json:"workflowExecution,omitempty"`
	InitiatedEventId             *int64                                      `json:"initiatedEventId,omitempty"`
	Control                      []byte                                      `json:"control,omitempty"`
}

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) Equals

Equals returns true if all the fields of this RequestCancelExternalWorkflowExecutionFailedEventAttributes match the provided RequestCancelExternalWorkflowExecutionFailedEventAttributes.

This function performs a deep comparison.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) FromWire

FromWire deserializes a RequestCancelExternalWorkflowExecutionFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelExternalWorkflowExecutionFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelExternalWorkflowExecutionFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetCause

IsSetCause returns true if Cause is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) IsSetWorkflowExecution

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelExternalWorkflowExecutionFailedEventAttributes.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) String

String returns a readable string representation of a RequestCancelExternalWorkflowExecutionFailedEventAttributes struct.

func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) ToWire

ToWire translates a RequestCancelExternalWorkflowExecutionFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct {
	DecisionTaskCompletedEventId *int64             `json:"decisionTaskCompletedEventId,omitempty"`
	Domain                       *string            `json:"domain,omitempty"`
	WorkflowExecution            *WorkflowExecution `json:"workflowExecution,omitempty"`
	Control                      []byte             `json:"control,omitempty"`
	ChildWorkflowOnly            *bool              `json:"childWorkflowOnly,omitempty"`
}

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Equals

Equals returns true if all the fields of this RequestCancelExternalWorkflowExecutionInitiatedEventAttributes match the provided RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.

This function performs a deep comparison.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) FromWire

FromWire deserializes a RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly

GetChildWorkflowOnly returns the value of ChildWorkflowOnly if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId

func (v *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetChildWorkflowOnly

IsSetChildWorkflowOnly returns true if ChildWorkflowOnly is not nil.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowExecution

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) String

String returns a readable string representation of a RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct.

func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) ToWire

ToWire translates a RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RequestCancelWorkflowExecutionRequest

type RequestCancelWorkflowExecutionRequest struct {
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	Identity          *string            `json:"identity,omitempty"`
	RequestId         *string            `json:"requestId,omitempty"`
}

func (*RequestCancelWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this RequestCancelWorkflowExecutionRequest match the provided RequestCancelWorkflowExecutionRequest.

This function performs a deep comparison.

func (*RequestCancelWorkflowExecutionRequest) FromWire

FromWire deserializes a RequestCancelWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestCancelWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestCancelWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestCancelWorkflowExecutionRequest) GetDomain

func (v *RequestCancelWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RequestCancelWorkflowExecutionRequest) GetIdentity

func (v *RequestCancelWorkflowExecutionRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RequestCancelWorkflowExecutionRequest) GetRequestId

func (v *RequestCancelWorkflowExecutionRequest) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*RequestCancelWorkflowExecutionRequest) GetWorkflowExecution

func (v *RequestCancelWorkflowExecutionRequest) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*RequestCancelWorkflowExecutionRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RequestCancelWorkflowExecutionRequest) IsSetIdentity

func (v *RequestCancelWorkflowExecutionRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RequestCancelWorkflowExecutionRequest) IsSetRequestId

func (v *RequestCancelWorkflowExecutionRequest) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*RequestCancelWorkflowExecutionRequest) IsSetWorkflowExecution

func (v *RequestCancelWorkflowExecutionRequest) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*RequestCancelWorkflowExecutionRequest) MarshalLogObject

func (v *RequestCancelWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestCancelWorkflowExecutionRequest.

func (*RequestCancelWorkflowExecutionRequest) String

String returns a readable string representation of a RequestCancelWorkflowExecutionRequest struct.

func (*RequestCancelWorkflowExecutionRequest) ToWire

ToWire translates a RequestCancelWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetPointInfo

type ResetPointInfo struct {
	BinaryChecksum           *string `json:"binaryChecksum,omitempty"`
	RunId                    *string `json:"runId,omitempty"`
	FirstDecisionCompletedId *int64  `json:"firstDecisionCompletedId,omitempty"`
	CreatedTimeNano          *int64  `json:"createdTimeNano,omitempty"`
	ExpiringTimeNano         *int64  `json:"expiringTimeNano,omitempty"`
	Resettable               *bool   `json:"resettable,omitempty"`
}

func (*ResetPointInfo) Equals

func (v *ResetPointInfo) Equals(rhs *ResetPointInfo) bool

Equals returns true if all the fields of this ResetPointInfo match the provided ResetPointInfo.

This function performs a deep comparison.

func (*ResetPointInfo) FromWire

func (v *ResetPointInfo) FromWire(w wire.Value) error

FromWire deserializes a ResetPointInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetPointInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetPointInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetPointInfo) GetBinaryChecksum

func (v *ResetPointInfo) GetBinaryChecksum() (o string)

GetBinaryChecksum returns the value of BinaryChecksum if it is set or its zero value if it is unset.

func (*ResetPointInfo) GetCreatedTimeNano

func (v *ResetPointInfo) GetCreatedTimeNano() (o int64)

GetCreatedTimeNano returns the value of CreatedTimeNano if it is set or its zero value if it is unset.

func (*ResetPointInfo) GetExpiringTimeNano

func (v *ResetPointInfo) GetExpiringTimeNano() (o int64)

GetExpiringTimeNano returns the value of ExpiringTimeNano if it is set or its zero value if it is unset.

func (*ResetPointInfo) GetFirstDecisionCompletedId

func (v *ResetPointInfo) GetFirstDecisionCompletedId() (o int64)

GetFirstDecisionCompletedId returns the value of FirstDecisionCompletedId if it is set or its zero value if it is unset.

func (*ResetPointInfo) GetResettable

func (v *ResetPointInfo) GetResettable() (o bool)

GetResettable returns the value of Resettable if it is set or its zero value if it is unset.

func (*ResetPointInfo) GetRunId

func (v *ResetPointInfo) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*ResetPointInfo) IsSetBinaryChecksum

func (v *ResetPointInfo) IsSetBinaryChecksum() bool

IsSetBinaryChecksum returns true if BinaryChecksum is not nil.

func (*ResetPointInfo) IsSetCreatedTimeNano

func (v *ResetPointInfo) IsSetCreatedTimeNano() bool

IsSetCreatedTimeNano returns true if CreatedTimeNano is not nil.

func (*ResetPointInfo) IsSetExpiringTimeNano

func (v *ResetPointInfo) IsSetExpiringTimeNano() bool

IsSetExpiringTimeNano returns true if ExpiringTimeNano is not nil.

func (*ResetPointInfo) IsSetFirstDecisionCompletedId

func (v *ResetPointInfo) IsSetFirstDecisionCompletedId() bool

IsSetFirstDecisionCompletedId returns true if FirstDecisionCompletedId is not nil.

func (*ResetPointInfo) IsSetResettable

func (v *ResetPointInfo) IsSetResettable() bool

IsSetResettable returns true if Resettable is not nil.

func (*ResetPointInfo) IsSetRunId

func (v *ResetPointInfo) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*ResetPointInfo) MarshalLogObject

func (v *ResetPointInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetPointInfo.

func (*ResetPointInfo) String

func (v *ResetPointInfo) String() string

String returns a readable string representation of a ResetPointInfo struct.

func (*ResetPointInfo) ToWire

func (v *ResetPointInfo) ToWire() (wire.Value, error)

ToWire translates a ResetPointInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetPoints

type ResetPoints struct {
	Points []*ResetPointInfo `json:"points,omitempty"`
}

func (*ResetPoints) Equals

func (v *ResetPoints) Equals(rhs *ResetPoints) bool

Equals returns true if all the fields of this ResetPoints match the provided ResetPoints.

This function performs a deep comparison.

func (*ResetPoints) FromWire

func (v *ResetPoints) FromWire(w wire.Value) error

FromWire deserializes a ResetPoints struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetPoints struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetPoints
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetPoints) GetPoints

func (v *ResetPoints) GetPoints() (o []*ResetPointInfo)

GetPoints returns the value of Points if it is set or its zero value if it is unset.

func (*ResetPoints) IsSetPoints

func (v *ResetPoints) IsSetPoints() bool

IsSetPoints returns true if Points is not nil.

func (*ResetPoints) MarshalLogObject

func (v *ResetPoints) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetPoints.

func (*ResetPoints) String

func (v *ResetPoints) String() string

String returns a readable string representation of a ResetPoints struct.

func (*ResetPoints) ToWire

func (v *ResetPoints) ToWire() (wire.Value, error)

ToWire translates a ResetPoints struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetStickyTaskListRequest

type ResetStickyTaskListRequest struct {
	Domain    *string            `json:"domain,omitempty"`
	Execution *WorkflowExecution `json:"execution,omitempty"`
}

func (*ResetStickyTaskListRequest) Equals

Equals returns true if all the fields of this ResetStickyTaskListRequest match the provided ResetStickyTaskListRequest.

This function performs a deep comparison.

func (*ResetStickyTaskListRequest) FromWire

func (v *ResetStickyTaskListRequest) FromWire(w wire.Value) error

FromWire deserializes a ResetStickyTaskListRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetStickyTaskListRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetStickyTaskListRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetStickyTaskListRequest) GetDomain

func (v *ResetStickyTaskListRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ResetStickyTaskListRequest) GetExecution

func (v *ResetStickyTaskListRequest) GetExecution() (o *WorkflowExecution)

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*ResetStickyTaskListRequest) IsSetDomain

func (v *ResetStickyTaskListRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ResetStickyTaskListRequest) IsSetExecution

func (v *ResetStickyTaskListRequest) IsSetExecution() bool

IsSetExecution returns true if Execution is not nil.

func (*ResetStickyTaskListRequest) MarshalLogObject

func (v *ResetStickyTaskListRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetStickyTaskListRequest.

func (*ResetStickyTaskListRequest) String

func (v *ResetStickyTaskListRequest) String() string

String returns a readable string representation of a ResetStickyTaskListRequest struct.

func (*ResetStickyTaskListRequest) ToWire

func (v *ResetStickyTaskListRequest) ToWire() (wire.Value, error)

ToWire translates a ResetStickyTaskListRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetStickyTaskListResponse

type ResetStickyTaskListResponse struct {
}

func (*ResetStickyTaskListResponse) Equals

Equals returns true if all the fields of this ResetStickyTaskListResponse match the provided ResetStickyTaskListResponse.

This function performs a deep comparison.

func (*ResetStickyTaskListResponse) FromWire

FromWire deserializes a ResetStickyTaskListResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetStickyTaskListResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetStickyTaskListResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetStickyTaskListResponse) MarshalLogObject

func (v *ResetStickyTaskListResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetStickyTaskListResponse.

func (*ResetStickyTaskListResponse) String

func (v *ResetStickyTaskListResponse) String() string

String returns a readable string representation of a ResetStickyTaskListResponse struct.

func (*ResetStickyTaskListResponse) ToWire

ToWire translates a ResetStickyTaskListResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetWorkflowExecutionRequest

type ResetWorkflowExecutionRequest struct {
	Domain                *string            `json:"domain,omitempty"`
	WorkflowExecution     *WorkflowExecution `json:"workflowExecution,omitempty"`
	Reason                *string            `json:"reason,omitempty"`
	DecisionFinishEventId *int64             `json:"decisionFinishEventId,omitempty"`
	RequestId             *string            `json:"requestId,omitempty"`
}

func (*ResetWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this ResetWorkflowExecutionRequest match the provided ResetWorkflowExecutionRequest.

This function performs a deep comparison.

func (*ResetWorkflowExecutionRequest) FromWire

FromWire deserializes a ResetWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetWorkflowExecutionRequest) GetDecisionFinishEventId

func (v *ResetWorkflowExecutionRequest) GetDecisionFinishEventId() (o int64)

GetDecisionFinishEventId returns the value of DecisionFinishEventId if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionRequest) GetDomain

func (v *ResetWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionRequest) GetReason

func (v *ResetWorkflowExecutionRequest) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionRequest) GetRequestId

func (v *ResetWorkflowExecutionRequest) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionRequest) GetWorkflowExecution

func (v *ResetWorkflowExecutionRequest) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionRequest) IsSetDecisionFinishEventId

func (v *ResetWorkflowExecutionRequest) IsSetDecisionFinishEventId() bool

IsSetDecisionFinishEventId returns true if DecisionFinishEventId is not nil.

func (*ResetWorkflowExecutionRequest) IsSetDomain

func (v *ResetWorkflowExecutionRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*ResetWorkflowExecutionRequest) IsSetReason

func (v *ResetWorkflowExecutionRequest) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*ResetWorkflowExecutionRequest) IsSetRequestId

func (v *ResetWorkflowExecutionRequest) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*ResetWorkflowExecutionRequest) IsSetWorkflowExecution

func (v *ResetWorkflowExecutionRequest) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*ResetWorkflowExecutionRequest) MarshalLogObject

func (v *ResetWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetWorkflowExecutionRequest.

func (*ResetWorkflowExecutionRequest) String

String returns a readable string representation of a ResetWorkflowExecutionRequest struct.

func (*ResetWorkflowExecutionRequest) ToWire

ToWire translates a ResetWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ResetWorkflowExecutionResponse

type ResetWorkflowExecutionResponse struct {
	RunId *string `json:"runId,omitempty"`
}

func (*ResetWorkflowExecutionResponse) Equals

Equals returns true if all the fields of this ResetWorkflowExecutionResponse match the provided ResetWorkflowExecutionResponse.

This function performs a deep comparison.

func (*ResetWorkflowExecutionResponse) FromWire

FromWire deserializes a ResetWorkflowExecutionResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ResetWorkflowExecutionResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ResetWorkflowExecutionResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ResetWorkflowExecutionResponse) GetRunId

func (v *ResetWorkflowExecutionResponse) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*ResetWorkflowExecutionResponse) IsSetRunId

func (v *ResetWorkflowExecutionResponse) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*ResetWorkflowExecutionResponse) MarshalLogObject

func (v *ResetWorkflowExecutionResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ResetWorkflowExecutionResponse.

func (*ResetWorkflowExecutionResponse) String

String returns a readable string representation of a ResetWorkflowExecutionResponse struct.

func (*ResetWorkflowExecutionResponse) ToWire

ToWire translates a ResetWorkflowExecutionResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskCanceledByIDRequest

type RespondActivityTaskCanceledByIDRequest struct {
	Domain     *string `json:"domain,omitempty"`
	WorkflowID *string `json:"workflowID,omitempty"`
	RunID      *string `json:"runID,omitempty"`
	ActivityID *string `json:"activityID,omitempty"`
	Details    []byte  `json:"details,omitempty"`
	Identity   *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskCanceledByIDRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskCanceledByIDRequest match the provided RespondActivityTaskCanceledByIDRequest.

This function performs a deep comparison.

func (*RespondActivityTaskCanceledByIDRequest) FromWire

FromWire deserializes a RespondActivityTaskCanceledByIDRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskCanceledByIDRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskCanceledByIDRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskCanceledByIDRequest) GetActivityID

func (v *RespondActivityTaskCanceledByIDRequest) GetActivityID() (o string)

GetActivityID returns the value of ActivityID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) GetDetails

func (v *RespondActivityTaskCanceledByIDRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) GetIdentity

func (v *RespondActivityTaskCanceledByIDRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) GetRunID

GetRunID returns the value of RunID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) GetWorkflowID

func (v *RespondActivityTaskCanceledByIDRequest) GetWorkflowID() (o string)

GetWorkflowID returns the value of WorkflowID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledByIDRequest) IsSetActivityID

func (v *RespondActivityTaskCanceledByIDRequest) IsSetActivityID() bool

IsSetActivityID returns true if ActivityID is not nil.

func (*RespondActivityTaskCanceledByIDRequest) IsSetDetails

func (v *RespondActivityTaskCanceledByIDRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RespondActivityTaskCanceledByIDRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RespondActivityTaskCanceledByIDRequest) IsSetIdentity

func (v *RespondActivityTaskCanceledByIDRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskCanceledByIDRequest) IsSetRunID

IsSetRunID returns true if RunID is not nil.

func (*RespondActivityTaskCanceledByIDRequest) IsSetWorkflowID

func (v *RespondActivityTaskCanceledByIDRequest) IsSetWorkflowID() bool

IsSetWorkflowID returns true if WorkflowID is not nil.

func (*RespondActivityTaskCanceledByIDRequest) MarshalLogObject

func (v *RespondActivityTaskCanceledByIDRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskCanceledByIDRequest.

func (*RespondActivityTaskCanceledByIDRequest) String

String returns a readable string representation of a RespondActivityTaskCanceledByIDRequest struct.

func (*RespondActivityTaskCanceledByIDRequest) ToWire

ToWire translates a RespondActivityTaskCanceledByIDRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskCanceledRequest

type RespondActivityTaskCanceledRequest struct {
	TaskToken []byte  `json:"taskToken,omitempty"`
	Details   []byte  `json:"details,omitempty"`
	Identity  *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskCanceledRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskCanceledRequest match the provided RespondActivityTaskCanceledRequest.

This function performs a deep comparison.

func (*RespondActivityTaskCanceledRequest) FromWire

FromWire deserializes a RespondActivityTaskCanceledRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskCanceledRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskCanceledRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskCanceledRequest) GetDetails

func (v *RespondActivityTaskCanceledRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledRequest) GetIdentity

func (v *RespondActivityTaskCanceledRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledRequest) GetTaskToken

func (v *RespondActivityTaskCanceledRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondActivityTaskCanceledRequest) IsSetDetails

func (v *RespondActivityTaskCanceledRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RespondActivityTaskCanceledRequest) IsSetIdentity

func (v *RespondActivityTaskCanceledRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskCanceledRequest) IsSetTaskToken

func (v *RespondActivityTaskCanceledRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondActivityTaskCanceledRequest) MarshalLogObject

func (v *RespondActivityTaskCanceledRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskCanceledRequest.

func (*RespondActivityTaskCanceledRequest) String

String returns a readable string representation of a RespondActivityTaskCanceledRequest struct.

func (*RespondActivityTaskCanceledRequest) ToWire

ToWire translates a RespondActivityTaskCanceledRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskCompletedByIDRequest

type RespondActivityTaskCompletedByIDRequest struct {
	Domain     *string `json:"domain,omitempty"`
	WorkflowID *string `json:"workflowID,omitempty"`
	RunID      *string `json:"runID,omitempty"`
	ActivityID *string `json:"activityID,omitempty"`
	Result     []byte  `json:"result,omitempty"`
	Identity   *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskCompletedByIDRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskCompletedByIDRequest match the provided RespondActivityTaskCompletedByIDRequest.

This function performs a deep comparison.

func (*RespondActivityTaskCompletedByIDRequest) FromWire

FromWire deserializes a RespondActivityTaskCompletedByIDRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskCompletedByIDRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskCompletedByIDRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskCompletedByIDRequest) GetActivityID

func (v *RespondActivityTaskCompletedByIDRequest) GetActivityID() (o string)

GetActivityID returns the value of ActivityID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) GetIdentity

func (v *RespondActivityTaskCompletedByIDRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) GetResult

func (v *RespondActivityTaskCompletedByIDRequest) GetResult() (o []byte)

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) GetRunID

GetRunID returns the value of RunID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) GetWorkflowID

func (v *RespondActivityTaskCompletedByIDRequest) GetWorkflowID() (o string)

GetWorkflowID returns the value of WorkflowID if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedByIDRequest) IsSetActivityID

func (v *RespondActivityTaskCompletedByIDRequest) IsSetActivityID() bool

IsSetActivityID returns true if ActivityID is not nil.

func (*RespondActivityTaskCompletedByIDRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*RespondActivityTaskCompletedByIDRequest) IsSetIdentity

func (v *RespondActivityTaskCompletedByIDRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskCompletedByIDRequest) IsSetResult

IsSetResult returns true if Result is not nil.

func (*RespondActivityTaskCompletedByIDRequest) IsSetRunID

IsSetRunID returns true if RunID is not nil.

func (*RespondActivityTaskCompletedByIDRequest) IsSetWorkflowID

func (v *RespondActivityTaskCompletedByIDRequest) IsSetWorkflowID() bool

IsSetWorkflowID returns true if WorkflowID is not nil.

func (*RespondActivityTaskCompletedByIDRequest) MarshalLogObject

func (v *RespondActivityTaskCompletedByIDRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskCompletedByIDRequest.

func (*RespondActivityTaskCompletedByIDRequest) String

String returns a readable string representation of a RespondActivityTaskCompletedByIDRequest struct.

func (*RespondActivityTaskCompletedByIDRequest) ToWire

ToWire translates a RespondActivityTaskCompletedByIDRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskCompletedRequest

type RespondActivityTaskCompletedRequest struct {
	TaskToken []byte  `json:"taskToken,omitempty"`
	Result    []byte  `json:"result,omitempty"`
	Identity  *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskCompletedRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskCompletedRequest match the provided RespondActivityTaskCompletedRequest.

This function performs a deep comparison.

func (*RespondActivityTaskCompletedRequest) FromWire

FromWire deserializes a RespondActivityTaskCompletedRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskCompletedRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskCompletedRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskCompletedRequest) GetIdentity

func (v *RespondActivityTaskCompletedRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedRequest) GetResult

func (v *RespondActivityTaskCompletedRequest) GetResult() (o []byte)

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedRequest) GetTaskToken

func (v *RespondActivityTaskCompletedRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondActivityTaskCompletedRequest) IsSetIdentity

func (v *RespondActivityTaskCompletedRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskCompletedRequest) IsSetResult

func (v *RespondActivityTaskCompletedRequest) IsSetResult() bool

IsSetResult returns true if Result is not nil.

func (*RespondActivityTaskCompletedRequest) IsSetTaskToken

func (v *RespondActivityTaskCompletedRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondActivityTaskCompletedRequest) MarshalLogObject

func (v *RespondActivityTaskCompletedRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskCompletedRequest.

func (*RespondActivityTaskCompletedRequest) String

String returns a readable string representation of a RespondActivityTaskCompletedRequest struct.

func (*RespondActivityTaskCompletedRequest) ToWire

ToWire translates a RespondActivityTaskCompletedRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskFailedByIDRequest

type RespondActivityTaskFailedByIDRequest struct {
	Domain     *string `json:"domain,omitempty"`
	WorkflowID *string `json:"workflowID,omitempty"`
	RunID      *string `json:"runID,omitempty"`
	ActivityID *string `json:"activityID,omitempty"`
	Reason     *string `json:"reason,omitempty"`
	Details    []byte  `json:"details,omitempty"`
	Identity   *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskFailedByIDRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskFailedByIDRequest match the provided RespondActivityTaskFailedByIDRequest.

This function performs a deep comparison.

func (*RespondActivityTaskFailedByIDRequest) FromWire

FromWire deserializes a RespondActivityTaskFailedByIDRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskFailedByIDRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskFailedByIDRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskFailedByIDRequest) GetActivityID

func (v *RespondActivityTaskFailedByIDRequest) GetActivityID() (o string)

GetActivityID returns the value of ActivityID if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetDetails

func (v *RespondActivityTaskFailedByIDRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetDomain

func (v *RespondActivityTaskFailedByIDRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetIdentity

func (v *RespondActivityTaskFailedByIDRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetReason

func (v *RespondActivityTaskFailedByIDRequest) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetRunID

func (v *RespondActivityTaskFailedByIDRequest) GetRunID() (o string)

GetRunID returns the value of RunID if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) GetWorkflowID

func (v *RespondActivityTaskFailedByIDRequest) GetWorkflowID() (o string)

GetWorkflowID returns the value of WorkflowID if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedByIDRequest) IsSetActivityID

func (v *RespondActivityTaskFailedByIDRequest) IsSetActivityID() bool

IsSetActivityID returns true if ActivityID is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetDetails

func (v *RespondActivityTaskFailedByIDRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetDomain

func (v *RespondActivityTaskFailedByIDRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetIdentity

func (v *RespondActivityTaskFailedByIDRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetReason

func (v *RespondActivityTaskFailedByIDRequest) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetRunID

IsSetRunID returns true if RunID is not nil.

func (*RespondActivityTaskFailedByIDRequest) IsSetWorkflowID

func (v *RespondActivityTaskFailedByIDRequest) IsSetWorkflowID() bool

IsSetWorkflowID returns true if WorkflowID is not nil.

func (*RespondActivityTaskFailedByIDRequest) MarshalLogObject

func (v *RespondActivityTaskFailedByIDRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskFailedByIDRequest.

func (*RespondActivityTaskFailedByIDRequest) String

String returns a readable string representation of a RespondActivityTaskFailedByIDRequest struct.

func (*RespondActivityTaskFailedByIDRequest) ToWire

ToWire translates a RespondActivityTaskFailedByIDRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondActivityTaskFailedRequest

type RespondActivityTaskFailedRequest struct {
	TaskToken []byte  `json:"taskToken,omitempty"`
	Reason    *string `json:"reason,omitempty"`
	Details   []byte  `json:"details,omitempty"`
	Identity  *string `json:"identity,omitempty"`
}

func (*RespondActivityTaskFailedRequest) Equals

Equals returns true if all the fields of this RespondActivityTaskFailedRequest match the provided RespondActivityTaskFailedRequest.

This function performs a deep comparison.

func (*RespondActivityTaskFailedRequest) FromWire

FromWire deserializes a RespondActivityTaskFailedRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondActivityTaskFailedRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondActivityTaskFailedRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondActivityTaskFailedRequest) GetDetails

func (v *RespondActivityTaskFailedRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedRequest) GetIdentity

func (v *RespondActivityTaskFailedRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedRequest) GetReason

func (v *RespondActivityTaskFailedRequest) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedRequest) GetTaskToken

func (v *RespondActivityTaskFailedRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondActivityTaskFailedRequest) IsSetDetails

func (v *RespondActivityTaskFailedRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RespondActivityTaskFailedRequest) IsSetIdentity

func (v *RespondActivityTaskFailedRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondActivityTaskFailedRequest) IsSetReason

func (v *RespondActivityTaskFailedRequest) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*RespondActivityTaskFailedRequest) IsSetTaskToken

func (v *RespondActivityTaskFailedRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondActivityTaskFailedRequest) MarshalLogObject

func (v *RespondActivityTaskFailedRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondActivityTaskFailedRequest.

func (*RespondActivityTaskFailedRequest) String

String returns a readable string representation of a RespondActivityTaskFailedRequest struct.

func (*RespondActivityTaskFailedRequest) ToWire

ToWire translates a RespondActivityTaskFailedRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondDecisionTaskCompletedRequest

type RespondDecisionTaskCompletedRequest struct {
	TaskToken                  []byte                     `json:"taskToken,omitempty"`
	Decisions                  []*Decision                `json:"decisions,omitempty"`
	ExecutionContext           []byte                     `json:"executionContext,omitempty"`
	Identity                   *string                    `json:"identity,omitempty"`
	StickyAttributes           *StickyExecutionAttributes `json:"stickyAttributes,omitempty"`
	ReturnNewDecisionTask      *bool                      `json:"returnNewDecisionTask,omitempty"`
	ForceCreateNewDecisionTask *bool                      `json:"forceCreateNewDecisionTask,omitempty"`
	BinaryChecksum             *string                    `json:"binaryChecksum,omitempty"`
	QueryResults               []*WorkflowQueryResult     `json:"queryResults,omitempty"`
}

func (*RespondDecisionTaskCompletedRequest) Equals

Equals returns true if all the fields of this RespondDecisionTaskCompletedRequest match the provided RespondDecisionTaskCompletedRequest.

This function performs a deep comparison.

func (*RespondDecisionTaskCompletedRequest) FromWire

FromWire deserializes a RespondDecisionTaskCompletedRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondDecisionTaskCompletedRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondDecisionTaskCompletedRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondDecisionTaskCompletedRequest) GetBinaryChecksum

func (v *RespondDecisionTaskCompletedRequest) GetBinaryChecksum() (o string)

GetBinaryChecksum returns the value of BinaryChecksum if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetDecisions

func (v *RespondDecisionTaskCompletedRequest) GetDecisions() (o []*Decision)

GetDecisions returns the value of Decisions if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetExecutionContext

func (v *RespondDecisionTaskCompletedRequest) GetExecutionContext() (o []byte)

GetExecutionContext returns the value of ExecutionContext if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetForceCreateNewDecisionTask

func (v *RespondDecisionTaskCompletedRequest) GetForceCreateNewDecisionTask() (o bool)

GetForceCreateNewDecisionTask returns the value of ForceCreateNewDecisionTask if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetIdentity

func (v *RespondDecisionTaskCompletedRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetQueryResults

func (v *RespondDecisionTaskCompletedRequest) GetQueryResults() (o []*WorkflowQueryResult)

GetQueryResults returns the value of QueryResults if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetReturnNewDecisionTask

func (v *RespondDecisionTaskCompletedRequest) GetReturnNewDecisionTask() (o bool)

GetReturnNewDecisionTask returns the value of ReturnNewDecisionTask if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetStickyAttributes

func (v *RespondDecisionTaskCompletedRequest) GetStickyAttributes() (o *StickyExecutionAttributes)

GetStickyAttributes returns the value of StickyAttributes if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) GetTaskToken

func (v *RespondDecisionTaskCompletedRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedRequest) IsSetBinaryChecksum

func (v *RespondDecisionTaskCompletedRequest) IsSetBinaryChecksum() bool

IsSetBinaryChecksum returns true if BinaryChecksum is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetDecisions

func (v *RespondDecisionTaskCompletedRequest) IsSetDecisions() bool

IsSetDecisions returns true if Decisions is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetExecutionContext

func (v *RespondDecisionTaskCompletedRequest) IsSetExecutionContext() bool

IsSetExecutionContext returns true if ExecutionContext is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetForceCreateNewDecisionTask

func (v *RespondDecisionTaskCompletedRequest) IsSetForceCreateNewDecisionTask() bool

IsSetForceCreateNewDecisionTask returns true if ForceCreateNewDecisionTask is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetIdentity

func (v *RespondDecisionTaskCompletedRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetQueryResults

func (v *RespondDecisionTaskCompletedRequest) IsSetQueryResults() bool

IsSetQueryResults returns true if QueryResults is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetReturnNewDecisionTask

func (v *RespondDecisionTaskCompletedRequest) IsSetReturnNewDecisionTask() bool

IsSetReturnNewDecisionTask returns true if ReturnNewDecisionTask is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetStickyAttributes

func (v *RespondDecisionTaskCompletedRequest) IsSetStickyAttributes() bool

IsSetStickyAttributes returns true if StickyAttributes is not nil.

func (*RespondDecisionTaskCompletedRequest) IsSetTaskToken

func (v *RespondDecisionTaskCompletedRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondDecisionTaskCompletedRequest) MarshalLogObject

func (v *RespondDecisionTaskCompletedRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondDecisionTaskCompletedRequest.

func (*RespondDecisionTaskCompletedRequest) String

String returns a readable string representation of a RespondDecisionTaskCompletedRequest struct.

func (*RespondDecisionTaskCompletedRequest) ToWire

ToWire translates a RespondDecisionTaskCompletedRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondDecisionTaskCompletedResponse

type RespondDecisionTaskCompletedResponse struct {
	DecisionTask *PollForDecisionTaskResponse `json:"decisionTask,omitempty"`
}

func (*RespondDecisionTaskCompletedResponse) Equals

Equals returns true if all the fields of this RespondDecisionTaskCompletedResponse match the provided RespondDecisionTaskCompletedResponse.

This function performs a deep comparison.

func (*RespondDecisionTaskCompletedResponse) FromWire

FromWire deserializes a RespondDecisionTaskCompletedResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondDecisionTaskCompletedResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondDecisionTaskCompletedResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondDecisionTaskCompletedResponse) GetDecisionTask

GetDecisionTask returns the value of DecisionTask if it is set or its zero value if it is unset.

func (*RespondDecisionTaskCompletedResponse) IsSetDecisionTask

func (v *RespondDecisionTaskCompletedResponse) IsSetDecisionTask() bool

IsSetDecisionTask returns true if DecisionTask is not nil.

func (*RespondDecisionTaskCompletedResponse) MarshalLogObject

func (v *RespondDecisionTaskCompletedResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondDecisionTaskCompletedResponse.

func (*RespondDecisionTaskCompletedResponse) String

String returns a readable string representation of a RespondDecisionTaskCompletedResponse struct.

func (*RespondDecisionTaskCompletedResponse) ToWire

ToWire translates a RespondDecisionTaskCompletedResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondDecisionTaskFailedRequest

type RespondDecisionTaskFailedRequest struct {
	TaskToken []byte                   `json:"taskToken,omitempty"`
	Cause     *DecisionTaskFailedCause `json:"cause,omitempty"`
	Details   []byte                   `json:"details,omitempty"`
	Identity  *string                  `json:"identity,omitempty"`
}

func (*RespondDecisionTaskFailedRequest) Equals

Equals returns true if all the fields of this RespondDecisionTaskFailedRequest match the provided RespondDecisionTaskFailedRequest.

This function performs a deep comparison.

func (*RespondDecisionTaskFailedRequest) FromWire

FromWire deserializes a RespondDecisionTaskFailedRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondDecisionTaskFailedRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondDecisionTaskFailedRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondDecisionTaskFailedRequest) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*RespondDecisionTaskFailedRequest) GetDetails

func (v *RespondDecisionTaskFailedRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*RespondDecisionTaskFailedRequest) GetIdentity

func (v *RespondDecisionTaskFailedRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*RespondDecisionTaskFailedRequest) GetTaskToken

func (v *RespondDecisionTaskFailedRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondDecisionTaskFailedRequest) IsSetCause

func (v *RespondDecisionTaskFailedRequest) IsSetCause() bool

IsSetCause returns true if Cause is not nil.

func (*RespondDecisionTaskFailedRequest) IsSetDetails

func (v *RespondDecisionTaskFailedRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*RespondDecisionTaskFailedRequest) IsSetIdentity

func (v *RespondDecisionTaskFailedRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*RespondDecisionTaskFailedRequest) IsSetTaskToken

func (v *RespondDecisionTaskFailedRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondDecisionTaskFailedRequest) MarshalLogObject

func (v *RespondDecisionTaskFailedRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondDecisionTaskFailedRequest.

func (*RespondDecisionTaskFailedRequest) String

String returns a readable string representation of a RespondDecisionTaskFailedRequest struct.

func (*RespondDecisionTaskFailedRequest) ToWire

ToWire translates a RespondDecisionTaskFailedRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RespondQueryTaskCompletedRequest

type RespondQueryTaskCompletedRequest struct {
	TaskToken     []byte                  `json:"taskToken,omitempty"`
	CompletedType *QueryTaskCompletedType `json:"completedType,omitempty"`
	QueryResult   []byte                  `json:"queryResult,omitempty"`
	ErrorMessage  *string                 `json:"errorMessage,omitempty"`
}

func (*RespondQueryTaskCompletedRequest) Equals

Equals returns true if all the fields of this RespondQueryTaskCompletedRequest match the provided RespondQueryTaskCompletedRequest.

This function performs a deep comparison.

func (*RespondQueryTaskCompletedRequest) FromWire

FromWire deserializes a RespondQueryTaskCompletedRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RespondQueryTaskCompletedRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RespondQueryTaskCompletedRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RespondQueryTaskCompletedRequest) GetCompletedType

func (v *RespondQueryTaskCompletedRequest) GetCompletedType() (o QueryTaskCompletedType)

GetCompletedType returns the value of CompletedType if it is set or its zero value if it is unset.

func (*RespondQueryTaskCompletedRequest) GetErrorMessage

func (v *RespondQueryTaskCompletedRequest) GetErrorMessage() (o string)

GetErrorMessage returns the value of ErrorMessage if it is set or its zero value if it is unset.

func (*RespondQueryTaskCompletedRequest) GetQueryResult

func (v *RespondQueryTaskCompletedRequest) GetQueryResult() (o []byte)

GetQueryResult returns the value of QueryResult if it is set or its zero value if it is unset.

func (*RespondQueryTaskCompletedRequest) GetTaskToken

func (v *RespondQueryTaskCompletedRequest) GetTaskToken() (o []byte)

GetTaskToken returns the value of TaskToken if it is set or its zero value if it is unset.

func (*RespondQueryTaskCompletedRequest) IsSetCompletedType

func (v *RespondQueryTaskCompletedRequest) IsSetCompletedType() bool

IsSetCompletedType returns true if CompletedType is not nil.

func (*RespondQueryTaskCompletedRequest) IsSetErrorMessage

func (v *RespondQueryTaskCompletedRequest) IsSetErrorMessage() bool

IsSetErrorMessage returns true if ErrorMessage is not nil.

func (*RespondQueryTaskCompletedRequest) IsSetQueryResult

func (v *RespondQueryTaskCompletedRequest) IsSetQueryResult() bool

IsSetQueryResult returns true if QueryResult is not nil.

func (*RespondQueryTaskCompletedRequest) IsSetTaskToken

func (v *RespondQueryTaskCompletedRequest) IsSetTaskToken() bool

IsSetTaskToken returns true if TaskToken is not nil.

func (*RespondQueryTaskCompletedRequest) MarshalLogObject

func (v *RespondQueryTaskCompletedRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RespondQueryTaskCompletedRequest.

func (*RespondQueryTaskCompletedRequest) String

String returns a readable string representation of a RespondQueryTaskCompletedRequest struct.

func (*RespondQueryTaskCompletedRequest) ToWire

ToWire translates a RespondQueryTaskCompletedRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RetryPolicy

type RetryPolicy struct {
	InitialIntervalInSeconds    *int32   `json:"initialIntervalInSeconds,omitempty"`
	BackoffCoefficient          *float64 `json:"backoffCoefficient,omitempty"`
	MaximumIntervalInSeconds    *int32   `json:"maximumIntervalInSeconds,omitempty"`
	MaximumAttempts             *int32   `json:"maximumAttempts,omitempty"`
	NonRetriableErrorReasons    []string `json:"nonRetriableErrorReasons,omitempty"`
	ExpirationIntervalInSeconds *int32   `json:"expirationIntervalInSeconds,omitempty"`
}

func (*RetryPolicy) Equals

func (v *RetryPolicy) Equals(rhs *RetryPolicy) bool

Equals returns true if all the fields of this RetryPolicy match the provided RetryPolicy.

This function performs a deep comparison.

func (*RetryPolicy) FromWire

func (v *RetryPolicy) FromWire(w wire.Value) error

FromWire deserializes a RetryPolicy struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RetryPolicy struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RetryPolicy
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RetryPolicy) GetBackoffCoefficient

func (v *RetryPolicy) GetBackoffCoefficient() (o float64)

GetBackoffCoefficient returns the value of BackoffCoefficient if it is set or its zero value if it is unset.

func (*RetryPolicy) GetExpirationIntervalInSeconds

func (v *RetryPolicy) GetExpirationIntervalInSeconds() (o int32)

GetExpirationIntervalInSeconds returns the value of ExpirationIntervalInSeconds if it is set or its zero value if it is unset.

func (*RetryPolicy) GetInitialIntervalInSeconds

func (v *RetryPolicy) GetInitialIntervalInSeconds() (o int32)

GetInitialIntervalInSeconds returns the value of InitialIntervalInSeconds if it is set or its zero value if it is unset.

func (*RetryPolicy) GetMaximumAttempts

func (v *RetryPolicy) GetMaximumAttempts() (o int32)

GetMaximumAttempts returns the value of MaximumAttempts if it is set or its zero value if it is unset.

func (*RetryPolicy) GetMaximumIntervalInSeconds

func (v *RetryPolicy) GetMaximumIntervalInSeconds() (o int32)

GetMaximumIntervalInSeconds returns the value of MaximumIntervalInSeconds if it is set or its zero value if it is unset.

func (*RetryPolicy) GetNonRetriableErrorReasons

func (v *RetryPolicy) GetNonRetriableErrorReasons() (o []string)

GetNonRetriableErrorReasons returns the value of NonRetriableErrorReasons if it is set or its zero value if it is unset.

func (*RetryPolicy) IsSetBackoffCoefficient

func (v *RetryPolicy) IsSetBackoffCoefficient() bool

IsSetBackoffCoefficient returns true if BackoffCoefficient is not nil.

func (*RetryPolicy) IsSetExpirationIntervalInSeconds

func (v *RetryPolicy) IsSetExpirationIntervalInSeconds() bool

IsSetExpirationIntervalInSeconds returns true if ExpirationIntervalInSeconds is not nil.

func (*RetryPolicy) IsSetInitialIntervalInSeconds

func (v *RetryPolicy) IsSetInitialIntervalInSeconds() bool

IsSetInitialIntervalInSeconds returns true if InitialIntervalInSeconds is not nil.

func (*RetryPolicy) IsSetMaximumAttempts

func (v *RetryPolicy) IsSetMaximumAttempts() bool

IsSetMaximumAttempts returns true if MaximumAttempts is not nil.

func (*RetryPolicy) IsSetMaximumIntervalInSeconds

func (v *RetryPolicy) IsSetMaximumIntervalInSeconds() bool

IsSetMaximumIntervalInSeconds returns true if MaximumIntervalInSeconds is not nil.

func (*RetryPolicy) IsSetNonRetriableErrorReasons

func (v *RetryPolicy) IsSetNonRetriableErrorReasons() bool

IsSetNonRetriableErrorReasons returns true if NonRetriableErrorReasons is not nil.

func (*RetryPolicy) MarshalLogObject

func (v *RetryPolicy) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RetryPolicy.

func (*RetryPolicy) String

func (v *RetryPolicy) String() string

String returns a readable string representation of a RetryPolicy struct.

func (*RetryPolicy) ToWire

func (v *RetryPolicy) ToWire() (wire.Value, error)

ToWire translates a RetryPolicy struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type RetryTaskError

type RetryTaskError struct {
	Message     string  `json:"message,required"`
	DomainId    *string `json:"domainId,omitempty"`
	WorkflowId  *string `json:"workflowId,omitempty"`
	RunId       *string `json:"runId,omitempty"`
	NextEventId *int64  `json:"nextEventId,omitempty"`
}

func (*RetryTaskError) Equals

func (v *RetryTaskError) Equals(rhs *RetryTaskError) bool

Equals returns true if all the fields of this RetryTaskError match the provided RetryTaskError.

This function performs a deep comparison.

func (*RetryTaskError) Error

func (v *RetryTaskError) Error() string

func (*RetryTaskError) ErrorName

func (*RetryTaskError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*RetryTaskError) FromWire

func (v *RetryTaskError) FromWire(w wire.Value) error

FromWire deserializes a RetryTaskError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RetryTaskError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RetryTaskError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RetryTaskError) GetDomainId

func (v *RetryTaskError) GetDomainId() (o string)

GetDomainId returns the value of DomainId if it is set or its zero value if it is unset.

func (*RetryTaskError) GetMessage

func (v *RetryTaskError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*RetryTaskError) GetNextEventId

func (v *RetryTaskError) GetNextEventId() (o int64)

GetNextEventId returns the value of NextEventId if it is set or its zero value if it is unset.

func (*RetryTaskError) GetRunId

func (v *RetryTaskError) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*RetryTaskError) GetWorkflowId

func (v *RetryTaskError) GetWorkflowId() (o string)

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*RetryTaskError) IsSetDomainId

func (v *RetryTaskError) IsSetDomainId() bool

IsSetDomainId returns true if DomainId is not nil.

func (*RetryTaskError) IsSetNextEventId

func (v *RetryTaskError) IsSetNextEventId() bool

IsSetNextEventId returns true if NextEventId is not nil.

func (*RetryTaskError) IsSetRunId

func (v *RetryTaskError) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*RetryTaskError) IsSetWorkflowId

func (v *RetryTaskError) IsSetWorkflowId() bool

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*RetryTaskError) MarshalLogObject

func (v *RetryTaskError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RetryTaskError.

func (*RetryTaskError) String

func (v *RetryTaskError) String() string

String returns a readable string representation of a RetryTaskError struct.

func (*RetryTaskError) ToWire

func (v *RetryTaskError) ToWire() (wire.Value, error)

ToWire translates a RetryTaskError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ScheduleActivityTaskDecisionAttributes

type ScheduleActivityTaskDecisionAttributes struct {
	ActivityId                    *string       `json:"activityId,omitempty"`
	ActivityType                  *ActivityType `json:"activityType,omitempty"`
	Domain                        *string       `json:"domain,omitempty"`
	TaskList                      *TaskList     `json:"taskList,omitempty"`
	Input                         []byte        `json:"input,omitempty"`
	ScheduleToCloseTimeoutSeconds *int32        `json:"scheduleToCloseTimeoutSeconds,omitempty"`
	ScheduleToStartTimeoutSeconds *int32        `json:"scheduleToStartTimeoutSeconds,omitempty"`
	StartToCloseTimeoutSeconds    *int32        `json:"startToCloseTimeoutSeconds,omitempty"`
	HeartbeatTimeoutSeconds       *int32        `json:"heartbeatTimeoutSeconds,omitempty"`
	RetryPolicy                   *RetryPolicy  `json:"retryPolicy,omitempty"`
	Header                        *Header       `json:"header,omitempty"`
}

func (*ScheduleActivityTaskDecisionAttributes) Equals

Equals returns true if all the fields of this ScheduleActivityTaskDecisionAttributes match the provided ScheduleActivityTaskDecisionAttributes.

This function performs a deep comparison.

func (*ScheduleActivityTaskDecisionAttributes) FromWire

FromWire deserializes a ScheduleActivityTaskDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ScheduleActivityTaskDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ScheduleActivityTaskDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ScheduleActivityTaskDecisionAttributes) GetActivityId

func (v *ScheduleActivityTaskDecisionAttributes) GetActivityId() (o string)

GetActivityId returns the value of ActivityId if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetActivityType

func (v *ScheduleActivityTaskDecisionAttributes) GetActivityType() (o *ActivityType)

GetActivityType returns the value of ActivityType if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetHeader

func (v *ScheduleActivityTaskDecisionAttributes) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetHeartbeatTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) GetHeartbeatTimeoutSeconds() (o int32)

GetHeartbeatTimeoutSeconds returns the value of HeartbeatTimeoutSeconds if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetInput

func (v *ScheduleActivityTaskDecisionAttributes) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetRetryPolicy

func (v *ScheduleActivityTaskDecisionAttributes) GetRetryPolicy() (o *RetryPolicy)

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetScheduleToCloseTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) GetScheduleToCloseTimeoutSeconds() (o int32)

GetScheduleToCloseTimeoutSeconds returns the value of ScheduleToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetScheduleToStartTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) GetScheduleToStartTimeoutSeconds() (o int32)

GetScheduleToStartTimeoutSeconds returns the value of ScheduleToStartTimeoutSeconds if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetStartToCloseTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) GetStartToCloseTimeoutSeconds() (o int32)

GetStartToCloseTimeoutSeconds returns the value of StartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) GetTaskList

func (v *ScheduleActivityTaskDecisionAttributes) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*ScheduleActivityTaskDecisionAttributes) IsSetActivityId

func (v *ScheduleActivityTaskDecisionAttributes) IsSetActivityId() bool

IsSetActivityId returns true if ActivityId is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetActivityType

func (v *ScheduleActivityTaskDecisionAttributes) IsSetActivityType() bool

IsSetActivityType returns true if ActivityType is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetHeartbeatTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) IsSetHeartbeatTimeoutSeconds() bool

IsSetHeartbeatTimeoutSeconds returns true if HeartbeatTimeoutSeconds is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetRetryPolicy

func (v *ScheduleActivityTaskDecisionAttributes) IsSetRetryPolicy() bool

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetScheduleToCloseTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) IsSetScheduleToCloseTimeoutSeconds() bool

IsSetScheduleToCloseTimeoutSeconds returns true if ScheduleToCloseTimeoutSeconds is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetScheduleToStartTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) IsSetScheduleToStartTimeoutSeconds() bool

IsSetScheduleToStartTimeoutSeconds returns true if ScheduleToStartTimeoutSeconds is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetStartToCloseTimeoutSeconds

func (v *ScheduleActivityTaskDecisionAttributes) IsSetStartToCloseTimeoutSeconds() bool

IsSetStartToCloseTimeoutSeconds returns true if StartToCloseTimeoutSeconds is not nil.

func (*ScheduleActivityTaskDecisionAttributes) IsSetTaskList

func (v *ScheduleActivityTaskDecisionAttributes) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*ScheduleActivityTaskDecisionAttributes) MarshalLogObject

func (v *ScheduleActivityTaskDecisionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ScheduleActivityTaskDecisionAttributes.

func (*ScheduleActivityTaskDecisionAttributes) String

String returns a readable string representation of a ScheduleActivityTaskDecisionAttributes struct.

func (*ScheduleActivityTaskDecisionAttributes) ToWire

ToWire translates a ScheduleActivityTaskDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SearchAttributes

type SearchAttributes struct {
	IndexedFields map[string][]byte `json:"indexedFields,omitempty"`
}

func (*SearchAttributes) Equals

func (v *SearchAttributes) Equals(rhs *SearchAttributes) bool

Equals returns true if all the fields of this SearchAttributes match the provided SearchAttributes.

This function performs a deep comparison.

func (*SearchAttributes) FromWire

func (v *SearchAttributes) FromWire(w wire.Value) error

FromWire deserializes a SearchAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SearchAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SearchAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SearchAttributes) GetIndexedFields

func (v *SearchAttributes) GetIndexedFields() (o map[string][]byte)

GetIndexedFields returns the value of IndexedFields if it is set or its zero value if it is unset.

func (*SearchAttributes) IsSetIndexedFields

func (v *SearchAttributes) IsSetIndexedFields() bool

IsSetIndexedFields returns true if IndexedFields is not nil.

func (*SearchAttributes) MarshalLogObject

func (v *SearchAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SearchAttributes.

func (*SearchAttributes) String

func (v *SearchAttributes) String() string

String returns a readable string representation of a SearchAttributes struct.

func (*SearchAttributes) ToWire

func (v *SearchAttributes) ToWire() (wire.Value, error)

ToWire translates a SearchAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type ServiceBusyError

type ServiceBusyError struct {
	Message string `json:"message,required"`
}

func (*ServiceBusyError) Equals

func (v *ServiceBusyError) Equals(rhs *ServiceBusyError) bool

Equals returns true if all the fields of this ServiceBusyError match the provided ServiceBusyError.

This function performs a deep comparison.

func (*ServiceBusyError) Error

func (v *ServiceBusyError) Error() string

func (*ServiceBusyError) ErrorName

func (*ServiceBusyError) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*ServiceBusyError) FromWire

func (v *ServiceBusyError) FromWire(w wire.Value) error

FromWire deserializes a ServiceBusyError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ServiceBusyError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ServiceBusyError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ServiceBusyError) GetMessage

func (v *ServiceBusyError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*ServiceBusyError) MarshalLogObject

func (v *ServiceBusyError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ServiceBusyError.

func (*ServiceBusyError) String

func (v *ServiceBusyError) String() string

String returns a readable string representation of a ServiceBusyError struct.

func (*ServiceBusyError) ToWire

func (v *ServiceBusyError) ToWire() (wire.Value, error)

ToWire translates a ServiceBusyError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SignalExternalWorkflowExecutionDecisionAttributes

type SignalExternalWorkflowExecutionDecisionAttributes struct {
	Domain            *string            `json:"domain,omitempty"`
	Execution         *WorkflowExecution `json:"execution,omitempty"`
	SignalName        *string            `json:"signalName,omitempty"`
	Input             []byte             `json:"input,omitempty"`
	Control           []byte             `json:"control,omitempty"`
	ChildWorkflowOnly *bool              `json:"childWorkflowOnly,omitempty"`
}

func (*SignalExternalWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this SignalExternalWorkflowExecutionDecisionAttributes match the provided SignalExternalWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*SignalExternalWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a SignalExternalWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SignalExternalWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SignalExternalWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly

func (v *SignalExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() (o bool)

GetChildWorkflowOnly returns the value of ChildWorkflowOnly if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetExecution

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) GetSignalName

GetSignalName returns the value of SignalName if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetChildWorkflowOnly

func (v *SignalExternalWorkflowExecutionDecisionAttributes) IsSetChildWorkflowOnly() bool

IsSetChildWorkflowOnly returns true if ChildWorkflowOnly is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetExecution

IsSetExecution returns true if Execution is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) IsSetSignalName

IsSetSignalName returns true if SignalName is not nil.

func (*SignalExternalWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalExternalWorkflowExecutionDecisionAttributes.

func (*SignalExternalWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a SignalExternalWorkflowExecutionDecisionAttributes struct.

func (*SignalExternalWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a SignalExternalWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SignalExternalWorkflowExecutionFailedCause

type SignalExternalWorkflowExecutionFailedCause int32
const (
	SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution SignalExternalWorkflowExecutionFailedCause = 0
)

func SignalExternalWorkflowExecutionFailedCause_Values

func SignalExternalWorkflowExecutionFailedCause_Values() []SignalExternalWorkflowExecutionFailedCause

SignalExternalWorkflowExecutionFailedCause_Values returns all recognized values of SignalExternalWorkflowExecutionFailedCause.

func (SignalExternalWorkflowExecutionFailedCause) Equals

Equals returns true if this SignalExternalWorkflowExecutionFailedCause value matches the provided value.

func (*SignalExternalWorkflowExecutionFailedCause) FromWire

FromWire deserializes SignalExternalWorkflowExecutionFailedCause from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return SignalExternalWorkflowExecutionFailedCause(0), err
}

var v SignalExternalWorkflowExecutionFailedCause
if err := v.FromWire(x); err != nil {
  return SignalExternalWorkflowExecutionFailedCause(0), err
}
return v, nil

func (SignalExternalWorkflowExecutionFailedCause) MarshalJSON

MarshalJSON serializes SignalExternalWorkflowExecutionFailedCause into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (SignalExternalWorkflowExecutionFailedCause) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalExternalWorkflowExecutionFailedCause. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (SignalExternalWorkflowExecutionFailedCause) MarshalText

MarshalText encodes SignalExternalWorkflowExecutionFailedCause to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (SignalExternalWorkflowExecutionFailedCause) Ptr

Ptr returns a pointer to this enum value.

func (SignalExternalWorkflowExecutionFailedCause) String

String returns a readable string representation of SignalExternalWorkflowExecutionFailedCause.

func (SignalExternalWorkflowExecutionFailedCause) ToWire

ToWire translates SignalExternalWorkflowExecutionFailedCause into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*SignalExternalWorkflowExecutionFailedCause) UnmarshalJSON

func (v *SignalExternalWorkflowExecutionFailedCause) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode SignalExternalWorkflowExecutionFailedCause from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*SignalExternalWorkflowExecutionFailedCause) UnmarshalText

func (v *SignalExternalWorkflowExecutionFailedCause) UnmarshalText(value []byte) error

UnmarshalText tries to decode SignalExternalWorkflowExecutionFailedCause from a byte slice containing its name.

var v SignalExternalWorkflowExecutionFailedCause
err := v.UnmarshalText([]byte("UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"))

type SignalExternalWorkflowExecutionFailedEventAttributes

type SignalExternalWorkflowExecutionFailedEventAttributes struct {
	Cause                        *SignalExternalWorkflowExecutionFailedCause `json:"cause,omitempty"`
	DecisionTaskCompletedEventId *int64                                      `json:"decisionTaskCompletedEventId,omitempty"`
	Domain                       *string                                     `json:"domain,omitempty"`
	WorkflowExecution            *WorkflowExecution                          `json:"workflowExecution,omitempty"`
	InitiatedEventId             *int64                                      `json:"initiatedEventId,omitempty"`
	Control                      []byte                                      `json:"control,omitempty"`
}

func (*SignalExternalWorkflowExecutionFailedEventAttributes) Equals

Equals returns true if all the fields of this SignalExternalWorkflowExecutionFailedEventAttributes match the provided SignalExternalWorkflowExecutionFailedEventAttributes.

This function performs a deep comparison.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) FromWire

FromWire deserializes a SignalExternalWorkflowExecutionFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SignalExternalWorkflowExecutionFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SignalExternalWorkflowExecutionFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *SignalExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId

func (v *SignalExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetCause

IsSetCause returns true if Cause is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *SignalExternalWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) IsSetWorkflowExecution

func (v *SignalExternalWorkflowExecutionFailedEventAttributes) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalExternalWorkflowExecutionFailedEventAttributes.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) String

String returns a readable string representation of a SignalExternalWorkflowExecutionFailedEventAttributes struct.

func (*SignalExternalWorkflowExecutionFailedEventAttributes) ToWire

ToWire translates a SignalExternalWorkflowExecutionFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SignalExternalWorkflowExecutionInitiatedEventAttributes

type SignalExternalWorkflowExecutionInitiatedEventAttributes struct {
	DecisionTaskCompletedEventId *int64             `json:"decisionTaskCompletedEventId,omitempty"`
	Domain                       *string            `json:"domain,omitempty"`
	WorkflowExecution            *WorkflowExecution `json:"workflowExecution,omitempty"`
	SignalName                   *string            `json:"signalName,omitempty"`
	Input                        []byte             `json:"input,omitempty"`
	Control                      []byte             `json:"control,omitempty"`
	ChildWorkflowOnly            *bool              `json:"childWorkflowOnly,omitempty"`
}

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) Equals

Equals returns true if all the fields of this SignalExternalWorkflowExecutionInitiatedEventAttributes match the provided SignalExternalWorkflowExecutionInitiatedEventAttributes.

This function performs a deep comparison.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) FromWire

FromWire deserializes a SignalExternalWorkflowExecutionInitiatedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SignalExternalWorkflowExecutionInitiatedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SignalExternalWorkflowExecutionInitiatedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly

func (v *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly() (o bool)

GetChildWorkflowOnly returns the value of ChildWorkflowOnly if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId

func (v *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetSignalName

GetSignalName returns the value of SignalName if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetChildWorkflowOnly

IsSetChildWorkflowOnly returns true if ChildWorkflowOnly is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetSignalName

IsSetSignalName returns true if SignalName is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowExecution

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalExternalWorkflowExecutionInitiatedEventAttributes.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) String

String returns a readable string representation of a SignalExternalWorkflowExecutionInitiatedEventAttributes struct.

func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) ToWire

ToWire translates a SignalExternalWorkflowExecutionInitiatedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SignalWithStartWorkflowExecutionRequest

type SignalWithStartWorkflowExecutionRequest struct {
	Domain                              *string                `json:"domain,omitempty"`
	WorkflowId                          *string                `json:"workflowId,omitempty"`
	WorkflowType                        *WorkflowType          `json:"workflowType,omitempty"`
	TaskList                            *TaskList              `json:"taskList,omitempty"`
	Input                               []byte                 `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                 `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                 `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	Identity                            *string                `json:"identity,omitempty"`
	RequestId                           *string                `json:"requestId,omitempty"`
	WorkflowIdReusePolicy               *WorkflowIdReusePolicy `json:"workflowIdReusePolicy,omitempty"`
	SignalName                          *string                `json:"signalName,omitempty"`
	SignalInput                         []byte                 `json:"signalInput,omitempty"`
	Control                             []byte                 `json:"control,omitempty"`
	RetryPolicy                         *RetryPolicy           `json:"retryPolicy,omitempty"`
	CronSchedule                        *string                `json:"cronSchedule,omitempty"`
	Memo                                *Memo                  `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes      `json:"searchAttributes,omitempty"`
	Header                              *Header                `json:"header,omitempty"`
}

func (*SignalWithStartWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this SignalWithStartWorkflowExecutionRequest match the provided SignalWithStartWorkflowExecutionRequest.

This function performs a deep comparison.

func (*SignalWithStartWorkflowExecutionRequest) FromWire

FromWire deserializes a SignalWithStartWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SignalWithStartWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SignalWithStartWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SignalWithStartWorkflowExecutionRequest) GetControl

func (v *SignalWithStartWorkflowExecutionRequest) GetControl() (o []byte)

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetCronSchedule

func (v *SignalWithStartWorkflowExecutionRequest) GetCronSchedule() (o string)

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetExecutionStartToCloseTimeoutSeconds

func (v *SignalWithStartWorkflowExecutionRequest) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetHeader

func (v *SignalWithStartWorkflowExecutionRequest) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetIdentity

func (v *SignalWithStartWorkflowExecutionRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetInput

func (v *SignalWithStartWorkflowExecutionRequest) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetRequestId

func (v *SignalWithStartWorkflowExecutionRequest) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetRetryPolicy

func (v *SignalWithStartWorkflowExecutionRequest) GetRetryPolicy() (o *RetryPolicy)

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetSearchAttributes

func (v *SignalWithStartWorkflowExecutionRequest) GetSearchAttributes() (o *SearchAttributes)

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetSignalInput

func (v *SignalWithStartWorkflowExecutionRequest) GetSignalInput() (o []byte)

GetSignalInput returns the value of SignalInput if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetSignalName

func (v *SignalWithStartWorkflowExecutionRequest) GetSignalName() (o string)

GetSignalName returns the value of SignalName if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetTaskList

func (v *SignalWithStartWorkflowExecutionRequest) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetTaskStartToCloseTimeoutSeconds

func (v *SignalWithStartWorkflowExecutionRequest) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetWorkflowId

func (v *SignalWithStartWorkflowExecutionRequest) GetWorkflowId() (o string)

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetWorkflowIdReusePolicy

func (v *SignalWithStartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() (o WorkflowIdReusePolicy)

GetWorkflowIdReusePolicy returns the value of WorkflowIdReusePolicy if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) GetWorkflowType

func (v *SignalWithStartWorkflowExecutionRequest) GetWorkflowType() (o *WorkflowType)

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*SignalWithStartWorkflowExecutionRequest) IsSetControl

IsSetControl returns true if Control is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetCronSchedule

func (v *SignalWithStartWorkflowExecutionRequest) IsSetCronSchedule() bool

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetExecutionStartToCloseTimeoutSeconds

func (v *SignalWithStartWorkflowExecutionRequest) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetIdentity

func (v *SignalWithStartWorkflowExecutionRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetInput

IsSetInput returns true if Input is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetRequestId

func (v *SignalWithStartWorkflowExecutionRequest) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetRetryPolicy

func (v *SignalWithStartWorkflowExecutionRequest) IsSetRetryPolicy() bool

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetSearchAttributes

func (v *SignalWithStartWorkflowExecutionRequest) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetSignalInput

func (v *SignalWithStartWorkflowExecutionRequest) IsSetSignalInput() bool

IsSetSignalInput returns true if SignalInput is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetSignalName

func (v *SignalWithStartWorkflowExecutionRequest) IsSetSignalName() bool

IsSetSignalName returns true if SignalName is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetTaskList

func (v *SignalWithStartWorkflowExecutionRequest) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetTaskStartToCloseTimeoutSeconds

func (v *SignalWithStartWorkflowExecutionRequest) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetWorkflowId

func (v *SignalWithStartWorkflowExecutionRequest) IsSetWorkflowId() bool

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetWorkflowIdReusePolicy

func (v *SignalWithStartWorkflowExecutionRequest) IsSetWorkflowIdReusePolicy() bool

IsSetWorkflowIdReusePolicy returns true if WorkflowIdReusePolicy is not nil.

func (*SignalWithStartWorkflowExecutionRequest) IsSetWorkflowType

func (v *SignalWithStartWorkflowExecutionRequest) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*SignalWithStartWorkflowExecutionRequest) MarshalLogObject

func (v *SignalWithStartWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalWithStartWorkflowExecutionRequest.

func (*SignalWithStartWorkflowExecutionRequest) String

String returns a readable string representation of a SignalWithStartWorkflowExecutionRequest struct.

func (*SignalWithStartWorkflowExecutionRequest) ToWire

ToWire translates a SignalWithStartWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type SignalWorkflowExecutionRequest

type SignalWorkflowExecutionRequest struct {
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	SignalName        *string            `json:"signalName,omitempty"`
	Input             []byte             `json:"input,omitempty"`
	Identity          *string            `json:"identity,omitempty"`
	RequestId         *string            `json:"requestId,omitempty"`
	Control           []byte             `json:"control,omitempty"`
}

func (*SignalWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this SignalWorkflowExecutionRequest match the provided SignalWorkflowExecutionRequest.

This function performs a deep comparison.

func (*SignalWorkflowExecutionRequest) FromWire

FromWire deserializes a SignalWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a SignalWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v SignalWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*SignalWorkflowExecutionRequest) GetControl

func (v *SignalWorkflowExecutionRequest) GetControl() (o []byte)

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetDomain

func (v *SignalWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetIdentity

func (v *SignalWorkflowExecutionRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetInput

func (v *SignalWorkflowExecutionRequest) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetRequestId

func (v *SignalWorkflowExecutionRequest) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetSignalName

func (v *SignalWorkflowExecutionRequest) GetSignalName() (o string)

GetSignalName returns the value of SignalName if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) GetWorkflowExecution

func (v *SignalWorkflowExecutionRequest) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*SignalWorkflowExecutionRequest) IsSetControl

func (v *SignalWorkflowExecutionRequest) IsSetControl() bool

IsSetControl returns true if Control is not nil.

func (*SignalWorkflowExecutionRequest) IsSetDomain

func (v *SignalWorkflowExecutionRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*SignalWorkflowExecutionRequest) IsSetIdentity

func (v *SignalWorkflowExecutionRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*SignalWorkflowExecutionRequest) IsSetInput

func (v *SignalWorkflowExecutionRequest) IsSetInput() bool

IsSetInput returns true if Input is not nil.

func (*SignalWorkflowExecutionRequest) IsSetRequestId

func (v *SignalWorkflowExecutionRequest) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*SignalWorkflowExecutionRequest) IsSetSignalName

func (v *SignalWorkflowExecutionRequest) IsSetSignalName() bool

IsSetSignalName returns true if SignalName is not nil.

func (*SignalWorkflowExecutionRequest) IsSetWorkflowExecution

func (v *SignalWorkflowExecutionRequest) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*SignalWorkflowExecutionRequest) MarshalLogObject

func (v *SignalWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SignalWorkflowExecutionRequest.

func (*SignalWorkflowExecutionRequest) String

String returns a readable string representation of a SignalWorkflowExecutionRequest struct.

func (*SignalWorkflowExecutionRequest) ToWire

ToWire translates a SignalWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartChildWorkflowExecutionDecisionAttributes

type StartChildWorkflowExecutionDecisionAttributes struct {
	Domain                              *string                `json:"domain,omitempty"`
	WorkflowId                          *string                `json:"workflowId,omitempty"`
	WorkflowType                        *WorkflowType          `json:"workflowType,omitempty"`
	TaskList                            *TaskList              `json:"taskList,omitempty"`
	Input                               []byte                 `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                 `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                 `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	ParentClosePolicy                   *ParentClosePolicy     `json:"parentClosePolicy,omitempty"`
	Control                             []byte                 `json:"control,omitempty"`
	WorkflowIdReusePolicy               *WorkflowIdReusePolicy `json:"workflowIdReusePolicy,omitempty"`
	RetryPolicy                         *RetryPolicy           `json:"retryPolicy,omitempty"`
	CronSchedule                        *string                `json:"cronSchedule,omitempty"`
	Header                              *Header                `json:"header,omitempty"`
	Memo                                *Memo                  `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes      `json:"searchAttributes,omitempty"`
}

func (*StartChildWorkflowExecutionDecisionAttributes) Equals

Equals returns true if all the fields of this StartChildWorkflowExecutionDecisionAttributes match the provided StartChildWorkflowExecutionDecisionAttributes.

This function performs a deep comparison.

func (*StartChildWorkflowExecutionDecisionAttributes) FromWire

FromWire deserializes a StartChildWorkflowExecutionDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartChildWorkflowExecutionDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartChildWorkflowExecutionDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartChildWorkflowExecutionDecisionAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetCronSchedule

func (v *StartChildWorkflowExecutionDecisionAttributes) GetCronSchedule() (o string)

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetHeader

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetParentClosePolicy

GetParentClosePolicy returns the value of ParentClosePolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetRetryPolicy

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetTaskList

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetWorkflowId

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetWorkflowIdReusePolicy

func (v *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowIdReusePolicy() (o WorkflowIdReusePolicy)

GetWorkflowIdReusePolicy returns the value of WorkflowIdReusePolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetCronSchedule

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetCronSchedule() bool

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetExecutionStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetParentClosePolicy

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetParentClosePolicy() bool

IsSetParentClosePolicy returns true if ParentClosePolicy is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetRetryPolicy

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetSearchAttributes

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetTaskList

IsSetTaskList returns true if TaskList is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetTaskStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetWorkflowId

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetWorkflowIdReusePolicy

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetWorkflowIdReusePolicy() bool

IsSetWorkflowIdReusePolicy returns true if WorkflowIdReusePolicy is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) IsSetWorkflowType

func (v *StartChildWorkflowExecutionDecisionAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*StartChildWorkflowExecutionDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartChildWorkflowExecutionDecisionAttributes.

func (*StartChildWorkflowExecutionDecisionAttributes) String

String returns a readable string representation of a StartChildWorkflowExecutionDecisionAttributes struct.

func (*StartChildWorkflowExecutionDecisionAttributes) ToWire

ToWire translates a StartChildWorkflowExecutionDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartChildWorkflowExecutionFailedEventAttributes

type StartChildWorkflowExecutionFailedEventAttributes struct {
	Domain                       *string                            `json:"domain,omitempty"`
	WorkflowId                   *string                            `json:"workflowId,omitempty"`
	WorkflowType                 *WorkflowType                      `json:"workflowType,omitempty"`
	Cause                        *ChildWorkflowExecutionFailedCause `json:"cause,omitempty"`
	Control                      []byte                             `json:"control,omitempty"`
	InitiatedEventId             *int64                             `json:"initiatedEventId,omitempty"`
	DecisionTaskCompletedEventId *int64                             `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*StartChildWorkflowExecutionFailedEventAttributes) Equals

Equals returns true if all the fields of this StartChildWorkflowExecutionFailedEventAttributes match the provided StartChildWorkflowExecutionFailedEventAttributes.

This function performs a deep comparison.

func (*StartChildWorkflowExecutionFailedEventAttributes) FromWire

FromWire deserializes a StartChildWorkflowExecutionFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartChildWorkflowExecutionFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartChildWorkflowExecutionFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartChildWorkflowExecutionFailedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *StartChildWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId

func (v *StartChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() (o int64)

GetInitiatedEventId returns the value of InitiatedEventId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowId

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetCause

IsSetCause returns true if Cause is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *StartChildWorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId

func (v *StartChildWorkflowExecutionFailedEventAttributes) IsSetInitiatedEventId() bool

IsSetInitiatedEventId returns true if InitiatedEventId is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowId

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*StartChildWorkflowExecutionFailedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartChildWorkflowExecutionFailedEventAttributes.

func (*StartChildWorkflowExecutionFailedEventAttributes) String

String returns a readable string representation of a StartChildWorkflowExecutionFailedEventAttributes struct.

func (*StartChildWorkflowExecutionFailedEventAttributes) ToWire

ToWire translates a StartChildWorkflowExecutionFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartChildWorkflowExecutionInitiatedEventAttributes

type StartChildWorkflowExecutionInitiatedEventAttributes struct {
	Domain                              *string                `json:"domain,omitempty"`
	WorkflowId                          *string                `json:"workflowId,omitempty"`
	WorkflowType                        *WorkflowType          `json:"workflowType,omitempty"`
	TaskList                            *TaskList              `json:"taskList,omitempty"`
	Input                               []byte                 `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                 `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                 `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	ParentClosePolicy                   *ParentClosePolicy     `json:"parentClosePolicy,omitempty"`
	Control                             []byte                 `json:"control,omitempty"`
	DecisionTaskCompletedEventId        *int64                 `json:"decisionTaskCompletedEventId,omitempty"`
	WorkflowIdReusePolicy               *WorkflowIdReusePolicy `json:"workflowIdReusePolicy,omitempty"`
	RetryPolicy                         *RetryPolicy           `json:"retryPolicy,omitempty"`
	CronSchedule                        *string                `json:"cronSchedule,omitempty"`
	Header                              *Header                `json:"header,omitempty"`
	Memo                                *Memo                  `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes      `json:"searchAttributes,omitempty"`
}

func (*StartChildWorkflowExecutionInitiatedEventAttributes) Equals

Equals returns true if all the fields of this StartChildWorkflowExecutionInitiatedEventAttributes match the provided StartChildWorkflowExecutionInitiatedEventAttributes.

This function performs a deep comparison.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) FromWire

FromWire deserializes a StartChildWorkflowExecutionInitiatedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartChildWorkflowExecutionInitiatedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartChildWorkflowExecutionInitiatedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetControl

GetControl returns the value of Control if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetCronSchedule

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetDomain

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetExecutionStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetHeader

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetParentClosePolicy

GetParentClosePolicy returns the value of ParentClosePolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetRetryPolicy

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskList

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowId

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowIdReusePolicy

GetWorkflowIdReusePolicy returns the value of WorkflowIdReusePolicy if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetControl

IsSetControl returns true if Control is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetCronSchedule

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetDomain

IsSetDomain returns true if Domain is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetParentClosePolicy

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetParentClosePolicy() bool

IsSetParentClosePolicy returns true if ParentClosePolicy is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetRetryPolicy

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetSearchAttributes

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetTaskList

IsSetTaskList returns true if TaskList is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetTaskStartToCloseTimeoutSeconds

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowId

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowIdReusePolicy

func (v *StartChildWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowIdReusePolicy() bool

IsSetWorkflowIdReusePolicy returns true if WorkflowIdReusePolicy is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartChildWorkflowExecutionInitiatedEventAttributes.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) String

String returns a readable string representation of a StartChildWorkflowExecutionInitiatedEventAttributes struct.

func (*StartChildWorkflowExecutionInitiatedEventAttributes) ToWire

ToWire translates a StartChildWorkflowExecutionInitiatedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartTimeFilter

type StartTimeFilter struct {
	EarliestTime *int64 `json:"earliestTime,omitempty"`
	LatestTime   *int64 `json:"latestTime,omitempty"`
}

func (*StartTimeFilter) Equals

func (v *StartTimeFilter) Equals(rhs *StartTimeFilter) bool

Equals returns true if all the fields of this StartTimeFilter match the provided StartTimeFilter.

This function performs a deep comparison.

func (*StartTimeFilter) FromWire

func (v *StartTimeFilter) FromWire(w wire.Value) error

FromWire deserializes a StartTimeFilter struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartTimeFilter struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartTimeFilter
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartTimeFilter) GetEarliestTime

func (v *StartTimeFilter) GetEarliestTime() (o int64)

GetEarliestTime returns the value of EarliestTime if it is set or its zero value if it is unset.

func (*StartTimeFilter) GetLatestTime

func (v *StartTimeFilter) GetLatestTime() (o int64)

GetLatestTime returns the value of LatestTime if it is set or its zero value if it is unset.

func (*StartTimeFilter) IsSetEarliestTime

func (v *StartTimeFilter) IsSetEarliestTime() bool

IsSetEarliestTime returns true if EarliestTime is not nil.

func (*StartTimeFilter) IsSetLatestTime

func (v *StartTimeFilter) IsSetLatestTime() bool

IsSetLatestTime returns true if LatestTime is not nil.

func (*StartTimeFilter) MarshalLogObject

func (v *StartTimeFilter) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartTimeFilter.

func (*StartTimeFilter) String

func (v *StartTimeFilter) String() string

String returns a readable string representation of a StartTimeFilter struct.

func (*StartTimeFilter) ToWire

func (v *StartTimeFilter) ToWire() (wire.Value, error)

ToWire translates a StartTimeFilter struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartTimerDecisionAttributes

type StartTimerDecisionAttributes struct {
	TimerId                   *string `json:"timerId,omitempty"`
	StartToFireTimeoutSeconds *int64  `json:"startToFireTimeoutSeconds,omitempty"`
}

func (*StartTimerDecisionAttributes) Equals

Equals returns true if all the fields of this StartTimerDecisionAttributes match the provided StartTimerDecisionAttributes.

This function performs a deep comparison.

func (*StartTimerDecisionAttributes) FromWire

FromWire deserializes a StartTimerDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartTimerDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartTimerDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartTimerDecisionAttributes) GetStartToFireTimeoutSeconds

func (v *StartTimerDecisionAttributes) GetStartToFireTimeoutSeconds() (o int64)

GetStartToFireTimeoutSeconds returns the value of StartToFireTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartTimerDecisionAttributes) GetTimerId

func (v *StartTimerDecisionAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*StartTimerDecisionAttributes) IsSetStartToFireTimeoutSeconds

func (v *StartTimerDecisionAttributes) IsSetStartToFireTimeoutSeconds() bool

IsSetStartToFireTimeoutSeconds returns true if StartToFireTimeoutSeconds is not nil.

func (*StartTimerDecisionAttributes) IsSetTimerId

func (v *StartTimerDecisionAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*StartTimerDecisionAttributes) MarshalLogObject

func (v *StartTimerDecisionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartTimerDecisionAttributes.

func (*StartTimerDecisionAttributes) String

String returns a readable string representation of a StartTimerDecisionAttributes struct.

func (*StartTimerDecisionAttributes) ToWire

ToWire translates a StartTimerDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartWorkflowExecutionRequest

type StartWorkflowExecutionRequest struct {
	Domain                              *string                `json:"domain,omitempty"`
	WorkflowId                          *string                `json:"workflowId,omitempty"`
	WorkflowType                        *WorkflowType          `json:"workflowType,omitempty"`
	TaskList                            *TaskList              `json:"taskList,omitempty"`
	Input                               []byte                 `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                 `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                 `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	Identity                            *string                `json:"identity,omitempty"`
	RequestId                           *string                `json:"requestId,omitempty"`
	WorkflowIdReusePolicy               *WorkflowIdReusePolicy `json:"workflowIdReusePolicy,omitempty"`
	RetryPolicy                         *RetryPolicy           `json:"retryPolicy,omitempty"`
	CronSchedule                        *string                `json:"cronSchedule,omitempty"`
	Memo                                *Memo                  `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes      `json:"searchAttributes,omitempty"`
	Header                              *Header                `json:"header,omitempty"`
}

func (*StartWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this StartWorkflowExecutionRequest match the provided StartWorkflowExecutionRequest.

This function performs a deep comparison.

func (*StartWorkflowExecutionRequest) FromWire

FromWire deserializes a StartWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartWorkflowExecutionRequest) GetCronSchedule

func (v *StartWorkflowExecutionRequest) GetCronSchedule() (o string)

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetDomain

func (v *StartWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetExecutionStartToCloseTimeoutSeconds

func (v *StartWorkflowExecutionRequest) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetHeader

func (v *StartWorkflowExecutionRequest) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetIdentity

func (v *StartWorkflowExecutionRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetInput

func (v *StartWorkflowExecutionRequest) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetMemo

func (v *StartWorkflowExecutionRequest) GetMemo() (o *Memo)

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetRequestId

func (v *StartWorkflowExecutionRequest) GetRequestId() (o string)

GetRequestId returns the value of RequestId if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetRetryPolicy

func (v *StartWorkflowExecutionRequest) GetRetryPolicy() (o *RetryPolicy)

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetSearchAttributes

func (v *StartWorkflowExecutionRequest) GetSearchAttributes() (o *SearchAttributes)

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetTaskList

func (v *StartWorkflowExecutionRequest) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetTaskStartToCloseTimeoutSeconds

func (v *StartWorkflowExecutionRequest) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetWorkflowId

func (v *StartWorkflowExecutionRequest) GetWorkflowId() (o string)

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetWorkflowIdReusePolicy

func (v *StartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() (o WorkflowIdReusePolicy)

GetWorkflowIdReusePolicy returns the value of WorkflowIdReusePolicy if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) GetWorkflowType

func (v *StartWorkflowExecutionRequest) GetWorkflowType() (o *WorkflowType)

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionRequest) IsSetCronSchedule

func (v *StartWorkflowExecutionRequest) IsSetCronSchedule() bool

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*StartWorkflowExecutionRequest) IsSetDomain

func (v *StartWorkflowExecutionRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*StartWorkflowExecutionRequest) IsSetExecutionStartToCloseTimeoutSeconds

func (v *StartWorkflowExecutionRequest) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*StartWorkflowExecutionRequest) IsSetHeader

func (v *StartWorkflowExecutionRequest) IsSetHeader() bool

IsSetHeader returns true if Header is not nil.

func (*StartWorkflowExecutionRequest) IsSetIdentity

func (v *StartWorkflowExecutionRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*StartWorkflowExecutionRequest) IsSetInput

func (v *StartWorkflowExecutionRequest) IsSetInput() bool

IsSetInput returns true if Input is not nil.

func (*StartWorkflowExecutionRequest) IsSetMemo

func (v *StartWorkflowExecutionRequest) IsSetMemo() bool

IsSetMemo returns true if Memo is not nil.

func (*StartWorkflowExecutionRequest) IsSetRequestId

func (v *StartWorkflowExecutionRequest) IsSetRequestId() bool

IsSetRequestId returns true if RequestId is not nil.

func (*StartWorkflowExecutionRequest) IsSetRetryPolicy

func (v *StartWorkflowExecutionRequest) IsSetRetryPolicy() bool

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*StartWorkflowExecutionRequest) IsSetSearchAttributes

func (v *StartWorkflowExecutionRequest) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*StartWorkflowExecutionRequest) IsSetTaskList

func (v *StartWorkflowExecutionRequest) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*StartWorkflowExecutionRequest) IsSetTaskStartToCloseTimeoutSeconds

func (v *StartWorkflowExecutionRequest) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*StartWorkflowExecutionRequest) IsSetWorkflowId

func (v *StartWorkflowExecutionRequest) IsSetWorkflowId() bool

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*StartWorkflowExecutionRequest) IsSetWorkflowIdReusePolicy

func (v *StartWorkflowExecutionRequest) IsSetWorkflowIdReusePolicy() bool

IsSetWorkflowIdReusePolicy returns true if WorkflowIdReusePolicy is not nil.

func (*StartWorkflowExecutionRequest) IsSetWorkflowType

func (v *StartWorkflowExecutionRequest) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*StartWorkflowExecutionRequest) MarshalLogObject

func (v *StartWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartWorkflowExecutionRequest.

func (*StartWorkflowExecutionRequest) String

String returns a readable string representation of a StartWorkflowExecutionRequest struct.

func (*StartWorkflowExecutionRequest) ToWire

ToWire translates a StartWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StartWorkflowExecutionResponse

type StartWorkflowExecutionResponse struct {
	RunId *string `json:"runId,omitempty"`
}

func (*StartWorkflowExecutionResponse) Equals

Equals returns true if all the fields of this StartWorkflowExecutionResponse match the provided StartWorkflowExecutionResponse.

This function performs a deep comparison.

func (*StartWorkflowExecutionResponse) FromWire

FromWire deserializes a StartWorkflowExecutionResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StartWorkflowExecutionResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StartWorkflowExecutionResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StartWorkflowExecutionResponse) GetRunId

func (v *StartWorkflowExecutionResponse) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*StartWorkflowExecutionResponse) IsSetRunId

func (v *StartWorkflowExecutionResponse) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*StartWorkflowExecutionResponse) MarshalLogObject

func (v *StartWorkflowExecutionResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StartWorkflowExecutionResponse.

func (*StartWorkflowExecutionResponse) String

String returns a readable string representation of a StartWorkflowExecutionResponse struct.

func (*StartWorkflowExecutionResponse) ToWire

ToWire translates a StartWorkflowExecutionResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type StickyExecutionAttributes

type StickyExecutionAttributes struct {
	WorkerTaskList                *TaskList `json:"workerTaskList,omitempty"`
	ScheduleToStartTimeoutSeconds *int32    `json:"scheduleToStartTimeoutSeconds,omitempty"`
}

func (*StickyExecutionAttributes) Equals

Equals returns true if all the fields of this StickyExecutionAttributes match the provided StickyExecutionAttributes.

This function performs a deep comparison.

func (*StickyExecutionAttributes) FromWire

func (v *StickyExecutionAttributes) FromWire(w wire.Value) error

FromWire deserializes a StickyExecutionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a StickyExecutionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v StickyExecutionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*StickyExecutionAttributes) GetScheduleToStartTimeoutSeconds

func (v *StickyExecutionAttributes) GetScheduleToStartTimeoutSeconds() (o int32)

GetScheduleToStartTimeoutSeconds returns the value of ScheduleToStartTimeoutSeconds if it is set or its zero value if it is unset.

func (*StickyExecutionAttributes) GetWorkerTaskList

func (v *StickyExecutionAttributes) GetWorkerTaskList() (o *TaskList)

GetWorkerTaskList returns the value of WorkerTaskList if it is set or its zero value if it is unset.

func (*StickyExecutionAttributes) IsSetScheduleToStartTimeoutSeconds

func (v *StickyExecutionAttributes) IsSetScheduleToStartTimeoutSeconds() bool

IsSetScheduleToStartTimeoutSeconds returns true if ScheduleToStartTimeoutSeconds is not nil.

func (*StickyExecutionAttributes) IsSetWorkerTaskList

func (v *StickyExecutionAttributes) IsSetWorkerTaskList() bool

IsSetWorkerTaskList returns true if WorkerTaskList is not nil.

func (*StickyExecutionAttributes) MarshalLogObject

func (v *StickyExecutionAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of StickyExecutionAttributes.

func (*StickyExecutionAttributes) String

func (v *StickyExecutionAttributes) String() string

String returns a readable string representation of a StickyExecutionAttributes struct.

func (*StickyExecutionAttributes) ToWire

func (v *StickyExecutionAttributes) ToWire() (wire.Value, error)

ToWire translates a StickyExecutionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TaskIDBlock

type TaskIDBlock struct {
	StartID *int64 `json:"startID,omitempty"`
	EndID   *int64 `json:"endID,omitempty"`
}

func (*TaskIDBlock) Equals

func (v *TaskIDBlock) Equals(rhs *TaskIDBlock) bool

Equals returns true if all the fields of this TaskIDBlock match the provided TaskIDBlock.

This function performs a deep comparison.

func (*TaskIDBlock) FromWire

func (v *TaskIDBlock) FromWire(w wire.Value) error

FromWire deserializes a TaskIDBlock struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TaskIDBlock struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TaskIDBlock
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TaskIDBlock) GetEndID

func (v *TaskIDBlock) GetEndID() (o int64)

GetEndID returns the value of EndID if it is set or its zero value if it is unset.

func (*TaskIDBlock) GetStartID

func (v *TaskIDBlock) GetStartID() (o int64)

GetStartID returns the value of StartID if it is set or its zero value if it is unset.

func (*TaskIDBlock) IsSetEndID

func (v *TaskIDBlock) IsSetEndID() bool

IsSetEndID returns true if EndID is not nil.

func (*TaskIDBlock) IsSetStartID

func (v *TaskIDBlock) IsSetStartID() bool

IsSetStartID returns true if StartID is not nil.

func (*TaskIDBlock) MarshalLogObject

func (v *TaskIDBlock) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskIDBlock.

func (*TaskIDBlock) String

func (v *TaskIDBlock) String() string

String returns a readable string representation of a TaskIDBlock struct.

func (*TaskIDBlock) ToWire

func (v *TaskIDBlock) ToWire() (wire.Value, error)

ToWire translates a TaskIDBlock struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TaskList

type TaskList struct {
	Name *string       `json:"name,omitempty"`
	Kind *TaskListKind `json:"kind,omitempty"`
}

func (*TaskList) Equals

func (v *TaskList) Equals(rhs *TaskList) bool

Equals returns true if all the fields of this TaskList match the provided TaskList.

This function performs a deep comparison.

func (*TaskList) FromWire

func (v *TaskList) FromWire(w wire.Value) error

FromWire deserializes a TaskList struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TaskList struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TaskList
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TaskList) GetKind

func (v *TaskList) GetKind() (o TaskListKind)

GetKind returns the value of Kind if it is set or its zero value if it is unset.

func (*TaskList) GetName

func (v *TaskList) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*TaskList) IsSetKind

func (v *TaskList) IsSetKind() bool

IsSetKind returns true if Kind is not nil.

func (*TaskList) IsSetName

func (v *TaskList) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*TaskList) MarshalLogObject

func (v *TaskList) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskList.

func (*TaskList) String

func (v *TaskList) String() string

String returns a readable string representation of a TaskList struct.

func (*TaskList) ToWire

func (v *TaskList) ToWire() (wire.Value, error)

ToWire translates a TaskList struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TaskListKind

type TaskListKind int32
const (
	TaskListKindNormal TaskListKind = 0
	TaskListKindSticky TaskListKind = 1
)

func TaskListKind_Values

func TaskListKind_Values() []TaskListKind

TaskListKind_Values returns all recognized values of TaskListKind.

func (TaskListKind) Equals

func (v TaskListKind) Equals(rhs TaskListKind) bool

Equals returns true if this TaskListKind value matches the provided value.

func (*TaskListKind) FromWire

func (v *TaskListKind) FromWire(w wire.Value) error

FromWire deserializes TaskListKind from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return TaskListKind(0), err
}

var v TaskListKind
if err := v.FromWire(x); err != nil {
  return TaskListKind(0), err
}
return v, nil

func (TaskListKind) MarshalJSON

func (v TaskListKind) MarshalJSON() ([]byte, error)

MarshalJSON serializes TaskListKind into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (TaskListKind) MarshalLogObject

func (v TaskListKind) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskListKind. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (TaskListKind) MarshalText

func (v TaskListKind) MarshalText() ([]byte, error)

MarshalText encodes TaskListKind to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (TaskListKind) Ptr

func (v TaskListKind) Ptr() *TaskListKind

Ptr returns a pointer to this enum value.

func (TaskListKind) String

func (v TaskListKind) String() string

String returns a readable string representation of TaskListKind.

func (TaskListKind) ToWire

func (v TaskListKind) ToWire() (wire.Value, error)

ToWire translates TaskListKind into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*TaskListKind) UnmarshalJSON

func (v *TaskListKind) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode TaskListKind from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*TaskListKind) UnmarshalText

func (v *TaskListKind) UnmarshalText(value []byte) error

UnmarshalText tries to decode TaskListKind from a byte slice containing its name.

var v TaskListKind
err := v.UnmarshalText([]byte("NORMAL"))

type TaskListMetadata

type TaskListMetadata struct {
	MaxTasksPerSecond *float64 `json:"maxTasksPerSecond,omitempty"`
}

func (*TaskListMetadata) Equals

func (v *TaskListMetadata) Equals(rhs *TaskListMetadata) bool

Equals returns true if all the fields of this TaskListMetadata match the provided TaskListMetadata.

This function performs a deep comparison.

func (*TaskListMetadata) FromWire

func (v *TaskListMetadata) FromWire(w wire.Value) error

FromWire deserializes a TaskListMetadata struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TaskListMetadata struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TaskListMetadata
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TaskListMetadata) GetMaxTasksPerSecond

func (v *TaskListMetadata) GetMaxTasksPerSecond() (o float64)

GetMaxTasksPerSecond returns the value of MaxTasksPerSecond if it is set or its zero value if it is unset.

func (*TaskListMetadata) IsSetMaxTasksPerSecond

func (v *TaskListMetadata) IsSetMaxTasksPerSecond() bool

IsSetMaxTasksPerSecond returns true if MaxTasksPerSecond is not nil.

func (*TaskListMetadata) MarshalLogObject

func (v *TaskListMetadata) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskListMetadata.

func (*TaskListMetadata) String

func (v *TaskListMetadata) String() string

String returns a readable string representation of a TaskListMetadata struct.

func (*TaskListMetadata) ToWire

func (v *TaskListMetadata) ToWire() (wire.Value, error)

ToWire translates a TaskListMetadata struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TaskListStatus

type TaskListStatus struct {
	BacklogCountHint *int64       `json:"backlogCountHint,omitempty"`
	ReadLevel        *int64       `json:"readLevel,omitempty"`
	AckLevel         *int64       `json:"ackLevel,omitempty"`
	RatePerSecond    *float64     `json:"ratePerSecond,omitempty"`
	TaskIDBlock      *TaskIDBlock `json:"taskIDBlock,omitempty"`
}

func (*TaskListStatus) Equals

func (v *TaskListStatus) Equals(rhs *TaskListStatus) bool

Equals returns true if all the fields of this TaskListStatus match the provided TaskListStatus.

This function performs a deep comparison.

func (*TaskListStatus) FromWire

func (v *TaskListStatus) FromWire(w wire.Value) error

FromWire deserializes a TaskListStatus struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TaskListStatus struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TaskListStatus
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TaskListStatus) GetAckLevel

func (v *TaskListStatus) GetAckLevel() (o int64)

GetAckLevel returns the value of AckLevel if it is set or its zero value if it is unset.

func (*TaskListStatus) GetBacklogCountHint

func (v *TaskListStatus) GetBacklogCountHint() (o int64)

GetBacklogCountHint returns the value of BacklogCountHint if it is set or its zero value if it is unset.

func (*TaskListStatus) GetRatePerSecond

func (v *TaskListStatus) GetRatePerSecond() (o float64)

GetRatePerSecond returns the value of RatePerSecond if it is set or its zero value if it is unset.

func (*TaskListStatus) GetReadLevel

func (v *TaskListStatus) GetReadLevel() (o int64)

GetReadLevel returns the value of ReadLevel if it is set or its zero value if it is unset.

func (*TaskListStatus) GetTaskIDBlock

func (v *TaskListStatus) GetTaskIDBlock() (o *TaskIDBlock)

GetTaskIDBlock returns the value of TaskIDBlock if it is set or its zero value if it is unset.

func (*TaskListStatus) IsSetAckLevel

func (v *TaskListStatus) IsSetAckLevel() bool

IsSetAckLevel returns true if AckLevel is not nil.

func (*TaskListStatus) IsSetBacklogCountHint

func (v *TaskListStatus) IsSetBacklogCountHint() bool

IsSetBacklogCountHint returns true if BacklogCountHint is not nil.

func (*TaskListStatus) IsSetRatePerSecond

func (v *TaskListStatus) IsSetRatePerSecond() bool

IsSetRatePerSecond returns true if RatePerSecond is not nil.

func (*TaskListStatus) IsSetReadLevel

func (v *TaskListStatus) IsSetReadLevel() bool

IsSetReadLevel returns true if ReadLevel is not nil.

func (*TaskListStatus) IsSetTaskIDBlock

func (v *TaskListStatus) IsSetTaskIDBlock() bool

IsSetTaskIDBlock returns true if TaskIDBlock is not nil.

func (*TaskListStatus) MarshalLogObject

func (v *TaskListStatus) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskListStatus.

func (*TaskListStatus) String

func (v *TaskListStatus) String() string

String returns a readable string representation of a TaskListStatus struct.

func (*TaskListStatus) ToWire

func (v *TaskListStatus) ToWire() (wire.Value, error)

ToWire translates a TaskListStatus struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TaskListType

type TaskListType int32
const (
	TaskListTypeDecision TaskListType = 0
	TaskListTypeActivity TaskListType = 1
)

func TaskListType_Values

func TaskListType_Values() []TaskListType

TaskListType_Values returns all recognized values of TaskListType.

func (TaskListType) Equals

func (v TaskListType) Equals(rhs TaskListType) bool

Equals returns true if this TaskListType value matches the provided value.

func (*TaskListType) FromWire

func (v *TaskListType) FromWire(w wire.Value) error

FromWire deserializes TaskListType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return TaskListType(0), err
}

var v TaskListType
if err := v.FromWire(x); err != nil {
  return TaskListType(0), err
}
return v, nil

func (TaskListType) MarshalJSON

func (v TaskListType) MarshalJSON() ([]byte, error)

MarshalJSON serializes TaskListType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (TaskListType) MarshalLogObject

func (v TaskListType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TaskListType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (TaskListType) MarshalText

func (v TaskListType) MarshalText() ([]byte, error)

MarshalText encodes TaskListType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (TaskListType) Ptr

func (v TaskListType) Ptr() *TaskListType

Ptr returns a pointer to this enum value.

func (TaskListType) String

func (v TaskListType) String() string

String returns a readable string representation of TaskListType.

func (TaskListType) ToWire

func (v TaskListType) ToWire() (wire.Value, error)

ToWire translates TaskListType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*TaskListType) UnmarshalJSON

func (v *TaskListType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode TaskListType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*TaskListType) UnmarshalText

func (v *TaskListType) UnmarshalText(value []byte) error

UnmarshalText tries to decode TaskListType from a byte slice containing its name.

var v TaskListType
err := v.UnmarshalText([]byte("Decision"))

type TerminateWorkflowExecutionRequest

type TerminateWorkflowExecutionRequest struct {
	Domain            *string            `json:"domain,omitempty"`
	WorkflowExecution *WorkflowExecution `json:"workflowExecution,omitempty"`
	Reason            *string            `json:"reason,omitempty"`
	Details           []byte             `json:"details,omitempty"`
	Identity          *string            `json:"identity,omitempty"`
}

func (*TerminateWorkflowExecutionRequest) Equals

Equals returns true if all the fields of this TerminateWorkflowExecutionRequest match the provided TerminateWorkflowExecutionRequest.

This function performs a deep comparison.

func (*TerminateWorkflowExecutionRequest) FromWire

FromWire deserializes a TerminateWorkflowExecutionRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TerminateWorkflowExecutionRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TerminateWorkflowExecutionRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TerminateWorkflowExecutionRequest) GetDetails

func (v *TerminateWorkflowExecutionRequest) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*TerminateWorkflowExecutionRequest) GetDomain

func (v *TerminateWorkflowExecutionRequest) GetDomain() (o string)

GetDomain returns the value of Domain if it is set or its zero value if it is unset.

func (*TerminateWorkflowExecutionRequest) GetIdentity

func (v *TerminateWorkflowExecutionRequest) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*TerminateWorkflowExecutionRequest) GetReason

func (v *TerminateWorkflowExecutionRequest) GetReason() (o string)

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*TerminateWorkflowExecutionRequest) GetWorkflowExecution

func (v *TerminateWorkflowExecutionRequest) GetWorkflowExecution() (o *WorkflowExecution)

GetWorkflowExecution returns the value of WorkflowExecution if it is set or its zero value if it is unset.

func (*TerminateWorkflowExecutionRequest) IsSetDetails

func (v *TerminateWorkflowExecutionRequest) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*TerminateWorkflowExecutionRequest) IsSetDomain

func (v *TerminateWorkflowExecutionRequest) IsSetDomain() bool

IsSetDomain returns true if Domain is not nil.

func (*TerminateWorkflowExecutionRequest) IsSetIdentity

func (v *TerminateWorkflowExecutionRequest) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*TerminateWorkflowExecutionRequest) IsSetReason

func (v *TerminateWorkflowExecutionRequest) IsSetReason() bool

IsSetReason returns true if Reason is not nil.

func (*TerminateWorkflowExecutionRequest) IsSetWorkflowExecution

func (v *TerminateWorkflowExecutionRequest) IsSetWorkflowExecution() bool

IsSetWorkflowExecution returns true if WorkflowExecution is not nil.

func (*TerminateWorkflowExecutionRequest) MarshalLogObject

func (v *TerminateWorkflowExecutionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TerminateWorkflowExecutionRequest.

func (*TerminateWorkflowExecutionRequest) String

String returns a readable string representation of a TerminateWorkflowExecutionRequest struct.

func (*TerminateWorkflowExecutionRequest) ToWire

ToWire translates a TerminateWorkflowExecutionRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TimeoutType

type TimeoutType int32
const (
	TimeoutTypeStartToClose    TimeoutType = 0
	TimeoutTypeScheduleToStart TimeoutType = 1
	TimeoutTypeScheduleToClose TimeoutType = 2
	TimeoutTypeHeartbeat       TimeoutType = 3
)

func TimeoutType_Values

func TimeoutType_Values() []TimeoutType

TimeoutType_Values returns all recognized values of TimeoutType.

func (TimeoutType) Equals

func (v TimeoutType) Equals(rhs TimeoutType) bool

Equals returns true if this TimeoutType value matches the provided value.

func (*TimeoutType) FromWire

func (v *TimeoutType) FromWire(w wire.Value) error

FromWire deserializes TimeoutType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return TimeoutType(0), err
}

var v TimeoutType
if err := v.FromWire(x); err != nil {
  return TimeoutType(0), err
}
return v, nil

func (TimeoutType) MarshalJSON

func (v TimeoutType) MarshalJSON() ([]byte, error)

MarshalJSON serializes TimeoutType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (TimeoutType) MarshalLogObject

func (v TimeoutType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TimeoutType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (TimeoutType) MarshalText

func (v TimeoutType) MarshalText() ([]byte, error)

MarshalText encodes TimeoutType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (TimeoutType) Ptr

func (v TimeoutType) Ptr() *TimeoutType

Ptr returns a pointer to this enum value.

func (TimeoutType) String

func (v TimeoutType) String() string

String returns a readable string representation of TimeoutType.

func (TimeoutType) ToWire

func (v TimeoutType) ToWire() (wire.Value, error)

ToWire translates TimeoutType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*TimeoutType) UnmarshalJSON

func (v *TimeoutType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode TimeoutType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*TimeoutType) UnmarshalText

func (v *TimeoutType) UnmarshalText(value []byte) error

UnmarshalText tries to decode TimeoutType from a byte slice containing its name.

var v TimeoutType
err := v.UnmarshalText([]byte("START_TO_CLOSE"))

type TimerCanceledEventAttributes

type TimerCanceledEventAttributes struct {
	TimerId                      *string `json:"timerId,omitempty"`
	StartedEventId               *int64  `json:"startedEventId,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
	Identity                     *string `json:"identity,omitempty"`
}

func (*TimerCanceledEventAttributes) Equals

Equals returns true if all the fields of this TimerCanceledEventAttributes match the provided TimerCanceledEventAttributes.

This function performs a deep comparison.

func (*TimerCanceledEventAttributes) FromWire

FromWire deserializes a TimerCanceledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TimerCanceledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TimerCanceledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TimerCanceledEventAttributes) GetDecisionTaskCompletedEventId

func (v *TimerCanceledEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*TimerCanceledEventAttributes) GetIdentity

func (v *TimerCanceledEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*TimerCanceledEventAttributes) GetStartedEventId

func (v *TimerCanceledEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*TimerCanceledEventAttributes) GetTimerId

func (v *TimerCanceledEventAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*TimerCanceledEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *TimerCanceledEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*TimerCanceledEventAttributes) IsSetIdentity

func (v *TimerCanceledEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*TimerCanceledEventAttributes) IsSetStartedEventId

func (v *TimerCanceledEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*TimerCanceledEventAttributes) IsSetTimerId

func (v *TimerCanceledEventAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*TimerCanceledEventAttributes) MarshalLogObject

func (v *TimerCanceledEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TimerCanceledEventAttributes.

func (*TimerCanceledEventAttributes) String

String returns a readable string representation of a TimerCanceledEventAttributes struct.

func (*TimerCanceledEventAttributes) ToWire

ToWire translates a TimerCanceledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TimerFiredEventAttributes

type TimerFiredEventAttributes struct {
	TimerId        *string `json:"timerId,omitempty"`
	StartedEventId *int64  `json:"startedEventId,omitempty"`
}

func (*TimerFiredEventAttributes) Equals

Equals returns true if all the fields of this TimerFiredEventAttributes match the provided TimerFiredEventAttributes.

This function performs a deep comparison.

func (*TimerFiredEventAttributes) FromWire

func (v *TimerFiredEventAttributes) FromWire(w wire.Value) error

FromWire deserializes a TimerFiredEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TimerFiredEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TimerFiredEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TimerFiredEventAttributes) GetStartedEventId

func (v *TimerFiredEventAttributes) GetStartedEventId() (o int64)

GetStartedEventId returns the value of StartedEventId if it is set or its zero value if it is unset.

func (*TimerFiredEventAttributes) GetTimerId

func (v *TimerFiredEventAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*TimerFiredEventAttributes) IsSetStartedEventId

func (v *TimerFiredEventAttributes) IsSetStartedEventId() bool

IsSetStartedEventId returns true if StartedEventId is not nil.

func (*TimerFiredEventAttributes) IsSetTimerId

func (v *TimerFiredEventAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*TimerFiredEventAttributes) MarshalLogObject

func (v *TimerFiredEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TimerFiredEventAttributes.

func (*TimerFiredEventAttributes) String

func (v *TimerFiredEventAttributes) String() string

String returns a readable string representation of a TimerFiredEventAttributes struct.

func (*TimerFiredEventAttributes) ToWire

func (v *TimerFiredEventAttributes) ToWire() (wire.Value, error)

ToWire translates a TimerFiredEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TimerStartedEventAttributes

type TimerStartedEventAttributes struct {
	TimerId                      *string `json:"timerId,omitempty"`
	StartToFireTimeoutSeconds    *int64  `json:"startToFireTimeoutSeconds,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*TimerStartedEventAttributes) Equals

Equals returns true if all the fields of this TimerStartedEventAttributes match the provided TimerStartedEventAttributes.

This function performs a deep comparison.

func (*TimerStartedEventAttributes) FromWire

FromWire deserializes a TimerStartedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TimerStartedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TimerStartedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TimerStartedEventAttributes) GetDecisionTaskCompletedEventId

func (v *TimerStartedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*TimerStartedEventAttributes) GetStartToFireTimeoutSeconds

func (v *TimerStartedEventAttributes) GetStartToFireTimeoutSeconds() (o int64)

GetStartToFireTimeoutSeconds returns the value of StartToFireTimeoutSeconds if it is set or its zero value if it is unset.

func (*TimerStartedEventAttributes) GetTimerId

func (v *TimerStartedEventAttributes) GetTimerId() (o string)

GetTimerId returns the value of TimerId if it is set or its zero value if it is unset.

func (*TimerStartedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *TimerStartedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*TimerStartedEventAttributes) IsSetStartToFireTimeoutSeconds

func (v *TimerStartedEventAttributes) IsSetStartToFireTimeoutSeconds() bool

IsSetStartToFireTimeoutSeconds returns true if StartToFireTimeoutSeconds is not nil.

func (*TimerStartedEventAttributes) IsSetTimerId

func (v *TimerStartedEventAttributes) IsSetTimerId() bool

IsSetTimerId returns true if TimerId is not nil.

func (*TimerStartedEventAttributes) MarshalLogObject

func (v *TimerStartedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TimerStartedEventAttributes.

func (*TimerStartedEventAttributes) String

func (v *TimerStartedEventAttributes) String() string

String returns a readable string representation of a TimerStartedEventAttributes struct.

func (*TimerStartedEventAttributes) ToWire

ToWire translates a TimerStartedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type TransientDecisionInfo

type TransientDecisionInfo struct {
	ScheduledEvent *HistoryEvent `json:"scheduledEvent,omitempty"`
	StartedEvent   *HistoryEvent `json:"startedEvent,omitempty"`
}

func (*TransientDecisionInfo) Equals

Equals returns true if all the fields of this TransientDecisionInfo match the provided TransientDecisionInfo.

This function performs a deep comparison.

func (*TransientDecisionInfo) FromWire

func (v *TransientDecisionInfo) FromWire(w wire.Value) error

FromWire deserializes a TransientDecisionInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a TransientDecisionInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v TransientDecisionInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*TransientDecisionInfo) GetScheduledEvent

func (v *TransientDecisionInfo) GetScheduledEvent() (o *HistoryEvent)

GetScheduledEvent returns the value of ScheduledEvent if it is set or its zero value if it is unset.

func (*TransientDecisionInfo) GetStartedEvent

func (v *TransientDecisionInfo) GetStartedEvent() (o *HistoryEvent)

GetStartedEvent returns the value of StartedEvent if it is set or its zero value if it is unset.

func (*TransientDecisionInfo) IsSetScheduledEvent

func (v *TransientDecisionInfo) IsSetScheduledEvent() bool

IsSetScheduledEvent returns true if ScheduledEvent is not nil.

func (*TransientDecisionInfo) IsSetStartedEvent

func (v *TransientDecisionInfo) IsSetStartedEvent() bool

IsSetStartedEvent returns true if StartedEvent is not nil.

func (*TransientDecisionInfo) MarshalLogObject

func (v *TransientDecisionInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TransientDecisionInfo.

func (*TransientDecisionInfo) String

func (v *TransientDecisionInfo) String() string

String returns a readable string representation of a TransientDecisionInfo struct.

func (*TransientDecisionInfo) ToWire

func (v *TransientDecisionInfo) ToWire() (wire.Value, error)

ToWire translates a TransientDecisionInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type UpdateDomainInfo

type UpdateDomainInfo struct {
	Description *string           `json:"description,omitempty"`
	OwnerEmail  *string           `json:"ownerEmail,omitempty"`
	Data        map[string]string `json:"data,omitempty"`
}

func (*UpdateDomainInfo) Equals

func (v *UpdateDomainInfo) Equals(rhs *UpdateDomainInfo) bool

Equals returns true if all the fields of this UpdateDomainInfo match the provided UpdateDomainInfo.

This function performs a deep comparison.

func (*UpdateDomainInfo) FromWire

func (v *UpdateDomainInfo) FromWire(w wire.Value) error

FromWire deserializes a UpdateDomainInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a UpdateDomainInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v UpdateDomainInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*UpdateDomainInfo) GetData

func (v *UpdateDomainInfo) GetData() (o map[string]string)

GetData returns the value of Data if it is set or its zero value if it is unset.

func (*UpdateDomainInfo) GetDescription

func (v *UpdateDomainInfo) GetDescription() (o string)

GetDescription returns the value of Description if it is set or its zero value if it is unset.

func (*UpdateDomainInfo) GetOwnerEmail

func (v *UpdateDomainInfo) GetOwnerEmail() (o string)

GetOwnerEmail returns the value of OwnerEmail if it is set or its zero value if it is unset.

func (*UpdateDomainInfo) IsSetData

func (v *UpdateDomainInfo) IsSetData() bool

IsSetData returns true if Data is not nil.

func (*UpdateDomainInfo) IsSetDescription

func (v *UpdateDomainInfo) IsSetDescription() bool

IsSetDescription returns true if Description is not nil.

func (*UpdateDomainInfo) IsSetOwnerEmail

func (v *UpdateDomainInfo) IsSetOwnerEmail() bool

IsSetOwnerEmail returns true if OwnerEmail is not nil.

func (*UpdateDomainInfo) MarshalLogObject

func (v *UpdateDomainInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UpdateDomainInfo.

func (*UpdateDomainInfo) String

func (v *UpdateDomainInfo) String() string

String returns a readable string representation of a UpdateDomainInfo struct.

func (*UpdateDomainInfo) ToWire

func (v *UpdateDomainInfo) ToWire() (wire.Value, error)

ToWire translates a UpdateDomainInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type UpdateDomainRequest

type UpdateDomainRequest struct {
	Name                     *string                         `json:"name,omitempty"`
	UpdatedInfo              *UpdateDomainInfo               `json:"updatedInfo,omitempty"`
	Configuration            *DomainConfiguration            `json:"configuration,omitempty"`
	ReplicationConfiguration *DomainReplicationConfiguration `json:"replicationConfiguration,omitempty"`
	SecurityToken            *string                         `json:"securityToken,omitempty"`
	DeleteBadBinary          *string                         `json:"deleteBadBinary,omitempty"`
}

func (*UpdateDomainRequest) Equals

Equals returns true if all the fields of this UpdateDomainRequest match the provided UpdateDomainRequest.

This function performs a deep comparison.

func (*UpdateDomainRequest) FromWire

func (v *UpdateDomainRequest) FromWire(w wire.Value) error

FromWire deserializes a UpdateDomainRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a UpdateDomainRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v UpdateDomainRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*UpdateDomainRequest) GetConfiguration

func (v *UpdateDomainRequest) GetConfiguration() (o *DomainConfiguration)

GetConfiguration returns the value of Configuration if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) GetDeleteBadBinary

func (v *UpdateDomainRequest) GetDeleteBadBinary() (o string)

GetDeleteBadBinary returns the value of DeleteBadBinary if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) GetName

func (v *UpdateDomainRequest) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) GetReplicationConfiguration

func (v *UpdateDomainRequest) GetReplicationConfiguration() (o *DomainReplicationConfiguration)

GetReplicationConfiguration returns the value of ReplicationConfiguration if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) GetSecurityToken

func (v *UpdateDomainRequest) GetSecurityToken() (o string)

GetSecurityToken returns the value of SecurityToken if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) GetUpdatedInfo

func (v *UpdateDomainRequest) GetUpdatedInfo() (o *UpdateDomainInfo)

GetUpdatedInfo returns the value of UpdatedInfo if it is set or its zero value if it is unset.

func (*UpdateDomainRequest) IsSetConfiguration

func (v *UpdateDomainRequest) IsSetConfiguration() bool

IsSetConfiguration returns true if Configuration is not nil.

func (*UpdateDomainRequest) IsSetDeleteBadBinary

func (v *UpdateDomainRequest) IsSetDeleteBadBinary() bool

IsSetDeleteBadBinary returns true if DeleteBadBinary is not nil.

func (*UpdateDomainRequest) IsSetName

func (v *UpdateDomainRequest) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*UpdateDomainRequest) IsSetReplicationConfiguration

func (v *UpdateDomainRequest) IsSetReplicationConfiguration() bool

IsSetReplicationConfiguration returns true if ReplicationConfiguration is not nil.

func (*UpdateDomainRequest) IsSetSecurityToken

func (v *UpdateDomainRequest) IsSetSecurityToken() bool

IsSetSecurityToken returns true if SecurityToken is not nil.

func (*UpdateDomainRequest) IsSetUpdatedInfo

func (v *UpdateDomainRequest) IsSetUpdatedInfo() bool

IsSetUpdatedInfo returns true if UpdatedInfo is not nil.

func (*UpdateDomainRequest) MarshalLogObject

func (v *UpdateDomainRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UpdateDomainRequest.

func (*UpdateDomainRequest) String

func (v *UpdateDomainRequest) String() string

String returns a readable string representation of a UpdateDomainRequest struct.

func (*UpdateDomainRequest) ToWire

func (v *UpdateDomainRequest) ToWire() (wire.Value, error)

ToWire translates a UpdateDomainRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type UpdateDomainResponse

type UpdateDomainResponse struct {
	DomainInfo               *DomainInfo                     `json:"domainInfo,omitempty"`
	Configuration            *DomainConfiguration            `json:"configuration,omitempty"`
	ReplicationConfiguration *DomainReplicationConfiguration `json:"replicationConfiguration,omitempty"`
	FailoverVersion          *int64                          `json:"failoverVersion,omitempty"`
	IsGlobalDomain           *bool                           `json:"isGlobalDomain,omitempty"`
}

func (*UpdateDomainResponse) Equals

Equals returns true if all the fields of this UpdateDomainResponse match the provided UpdateDomainResponse.

This function performs a deep comparison.

func (*UpdateDomainResponse) FromWire

func (v *UpdateDomainResponse) FromWire(w wire.Value) error

FromWire deserializes a UpdateDomainResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a UpdateDomainResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v UpdateDomainResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*UpdateDomainResponse) GetConfiguration

func (v *UpdateDomainResponse) GetConfiguration() (o *DomainConfiguration)

GetConfiguration returns the value of Configuration if it is set or its zero value if it is unset.

func (*UpdateDomainResponse) GetDomainInfo

func (v *UpdateDomainResponse) GetDomainInfo() (o *DomainInfo)

GetDomainInfo returns the value of DomainInfo if it is set or its zero value if it is unset.

func (*UpdateDomainResponse) GetFailoverVersion

func (v *UpdateDomainResponse) GetFailoverVersion() (o int64)

GetFailoverVersion returns the value of FailoverVersion if it is set or its zero value if it is unset.

func (*UpdateDomainResponse) GetIsGlobalDomain

func (v *UpdateDomainResponse) GetIsGlobalDomain() (o bool)

GetIsGlobalDomain returns the value of IsGlobalDomain if it is set or its zero value if it is unset.

func (*UpdateDomainResponse) GetReplicationConfiguration

func (v *UpdateDomainResponse) GetReplicationConfiguration() (o *DomainReplicationConfiguration)

GetReplicationConfiguration returns the value of ReplicationConfiguration if it is set or its zero value if it is unset.

func (*UpdateDomainResponse) IsSetConfiguration

func (v *UpdateDomainResponse) IsSetConfiguration() bool

IsSetConfiguration returns true if Configuration is not nil.

func (*UpdateDomainResponse) IsSetDomainInfo

func (v *UpdateDomainResponse) IsSetDomainInfo() bool

IsSetDomainInfo returns true if DomainInfo is not nil.

func (*UpdateDomainResponse) IsSetFailoverVersion

func (v *UpdateDomainResponse) IsSetFailoverVersion() bool

IsSetFailoverVersion returns true if FailoverVersion is not nil.

func (*UpdateDomainResponse) IsSetIsGlobalDomain

func (v *UpdateDomainResponse) IsSetIsGlobalDomain() bool

IsSetIsGlobalDomain returns true if IsGlobalDomain is not nil.

func (*UpdateDomainResponse) IsSetReplicationConfiguration

func (v *UpdateDomainResponse) IsSetReplicationConfiguration() bool

IsSetReplicationConfiguration returns true if ReplicationConfiguration is not nil.

func (*UpdateDomainResponse) MarshalLogObject

func (v *UpdateDomainResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UpdateDomainResponse.

func (*UpdateDomainResponse) String

func (v *UpdateDomainResponse) String() string

String returns a readable string representation of a UpdateDomainResponse struct.

func (*UpdateDomainResponse) ToWire

func (v *UpdateDomainResponse) ToWire() (wire.Value, error)

ToWire translates a UpdateDomainResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type UpsertWorkflowSearchAttributesDecisionAttributes

type UpsertWorkflowSearchAttributesDecisionAttributes struct {
	SearchAttributes *SearchAttributes `json:"searchAttributes,omitempty"`
}

func (*UpsertWorkflowSearchAttributesDecisionAttributes) Equals

Equals returns true if all the fields of this UpsertWorkflowSearchAttributesDecisionAttributes match the provided UpsertWorkflowSearchAttributesDecisionAttributes.

This function performs a deep comparison.

func (*UpsertWorkflowSearchAttributesDecisionAttributes) FromWire

FromWire deserializes a UpsertWorkflowSearchAttributesDecisionAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a UpsertWorkflowSearchAttributesDecisionAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v UpsertWorkflowSearchAttributesDecisionAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*UpsertWorkflowSearchAttributesDecisionAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*UpsertWorkflowSearchAttributesDecisionAttributes) IsSetSearchAttributes

func (v *UpsertWorkflowSearchAttributesDecisionAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*UpsertWorkflowSearchAttributesDecisionAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UpsertWorkflowSearchAttributesDecisionAttributes.

func (*UpsertWorkflowSearchAttributesDecisionAttributes) String

String returns a readable string representation of a UpsertWorkflowSearchAttributesDecisionAttributes struct.

func (*UpsertWorkflowSearchAttributesDecisionAttributes) ToWire

ToWire translates a UpsertWorkflowSearchAttributesDecisionAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type UpsertWorkflowSearchAttributesEventAttributes

type UpsertWorkflowSearchAttributesEventAttributes struct {
	DecisionTaskCompletedEventId *int64            `json:"decisionTaskCompletedEventId,omitempty"`
	SearchAttributes             *SearchAttributes `json:"searchAttributes,omitempty"`
}

func (*UpsertWorkflowSearchAttributesEventAttributes) Equals

Equals returns true if all the fields of this UpsertWorkflowSearchAttributesEventAttributes match the provided UpsertWorkflowSearchAttributesEventAttributes.

This function performs a deep comparison.

func (*UpsertWorkflowSearchAttributesEventAttributes) FromWire

FromWire deserializes a UpsertWorkflowSearchAttributesEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a UpsertWorkflowSearchAttributesEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v UpsertWorkflowSearchAttributesEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*UpsertWorkflowSearchAttributesEventAttributes) GetDecisionTaskCompletedEventId

func (v *UpsertWorkflowSearchAttributesEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*UpsertWorkflowSearchAttributesEventAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*UpsertWorkflowSearchAttributesEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *UpsertWorkflowSearchAttributesEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*UpsertWorkflowSearchAttributesEventAttributes) IsSetSearchAttributes

func (v *UpsertWorkflowSearchAttributesEventAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*UpsertWorkflowSearchAttributesEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UpsertWorkflowSearchAttributesEventAttributes.

func (*UpsertWorkflowSearchAttributesEventAttributes) String

String returns a readable string representation of a UpsertWorkflowSearchAttributesEventAttributes struct.

func (*UpsertWorkflowSearchAttributesEventAttributes) ToWire

ToWire translates a UpsertWorkflowSearchAttributesEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecution

type WorkflowExecution struct {
	WorkflowId *string `json:"workflowId,omitempty"`
	RunId      *string `json:"runId,omitempty"`
}

func (*WorkflowExecution) Equals

func (v *WorkflowExecution) Equals(rhs *WorkflowExecution) bool

Equals returns true if all the fields of this WorkflowExecution match the provided WorkflowExecution.

This function performs a deep comparison.

func (*WorkflowExecution) FromWire

func (v *WorkflowExecution) FromWire(w wire.Value) error

FromWire deserializes a WorkflowExecution struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecution struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecution
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecution) GetRunId

func (v *WorkflowExecution) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*WorkflowExecution) GetWorkflowId

func (v *WorkflowExecution) GetWorkflowId() (o string)

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*WorkflowExecution) IsSetRunId

func (v *WorkflowExecution) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*WorkflowExecution) IsSetWorkflowId

func (v *WorkflowExecution) IsSetWorkflowId() bool

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*WorkflowExecution) MarshalLogObject

func (v *WorkflowExecution) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecution.

func (*WorkflowExecution) String

func (v *WorkflowExecution) String() string

String returns a readable string representation of a WorkflowExecution struct.

func (*WorkflowExecution) ToWire

func (v *WorkflowExecution) ToWire() (wire.Value, error)

ToWire translates a WorkflowExecution struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionAlreadyStartedError

type WorkflowExecutionAlreadyStartedError struct {
	Message        *string `json:"message,omitempty"`
	StartRequestId *string `json:"startRequestId,omitempty"`
	RunId          *string `json:"runId,omitempty"`
}

func (*WorkflowExecutionAlreadyStartedError) Equals

Equals returns true if all the fields of this WorkflowExecutionAlreadyStartedError match the provided WorkflowExecutionAlreadyStartedError.

This function performs a deep comparison.

func (*WorkflowExecutionAlreadyStartedError) Error

func (*WorkflowExecutionAlreadyStartedError) ErrorName

ErrorName is the name of this type as defined in the Thrift file.

func (*WorkflowExecutionAlreadyStartedError) FromWire

FromWire deserializes a WorkflowExecutionAlreadyStartedError struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionAlreadyStartedError struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionAlreadyStartedError
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionAlreadyStartedError) GetMessage

func (v *WorkflowExecutionAlreadyStartedError) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*WorkflowExecutionAlreadyStartedError) GetRunId

func (v *WorkflowExecutionAlreadyStartedError) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionAlreadyStartedError) GetStartRequestId

func (v *WorkflowExecutionAlreadyStartedError) GetStartRequestId() (o string)

GetStartRequestId returns the value of StartRequestId if it is set or its zero value if it is unset.

func (*WorkflowExecutionAlreadyStartedError) IsSetMessage

func (v *WorkflowExecutionAlreadyStartedError) IsSetMessage() bool

IsSetMessage returns true if Message is not nil.

func (*WorkflowExecutionAlreadyStartedError) IsSetRunId

IsSetRunId returns true if RunId is not nil.

func (*WorkflowExecutionAlreadyStartedError) IsSetStartRequestId

func (v *WorkflowExecutionAlreadyStartedError) IsSetStartRequestId() bool

IsSetStartRequestId returns true if StartRequestId is not nil.

func (*WorkflowExecutionAlreadyStartedError) MarshalLogObject

func (v *WorkflowExecutionAlreadyStartedError) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionAlreadyStartedError.

func (*WorkflowExecutionAlreadyStartedError) String

String returns a readable string representation of a WorkflowExecutionAlreadyStartedError struct.

func (*WorkflowExecutionAlreadyStartedError) ToWire

ToWire translates a WorkflowExecutionAlreadyStartedError struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionCancelRequestedEventAttributes

type WorkflowExecutionCancelRequestedEventAttributes struct {
	Cause                     *string            `json:"cause,omitempty"`
	ExternalInitiatedEventId  *int64             `json:"externalInitiatedEventId,omitempty"`
	ExternalWorkflowExecution *WorkflowExecution `json:"externalWorkflowExecution,omitempty"`
	Identity                  *string            `json:"identity,omitempty"`
}

func (*WorkflowExecutionCancelRequestedEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionCancelRequestedEventAttributes match the provided WorkflowExecutionCancelRequestedEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionCancelRequestedEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionCancelRequestedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionCancelRequestedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionCancelRequestedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionCancelRequestedEventAttributes) GetCause

GetCause returns the value of Cause if it is set or its zero value if it is unset.

func (*WorkflowExecutionCancelRequestedEventAttributes) GetExternalInitiatedEventId

func (v *WorkflowExecutionCancelRequestedEventAttributes) GetExternalInitiatedEventId() (o int64)

GetExternalInitiatedEventId returns the value of ExternalInitiatedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionCancelRequestedEventAttributes) GetExternalWorkflowExecution

func (v *WorkflowExecutionCancelRequestedEventAttributes) GetExternalWorkflowExecution() (o *WorkflowExecution)

GetExternalWorkflowExecution returns the value of ExternalWorkflowExecution if it is set or its zero value if it is unset.

func (*WorkflowExecutionCancelRequestedEventAttributes) GetIdentity

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*WorkflowExecutionCancelRequestedEventAttributes) IsSetCause

IsSetCause returns true if Cause is not nil.

func (*WorkflowExecutionCancelRequestedEventAttributes) IsSetExternalInitiatedEventId

func (v *WorkflowExecutionCancelRequestedEventAttributes) IsSetExternalInitiatedEventId() bool

IsSetExternalInitiatedEventId returns true if ExternalInitiatedEventId is not nil.

func (*WorkflowExecutionCancelRequestedEventAttributes) IsSetExternalWorkflowExecution

func (v *WorkflowExecutionCancelRequestedEventAttributes) IsSetExternalWorkflowExecution() bool

IsSetExternalWorkflowExecution returns true if ExternalWorkflowExecution is not nil.

func (*WorkflowExecutionCancelRequestedEventAttributes) IsSetIdentity

IsSetIdentity returns true if Identity is not nil.

func (*WorkflowExecutionCancelRequestedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionCancelRequestedEventAttributes.

func (*WorkflowExecutionCancelRequestedEventAttributes) String

String returns a readable string representation of a WorkflowExecutionCancelRequestedEventAttributes struct.

func (*WorkflowExecutionCancelRequestedEventAttributes) ToWire

ToWire translates a WorkflowExecutionCancelRequestedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionCanceledEventAttributes

type WorkflowExecutionCanceledEventAttributes struct {
	DecisionTaskCompletedEventId *int64 `json:"decisionTaskCompletedEventId,omitempty"`
	Details                      []byte `json:"details,omitempty"`
}

func (*WorkflowExecutionCanceledEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionCanceledEventAttributes match the provided WorkflowExecutionCanceledEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionCanceledEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionCanceledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionCanceledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionCanceledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionCanceledEventAttributes) GetDecisionTaskCompletedEventId

func (v *WorkflowExecutionCanceledEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionCanceledEventAttributes) GetDetails

func (v *WorkflowExecutionCanceledEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*WorkflowExecutionCanceledEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *WorkflowExecutionCanceledEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*WorkflowExecutionCanceledEventAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*WorkflowExecutionCanceledEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionCanceledEventAttributes.

func (*WorkflowExecutionCanceledEventAttributes) String

String returns a readable string representation of a WorkflowExecutionCanceledEventAttributes struct.

func (*WorkflowExecutionCanceledEventAttributes) ToWire

ToWire translates a WorkflowExecutionCanceledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionCloseStatus

type WorkflowExecutionCloseStatus int32
const (
	WorkflowExecutionCloseStatusCompleted      WorkflowExecutionCloseStatus = 0
	WorkflowExecutionCloseStatusFailed         WorkflowExecutionCloseStatus = 1
	WorkflowExecutionCloseStatusCanceled       WorkflowExecutionCloseStatus = 2
	WorkflowExecutionCloseStatusTerminated     WorkflowExecutionCloseStatus = 3
	WorkflowExecutionCloseStatusContinuedAsNew WorkflowExecutionCloseStatus = 4
	WorkflowExecutionCloseStatusTimedOut       WorkflowExecutionCloseStatus = 5
)

func WorkflowExecutionCloseStatus_Values

func WorkflowExecutionCloseStatus_Values() []WorkflowExecutionCloseStatus

WorkflowExecutionCloseStatus_Values returns all recognized values of WorkflowExecutionCloseStatus.

func (WorkflowExecutionCloseStatus) Equals

Equals returns true if this WorkflowExecutionCloseStatus value matches the provided value.

func (*WorkflowExecutionCloseStatus) FromWire

FromWire deserializes WorkflowExecutionCloseStatus from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return WorkflowExecutionCloseStatus(0), err
}

var v WorkflowExecutionCloseStatus
if err := v.FromWire(x); err != nil {
  return WorkflowExecutionCloseStatus(0), err
}
return v, nil

func (WorkflowExecutionCloseStatus) MarshalJSON

func (v WorkflowExecutionCloseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes WorkflowExecutionCloseStatus into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (WorkflowExecutionCloseStatus) MarshalLogObject

func (v WorkflowExecutionCloseStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionCloseStatus. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (WorkflowExecutionCloseStatus) MarshalText

func (v WorkflowExecutionCloseStatus) MarshalText() ([]byte, error)

MarshalText encodes WorkflowExecutionCloseStatus to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (WorkflowExecutionCloseStatus) Ptr

Ptr returns a pointer to this enum value.

func (WorkflowExecutionCloseStatus) String

String returns a readable string representation of WorkflowExecutionCloseStatus.

func (WorkflowExecutionCloseStatus) ToWire

ToWire translates WorkflowExecutionCloseStatus into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*WorkflowExecutionCloseStatus) UnmarshalJSON

func (v *WorkflowExecutionCloseStatus) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode WorkflowExecutionCloseStatus from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*WorkflowExecutionCloseStatus) UnmarshalText

func (v *WorkflowExecutionCloseStatus) UnmarshalText(value []byte) error

UnmarshalText tries to decode WorkflowExecutionCloseStatus from a byte slice containing its name.

var v WorkflowExecutionCloseStatus
err := v.UnmarshalText([]byte("COMPLETED"))

type WorkflowExecutionCompletedEventAttributes

type WorkflowExecutionCompletedEventAttributes struct {
	Result                       []byte `json:"result,omitempty"`
	DecisionTaskCompletedEventId *int64 `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*WorkflowExecutionCompletedEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionCompletedEventAttributes match the provided WorkflowExecutionCompletedEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionCompletedEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionCompletedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionCompletedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionCompletedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionCompletedEventAttributes) GetDecisionTaskCompletedEventId

func (v *WorkflowExecutionCompletedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionCompletedEventAttributes) GetResult

func (v *WorkflowExecutionCompletedEventAttributes) GetResult() (o []byte)

GetResult returns the value of Result if it is set or its zero value if it is unset.

func (*WorkflowExecutionCompletedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *WorkflowExecutionCompletedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*WorkflowExecutionCompletedEventAttributes) IsSetResult

IsSetResult returns true if Result is not nil.

func (*WorkflowExecutionCompletedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionCompletedEventAttributes.

func (*WorkflowExecutionCompletedEventAttributes) String

String returns a readable string representation of a WorkflowExecutionCompletedEventAttributes struct.

func (*WorkflowExecutionCompletedEventAttributes) ToWire

ToWire translates a WorkflowExecutionCompletedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionConfiguration

type WorkflowExecutionConfiguration struct {
	TaskList                            *TaskList `json:"taskList,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32    `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32    `json:"taskStartToCloseTimeoutSeconds,omitempty"`
}

func (*WorkflowExecutionConfiguration) Equals

Equals returns true if all the fields of this WorkflowExecutionConfiguration match the provided WorkflowExecutionConfiguration.

This function performs a deep comparison.

func (*WorkflowExecutionConfiguration) FromWire

FromWire deserializes a WorkflowExecutionConfiguration struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionConfiguration struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionConfiguration
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionConfiguration) GetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionConfiguration) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionConfiguration) GetTaskList

func (v *WorkflowExecutionConfiguration) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*WorkflowExecutionConfiguration) GetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionConfiguration) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionConfiguration) IsSetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionConfiguration) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionConfiguration) IsSetTaskList

func (v *WorkflowExecutionConfiguration) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*WorkflowExecutionConfiguration) IsSetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionConfiguration) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionConfiguration) MarshalLogObject

func (v *WorkflowExecutionConfiguration) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionConfiguration.

func (*WorkflowExecutionConfiguration) String

String returns a readable string representation of a WorkflowExecutionConfiguration struct.

func (*WorkflowExecutionConfiguration) ToWire

ToWire translates a WorkflowExecutionConfiguration struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionContinuedAsNewEventAttributes

type WorkflowExecutionContinuedAsNewEventAttributes struct {
	NewExecutionRunId                   *string                 `json:"newExecutionRunId,omitempty"`
	WorkflowType                        *WorkflowType           `json:"workflowType,omitempty"`
	TaskList                            *TaskList               `json:"taskList,omitempty"`
	Input                               []byte                  `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                  `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                  `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	DecisionTaskCompletedEventId        *int64                  `json:"decisionTaskCompletedEventId,omitempty"`
	BackoffStartIntervalInSeconds       *int32                  `json:"backoffStartIntervalInSeconds,omitempty"`
	Initiator                           *ContinueAsNewInitiator `json:"initiator,omitempty"`
	FailureReason                       *string                 `json:"failureReason,omitempty"`
	FailureDetails                      []byte                  `json:"failureDetails,omitempty"`
	LastCompletionResult                []byte                  `json:"lastCompletionResult,omitempty"`
	Header                              *Header                 `json:"header,omitempty"`
	Memo                                *Memo                   `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes       `json:"searchAttributes,omitempty"`
}

func (*WorkflowExecutionContinuedAsNewEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionContinuedAsNewEventAttributes match the provided WorkflowExecutionContinuedAsNewEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionContinuedAsNewEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionContinuedAsNewEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionContinuedAsNewEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionContinuedAsNewEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetBackoffStartIntervalInSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetBackoffStartIntervalInSeconds() (o int32)

GetBackoffStartIntervalInSeconds returns the value of BackoffStartIntervalInSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetDecisionTaskCompletedEventId

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetFailureDetails

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetFailureDetails() (o []byte)

GetFailureDetails returns the value of FailureDetails if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetFailureReason

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetFailureReason() (o string)

GetFailureReason returns the value of FailureReason if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetHeader

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetInitiator

GetInitiator returns the value of Initiator if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetInput

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetLastCompletionResult

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetLastCompletionResult() (o []byte)

GetLastCompletionResult returns the value of LastCompletionResult if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetNewExecutionRunId

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetNewExecutionRunId() (o string)

GetNewExecutionRunId returns the value of NewExecutionRunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetSearchAttributes

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetTaskList

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowType

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetBackoffStartIntervalInSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetBackoffStartIntervalInSeconds() bool

IsSetBackoffStartIntervalInSeconds returns true if BackoffStartIntervalInSeconds is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetFailureDetails

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetFailureDetails() bool

IsSetFailureDetails returns true if FailureDetails is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetFailureReason

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetFailureReason() bool

IsSetFailureReason returns true if FailureReason is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetInitiator

IsSetInitiator returns true if Initiator is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetLastCompletionResult

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetLastCompletionResult() bool

IsSetLastCompletionResult returns true if LastCompletionResult is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetNewExecutionRunId

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetNewExecutionRunId() bool

IsSetNewExecutionRunId returns true if NewExecutionRunId is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetSearchAttributes

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetTaskList

IsSetTaskList returns true if TaskList is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionContinuedAsNewEventAttributes) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) IsSetWorkflowType

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*WorkflowExecutionContinuedAsNewEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionContinuedAsNewEventAttributes.

func (*WorkflowExecutionContinuedAsNewEventAttributes) String

String returns a readable string representation of a WorkflowExecutionContinuedAsNewEventAttributes struct.

func (*WorkflowExecutionContinuedAsNewEventAttributes) ToWire

ToWire translates a WorkflowExecutionContinuedAsNewEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionFailedEventAttributes

type WorkflowExecutionFailedEventAttributes struct {
	Reason                       *string `json:"reason,omitempty"`
	Details                      []byte  `json:"details,omitempty"`
	DecisionTaskCompletedEventId *int64  `json:"decisionTaskCompletedEventId,omitempty"`
}

func (*WorkflowExecutionFailedEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionFailedEventAttributes match the provided WorkflowExecutionFailedEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionFailedEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionFailedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionFailedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionFailedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId

func (v *WorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() (o int64)

GetDecisionTaskCompletedEventId returns the value of DecisionTaskCompletedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionFailedEventAttributes) GetDetails

func (v *WorkflowExecutionFailedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*WorkflowExecutionFailedEventAttributes) GetReason

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*WorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId

func (v *WorkflowExecutionFailedEventAttributes) IsSetDecisionTaskCompletedEventId() bool

IsSetDecisionTaskCompletedEventId returns true if DecisionTaskCompletedEventId is not nil.

func (*WorkflowExecutionFailedEventAttributes) IsSetDetails

func (v *WorkflowExecutionFailedEventAttributes) IsSetDetails() bool

IsSetDetails returns true if Details is not nil.

func (*WorkflowExecutionFailedEventAttributes) IsSetReason

IsSetReason returns true if Reason is not nil.

func (*WorkflowExecutionFailedEventAttributes) MarshalLogObject

func (v *WorkflowExecutionFailedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionFailedEventAttributes.

func (*WorkflowExecutionFailedEventAttributes) String

String returns a readable string representation of a WorkflowExecutionFailedEventAttributes struct.

func (*WorkflowExecutionFailedEventAttributes) ToWire

ToWire translates a WorkflowExecutionFailedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionFilter

type WorkflowExecutionFilter struct {
	WorkflowId *string `json:"workflowId,omitempty"`
	RunId      *string `json:"runId,omitempty"`
}

func (*WorkflowExecutionFilter) Equals

Equals returns true if all the fields of this WorkflowExecutionFilter match the provided WorkflowExecutionFilter.

This function performs a deep comparison.

func (*WorkflowExecutionFilter) FromWire

func (v *WorkflowExecutionFilter) FromWire(w wire.Value) error

FromWire deserializes a WorkflowExecutionFilter struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionFilter struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionFilter
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionFilter) GetRunId

func (v *WorkflowExecutionFilter) GetRunId() (o string)

GetRunId returns the value of RunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionFilter) GetWorkflowId

func (v *WorkflowExecutionFilter) GetWorkflowId() (o string)

GetWorkflowId returns the value of WorkflowId if it is set or its zero value if it is unset.

func (*WorkflowExecutionFilter) IsSetRunId

func (v *WorkflowExecutionFilter) IsSetRunId() bool

IsSetRunId returns true if RunId is not nil.

func (*WorkflowExecutionFilter) IsSetWorkflowId

func (v *WorkflowExecutionFilter) IsSetWorkflowId() bool

IsSetWorkflowId returns true if WorkflowId is not nil.

func (*WorkflowExecutionFilter) MarshalLogObject

func (v *WorkflowExecutionFilter) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionFilter.

func (*WorkflowExecutionFilter) String

func (v *WorkflowExecutionFilter) String() string

String returns a readable string representation of a WorkflowExecutionFilter struct.

func (*WorkflowExecutionFilter) ToWire

func (v *WorkflowExecutionFilter) ToWire() (wire.Value, error)

ToWire translates a WorkflowExecutionFilter struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionInfo

type WorkflowExecutionInfo struct {
	Execution        *WorkflowExecution            `json:"execution,omitempty"`
	Type             *WorkflowType                 `json:"type,omitempty"`
	StartTime        *int64                        `json:"startTime,omitempty"`
	CloseTime        *int64                        `json:"closeTime,omitempty"`
	CloseStatus      *WorkflowExecutionCloseStatus `json:"closeStatus,omitempty"`
	HistoryLength    *int64                        `json:"historyLength,omitempty"`
	ParentDomainId   *string                       `json:"parentDomainId,omitempty"`
	ParentExecution  *WorkflowExecution            `json:"parentExecution,omitempty"`
	ExecutionTime    *int64                        `json:"executionTime,omitempty"`
	Memo             *Memo                         `json:"memo,omitempty"`
	SearchAttributes *SearchAttributes             `json:"searchAttributes,omitempty"`
	AutoResetPoints  *ResetPoints                  `json:"autoResetPoints,omitempty"`
}

func (*WorkflowExecutionInfo) Equals

Equals returns true if all the fields of this WorkflowExecutionInfo match the provided WorkflowExecutionInfo.

This function performs a deep comparison.

func (*WorkflowExecutionInfo) FromWire

func (v *WorkflowExecutionInfo) FromWire(w wire.Value) error

FromWire deserializes a WorkflowExecutionInfo struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionInfo struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionInfo
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionInfo) GetAutoResetPoints

func (v *WorkflowExecutionInfo) GetAutoResetPoints() (o *ResetPoints)

GetAutoResetPoints returns the value of AutoResetPoints if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetCloseStatus

func (v *WorkflowExecutionInfo) GetCloseStatus() (o WorkflowExecutionCloseStatus)

GetCloseStatus returns the value of CloseStatus if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetCloseTime

func (v *WorkflowExecutionInfo) GetCloseTime() (o int64)

GetCloseTime returns the value of CloseTime if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetExecution

func (v *WorkflowExecutionInfo) GetExecution() (o *WorkflowExecution)

GetExecution returns the value of Execution if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetExecutionTime

func (v *WorkflowExecutionInfo) GetExecutionTime() (o int64)

GetExecutionTime returns the value of ExecutionTime if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetHistoryLength

func (v *WorkflowExecutionInfo) GetHistoryLength() (o int64)

GetHistoryLength returns the value of HistoryLength if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetMemo

func (v *WorkflowExecutionInfo) GetMemo() (o *Memo)

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetParentDomainId

func (v *WorkflowExecutionInfo) GetParentDomainId() (o string)

GetParentDomainId returns the value of ParentDomainId if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetParentExecution

func (v *WorkflowExecutionInfo) GetParentExecution() (o *WorkflowExecution)

GetParentExecution returns the value of ParentExecution if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetSearchAttributes

func (v *WorkflowExecutionInfo) GetSearchAttributes() (o *SearchAttributes)

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetStartTime

func (v *WorkflowExecutionInfo) GetStartTime() (o int64)

GetStartTime returns the value of StartTime if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) GetType

func (v *WorkflowExecutionInfo) GetType() (o *WorkflowType)

GetType returns the value of Type if it is set or its zero value if it is unset.

func (*WorkflowExecutionInfo) IsSetAutoResetPoints

func (v *WorkflowExecutionInfo) IsSetAutoResetPoints() bool

IsSetAutoResetPoints returns true if AutoResetPoints is not nil.

func (*WorkflowExecutionInfo) IsSetCloseStatus

func (v *WorkflowExecutionInfo) IsSetCloseStatus() bool

IsSetCloseStatus returns true if CloseStatus is not nil.

func (*WorkflowExecutionInfo) IsSetCloseTime

func (v *WorkflowExecutionInfo) IsSetCloseTime() bool

IsSetCloseTime returns true if CloseTime is not nil.

func (*WorkflowExecutionInfo) IsSetExecution

func (v *WorkflowExecutionInfo) IsSetExecution() bool

IsSetExecution returns true if Execution is not nil.

func (*WorkflowExecutionInfo) IsSetExecutionTime

func (v *WorkflowExecutionInfo) IsSetExecutionTime() bool

IsSetExecutionTime returns true if ExecutionTime is not nil.

func (*WorkflowExecutionInfo) IsSetHistoryLength

func (v *WorkflowExecutionInfo) IsSetHistoryLength() bool

IsSetHistoryLength returns true if HistoryLength is not nil.

func (*WorkflowExecutionInfo) IsSetMemo

func (v *WorkflowExecutionInfo) IsSetMemo() bool

IsSetMemo returns true if Memo is not nil.

func (*WorkflowExecutionInfo) IsSetParentDomainId

func (v *WorkflowExecutionInfo) IsSetParentDomainId() bool

IsSetParentDomainId returns true if ParentDomainId is not nil.

func (*WorkflowExecutionInfo) IsSetParentExecution

func (v *WorkflowExecutionInfo) IsSetParentExecution() bool

IsSetParentExecution returns true if ParentExecution is not nil.

func (*WorkflowExecutionInfo) IsSetSearchAttributes

func (v *WorkflowExecutionInfo) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*WorkflowExecutionInfo) IsSetStartTime

func (v *WorkflowExecutionInfo) IsSetStartTime() bool

IsSetStartTime returns true if StartTime is not nil.

func (*WorkflowExecutionInfo) IsSetType

func (v *WorkflowExecutionInfo) IsSetType() bool

IsSetType returns true if Type is not nil.

func (*WorkflowExecutionInfo) MarshalLogObject

func (v *WorkflowExecutionInfo) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionInfo.

func (*WorkflowExecutionInfo) String

func (v *WorkflowExecutionInfo) String() string

String returns a readable string representation of a WorkflowExecutionInfo struct.

func (*WorkflowExecutionInfo) ToWire

func (v *WorkflowExecutionInfo) ToWire() (wire.Value, error)

ToWire translates a WorkflowExecutionInfo struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionSignaledEventAttributes

type WorkflowExecutionSignaledEventAttributes struct {
	SignalName *string `json:"signalName,omitempty"`
	Input      []byte  `json:"input,omitempty"`
	Identity   *string `json:"identity,omitempty"`
}

func (*WorkflowExecutionSignaledEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionSignaledEventAttributes match the provided WorkflowExecutionSignaledEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionSignaledEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionSignaledEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionSignaledEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionSignaledEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionSignaledEventAttributes) GetIdentity

func (v *WorkflowExecutionSignaledEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*WorkflowExecutionSignaledEventAttributes) GetInput

func (v *WorkflowExecutionSignaledEventAttributes) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*WorkflowExecutionSignaledEventAttributes) GetSignalName

func (v *WorkflowExecutionSignaledEventAttributes) GetSignalName() (o string)

GetSignalName returns the value of SignalName if it is set or its zero value if it is unset.

func (*WorkflowExecutionSignaledEventAttributes) IsSetIdentity

IsSetIdentity returns true if Identity is not nil.

func (*WorkflowExecutionSignaledEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*WorkflowExecutionSignaledEventAttributes) IsSetSignalName

func (v *WorkflowExecutionSignaledEventAttributes) IsSetSignalName() bool

IsSetSignalName returns true if SignalName is not nil.

func (*WorkflowExecutionSignaledEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionSignaledEventAttributes.

func (*WorkflowExecutionSignaledEventAttributes) String

String returns a readable string representation of a WorkflowExecutionSignaledEventAttributes struct.

func (*WorkflowExecutionSignaledEventAttributes) ToWire

ToWire translates a WorkflowExecutionSignaledEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionStartedEventAttributes

type WorkflowExecutionStartedEventAttributes struct {
	WorkflowType                        *WorkflowType           `json:"workflowType,omitempty"`
	ParentWorkflowDomain                *string                 `json:"parentWorkflowDomain,omitempty"`
	ParentWorkflowExecution             *WorkflowExecution      `json:"parentWorkflowExecution,omitempty"`
	ParentInitiatedEventId              *int64                  `json:"parentInitiatedEventId,omitempty"`
	TaskList                            *TaskList               `json:"taskList,omitempty"`
	Input                               []byte                  `json:"input,omitempty"`
	ExecutionStartToCloseTimeoutSeconds *int32                  `json:"executionStartToCloseTimeoutSeconds,omitempty"`
	TaskStartToCloseTimeoutSeconds      *int32                  `json:"taskStartToCloseTimeoutSeconds,omitempty"`
	ContinuedExecutionRunId             *string                 `json:"continuedExecutionRunId,omitempty"`
	Initiator                           *ContinueAsNewInitiator `json:"initiator,omitempty"`
	ContinuedFailureReason              *string                 `json:"continuedFailureReason,omitempty"`
	ContinuedFailureDetails             []byte                  `json:"continuedFailureDetails,omitempty"`
	LastCompletionResult                []byte                  `json:"lastCompletionResult,omitempty"`
	OriginalExecutionRunId              *string                 `json:"originalExecutionRunId,omitempty"`
	Identity                            *string                 `json:"identity,omitempty"`
	FirstExecutionRunId                 *string                 `json:"firstExecutionRunId,omitempty"`
	RetryPolicy                         *RetryPolicy            `json:"retryPolicy,omitempty"`
	Attempt                             *int32                  `json:"attempt,omitempty"`
	ExpirationTimestamp                 *int64                  `json:"expirationTimestamp,omitempty"`
	CronSchedule                        *string                 `json:"cronSchedule,omitempty"`
	FirstDecisionTaskBackoffSeconds     *int32                  `json:"firstDecisionTaskBackoffSeconds,omitempty"`
	Memo                                *Memo                   `json:"memo,omitempty"`
	SearchAttributes                    *SearchAttributes       `json:"searchAttributes,omitempty"`
	PrevAutoResetPoints                 *ResetPoints            `json:"prevAutoResetPoints,omitempty"`
	Header                              *Header                 `json:"header,omitempty"`
}

func (*WorkflowExecutionStartedEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionStartedEventAttributes match the provided WorkflowExecutionStartedEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionStartedEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionStartedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionStartedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionStartedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionStartedEventAttributes) GetAttempt

func (v *WorkflowExecutionStartedEventAttributes) GetAttempt() (o int32)

GetAttempt returns the value of Attempt if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetContinuedExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) GetContinuedExecutionRunId() (o string)

GetContinuedExecutionRunId returns the value of ContinuedExecutionRunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetContinuedFailureDetails

func (v *WorkflowExecutionStartedEventAttributes) GetContinuedFailureDetails() (o []byte)

GetContinuedFailureDetails returns the value of ContinuedFailureDetails if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetContinuedFailureReason

func (v *WorkflowExecutionStartedEventAttributes) GetContinuedFailureReason() (o string)

GetContinuedFailureReason returns the value of ContinuedFailureReason if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetCronSchedule

func (v *WorkflowExecutionStartedEventAttributes) GetCronSchedule() (o string)

GetCronSchedule returns the value of CronSchedule if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionStartedEventAttributes) GetExecutionStartToCloseTimeoutSeconds() (o int32)

GetExecutionStartToCloseTimeoutSeconds returns the value of ExecutionStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetExpirationTimestamp

func (v *WorkflowExecutionStartedEventAttributes) GetExpirationTimestamp() (o int64)

GetExpirationTimestamp returns the value of ExpirationTimestamp if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetFirstDecisionTaskBackoffSeconds

func (v *WorkflowExecutionStartedEventAttributes) GetFirstDecisionTaskBackoffSeconds() (o int32)

GetFirstDecisionTaskBackoffSeconds returns the value of FirstDecisionTaskBackoffSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetFirstExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) GetFirstExecutionRunId() (o string)

GetFirstExecutionRunId returns the value of FirstExecutionRunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetHeader

func (v *WorkflowExecutionStartedEventAttributes) GetHeader() (o *Header)

GetHeader returns the value of Header if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetIdentity

func (v *WorkflowExecutionStartedEventAttributes) GetIdentity() (o string)

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetInitiator

GetInitiator returns the value of Initiator if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetInput

func (v *WorkflowExecutionStartedEventAttributes) GetInput() (o []byte)

GetInput returns the value of Input if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetLastCompletionResult

func (v *WorkflowExecutionStartedEventAttributes) GetLastCompletionResult() (o []byte)

GetLastCompletionResult returns the value of LastCompletionResult if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetMemo

GetMemo returns the value of Memo if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetOriginalExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) GetOriginalExecutionRunId() (o string)

GetOriginalExecutionRunId returns the value of OriginalExecutionRunId if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetParentInitiatedEventId

func (v *WorkflowExecutionStartedEventAttributes) GetParentInitiatedEventId() (o int64)

GetParentInitiatedEventId returns the value of ParentInitiatedEventId if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetParentWorkflowDomain

func (v *WorkflowExecutionStartedEventAttributes) GetParentWorkflowDomain() (o string)

GetParentWorkflowDomain returns the value of ParentWorkflowDomain if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetParentWorkflowExecution

func (v *WorkflowExecutionStartedEventAttributes) GetParentWorkflowExecution() (o *WorkflowExecution)

GetParentWorkflowExecution returns the value of ParentWorkflowExecution if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetPrevAutoResetPoints

func (v *WorkflowExecutionStartedEventAttributes) GetPrevAutoResetPoints() (o *ResetPoints)

GetPrevAutoResetPoints returns the value of PrevAutoResetPoints if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetRetryPolicy

func (v *WorkflowExecutionStartedEventAttributes) GetRetryPolicy() (o *RetryPolicy)

GetRetryPolicy returns the value of RetryPolicy if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetSearchAttributes

func (v *WorkflowExecutionStartedEventAttributes) GetSearchAttributes() (o *SearchAttributes)

GetSearchAttributes returns the value of SearchAttributes if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetTaskList

func (v *WorkflowExecutionStartedEventAttributes) GetTaskList() (o *TaskList)

GetTaskList returns the value of TaskList if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionStartedEventAttributes) GetTaskStartToCloseTimeoutSeconds() (o int32)

GetTaskStartToCloseTimeoutSeconds returns the value of TaskStartToCloseTimeoutSeconds if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) GetWorkflowType

func (v *WorkflowExecutionStartedEventAttributes) GetWorkflowType() (o *WorkflowType)

GetWorkflowType returns the value of WorkflowType if it is set or its zero value if it is unset.

func (*WorkflowExecutionStartedEventAttributes) IsSetAttempt

IsSetAttempt returns true if Attempt is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetContinuedExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) IsSetContinuedExecutionRunId() bool

IsSetContinuedExecutionRunId returns true if ContinuedExecutionRunId is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetContinuedFailureDetails

func (v *WorkflowExecutionStartedEventAttributes) IsSetContinuedFailureDetails() bool

IsSetContinuedFailureDetails returns true if ContinuedFailureDetails is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetContinuedFailureReason

func (v *WorkflowExecutionStartedEventAttributes) IsSetContinuedFailureReason() bool

IsSetContinuedFailureReason returns true if ContinuedFailureReason is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetCronSchedule

func (v *WorkflowExecutionStartedEventAttributes) IsSetCronSchedule() bool

IsSetCronSchedule returns true if CronSchedule is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds

func (v *WorkflowExecutionStartedEventAttributes) IsSetExecutionStartToCloseTimeoutSeconds() bool

IsSetExecutionStartToCloseTimeoutSeconds returns true if ExecutionStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetExpirationTimestamp

func (v *WorkflowExecutionStartedEventAttributes) IsSetExpirationTimestamp() bool

IsSetExpirationTimestamp returns true if ExpirationTimestamp is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetFirstDecisionTaskBackoffSeconds

func (v *WorkflowExecutionStartedEventAttributes) IsSetFirstDecisionTaskBackoffSeconds() bool

IsSetFirstDecisionTaskBackoffSeconds returns true if FirstDecisionTaskBackoffSeconds is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetFirstExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) IsSetFirstExecutionRunId() bool

IsSetFirstExecutionRunId returns true if FirstExecutionRunId is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetHeader

IsSetHeader returns true if Header is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetIdentity

func (v *WorkflowExecutionStartedEventAttributes) IsSetIdentity() bool

IsSetIdentity returns true if Identity is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetInitiator

func (v *WorkflowExecutionStartedEventAttributes) IsSetInitiator() bool

IsSetInitiator returns true if Initiator is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetInput

IsSetInput returns true if Input is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetLastCompletionResult

func (v *WorkflowExecutionStartedEventAttributes) IsSetLastCompletionResult() bool

IsSetLastCompletionResult returns true if LastCompletionResult is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetMemo

IsSetMemo returns true if Memo is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetOriginalExecutionRunId

func (v *WorkflowExecutionStartedEventAttributes) IsSetOriginalExecutionRunId() bool

IsSetOriginalExecutionRunId returns true if OriginalExecutionRunId is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetParentInitiatedEventId

func (v *WorkflowExecutionStartedEventAttributes) IsSetParentInitiatedEventId() bool

IsSetParentInitiatedEventId returns true if ParentInitiatedEventId is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetParentWorkflowDomain

func (v *WorkflowExecutionStartedEventAttributes) IsSetParentWorkflowDomain() bool

IsSetParentWorkflowDomain returns true if ParentWorkflowDomain is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetParentWorkflowExecution

func (v *WorkflowExecutionStartedEventAttributes) IsSetParentWorkflowExecution() bool

IsSetParentWorkflowExecution returns true if ParentWorkflowExecution is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetPrevAutoResetPoints

func (v *WorkflowExecutionStartedEventAttributes) IsSetPrevAutoResetPoints() bool

IsSetPrevAutoResetPoints returns true if PrevAutoResetPoints is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetRetryPolicy

func (v *WorkflowExecutionStartedEventAttributes) IsSetRetryPolicy() bool

IsSetRetryPolicy returns true if RetryPolicy is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetSearchAttributes

func (v *WorkflowExecutionStartedEventAttributes) IsSetSearchAttributes() bool

IsSetSearchAttributes returns true if SearchAttributes is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetTaskList

func (v *WorkflowExecutionStartedEventAttributes) IsSetTaskList() bool

IsSetTaskList returns true if TaskList is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetTaskStartToCloseTimeoutSeconds

func (v *WorkflowExecutionStartedEventAttributes) IsSetTaskStartToCloseTimeoutSeconds() bool

IsSetTaskStartToCloseTimeoutSeconds returns true if TaskStartToCloseTimeoutSeconds is not nil.

func (*WorkflowExecutionStartedEventAttributes) IsSetWorkflowType

func (v *WorkflowExecutionStartedEventAttributes) IsSetWorkflowType() bool

IsSetWorkflowType returns true if WorkflowType is not nil.

func (*WorkflowExecutionStartedEventAttributes) MarshalLogObject

func (v *WorkflowExecutionStartedEventAttributes) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionStartedEventAttributes.

func (*WorkflowExecutionStartedEventAttributes) String

String returns a readable string representation of a WorkflowExecutionStartedEventAttributes struct.

func (*WorkflowExecutionStartedEventAttributes) ToWire

ToWire translates a WorkflowExecutionStartedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionTerminatedEventAttributes

type WorkflowExecutionTerminatedEventAttributes struct {
	Reason   *string `json:"reason,omitempty"`
	Details  []byte  `json:"details,omitempty"`
	Identity *string `json:"identity,omitempty"`
}

func (*WorkflowExecutionTerminatedEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionTerminatedEventAttributes match the provided WorkflowExecutionTerminatedEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionTerminatedEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionTerminatedEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionTerminatedEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionTerminatedEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionTerminatedEventAttributes) GetDetails

func (v *WorkflowExecutionTerminatedEventAttributes) GetDetails() (o []byte)

GetDetails returns the value of Details if it is set or its zero value if it is unset.

func (*WorkflowExecutionTerminatedEventAttributes) GetIdentity

GetIdentity returns the value of Identity if it is set or its zero value if it is unset.

func (*WorkflowExecutionTerminatedEventAttributes) GetReason

GetReason returns the value of Reason if it is set or its zero value if it is unset.

func (*WorkflowExecutionTerminatedEventAttributes) IsSetDetails

IsSetDetails returns true if Details is not nil.

func (*WorkflowExecutionTerminatedEventAttributes) IsSetIdentity

IsSetIdentity returns true if Identity is not nil.

func (*WorkflowExecutionTerminatedEventAttributes) IsSetReason

IsSetReason returns true if Reason is not nil.

func (*WorkflowExecutionTerminatedEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionTerminatedEventAttributes.

func (*WorkflowExecutionTerminatedEventAttributes) String

String returns a readable string representation of a WorkflowExecutionTerminatedEventAttributes struct.

func (*WorkflowExecutionTerminatedEventAttributes) ToWire

ToWire translates a WorkflowExecutionTerminatedEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowExecutionTimedOutEventAttributes

type WorkflowExecutionTimedOutEventAttributes struct {
	TimeoutType *TimeoutType `json:"timeoutType,omitempty"`
}

func (*WorkflowExecutionTimedOutEventAttributes) Equals

Equals returns true if all the fields of this WorkflowExecutionTimedOutEventAttributes match the provided WorkflowExecutionTimedOutEventAttributes.

This function performs a deep comparison.

func (*WorkflowExecutionTimedOutEventAttributes) FromWire

FromWire deserializes a WorkflowExecutionTimedOutEventAttributes struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowExecutionTimedOutEventAttributes struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowExecutionTimedOutEventAttributes
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowExecutionTimedOutEventAttributes) GetTimeoutType

func (v *WorkflowExecutionTimedOutEventAttributes) GetTimeoutType() (o TimeoutType)

GetTimeoutType returns the value of TimeoutType if it is set or its zero value if it is unset.

func (*WorkflowExecutionTimedOutEventAttributes) IsSetTimeoutType

func (v *WorkflowExecutionTimedOutEventAttributes) IsSetTimeoutType() bool

IsSetTimeoutType returns true if TimeoutType is not nil.

func (*WorkflowExecutionTimedOutEventAttributes) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowExecutionTimedOutEventAttributes.

func (*WorkflowExecutionTimedOutEventAttributes) String

String returns a readable string representation of a WorkflowExecutionTimedOutEventAttributes struct.

func (*WorkflowExecutionTimedOutEventAttributes) ToWire

ToWire translates a WorkflowExecutionTimedOutEventAttributes struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowIdReusePolicy

type WorkflowIdReusePolicy int32
const (
	WorkflowIdReusePolicyAllowDuplicateFailedOnly WorkflowIdReusePolicy = 0
	WorkflowIdReusePolicyAllowDuplicate           WorkflowIdReusePolicy = 1
	WorkflowIdReusePolicyRejectDuplicate          WorkflowIdReusePolicy = 2
)

func WorkflowIdReusePolicy_Values

func WorkflowIdReusePolicy_Values() []WorkflowIdReusePolicy

WorkflowIdReusePolicy_Values returns all recognized values of WorkflowIdReusePolicy.

func (WorkflowIdReusePolicy) Equals

Equals returns true if this WorkflowIdReusePolicy value matches the provided value.

func (*WorkflowIdReusePolicy) FromWire

func (v *WorkflowIdReusePolicy) FromWire(w wire.Value) error

FromWire deserializes WorkflowIdReusePolicy from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return WorkflowIdReusePolicy(0), err
}

var v WorkflowIdReusePolicy
if err := v.FromWire(x); err != nil {
  return WorkflowIdReusePolicy(0), err
}
return v, nil

func (WorkflowIdReusePolicy) MarshalJSON

func (v WorkflowIdReusePolicy) MarshalJSON() ([]byte, error)

MarshalJSON serializes WorkflowIdReusePolicy into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (WorkflowIdReusePolicy) MarshalLogObject

func (v WorkflowIdReusePolicy) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowIdReusePolicy. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (WorkflowIdReusePolicy) MarshalText

func (v WorkflowIdReusePolicy) MarshalText() ([]byte, error)

MarshalText encodes WorkflowIdReusePolicy to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (WorkflowIdReusePolicy) Ptr

Ptr returns a pointer to this enum value.

func (WorkflowIdReusePolicy) String

func (v WorkflowIdReusePolicy) String() string

String returns a readable string representation of WorkflowIdReusePolicy.

func (WorkflowIdReusePolicy) ToWire

func (v WorkflowIdReusePolicy) ToWire() (wire.Value, error)

ToWire translates WorkflowIdReusePolicy into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*WorkflowIdReusePolicy) UnmarshalJSON

func (v *WorkflowIdReusePolicy) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode WorkflowIdReusePolicy from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*WorkflowIdReusePolicy) UnmarshalText

func (v *WorkflowIdReusePolicy) UnmarshalText(value []byte) error

UnmarshalText tries to decode WorkflowIdReusePolicy from a byte slice containing its name.

var v WorkflowIdReusePolicy
err := v.UnmarshalText([]byte("AllowDuplicateFailedOnly"))

type WorkflowQuery

type WorkflowQuery struct {
	QueryType *string `json:"queryType,omitempty"`
	QueryArgs []byte  `json:"queryArgs,omitempty"`
}

func (*WorkflowQuery) Equals

func (v *WorkflowQuery) Equals(rhs *WorkflowQuery) bool

Equals returns true if all the fields of this WorkflowQuery match the provided WorkflowQuery.

This function performs a deep comparison.

func (*WorkflowQuery) FromWire

func (v *WorkflowQuery) FromWire(w wire.Value) error

FromWire deserializes a WorkflowQuery struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowQuery struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowQuery
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowQuery) GetQueryArgs

func (v *WorkflowQuery) GetQueryArgs() (o []byte)

GetQueryArgs returns the value of QueryArgs if it is set or its zero value if it is unset.

func (*WorkflowQuery) GetQueryType

func (v *WorkflowQuery) GetQueryType() (o string)

GetQueryType returns the value of QueryType if it is set or its zero value if it is unset.

func (*WorkflowQuery) IsSetQueryArgs

func (v *WorkflowQuery) IsSetQueryArgs() bool

IsSetQueryArgs returns true if QueryArgs is not nil.

func (*WorkflowQuery) IsSetQueryType

func (v *WorkflowQuery) IsSetQueryType() bool

IsSetQueryType returns true if QueryType is not nil.

func (*WorkflowQuery) MarshalLogObject

func (v *WorkflowQuery) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowQuery.

func (*WorkflowQuery) String

func (v *WorkflowQuery) String() string

String returns a readable string representation of a WorkflowQuery struct.

func (*WorkflowQuery) ToWire

func (v *WorkflowQuery) ToWire() (wire.Value, error)

ToWire translates a WorkflowQuery struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowQueryResult

type WorkflowQueryResult struct {
	ResultType   *QueryResultType `json:"resultType,omitempty"`
	Answer       []byte           `json:"answer,omitempty"`
	ErrorReason  *string          `json:"errorReason,omitempty"`
	ErrorDetails []byte           `json:"errorDetails,omitempty"`
}

func (*WorkflowQueryResult) Equals

Equals returns true if all the fields of this WorkflowQueryResult match the provided WorkflowQueryResult.

This function performs a deep comparison.

func (*WorkflowQueryResult) FromWire

func (v *WorkflowQueryResult) FromWire(w wire.Value) error

FromWire deserializes a WorkflowQueryResult struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowQueryResult struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowQueryResult
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowQueryResult) GetAnswer

func (v *WorkflowQueryResult) GetAnswer() (o []byte)

GetAnswer returns the value of Answer if it is set or its zero value if it is unset.

func (*WorkflowQueryResult) GetErrorDetails

func (v *WorkflowQueryResult) GetErrorDetails() (o []byte)

GetErrorDetails returns the value of ErrorDetails if it is set or its zero value if it is unset.

func (*WorkflowQueryResult) GetErrorReason

func (v *WorkflowQueryResult) GetErrorReason() (o string)

GetErrorReason returns the value of ErrorReason if it is set or its zero value if it is unset.

func (*WorkflowQueryResult) GetResultType

func (v *WorkflowQueryResult) GetResultType() (o QueryResultType)

GetResultType returns the value of ResultType if it is set or its zero value if it is unset.

func (*WorkflowQueryResult) IsSetAnswer

func (v *WorkflowQueryResult) IsSetAnswer() bool

IsSetAnswer returns true if Answer is not nil.

func (*WorkflowQueryResult) IsSetErrorDetails

func (v *WorkflowQueryResult) IsSetErrorDetails() bool

IsSetErrorDetails returns true if ErrorDetails is not nil.

func (*WorkflowQueryResult) IsSetErrorReason

func (v *WorkflowQueryResult) IsSetErrorReason() bool

IsSetErrorReason returns true if ErrorReason is not nil.

func (*WorkflowQueryResult) IsSetResultType

func (v *WorkflowQueryResult) IsSetResultType() bool

IsSetResultType returns true if ResultType is not nil.

func (*WorkflowQueryResult) MarshalLogObject

func (v *WorkflowQueryResult) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowQueryResult.

func (*WorkflowQueryResult) String

func (v *WorkflowQueryResult) String() string

String returns a readable string representation of a WorkflowQueryResult struct.

func (*WorkflowQueryResult) ToWire

func (v *WorkflowQueryResult) ToWire() (wire.Value, error)

ToWire translates a WorkflowQueryResult struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowType

type WorkflowType struct {
	Name *string `json:"name,omitempty"`
}

func (*WorkflowType) Equals

func (v *WorkflowType) Equals(rhs *WorkflowType) bool

Equals returns true if all the fields of this WorkflowType match the provided WorkflowType.

This function performs a deep comparison.

func (*WorkflowType) FromWire

func (v *WorkflowType) FromWire(w wire.Value) error

FromWire deserializes a WorkflowType struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowType struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowType
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowType) GetName

func (v *WorkflowType) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*WorkflowType) IsSetName

func (v *WorkflowType) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*WorkflowType) MarshalLogObject

func (v *WorkflowType) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowType.

func (*WorkflowType) String

func (v *WorkflowType) String() string

String returns a readable string representation of a WorkflowType struct.

func (*WorkflowType) ToWire

func (v *WorkflowType) ToWire() (wire.Value, error)

ToWire translates a WorkflowType struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

type WorkflowTypeFilter

type WorkflowTypeFilter struct {
	Name *string `json:"name,omitempty"`
}

func (*WorkflowTypeFilter) Equals

func (v *WorkflowTypeFilter) Equals(rhs *WorkflowTypeFilter) bool

Equals returns true if all the fields of this WorkflowTypeFilter match the provided WorkflowTypeFilter.

This function performs a deep comparison.

func (*WorkflowTypeFilter) FromWire

func (v *WorkflowTypeFilter) FromWire(w wire.Value) error

FromWire deserializes a WorkflowTypeFilter struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a WorkflowTypeFilter struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v WorkflowTypeFilter
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*WorkflowTypeFilter) GetName

func (v *WorkflowTypeFilter) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*WorkflowTypeFilter) IsSetName

func (v *WorkflowTypeFilter) IsSetName() bool

IsSetName returns true if Name is not nil.

func (*WorkflowTypeFilter) MarshalLogObject

func (v *WorkflowTypeFilter) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of WorkflowTypeFilter.

func (*WorkflowTypeFilter) String

func (v *WorkflowTypeFilter) String() string

String returns a readable string representation of a WorkflowTypeFilter struct.

func (*WorkflowTypeFilter) ToWire

func (v *WorkflowTypeFilter) ToWire() (wire.Value, error)

ToWire translates a WorkflowTypeFilter struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

Jump to

Keyboard shortcuts

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