go/proto/api/v1/decision.pb.go (6,453 lines of code) (raw):
// The MIT License (MIT)
//
// Copyright (c) 2021 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: uber/cadence/api/v1/decision.proto
package apiv1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type Decision struct {
// Types that are valid to be assigned to Attributes:
// *Decision_ScheduleActivityTaskDecisionAttributes
// *Decision_StartTimerDecisionAttributes
// *Decision_CompleteWorkflowExecutionDecisionAttributes
// *Decision_FailWorkflowExecutionDecisionAttributes
// *Decision_RequestCancelActivityTaskDecisionAttributes
// *Decision_CancelTimerDecisionAttributes
// *Decision_CancelWorkflowExecutionDecisionAttributes
// *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes
// *Decision_RecordMarkerDecisionAttributes
// *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes
// *Decision_StartChildWorkflowExecutionDecisionAttributes
// *Decision_SignalExternalWorkflowExecutionDecisionAttributes
// *Decision_UpsertWorkflowSearchAttributesDecisionAttributes
Attributes isDecision_Attributes `protobuf_oneof:"attributes"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Decision) Reset() { *m = Decision{} }
func (m *Decision) String() string { return proto.CompactTextString(m) }
func (*Decision) ProtoMessage() {}
func (*Decision) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{0}
}
func (m *Decision) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Decision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Decision.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Decision) XXX_Merge(src proto.Message) {
xxx_messageInfo_Decision.Merge(m, src)
}
func (m *Decision) XXX_Size() int {
return m.Size()
}
func (m *Decision) XXX_DiscardUnknown() {
xxx_messageInfo_Decision.DiscardUnknown(m)
}
var xxx_messageInfo_Decision proto.InternalMessageInfo
type isDecision_Attributes interface {
isDecision_Attributes()
MarshalTo([]byte) (int, error)
Size() int
}
type Decision_ScheduleActivityTaskDecisionAttributes struct {
ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes `protobuf:"bytes,1,opt,name=schedule_activity_task_decision_attributes,json=scheduleActivityTaskDecisionAttributes,proto3,oneof" json:"schedule_activity_task_decision_attributes,omitempty"`
}
type Decision_StartTimerDecisionAttributes struct {
StartTimerDecisionAttributes *StartTimerDecisionAttributes `protobuf:"bytes,2,opt,name=start_timer_decision_attributes,json=startTimerDecisionAttributes,proto3,oneof" json:"start_timer_decision_attributes,omitempty"`
}
type Decision_CompleteWorkflowExecutionDecisionAttributes struct {
CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes `protobuf:"bytes,3,opt,name=complete_workflow_execution_decision_attributes,json=completeWorkflowExecutionDecisionAttributes,proto3,oneof" json:"complete_workflow_execution_decision_attributes,omitempty"`
}
type Decision_FailWorkflowExecutionDecisionAttributes struct {
FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes `protobuf:"bytes,4,opt,name=fail_workflow_execution_decision_attributes,json=failWorkflowExecutionDecisionAttributes,proto3,oneof" json:"fail_workflow_execution_decision_attributes,omitempty"`
}
type Decision_RequestCancelActivityTaskDecisionAttributes struct {
RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes `protobuf:"bytes,5,opt,name=request_cancel_activity_task_decision_attributes,json=requestCancelActivityTaskDecisionAttributes,proto3,oneof" json:"request_cancel_activity_task_decision_attributes,omitempty"`
}
type Decision_CancelTimerDecisionAttributes struct {
CancelTimerDecisionAttributes *CancelTimerDecisionAttributes `protobuf:"bytes,6,opt,name=cancel_timer_decision_attributes,json=cancelTimerDecisionAttributes,proto3,oneof" json:"cancel_timer_decision_attributes,omitempty"`
}
type Decision_CancelWorkflowExecutionDecisionAttributes struct {
CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes `protobuf:"bytes,7,opt,name=cancel_workflow_execution_decision_attributes,json=cancelWorkflowExecutionDecisionAttributes,proto3,oneof" json:"cancel_workflow_execution_decision_attributes,omitempty"`
}
type Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes struct {
RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes `protobuf:"bytes,8,opt,name=request_cancel_external_workflow_execution_decision_attributes,json=requestCancelExternalWorkflowExecutionDecisionAttributes,proto3,oneof" json:"request_cancel_external_workflow_execution_decision_attributes,omitempty"`
}
type Decision_RecordMarkerDecisionAttributes struct {
RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes `protobuf:"bytes,9,opt,name=record_marker_decision_attributes,json=recordMarkerDecisionAttributes,proto3,oneof" json:"record_marker_decision_attributes,omitempty"`
}
type Decision_ContinueAsNewWorkflowExecutionDecisionAttributes struct {
ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `protobuf:"bytes,10,opt,name=continue_as_new_workflow_execution_decision_attributes,json=continueAsNewWorkflowExecutionDecisionAttributes,proto3,oneof" json:"continue_as_new_workflow_execution_decision_attributes,omitempty"`
}
type Decision_StartChildWorkflowExecutionDecisionAttributes struct {
StartChildWorkflowExecutionDecisionAttributes *StartChildWorkflowExecutionDecisionAttributes `protobuf:"bytes,11,opt,name=start_child_workflow_execution_decision_attributes,json=startChildWorkflowExecutionDecisionAttributes,proto3,oneof" json:"start_child_workflow_execution_decision_attributes,omitempty"`
}
type Decision_SignalExternalWorkflowExecutionDecisionAttributes struct {
SignalExternalWorkflowExecutionDecisionAttributes *SignalExternalWorkflowExecutionDecisionAttributes `protobuf:"bytes,12,opt,name=signal_external_workflow_execution_decision_attributes,json=signalExternalWorkflowExecutionDecisionAttributes,proto3,oneof" json:"signal_external_workflow_execution_decision_attributes,omitempty"`
}
type Decision_UpsertWorkflowSearchAttributesDecisionAttributes struct {
UpsertWorkflowSearchAttributesDecisionAttributes *UpsertWorkflowSearchAttributesDecisionAttributes `protobuf:"bytes,13,opt,name=upsert_workflow_search_attributes_decision_attributes,json=upsertWorkflowSearchAttributesDecisionAttributes,proto3,oneof" json:"upsert_workflow_search_attributes_decision_attributes,omitempty"`
}
func (*Decision_ScheduleActivityTaskDecisionAttributes) isDecision_Attributes() {}
func (*Decision_StartTimerDecisionAttributes) isDecision_Attributes() {}
func (*Decision_CompleteWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_FailWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_RequestCancelActivityTaskDecisionAttributes) isDecision_Attributes() {}
func (*Decision_CancelTimerDecisionAttributes) isDecision_Attributes() {}
func (*Decision_CancelWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_RecordMarkerDecisionAttributes) isDecision_Attributes() {}
func (*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_StartChildWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_SignalExternalWorkflowExecutionDecisionAttributes) isDecision_Attributes() {}
func (*Decision_UpsertWorkflowSearchAttributesDecisionAttributes) isDecision_Attributes() {}
func (m *Decision) GetAttributes() isDecision_Attributes {
if m != nil {
return m.Attributes
}
return nil
}
func (m *Decision) GetScheduleActivityTaskDecisionAttributes() *ScheduleActivityTaskDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_ScheduleActivityTaskDecisionAttributes); ok {
return x.ScheduleActivityTaskDecisionAttributes
}
return nil
}
func (m *Decision) GetStartTimerDecisionAttributes() *StartTimerDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_StartTimerDecisionAttributes); ok {
return x.StartTimerDecisionAttributes
}
return nil
}
func (m *Decision) GetCompleteWorkflowExecutionDecisionAttributes() *CompleteWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_CompleteWorkflowExecutionDecisionAttributes); ok {
return x.CompleteWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetFailWorkflowExecutionDecisionAttributes() *FailWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_FailWorkflowExecutionDecisionAttributes); ok {
return x.FailWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetRequestCancelActivityTaskDecisionAttributes() *RequestCancelActivityTaskDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_RequestCancelActivityTaskDecisionAttributes); ok {
return x.RequestCancelActivityTaskDecisionAttributes
}
return nil
}
func (m *Decision) GetCancelTimerDecisionAttributes() *CancelTimerDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_CancelTimerDecisionAttributes); ok {
return x.CancelTimerDecisionAttributes
}
return nil
}
func (m *Decision) GetCancelWorkflowExecutionDecisionAttributes() *CancelWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_CancelWorkflowExecutionDecisionAttributes); ok {
return x.CancelWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetRequestCancelExternalWorkflowExecutionDecisionAttributes() *RequestCancelExternalWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes); ok {
return x.RequestCancelExternalWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetRecordMarkerDecisionAttributes() *RecordMarkerDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_RecordMarkerDecisionAttributes); ok {
return x.RecordMarkerDecisionAttributes
}
return nil
}
func (m *Decision) GetContinueAsNewWorkflowExecutionDecisionAttributes() *ContinueAsNewWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes); ok {
return x.ContinueAsNewWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetStartChildWorkflowExecutionDecisionAttributes() *StartChildWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_StartChildWorkflowExecutionDecisionAttributes); ok {
return x.StartChildWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetSignalExternalWorkflowExecutionDecisionAttributes() *SignalExternalWorkflowExecutionDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_SignalExternalWorkflowExecutionDecisionAttributes); ok {
return x.SignalExternalWorkflowExecutionDecisionAttributes
}
return nil
}
func (m *Decision) GetUpsertWorkflowSearchAttributesDecisionAttributes() *UpsertWorkflowSearchAttributesDecisionAttributes {
if x, ok := m.GetAttributes().(*Decision_UpsertWorkflowSearchAttributesDecisionAttributes); ok {
return x.UpsertWorkflowSearchAttributesDecisionAttributes
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Decision) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Decision_ScheduleActivityTaskDecisionAttributes)(nil),
(*Decision_StartTimerDecisionAttributes)(nil),
(*Decision_CompleteWorkflowExecutionDecisionAttributes)(nil),
(*Decision_FailWorkflowExecutionDecisionAttributes)(nil),
(*Decision_RequestCancelActivityTaskDecisionAttributes)(nil),
(*Decision_CancelTimerDecisionAttributes)(nil),
(*Decision_CancelWorkflowExecutionDecisionAttributes)(nil),
(*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes)(nil),
(*Decision_RecordMarkerDecisionAttributes)(nil),
(*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes)(nil),
(*Decision_StartChildWorkflowExecutionDecisionAttributes)(nil),
(*Decision_SignalExternalWorkflowExecutionDecisionAttributes)(nil),
(*Decision_UpsertWorkflowSearchAttributesDecisionAttributes)(nil),
}
}
type ScheduleActivityTaskDecisionAttributes struct {
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
ActivityType *ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"`
Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
ScheduleToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"`
ScheduleToStartTimeout *types.Duration `protobuf:"bytes,7,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"`
StartToCloseTimeout *types.Duration `protobuf:"bytes,8,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"`
HeartbeatTimeout *types.Duration `protobuf:"bytes,9,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"`
RetryPolicy *RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
Header *Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"`
RequestLocalDispatch bool `protobuf:"varint,13,opt,name=request_local_dispatch,json=requestLocalDispatch,proto3" json:"request_local_dispatch,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ScheduleActivityTaskDecisionAttributes) Reset() {
*m = ScheduleActivityTaskDecisionAttributes{}
}
func (m *ScheduleActivityTaskDecisionAttributes) String() string { return proto.CompactTextString(m) }
func (*ScheduleActivityTaskDecisionAttributes) ProtoMessage() {}
func (*ScheduleActivityTaskDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{1}
}
func (m *ScheduleActivityTaskDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ScheduleActivityTaskDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ScheduleActivityTaskDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.Merge(m, src)
}
func (m *ScheduleActivityTaskDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *ScheduleActivityTaskDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_ScheduleActivityTaskDecisionAttributes proto.InternalMessageInfo
func (m *ScheduleActivityTaskDecisionAttributes) GetActivityId() string {
if m != nil {
return m.ActivityId
}
return ""
}
func (m *ScheduleActivityTaskDecisionAttributes) GetActivityType() *ActivityType {
if m != nil {
return m.ActivityType
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *ScheduleActivityTaskDecisionAttributes) GetTaskList() *TaskList {
if m != nil {
return m.TaskList
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetInput() *Payload {
if m != nil {
return m.Input
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetScheduleToCloseTimeout() *types.Duration {
if m != nil {
return m.ScheduleToCloseTimeout
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetScheduleToStartTimeout() *types.Duration {
if m != nil {
return m.ScheduleToStartTimeout
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetStartToCloseTimeout() *types.Duration {
if m != nil {
return m.StartToCloseTimeout
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetHeartbeatTimeout() *types.Duration {
if m != nil {
return m.HeartbeatTimeout
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetRetryPolicy() *RetryPolicy {
if m != nil {
return m.RetryPolicy
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetHeader() *Header {
if m != nil {
return m.Header
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) GetRequestLocalDispatch() bool {
if m != nil {
return m.RequestLocalDispatch
}
return false
}
type StartTimerDecisionAttributes struct {
TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"`
StartToFireTimeout *types.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3" json:"start_to_fire_timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StartTimerDecisionAttributes) Reset() { *m = StartTimerDecisionAttributes{} }
func (m *StartTimerDecisionAttributes) String() string { return proto.CompactTextString(m) }
func (*StartTimerDecisionAttributes) ProtoMessage() {}
func (*StartTimerDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{2}
}
func (m *StartTimerDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *StartTimerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_StartTimerDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *StartTimerDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartTimerDecisionAttributes.Merge(m, src)
}
func (m *StartTimerDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *StartTimerDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_StartTimerDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_StartTimerDecisionAttributes proto.InternalMessageInfo
func (m *StartTimerDecisionAttributes) GetTimerId() string {
if m != nil {
return m.TimerId
}
return ""
}
func (m *StartTimerDecisionAttributes) GetStartToFireTimeout() *types.Duration {
if m != nil {
return m.StartToFireTimeout
}
return nil
}
type CompleteWorkflowExecutionDecisionAttributes struct {
Result *Payload `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CompleteWorkflowExecutionDecisionAttributes) Reset() {
*m = CompleteWorkflowExecutionDecisionAttributes{}
}
func (m *CompleteWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*CompleteWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*CompleteWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{3}
}
func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *CompleteWorkflowExecutionDecisionAttributes) GetResult() *Payload {
if m != nil {
return m.Result
}
return nil
}
type FailWorkflowExecutionDecisionAttributes struct {
Failure *Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FailWorkflowExecutionDecisionAttributes) Reset() {
*m = FailWorkflowExecutionDecisionAttributes{}
}
func (m *FailWorkflowExecutionDecisionAttributes) String() string { return proto.CompactTextString(m) }
func (*FailWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*FailWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{4}
}
func (m *FailWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *FailWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *FailWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *FailWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *FailWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_FailWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *FailWorkflowExecutionDecisionAttributes) GetFailure() *Failure {
if m != nil {
return m.Failure
}
return nil
}
type RequestCancelActivityTaskDecisionAttributes struct {
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RequestCancelActivityTaskDecisionAttributes) Reset() {
*m = RequestCancelActivityTaskDecisionAttributes{}
}
func (m *RequestCancelActivityTaskDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*RequestCancelActivityTaskDecisionAttributes) ProtoMessage() {}
func (*RequestCancelActivityTaskDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{5}
}
func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.Merge(m, src)
}
func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *RequestCancelActivityTaskDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes proto.InternalMessageInfo
func (m *RequestCancelActivityTaskDecisionAttributes) GetActivityId() string {
if m != nil {
return m.ActivityId
}
return ""
}
type CancelTimerDecisionAttributes struct {
TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CancelTimerDecisionAttributes) Reset() { *m = CancelTimerDecisionAttributes{} }
func (m *CancelTimerDecisionAttributes) String() string { return proto.CompactTextString(m) }
func (*CancelTimerDecisionAttributes) ProtoMessage() {}
func (*CancelTimerDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{6}
}
func (m *CancelTimerDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CancelTimerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CancelTimerDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *CancelTimerDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_CancelTimerDecisionAttributes.Merge(m, src)
}
func (m *CancelTimerDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *CancelTimerDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_CancelTimerDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_CancelTimerDecisionAttributes proto.InternalMessageInfo
func (m *CancelTimerDecisionAttributes) GetTimerId() string {
if m != nil {
return m.TimerId
}
return ""
}
type CancelWorkflowExecutionDecisionAttributes struct {
Details *Payload `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CancelWorkflowExecutionDecisionAttributes) Reset() {
*m = CancelWorkflowExecutionDecisionAttributes{}
}
func (m *CancelWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*CancelWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*CancelWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{7}
}
func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *CancelWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *CancelWorkflowExecutionDecisionAttributes) GetDetails() *Payload {
if m != nil {
return m.Details
}
return nil
}
type RequestCancelExternalWorkflowExecutionDecisionAttributes struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
Control []byte `protobuf:"bytes,3,opt,name=control,proto3" json:"control,omitempty"`
ChildWorkflowOnly bool `protobuf:"varint,4,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Reset() {
*m = RequestCancelExternalWorkflowExecutionDecisionAttributes{}
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{8}
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetWorkflowExecution() *WorkflowExecution {
if m != nil {
return m.WorkflowExecution
}
return nil
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetControl() []byte {
if m != nil {
return m.Control
}
return nil
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() bool {
if m != nil {
return m.ChildWorkflowOnly
}
return false
}
type RecordMarkerDecisionAttributes struct {
MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"`
Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RecordMarkerDecisionAttributes) Reset() { *m = RecordMarkerDecisionAttributes{} }
func (m *RecordMarkerDecisionAttributes) String() string { return proto.CompactTextString(m) }
func (*RecordMarkerDecisionAttributes) ProtoMessage() {}
func (*RecordMarkerDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{9}
}
func (m *RecordMarkerDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *RecordMarkerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_RecordMarkerDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *RecordMarkerDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_RecordMarkerDecisionAttributes.Merge(m, src)
}
func (m *RecordMarkerDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *RecordMarkerDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_RecordMarkerDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_RecordMarkerDecisionAttributes proto.InternalMessageInfo
func (m *RecordMarkerDecisionAttributes) GetMarkerName() string {
if m != nil {
return m.MarkerName
}
return ""
}
func (m *RecordMarkerDecisionAttributes) GetDetails() *Payload {
if m != nil {
return m.Details
}
return nil
}
func (m *RecordMarkerDecisionAttributes) GetHeader() *Header {
if m != nil {
return m.Header
}
return nil
}
type ContinueAsNewWorkflowExecutionDecisionAttributes struct {
WorkflowType *WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"`
Input *Payload `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,4,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"`
TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,5,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"`
BackoffStartInterval *types.Duration `protobuf:"bytes,6,opt,name=backoff_start_interval,json=backoffStartInterval,proto3" json:"backoff_start_interval,omitempty"`
RetryPolicy *RetryPolicy `protobuf:"bytes,7,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
Initiator ContinueAsNewInitiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=uber.cadence.api.v1.ContinueAsNewInitiator" json:"initiator,omitempty"`
Failure *Failure `protobuf:"bytes,9,opt,name=failure,proto3" json:"failure,omitempty"`
LastCompletionResult *Payload `protobuf:"bytes,10,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"`
CronSchedule string `protobuf:"bytes,11,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
Header *Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"`
Memo *Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
SearchAttributes *SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
JitterStart *types.Duration `protobuf:"bytes,15,opt,name=jitter_start,json=jitterStart,proto3" json:"jitter_start,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Reset() {
*m = ContinueAsNewWorkflowExecutionDecisionAttributes{}
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*ContinueAsNewWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*ContinueAsNewWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{10}
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetWorkflowType() *WorkflowType {
if m != nil {
return m.WorkflowType
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskList() *TaskList {
if m != nil {
return m.TaskList
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetInput() *Payload {
if m != nil {
return m.Input
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeout() *types.Duration {
if m != nil {
return m.ExecutionStartToCloseTimeout
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeout() *types.Duration {
if m != nil {
return m.TaskStartToCloseTimeout
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetBackoffStartInterval() *types.Duration {
if m != nil {
return m.BackoffStartInterval
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetRetryPolicy() *RetryPolicy {
if m != nil {
return m.RetryPolicy
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetInitiator() ContinueAsNewInitiator {
if m != nil {
return m.Initiator
}
return ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_INVALID
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailure() *Failure {
if m != nil {
return m.Failure
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetLastCompletionResult() *Payload {
if m != nil {
return m.LastCompletionResult
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetCronSchedule() string {
if m != nil {
return m.CronSchedule
}
return ""
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetHeader() *Header {
if m != nil {
return m.Header
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetMemo() *Memo {
if m != nil {
return m.Memo
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetSearchAttributes() *SearchAttributes {
if m != nil {
return m.SearchAttributes
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetJitterStart() *types.Duration {
if m != nil {
return m.JitterStart
}
return nil
}
type StartChildWorkflowExecutionDecisionAttributes struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"`
Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"`
TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,7,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"`
ParentClosePolicy ParentClosePolicy `protobuf:"varint,8,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=uber.cadence.api.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"`
Control []byte `protobuf:"bytes,9,opt,name=control,proto3" json:"control,omitempty"`
WorkflowIdReusePolicy WorkflowIdReusePolicy `protobuf:"varint,10,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=uber.cadence.api.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"`
RetryPolicy *RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
CronSchedule string `protobuf:"bytes,12,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
Header *Header `protobuf:"bytes,13,opt,name=header,proto3" json:"header,omitempty"`
Memo *Memo `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"`
SearchAttributes *SearchAttributes `protobuf:"bytes,15,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StartChildWorkflowExecutionDecisionAttributes) Reset() {
*m = StartChildWorkflowExecutionDecisionAttributes{}
}
func (m *StartChildWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*StartChildWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*StartChildWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{11}
}
func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *StartChildWorkflowExecutionDecisionAttributes) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowId() string {
if m != nil {
return m.WorkflowId
}
return ""
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowType() *WorkflowType {
if m != nil {
return m.WorkflowType
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetTaskList() *TaskList {
if m != nil {
return m.TaskList
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetInput() *Payload {
if m != nil {
return m.Input
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeout() *types.Duration {
if m != nil {
return m.ExecutionStartToCloseTimeout
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeout() *types.Duration {
if m != nil {
return m.TaskStartToCloseTimeout
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetParentClosePolicy() ParentClosePolicy {
if m != nil {
return m.ParentClosePolicy
}
return ParentClosePolicy_PARENT_CLOSE_POLICY_INVALID
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetControl() []byte {
if m != nil {
return m.Control
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowIdReusePolicy() WorkflowIdReusePolicy {
if m != nil {
return m.WorkflowIdReusePolicy
}
return WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_INVALID
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetRetryPolicy() *RetryPolicy {
if m != nil {
return m.RetryPolicy
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetCronSchedule() string {
if m != nil {
return m.CronSchedule
}
return ""
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetHeader() *Header {
if m != nil {
return m.Header
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetMemo() *Memo {
if m != nil {
return m.Memo
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) GetSearchAttributes() *SearchAttributes {
if m != nil {
return m.SearchAttributes
}
return nil
}
type SignalExternalWorkflowExecutionDecisionAttributes struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"`
Input *Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
Control []byte `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"`
ChildWorkflowOnly bool `protobuf:"varint,6,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) Reset() {
*m = SignalExternalWorkflowExecutionDecisionAttributes{}
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*SignalExternalWorkflowExecutionDecisionAttributes) ProtoMessage() {}
func (*SignalExternalWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{12}
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.Merge(m, src)
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes proto.InternalMessageInfo
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetWorkflowExecution() *WorkflowExecution {
if m != nil {
return m.WorkflowExecution
}
return nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetSignalName() string {
if m != nil {
return m.SignalName
}
return ""
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetInput() *Payload {
if m != nil {
return m.Input
}
return nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetControl() []byte {
if m != nil {
return m.Control
}
return nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() bool {
if m != nil {
return m.ChildWorkflowOnly
}
return false
}
type UpsertWorkflowSearchAttributesDecisionAttributes struct {
SearchAttributes *SearchAttributes `protobuf:"bytes,1,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Reset() {
*m = UpsertWorkflowSearchAttributesDecisionAttributes{}
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) String() string {
return proto.CompactTextString(m)
}
func (*UpsertWorkflowSearchAttributesDecisionAttributes) ProtoMessage() {}
func (*UpsertWorkflowSearchAttributesDecisionAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_fb529b236ea74dc2, []int{13}
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.Merge(m, src)
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Size() int {
return m.Size()
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes proto.InternalMessageInfo
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) GetSearchAttributes() *SearchAttributes {
if m != nil {
return m.SearchAttributes
}
return nil
}
func init() {
proto.RegisterType((*Decision)(nil), "uber.cadence.api.v1.Decision")
proto.RegisterType((*ScheduleActivityTaskDecisionAttributes)(nil), "uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes")
proto.RegisterType((*StartTimerDecisionAttributes)(nil), "uber.cadence.api.v1.StartTimerDecisionAttributes")
proto.RegisterType((*CompleteWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributes")
proto.RegisterType((*FailWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributes")
proto.RegisterType((*RequestCancelActivityTaskDecisionAttributes)(nil), "uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributes")
proto.RegisterType((*CancelTimerDecisionAttributes)(nil), "uber.cadence.api.v1.CancelTimerDecisionAttributes")
proto.RegisterType((*CancelWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributes")
proto.RegisterType((*RequestCancelExternalWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes")
proto.RegisterType((*RecordMarkerDecisionAttributes)(nil), "uber.cadence.api.v1.RecordMarkerDecisionAttributes")
proto.RegisterType((*ContinueAsNewWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes")
proto.RegisterType((*StartChildWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes")
proto.RegisterType((*SignalExternalWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes")
proto.RegisterType((*UpsertWorkflowSearchAttributesDecisionAttributes)(nil), "uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributes")
}
func init() {
proto.RegisterFile("uber/cadence/api/v1/decision.proto", fileDescriptor_fb529b236ea74dc2)
}
var fileDescriptor_fb529b236ea74dc2 = []byte{
// 1586 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcf, 0x6f, 0x14, 0x47,
0x16, 0xde, 0xf6, 0x8f, 0xf9, 0xf1, 0x3c, 0x06, 0x5c, 0x06, 0x63, 0x83, 0xb1, 0xcd, 0xac, 0xd6,
0x2c, 0x58, 0x9e, 0xb1, 0x0d, 0x8b, 0x10, 0x20, 0xb4, 0xd8, 0x60, 0x61, 0x09, 0x8c, 0xd5, 0x98,
0x45, 0xda, 0x4b, 0xab, 0x5c, 0x5d, 0xb6, 0x6b, 0xdd, 0xd3, 0x3d, 0x5b, 0x5d, 0x6d, 0x33, 0x91,
0x22, 0xe5, 0x94, 0xe4, 0x92, 0x3f, 0x20, 0x52, 0x4e, 0x39, 0x25, 0x17, 0x72, 0x4d, 0x94, 0x53,
0x6e, 0x39, 0x26, 0x87, 0xdc, 0x23, 0xfe, 0x85, 0xfc, 0x03, 0x51, 0x55, 0x57, 0xf7, 0x8c, 0xc7,
0x3d, 0x3d, 0xdd, 0x86, 0x70, 0x73, 0xd7, 0xbc, 0xf7, 0xd5, 0x57, 0xf5, 0x5e, 0xbf, 0xef, 0x1b,
0x0f, 0x54, 0x83, 0x1d, 0xca, 0xeb, 0x04, 0xdb, 0xd4, 0x25, 0xb4, 0x8e, 0x9b, 0xac, 0x7e, 0xb8,
0x5c, 0xb7, 0x29, 0x61, 0x3e, 0xf3, 0xdc, 0x5a, 0x93, 0x7b, 0xc2, 0x43, 0xe3, 0x32, 0xa6, 0xa6,
0x63, 0x6a, 0xb8, 0xc9, 0x6a, 0x87, 0xcb, 0x97, 0x66, 0xf6, 0x3c, 0x6f, 0xcf, 0xa1, 0x75, 0x15,
0xb2, 0x13, 0xec, 0xd6, 0xed, 0x80, 0x63, 0x11, 0x27, 0x5d, 0x9a, 0x4b, 0x02, 0x26, 0x5e, 0xa3,
0x11, 0x47, 0x24, 0x6e, 0x2d, 0xb0, 0x7f, 0xe0, 0x30, 0x5f, 0xa4, 0xc5, 0x1c, 0x79, 0xfc, 0x60,
0xd7, 0xf1, 0x8e, 0xc2, 0x98, 0xea, 0xe7, 0x63, 0x50, 0x7a, 0xa4, 0x19, 0xa3, 0x2f, 0x0d, 0xb8,
0xe1, 0x93, 0x7d, 0x6a, 0x07, 0x0e, 0xb5, 0x30, 0x11, 0xec, 0x90, 0x89, 0x96, 0x25, 0x51, 0xad,
0xe8, 0x54, 0x16, 0x16, 0x82, 0xb3, 0x9d, 0x40, 0x50, 0x7f, 0xd2, 0x98, 0x33, 0xfe, 0x39, 0xb2,
0x72, 0xaf, 0x96, 0x70, 0xc2, 0xda, 0x0b, 0x0d, 0xf3, 0x50, 0xa3, 0x6c, 0x63, 0xff, 0x20, 0xda,
0xe7, 0x61, 0x0c, 0xf1, 0xe4, 0x6f, 0xe6, 0xbc, 0x9f, 0x29, 0x12, 0x7d, 0x04, 0xb3, 0xbe, 0xc0,
0x5c, 0x58, 0x82, 0x35, 0x28, 0x4f, 0xe4, 0x33, 0xa0, 0xf8, 0x2c, 0x27, 0xf3, 0x91, 0xb9, 0xdb,
0x32, 0x35, 0x91, 0xc5, 0xb4, 0x9f, 0xf2, 0x39, 0xfa, 0xc6, 0x00, 0x79, 0xfb, 0x4d, 0x87, 0x0a,
0x6a, 0x45, 0x17, 0x68, 0xd1, 0xd7, 0x94, 0x04, 0xb2, 0x68, 0x89, 0x64, 0x06, 0x15, 0x99, 0x7f,
0x27, 0x92, 0x59, 0xd3, 0x58, 0xaf, 0x34, 0xd4, 0xe3, 0x08, 0x29, 0x91, 0xdb, 0x02, 0xc9, 0x1e,
0x8e, 0xbe, 0x32, 0x60, 0x61, 0x17, 0x33, 0x27, 0x2b, 0xcd, 0x21, 0x45, 0xf3, 0x7e, 0x22, 0xcd,
0x75, 0xcc, 0x9c, 0x6c, 0x14, 0xaf, 0xed, 0x66, 0x0b, 0x45, 0xdf, 0x1a, 0xb0, 0xc4, 0xe9, 0xff,
0x03, 0xea, 0x0b, 0x8b, 0x60, 0x97, 0x50, 0x27, 0x43, 0x9f, 0x0d, 0xa7, 0x5c, 0xa5, 0x19, 0x82,
0xad, 0x29, 0xac, 0xbe, 0xcd, 0xb6, 0xc0, 0xb3, 0x87, 0xa3, 0x8f, 0x61, 0x4e, 0x53, 0xec, 0xdd,
0x72, 0x05, 0x45, 0x6d, 0x25, 0xb9, 0xca, 0x2a, 0xb9, 0x77, 0xcf, 0x5d, 0x21, 0x69, 0x01, 0xe8,
0x6b, 0x03, 0x16, 0xf5, 0xfe, 0x19, 0x6b, 0x59, 0x54, 0x64, 0x1e, 0xa4, 0x90, 0xc9, 0x56, 0xcd,
0xeb, 0x24, 0x6b, 0x30, 0xfa, 0xd5, 0x80, 0x07, 0x5d, 0xf5, 0xa4, 0xaf, 0x05, 0xe5, 0x2e, 0xce,
0xcc, 0xba, 0xa4, 0x58, 0x3f, 0xeb, 0x5f, 0xdd, 0xc7, 0x1a, 0x38, 0xdb, 0x21, 0xee, 0xf0, 0x53,
0xe6, 0xa2, 0x4f, 0x0c, 0xb8, 0xca, 0x29, 0xf1, 0xb8, 0x6d, 0x35, 0x30, 0x3f, 0xe8, 0x51, 0xf9,
0xb2, 0xa2, 0x7d, 0xb3, 0x07, 0x6d, 0x99, 0xfd, 0x4c, 0x25, 0x27, 0x92, 0x9b, 0xe1, 0xa9, 0x11,
0xe8, 0x07, 0x03, 0x6e, 0x13, 0xcf, 0x15, 0xcc, 0x0d, 0xa8, 0x85, 0x7d, 0xcb, 0xa5, 0x47, 0x59,
0xaf, 0x13, 0x14, 0xaf, 0xc7, 0x3d, 0xe6, 0x4e, 0x08, 0xf9, 0xd0, 0xdf, 0xa4, 0x47, 0xd9, 0xae,
0x71, 0x89, 0xe4, 0xcc, 0x41, 0xdf, 0x19, 0xb0, 0x12, 0x4e, 0x6a, 0xb2, 0xcf, 0x1c, 0x3b, 0x2b,
0xef, 0x11, 0xc5, 0x7b, 0xb5, 0xf7, 0xf0, 0x5e, 0x93, 0x68, 0xd9, 0x48, 0x2f, 0xfa, 0x79, 0x12,
0xd0, 0x8f, 0x06, 0xdc, 0xf6, 0xd9, 0x9e, 0xec, 0xd9, 0xbc, 0xcd, 0x5b, 0x51, 0xac, 0xd7, 0x93,
0x59, 0x2b, 0xc8, 0x7c, 0x5d, 0xbb, 0xec, 0xe7, 0x4d, 0x42, 0xdf, 0x1b, 0xf0, 0xaf, 0xa0, 0xe9,
0x53, 0x2e, 0xda, 0xa4, 0x7d, 0x8a, 0x39, 0xd9, 0xef, 0x20, 0x9a, 0x48, 0x7e, 0x34, 0xa5, 0x55,
0x5e, 0x2a, 0xc4, 0x68, 0xff, 0x17, 0x0a, 0xaf, 0xbd, 0x69, 0x72, 0xab, 0x04, 0x39, 0x73, 0x56,
0x2b, 0x00, 0x6d, 0x3a, 0xd5, 0x2f, 0x0a, 0x30, 0x9f, 0xcd, 0x36, 0xa0, 0x59, 0x18, 0x89, 0x65,
0x83, 0xd9, 0xca, 0x88, 0x94, 0x4d, 0x88, 0x96, 0x36, 0x6c, 0xb4, 0x0e, 0xa3, 0x6d, 0x5d, 0x69,
0x35, 0xa9, 0xf6, 0x06, 0x57, 0x13, 0xcf, 0x1a, 0x6f, 0xd6, 0x6a, 0x52, 0xb3, 0x82, 0x3b, 0x9e,
0xd0, 0x04, 0x14, 0x6c, 0xaf, 0x81, 0x99, 0xab, 0xf4, 0xbc, 0x6c, 0xea, 0x27, 0x74, 0x17, 0xca,
0x4a, 0xae, 0xa4, 0xdb, 0xd2, 0x1a, 0x7a, 0x25, 0x11, 0x5b, 0x1e, 0xe0, 0x29, 0xf3, 0x85, 0x59,
0x12, 0xfa, 0x2f, 0xb4, 0x02, 0xc3, 0xcc, 0x6d, 0x06, 0x42, 0xeb, 0xda, 0x74, 0x62, 0xde, 0x16,
0x6e, 0x39, 0x1e, 0xb6, 0xcd, 0x30, 0x14, 0x6d, 0xc3, 0x54, 0x6c, 0xcc, 0x84, 0x67, 0x11, 0xc7,
0xf3, 0xa9, 0x92, 0x25, 0x2f, 0x10, 0x5a, 0x84, 0xa6, 0x6a, 0xa1, 0xa9, 0xac, 0x45, 0xa6, 0xb2,
0xf6, 0x48, 0x9b, 0x4a, 0x73, 0x22, 0xca, 0xdd, 0xf6, 0xd6, 0x64, 0xe6, 0x76, 0x98, 0xd8, 0x8d,
0xda, 0xf6, 0x57, 0x12, 0xb5, 0x98, 0x03, 0x35, 0x76, 0x57, 0x12, 0x75, 0x13, 0x26, 0x34, 0x52,
0x37, 0xd1, 0x52, 0x3f, 0xc8, 0xf1, 0xd0, 0x86, 0x1d, 0x67, 0xb9, 0x0e, 0x63, 0xfb, 0x14, 0x73,
0xb1, 0x43, 0x71, 0x9b, 0x5d, 0xb9, 0x1f, 0xd4, 0xb9, 0x38, 0x27, 0xc2, 0x59, 0x83, 0x0a, 0xa7,
0x82, 0xb7, 0xac, 0xa6, 0xe7, 0x30, 0xd2, 0xd2, 0x13, 0x67, 0xae, 0xc7, 0x04, 0x17, 0xbc, 0xb5,
0xa5, 0xe2, 0xcc, 0x11, 0xde, 0x7e, 0x40, 0x37, 0xa1, 0xb0, 0x4f, 0xb1, 0x4d, 0xb9, 0x7e, 0xf5,
0x2f, 0x27, 0xa6, 0x3f, 0x51, 0x21, 0xa6, 0x0e, 0x45, 0xb7, 0x60, 0x22, 0x12, 0x49, 0xc7, 0x23,
0xd8, 0xb1, 0x6c, 0xe6, 0x37, 0xb1, 0x20, 0xfb, 0xea, 0x15, 0x2c, 0x99, 0xe7, 0xf5, 0xa7, 0x4f,
0xe5, 0x87, 0x8f, 0xf4, 0x67, 0xd5, 0xcf, 0x0c, 0x98, 0x4e, 0xb3, 0xad, 0x68, 0x0a, 0x4a, 0xa1,
0x33, 0x89, 0x5f, 0x81, 0xa2, 0x7a, 0xde, 0xb0, 0xd1, 0x53, 0xb8, 0x10, 0xd7, 0x60, 0x97, 0xf1,
0x76, 0x09, 0x06, 0xfa, 0xdd, 0x1b, 0xd2, 0x25, 0x58, 0x67, 0x3c, 0xaa, 0x40, 0x95, 0xc0, 0x42,
0x0e, 0xcb, 0x8a, 0x6e, 0x41, 0x81, 0x53, 0x3f, 0x70, 0x84, 0xfe, 0x86, 0x90, 0xde, 0xe1, 0x3a,
0xb6, 0x8a, 0xe1, 0x5a, 0x46, 0xc3, 0x89, 0x6e, 0x43, 0x51, 0x1a, 0xce, 0x80, 0xd3, 0xd4, 0x1d,
0xd6, 0xc3, 0x18, 0x33, 0x0a, 0xae, 0x6e, 0xc2, 0x42, 0x0e, 0xbf, 0xd8, 0x77, 0xca, 0x54, 0xef,
0xc2, 0x95, 0x54, 0x93, 0x97, 0x52, 0xa1, 0x2a, 0x81, 0xeb, 0x99, 0x3d, 0x99, 0x3c, 0xb0, 0x4d,
0x05, 0x66, 0x8e, 0x9f, 0xe9, 0x4a, 0xa3, 0xe0, 0xea, 0x1f, 0x06, 0xdc, 0x39, 0xad, 0x87, 0xea,
0x98, 0x7d, 0xc6, 0xb1, 0xd9, 0xf7, 0x12, 0xd0, 0x49, 0x75, 0xd4, 0x8d, 0x35, 0x9f, 0xc8, 0xeb,
0xc4, 0x6e, 0xe6, 0xd8, 0x51, 0xf7, 0x12, 0x9a, 0x84, 0xa2, 0xf4, 0x1a, 0xdc, 0x73, 0xd4, 0xac,
0xad, 0x98, 0xd1, 0x23, 0xaa, 0xc1, 0x78, 0x97, 0x95, 0xf0, 0x5c, 0xa7, 0xa5, 0xc6, 0x6e, 0xc9,
0x1c, 0x23, 0x9d, 0x32, 0xff, 0xdc, 0x75, 0x5a, 0xd5, 0x37, 0x06, 0xcc, 0xa4, 0x5b, 0x30, 0x59,
0x5a, 0xed, 0xed, 0x5c, 0xdc, 0xa0, 0x51, 0x69, 0xc3, 0xa5, 0x4d, 0xdc, 0xa0, 0x9d, 0x37, 0x3e,
0x90, 0xe3, 0xc6, 0x3b, 0xe6, 0xc3, 0x60, 0xe6, 0xf9, 0x50, 0x7d, 0x53, 0x82, 0xa5, 0xbc, 0xde,
0x4c, 0x4a, 0x5c, 0x7c, 0x1f, 0x4a, 0xe2, 0x8c, 0x14, 0x89, 0x8b, 0x00, 0x43, 0x89, 0x3b, 0xea,
0x78, 0x3a, 0x2e, 0x65, 0x03, 0xa7, 0x94, 0xb2, 0xc1, 0xec, 0x52, 0x86, 0x61, 0xae, 0xed, 0xa9,
0x7a, 0x08, 0xc5, 0x50, 0xbf, 0x29, 0x35, 0x1d, 0x43, 0xbc, 0x48, 0x50, 0x8c, 0x57, 0x70, 0x59,
0x1d, 0xa9, 0x07, 0xfa, 0x70, 0x3f, 0xf4, 0x8b, 0x32, 0x3b, 0x09, 0xf8, 0x39, 0x4c, 0xec, 0x60,
0x72, 0xe0, 0xed, 0xee, 0x6a, 0x6c, 0xe6, 0x0a, 0xca, 0x0f, 0xb1, 0xd3, 0x5f, 0x83, 0xcf, 0xeb,
0x44, 0x05, 0xbb, 0xa1, 0xd3, 0x4e, 0x68, 0x52, 0xf1, 0x34, 0x9a, 0xb4, 0x01, 0x65, 0xe6, 0x32,
0xc1, 0xb0, 0xf0, 0xb8, 0xd2, 0xd8, 0x33, 0x2b, 0x0b, 0xfd, 0xfd, 0xff, 0x46, 0x94, 0x62, 0xb6,
0xb3, 0x3b, 0x27, 0x6b, 0x39, 0xc7, 0x64, 0x45, 0x26, 0x4c, 0x38, 0x58, 0x7e, 0x07, 0x0c, 0x65,
0x42, 0x96, 0x56, 0x4b, 0x00, 0x64, 0xe8, 0x8c, 0xf3, 0x32, 0x77, 0x2d, 0x4e, 0x35, 0x55, 0x26,
0xfa, 0x3b, 0x8c, 0x12, 0x2e, 0x7b, 0x44, 0xdb, 0x0c, 0x25, 0xd8, 0x65, 0xb3, 0x22, 0x17, 0x23,
0x9f, 0x78, 0x3a, 0x3d, 0x5e, 0x84, 0xa1, 0x06, 0x6d, 0x78, 0xda, 0x00, 0x4f, 0x25, 0xa6, 0x3c,
0xa3, 0x0d, 0xcf, 0x54, 0x61, 0xc8, 0x84, 0xb1, 0x13, 0x86, 0x7a, 0xf2, 0x8c, 0xca, 0xfd, 0x47,
0xb2, 0xf3, 0xef, 0xb2, 0xbe, 0xe6, 0x39, 0xbf, 0x6b, 0x05, 0xdd, 0x87, 0xca, 0xff, 0x98, 0x10,
0x94, 0x87, 0x8d, 0x34, 0x79, 0xb6, 0x5f, 0xff, 0x8c, 0x84, 0xe1, 0xaa, 0x7d, 0xaa, 0xbf, 0x15,
0x61, 0x31, 0xd7, 0x97, 0xa2, 0x9e, 0xc3, 0x7c, 0x16, 0x46, 0xe2, 0x29, 0xc2, 0x6c, 0xf5, 0xfe,
0x97, 0x4d, 0x88, 0x96, 0x42, 0x27, 0x7d, 0x7c, 0xcc, 0x0c, 0xbe, 0x87, 0x31, 0xf3, 0x01, 0x1c,
0x73, 0x96, 0x31, 0x53, 0xf8, 0x4b, 0xc7, 0x4c, 0xf1, 0xd4, 0x63, 0xe6, 0x3f, 0x30, 0xde, 0xc4,
0x9c, 0xba, 0x42, 0x23, 0xea, 0xe1, 0x10, 0xbe, 0xda, 0xf3, 0x3d, 0x4e, 0x2f, 0xe3, 0x15, 0x8a,
0x1e, 0x11, 0x63, 0xcd, 0xee, 0xa5, 0x4e, 0x89, 0x2d, 0x1f, 0x97, 0x58, 0x02, 0x93, 0x1d, 0x6d,
0x60, 0x71, 0x1a, 0xb4, 0xb7, 0x05, 0xb5, 0xed, 0x8d, 0xd4, 0x82, 0x6f, 0xd8, 0xa6, 0x4c, 0xd1,
0x5b, 0x5f, 0x38, 0x4a, 0x5a, 0x7e, 0x3f, 0x06, 0xfc, 0xc4, 0x54, 0xa8, 0xa4, 0x4e, 0x85, 0xd1,
0xfc, 0x53, 0xe1, 0xcc, 0x3b, 0x4c, 0x85, 0xb3, 0xef, 0x34, 0x15, 0xaa, 0x3f, 0x0d, 0xc0, 0x72,
0xee, 0x7f, 0x1b, 0x7c, 0x68, 0xa3, 0x36, 0x0b, 0x23, 0xfa, 0xbf, 0x25, 0xca, 0x3b, 0x85, 0x5f,
0x8c, 0x21, 0x5c, 0x52, 0xde, 0x29, 0x7e, 0x5d, 0x87, 0xb2, 0xbf, 0xae, 0x1d, 0xad, 0x39, 0x9c,
0xc9, 0xfd, 0x15, 0x7a, 0xb9, 0xbf, 0x4f, 0x0d, 0x58, 0xca, 0xfb, 0xdf, 0x8b, 0xe4, 0x62, 0x1a,
0xef, 0x54, 0xcc, 0x55, 0xf6, 0xf3, 0xdb, 0x19, 0xe3, 0x97, 0xb7, 0x33, 0xc6, 0xef, 0x6f, 0x67,
0x0c, 0xb8, 0x48, 0xbc, 0x46, 0x12, 0xd2, 0xea, 0x68, 0x44, 0x67, 0x4b, 0x0e, 0x88, 0x2d, 0xe3,
0xbf, 0xcb, 0x7b, 0x4c, 0xec, 0x07, 0x3b, 0x35, 0xe2, 0x35, 0xea, 0x9d, 0xbf, 0xe0, 0x2c, 0x32,
0xdb, 0xa9, 0xef, 0x79, 0xe1, 0x8f, 0x46, 0xfa, 0xe7, 0x9c, 0x7b, 0xb8, 0xc9, 0x0e, 0x97, 0x77,
0x0a, 0x6a, 0xed, 0xe6, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x64, 0xbb, 0x3d, 0x8c, 0x91, 0x1a,
0x00, 0x00,
}
func (m *Decision) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *Decision) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Attributes != nil {
{
size := m.Attributes.Size()
i -= size
if _, err := m.Attributes.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
}
}
return len(dAtA) - i, nil
}
func (m *Decision_ScheduleActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_ScheduleActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.ScheduleActivityTaskDecisionAttributes != nil {
{
size, err := m.ScheduleActivityTaskDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *Decision_StartTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_StartTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.StartTimerDecisionAttributes != nil {
{
size, err := m.StartTimerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
return len(dAtA) - i, nil
}
func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.CompleteWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.CompleteWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
return len(dAtA) - i, nil
}
func (m *Decision_FailWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_FailWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.FailWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.FailWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
return len(dAtA) - i, nil
}
func (m *Decision_RequestCancelActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_RequestCancelActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.RequestCancelActivityTaskDecisionAttributes != nil {
{
size, err := m.RequestCancelActivityTaskDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x2a
}
return len(dAtA) - i, nil
}
func (m *Decision_CancelTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_CancelTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.CancelTimerDecisionAttributes != nil {
{
size, err := m.CancelTimerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x32
}
return len(dAtA) - i, nil
}
func (m *Decision_CancelWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_CancelWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.CancelWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.CancelWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x3a
}
return len(dAtA) - i, nil
}
func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.RequestCancelExternalWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.RequestCancelExternalWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x42
}
return len(dAtA) - i, nil
}
func (m *Decision_RecordMarkerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_RecordMarkerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.RecordMarkerDecisionAttributes != nil {
{
size, err := m.RecordMarkerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x4a
}
return len(dAtA) - i, nil
}
func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.ContinueAsNewWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.ContinueAsNewWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x52
}
return len(dAtA) - i, nil
}
func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.StartChildWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.StartChildWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x5a
}
return len(dAtA) - i, nil
}
func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.SignalExternalWorkflowExecutionDecisionAttributes != nil {
{
size, err := m.SignalExternalWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x62
}
return len(dAtA) - i, nil
}
func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.UpsertWorkflowSearchAttributesDecisionAttributes != nil {
{
size, err := m.UpsertWorkflowSearchAttributesDecisionAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x6a
}
return len(dAtA) - i, nil
}
func (m *ScheduleActivityTaskDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ScheduleActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ScheduleActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.RequestLocalDispatch {
i--
if m.RequestLocalDispatch {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x68
}
if m.Header != nil {
{
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x62
}
if m.RetryPolicy != nil {
{
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x5a
}
if m.HeartbeatTimeout != nil {
{
size, err := m.HeartbeatTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x4a
}
if m.StartToCloseTimeout != nil {
{
size, err := m.StartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x42
}
if m.ScheduleToStartTimeout != nil {
{
size, err := m.ScheduleToStartTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x3a
}
if m.ScheduleToCloseTimeout != nil {
{
size, err := m.ScheduleToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x32
}
if m.Input != nil {
{
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x2a
}
if m.TaskList != nil {
{
size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
if len(m.Domain) > 0 {
i -= len(m.Domain)
copy(dAtA[i:], m.Domain)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain)))
i--
dAtA[i] = 0x1a
}
if m.ActivityType != nil {
{
size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.ActivityId) > 0 {
i -= len(m.ActivityId)
copy(dAtA[i:], m.ActivityId)
i = encodeVarintDecision(dAtA, i, uint64(len(m.ActivityId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *StartTimerDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *StartTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *StartTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.StartToFireTimeout != nil {
{
size, err := m.StartToFireTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.TimerId) > 0 {
i -= len(m.TimerId)
copy(dAtA[i:], m.TimerId)
i = encodeVarintDecision(dAtA, i, uint64(len(m.TimerId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *CompleteWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *CompleteWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *CompleteWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Result != nil {
{
size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *FailWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *FailWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *FailWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Failure != nil {
{
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *RequestCancelActivityTaskDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *RequestCancelActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *RequestCancelActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.ActivityId) > 0 {
i -= len(m.ActivityId)
copy(dAtA[i:], m.ActivityId)
i = encodeVarintDecision(dAtA, i, uint64(len(m.ActivityId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *CancelTimerDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *CancelTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *CancelTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.TimerId) > 0 {
i -= len(m.TimerId)
copy(dAtA[i:], m.TimerId)
i = encodeVarintDecision(dAtA, i, uint64(len(m.TimerId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *CancelWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *CancelWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *CancelWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Details != nil {
{
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.ChildWorkflowOnly {
i--
if m.ChildWorkflowOnly {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x20
}
if len(m.Control) > 0 {
i -= len(m.Control)
copy(dAtA[i:], m.Control)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Control)))
i--
dAtA[i] = 0x1a
}
if m.WorkflowExecution != nil {
{
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.Domain) > 0 {
i -= len(m.Domain)
copy(dAtA[i:], m.Domain)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *RecordMarkerDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *RecordMarkerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *RecordMarkerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Header != nil {
{
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if m.Details != nil {
{
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.MarkerName) > 0 {
i -= len(m.MarkerName)
copy(dAtA[i:], m.MarkerName)
i = encodeVarintDecision(dAtA, i, uint64(len(m.MarkerName)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.JitterStart != nil {
{
size, err := m.JitterStart.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x7a
}
if m.SearchAttributes != nil {
{
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x72
}
if m.Memo != nil {
{
size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x6a
}
if m.Header != nil {
{
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x62
}
if len(m.CronSchedule) > 0 {
i -= len(m.CronSchedule)
copy(dAtA[i:], m.CronSchedule)
i = encodeVarintDecision(dAtA, i, uint64(len(m.CronSchedule)))
i--
dAtA[i] = 0x5a
}
if m.LastCompletionResult != nil {
{
size, err := m.LastCompletionResult.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x52
}
if m.Failure != nil {
{
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x4a
}
if m.Initiator != 0 {
i = encodeVarintDecision(dAtA, i, uint64(m.Initiator))
i--
dAtA[i] = 0x40
}
if m.RetryPolicy != nil {
{
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x3a
}
if m.BackoffStartInterval != nil {
{
size, err := m.BackoffStartInterval.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x32
}
if m.TaskStartToCloseTimeout != nil {
{
size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x2a
}
if m.ExecutionStartToCloseTimeout != nil {
{
size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
if m.Input != nil {
{
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if m.TaskList != nil {
{
size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if m.WorkflowType != nil {
{
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *StartChildWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.SearchAttributes != nil {
{
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x7a
}
if m.Memo != nil {
{
size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x72
}
if m.Header != nil {
{
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x6a
}
if len(m.CronSchedule) > 0 {
i -= len(m.CronSchedule)
copy(dAtA[i:], m.CronSchedule)
i = encodeVarintDecision(dAtA, i, uint64(len(m.CronSchedule)))
i--
dAtA[i] = 0x62
}
if m.RetryPolicy != nil {
{
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x5a
}
if m.WorkflowIdReusePolicy != 0 {
i = encodeVarintDecision(dAtA, i, uint64(m.WorkflowIdReusePolicy))
i--
dAtA[i] = 0x50
}
if len(m.Control) > 0 {
i -= len(m.Control)
copy(dAtA[i:], m.Control)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Control)))
i--
dAtA[i] = 0x4a
}
if m.ParentClosePolicy != 0 {
i = encodeVarintDecision(dAtA, i, uint64(m.ParentClosePolicy))
i--
dAtA[i] = 0x40
}
if m.TaskStartToCloseTimeout != nil {
{
size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x3a
}
if m.ExecutionStartToCloseTimeout != nil {
{
size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x32
}
if m.Input != nil {
{
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x2a
}
if m.TaskList != nil {
{
size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
if m.WorkflowType != nil {
{
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.WorkflowId) > 0 {
i -= len(m.WorkflowId)
copy(dAtA[i:], m.WorkflowId)
i = encodeVarintDecision(dAtA, i, uint64(len(m.WorkflowId)))
i--
dAtA[i] = 0x12
}
if len(m.Domain) > 0 {
i -= len(m.Domain)
copy(dAtA[i:], m.Domain)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.ChildWorkflowOnly {
i--
if m.ChildWorkflowOnly {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x30
}
if len(m.Control) > 0 {
i -= len(m.Control)
copy(dAtA[i:], m.Control)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Control)))
i--
dAtA[i] = 0x2a
}
if m.Input != nil {
{
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
if len(m.SignalName) > 0 {
i -= len(m.SignalName)
copy(dAtA[i:], m.SignalName)
i = encodeVarintDecision(dAtA, i, uint64(len(m.SignalName)))
i--
dAtA[i] = 0x1a
}
if m.WorkflowExecution != nil {
{
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.Domain) > 0 {
i -= len(m.Domain)
copy(dAtA[i:], m.Domain)
i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.SearchAttributes != nil {
{
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintDecision(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func encodeVarintDecision(dAtA []byte, offset int, v uint64) int {
offset -= sovDecision(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *Decision) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Attributes != nil {
n += m.Attributes.Size()
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *Decision_ScheduleActivityTaskDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.ScheduleActivityTaskDecisionAttributes != nil {
l = m.ScheduleActivityTaskDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_StartTimerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.StartTimerDecisionAttributes != nil {
l = m.StartTimerDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.CompleteWorkflowExecutionDecisionAttributes != nil {
l = m.CompleteWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_FailWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.FailWorkflowExecutionDecisionAttributes != nil {
l = m.FailWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_RequestCancelActivityTaskDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.RequestCancelActivityTaskDecisionAttributes != nil {
l = m.RequestCancelActivityTaskDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_CancelTimerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.CancelTimerDecisionAttributes != nil {
l = m.CancelTimerDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_CancelWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.CancelWorkflowExecutionDecisionAttributes != nil {
l = m.CancelWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.RequestCancelExternalWorkflowExecutionDecisionAttributes != nil {
l = m.RequestCancelExternalWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_RecordMarkerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.RecordMarkerDecisionAttributes != nil {
l = m.RecordMarkerDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.ContinueAsNewWorkflowExecutionDecisionAttributes != nil {
l = m.ContinueAsNewWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.StartChildWorkflowExecutionDecisionAttributes != nil {
l = m.StartChildWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.SignalExternalWorkflowExecutionDecisionAttributes != nil {
l = m.SignalExternalWorkflowExecutionDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.UpsertWorkflowSearchAttributesDecisionAttributes != nil {
l = m.UpsertWorkflowSearchAttributesDecisionAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
return n
}
func (m *ScheduleActivityTaskDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.ActivityId)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.ActivityType != nil {
l = m.ActivityType.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.Domain)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.TaskList != nil {
l = m.TaskList.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Input != nil {
l = m.Input.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.ScheduleToCloseTimeout != nil {
l = m.ScheduleToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.ScheduleToStartTimeout != nil {
l = m.ScheduleToStartTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.StartToCloseTimeout != nil {
l = m.StartToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.HeartbeatTimeout != nil {
l = m.HeartbeatTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.RetryPolicy != nil {
l = m.RetryPolicy.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Header != nil {
l = m.Header.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.RequestLocalDispatch {
n += 2
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *StartTimerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.TimerId)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.StartToFireTimeout != nil {
l = m.StartToFireTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *CompleteWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Result != nil {
l = m.Result.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *FailWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Failure != nil {
l = m.Failure.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *RequestCancelActivityTaskDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.ActivityId)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *CancelTimerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.TimerId)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *CancelWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Details != nil {
l = m.Details.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Domain)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.WorkflowExecution != nil {
l = m.WorkflowExecution.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.Control)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.ChildWorkflowOnly {
n += 2
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *RecordMarkerDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.MarkerName)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.Details != nil {
l = m.Details.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Header != nil {
l = m.Header.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.WorkflowType != nil {
l = m.WorkflowType.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.TaskList != nil {
l = m.TaskList.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Input != nil {
l = m.Input.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.ExecutionStartToCloseTimeout != nil {
l = m.ExecutionStartToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.TaskStartToCloseTimeout != nil {
l = m.TaskStartToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.BackoffStartInterval != nil {
l = m.BackoffStartInterval.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.RetryPolicy != nil {
l = m.RetryPolicy.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Initiator != 0 {
n += 1 + sovDecision(uint64(m.Initiator))
}
if m.Failure != nil {
l = m.Failure.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.LastCompletionResult != nil {
l = m.LastCompletionResult.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.CronSchedule)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.Header != nil {
l = m.Header.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Memo != nil {
l = m.Memo.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.SearchAttributes != nil {
l = m.SearchAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.JitterStart != nil {
l = m.JitterStart.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *StartChildWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Domain)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.WorkflowId)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.WorkflowType != nil {
l = m.WorkflowType.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.TaskList != nil {
l = m.TaskList.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Input != nil {
l = m.Input.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.ExecutionStartToCloseTimeout != nil {
l = m.ExecutionStartToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.TaskStartToCloseTimeout != nil {
l = m.TaskStartToCloseTimeout.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.ParentClosePolicy != 0 {
n += 1 + sovDecision(uint64(m.ParentClosePolicy))
}
l = len(m.Control)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.WorkflowIdReusePolicy != 0 {
n += 1 + sovDecision(uint64(m.WorkflowIdReusePolicy))
}
if m.RetryPolicy != nil {
l = m.RetryPolicy.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.CronSchedule)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.Header != nil {
l = m.Header.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.Memo != nil {
l = m.Memo.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.SearchAttributes != nil {
l = m.SearchAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Domain)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.WorkflowExecution != nil {
l = m.WorkflowExecution.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.SignalName)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.Input != nil {
l = m.Input.Size()
n += 1 + l + sovDecision(uint64(l))
}
l = len(m.Control)
if l > 0 {
n += 1 + l + sovDecision(uint64(l))
}
if m.ChildWorkflowOnly {
n += 2
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.SearchAttributes != nil {
l = m.SearchAttributes.Size()
n += 1 + l + sovDecision(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func sovDecision(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozDecision(x uint64) (n int) {
return sovDecision(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *Decision) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Decision: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Decision: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleActivityTaskDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &ScheduleActivityTaskDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_ScheduleActivityTaskDecisionAttributes{v}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field StartTimerDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &StartTimerDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_StartTimerDecisionAttributes{v}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CompleteWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &CompleteWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_CompleteWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field FailWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &FailWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_FailWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelActivityTaskDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &RequestCancelActivityTaskDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_RequestCancelActivityTaskDecisionAttributes{v}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CancelTimerDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &CancelTimerDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_CancelTimerDecisionAttributes{v}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CancelWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &CancelWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_CancelWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 8:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelExternalWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &RequestCancelExternalWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RecordMarkerDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &RecordMarkerDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_RecordMarkerDecisionAttributes{v}
iNdEx = postIndex
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ContinueAsNewWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &ContinueAsNewWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_ContinueAsNewWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 11:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field StartChildWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &StartChildWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_StartChildWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 12:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SignalExternalWorkflowExecutionDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &SignalExternalWorkflowExecutionDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_SignalExternalWorkflowExecutionDecisionAttributes{v}
iNdEx = postIndex
case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UpsertWorkflowSearchAttributesDecisionAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
v := &UpsertWorkflowSearchAttributesDecisionAttributes{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Attributes = &Decision_UpsertWorkflowSearchAttributesDecisionAttributes{v}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *ScheduleActivityTaskDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ScheduleActivityTaskDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ScheduleActivityTaskDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ActivityId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.ActivityType == nil {
m.ActivityType = &ActivityType{}
}
if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Domain = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TaskList == nil {
m.TaskList = &TaskList{}
}
if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Input == nil {
m.Input = &Payload{}
}
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.ScheduleToCloseTimeout == nil {
m.ScheduleToCloseTimeout = &types.Duration{}
}
if err := m.ScheduleToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.ScheduleToStartTimeout == nil {
m.ScheduleToStartTimeout = &types.Duration{}
}
if err := m.ScheduleToStartTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 8:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.StartToCloseTimeout == nil {
m.StartToCloseTimeout = &types.Duration{}
}
if err := m.StartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.HeartbeatTimeout == nil {
m.HeartbeatTimeout = &types.Duration{}
}
if err := m.HeartbeatTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 11:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RetryPolicy == nil {
m.RetryPolicy = &RetryPolicy{}
}
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 12:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Header == nil {
m.Header = &Header{}
}
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 13:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field RequestLocalDispatch", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.RequestLocalDispatch = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *StartTimerDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: StartTimerDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: StartTimerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.TimerId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field StartToFireTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.StartToFireTimeout == nil {
m.StartToFireTimeout = &types.Duration{}
}
if err := m.StartToFireTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *CompleteWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CompleteWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CompleteWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Result == nil {
m.Result = &Payload{}
}
if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *FailWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: FailWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: FailWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Failure == nil {
m.Failure = &Failure{}
}
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RequestCancelActivityTaskDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RequestCancelActivityTaskDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RequestCancelActivityTaskDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ActivityId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *CancelTimerDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CancelTimerDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CancelTimerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.TimerId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *CancelWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CancelWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CancelWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Details == nil {
m.Details = &Payload{}
}
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Domain = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.WorkflowExecution == nil {
m.WorkflowExecution = &WorkflowExecution{}
}
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...)
if m.Control == nil {
m.Control = []byte{}
}
iNdEx = postIndex
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.ChildWorkflowOnly = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RecordMarkerDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RecordMarkerDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RecordMarkerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MarkerName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.MarkerName = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Details == nil {
m.Details = &Payload{}
}
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Header == nil {
m.Header = &Header{}
}
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ContinueAsNewWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ContinueAsNewWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.WorkflowType == nil {
m.WorkflowType = &WorkflowType{}
}
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TaskList == nil {
m.TaskList = &TaskList{}
}
if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Input == nil {
m.Input = &Payload{}
}
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.ExecutionStartToCloseTimeout == nil {
m.ExecutionStartToCloseTimeout = &types.Duration{}
}
if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TaskStartToCloseTimeout == nil {
m.TaskStartToCloseTimeout = &types.Duration{}
}
if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BackoffStartInterval", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.BackoffStartInterval == nil {
m.BackoffStartInterval = &types.Duration{}
}
if err := m.BackoffStartInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RetryPolicy == nil {
m.RetryPolicy = &RetryPolicy{}
}
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Initiator", wireType)
}
m.Initiator = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Initiator |= ContinueAsNewInitiator(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Failure == nil {
m.Failure = &Failure{}
}
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastCompletionResult", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.LastCompletionResult == nil {
m.LastCompletionResult = &Payload{}
}
if err := m.LastCompletionResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 11:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.CronSchedule = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 12:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Header == nil {
m.Header = &Header{}
}
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Memo == nil {
m.Memo = &Memo{}
}
if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 14:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.SearchAttributes == nil {
m.SearchAttributes = &SearchAttributes{}
}
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 15:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field JitterStart", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.JitterStart == nil {
m.JitterStart = &types.Duration{}
}
if err := m.JitterStart.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *StartChildWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: StartChildWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: StartChildWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Domain = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.WorkflowId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.WorkflowType == nil {
m.WorkflowType = &WorkflowType{}
}
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TaskList == nil {
m.TaskList = &TaskList{}
}
if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Input == nil {
m.Input = &Payload{}
}
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.ExecutionStartToCloseTimeout == nil {
m.ExecutionStartToCloseTimeout = &types.Duration{}
}
if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TaskStartToCloseTimeout == nil {
m.TaskStartToCloseTimeout = &types.Duration{}
}
if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ParentClosePolicy", wireType)
}
m.ParentClosePolicy = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ParentClosePolicy |= ParentClosePolicy(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...)
if m.Control == nil {
m.Control = []byte{}
}
iNdEx = postIndex
case 10:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType)
}
m.WorkflowIdReusePolicy = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.WorkflowIdReusePolicy |= WorkflowIdReusePolicy(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 11:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RetryPolicy == nil {
m.RetryPolicy = &RetryPolicy{}
}
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 12:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.CronSchedule = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Header == nil {
m.Header = &Header{}
}
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 14:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Memo == nil {
m.Memo = &Memo{}
}
if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 15:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.SearchAttributes == nil {
m.SearchAttributes = &SearchAttributes{}
}
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *SignalExternalWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: SignalExternalWorkflowExecutionDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SignalExternalWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Domain = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.WorkflowExecution == nil {
m.WorkflowExecution = &WorkflowExecution{}
}
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.SignalName = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Input == nil {
m.Input = &Payload{}
}
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...)
if m.Control == nil {
m.Control = []byte{}
}
iNdEx = postIndex
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.ChildWorkflowOnly = bool(v != 0)
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: UpsertWorkflowSearchAttributesDecisionAttributes: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: UpsertWorkflowSearchAttributesDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowDecision
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthDecision
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthDecision
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.SearchAttributes == nil {
m.SearchAttributes = &SearchAttributes{}
}
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipDecision(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthDecision
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipDecision(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowDecision
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowDecision
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
if dAtA[iNdEx-1] < 0x80 {
break
}
}
case 1:
iNdEx += 8
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowDecision
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if length < 0 {
return 0, ErrInvalidLengthDecision
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupDecision
}
depth--
case 5:
iNdEx += 4
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthDecision
}
if depth == 0 {
return iNdEx, nil
}
}
return 0, io.ErrUnexpectedEOF
}
var (
ErrInvalidLengthDecision = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowDecision = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupDecision = fmt.Errorf("proto: unexpected end of group")
)