mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-05 06:21:24 +00:00
8467 lines
235 KiB
Go
8467 lines
235 KiB
Go
// The MIT License
|
|
//
|
|
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
|
|
//
|
|
// 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: temporal/api/command/v1/message.proto
|
|
|
|
package command
|
|
|
|
import (
|
|
fmt "fmt"
|
|
io "io"
|
|
math "math"
|
|
math_bits "math/bits"
|
|
reflect "reflect"
|
|
strings "strings"
|
|
time "time"
|
|
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
_ "github.com/gogo/protobuf/types"
|
|
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
|
v1 "go.temporal.io/api/common/v1"
|
|
v13 "go.temporal.io/api/enums/v1"
|
|
v12 "go.temporal.io/api/failure/v1"
|
|
v11 "go.temporal.io/api/taskqueue/v1"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
var _ = time.Kitchen
|
|
|
|
// 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 ScheduleActivityTaskCommandAttributes struct {
|
|
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
ActivityType *v1.ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
|
|
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Header *v1.Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"`
|
|
Input *v1.Payloads `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
// Indicates how long the caller is willing to wait for an activity completion.
|
|
// Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
|
|
// When not specified defaults to the workflow execution timeout.
|
|
ScheduleToCloseTimeout *time.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3,stdduration" json:"schedule_to_close_timeout,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
// Limits time an activity task can stay in a task queue before a worker picks it up.
|
|
// This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
|
|
// Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
|
|
ScheduleToStartTimeout *time.Duration `protobuf:"bytes,8,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3,stdduration" json:"schedule_to_start_timeout,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
// Maximum time an activity is allowed to execute after a pick up by a worker.
|
|
// This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
|
|
StartToCloseTimeout *time.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3,stdduration" json:"start_to_close_timeout,omitempty"`
|
|
// Maximum time between successful worker heartbeats.
|
|
HeartbeatTimeout *time.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3,stdduration" json:"heartbeat_timeout,omitempty"`
|
|
// Activities are provided by a default retry policy controlled through the service dynamic configuration.
|
|
// Retries are happening up to schedule_to_close_timeout.
|
|
// To disable retries set retry_policy.maximum_attempts to 1.
|
|
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) Reset() { *m = ScheduleActivityTaskCommandAttributes{} }
|
|
func (*ScheduleActivityTaskCommandAttributes) ProtoMessage() {}
|
|
func (*ScheduleActivityTaskCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{0}
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ScheduleActivityTaskCommandAttributes.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 *ScheduleActivityTaskCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ScheduleActivityTaskCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ScheduleActivityTaskCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ScheduleActivityTaskCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetActivityType() *v1.ActivityType {
|
|
if m != nil {
|
|
return m.ActivityType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetTaskQueue() *v11.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetHeader() *v1.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetInput() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetScheduleToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.ScheduleToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetScheduleToStartTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.ScheduleToStartTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetStartToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.StartToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetHeartbeatTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.HeartbeatTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) GetRetryPolicy() *v1.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RequestCancelActivityTaskCommandAttributes struct {
|
|
ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
|
|
}
|
|
|
|
func (m *RequestCancelActivityTaskCommandAttributes) Reset() {
|
|
*m = RequestCancelActivityTaskCommandAttributes{}
|
|
}
|
|
func (*RequestCancelActivityTaskCommandAttributes) ProtoMessage() {}
|
|
func (*RequestCancelActivityTaskCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{1}
|
|
}
|
|
func (m *RequestCancelActivityTaskCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RequestCancelActivityTaskCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RequestCancelActivityTaskCommandAttributes.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 *RequestCancelActivityTaskCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestCancelActivityTaskCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *RequestCancelActivityTaskCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RequestCancelActivityTaskCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestCancelActivityTaskCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestCancelActivityTaskCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *RequestCancelActivityTaskCommandAttributes) GetScheduledEventId() int64 {
|
|
if m != nil {
|
|
return m.ScheduledEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartTimerCommandAttributes struct {
|
|
TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
StartToFireTimeout *time.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3,stdduration" json:"start_to_fire_timeout,omitempty"`
|
|
}
|
|
|
|
func (m *StartTimerCommandAttributes) Reset() { *m = StartTimerCommandAttributes{} }
|
|
func (*StartTimerCommandAttributes) ProtoMessage() {}
|
|
func (*StartTimerCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{2}
|
|
}
|
|
func (m *StartTimerCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *StartTimerCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_StartTimerCommandAttributes.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 *StartTimerCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StartTimerCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *StartTimerCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *StartTimerCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StartTimerCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StartTimerCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *StartTimerCommandAttributes) GetTimerId() string {
|
|
if m != nil {
|
|
return m.TimerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartTimerCommandAttributes) GetStartToFireTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.StartToFireTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CompleteWorkflowExecutionCommandAttributes struct {
|
|
Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
}
|
|
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = CompleteWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*CompleteWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*CompleteWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{3}
|
|
}
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CompleteWorkflowExecutionCommandAttributes.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 *CompleteWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CompleteWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CompleteWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CompleteWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) GetResult() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FailWorkflowExecutionCommandAttributes struct {
|
|
Failure *v12.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
}
|
|
|
|
func (m *FailWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = FailWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*FailWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*FailWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{4}
|
|
}
|
|
func (m *FailWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *FailWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_FailWorkflowExecutionCommandAttributes.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 *FailWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FailWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *FailWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *FailWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FailWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FailWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *FailWorkflowExecutionCommandAttributes) GetFailure() *v12.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelTimerCommandAttributes struct {
|
|
TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"`
|
|
}
|
|
|
|
func (m *CancelTimerCommandAttributes) Reset() { *m = CancelTimerCommandAttributes{} }
|
|
func (*CancelTimerCommandAttributes) ProtoMessage() {}
|
|
func (*CancelTimerCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{5}
|
|
}
|
|
func (m *CancelTimerCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelTimerCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelTimerCommandAttributes.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 *CancelTimerCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelTimerCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *CancelTimerCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelTimerCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelTimerCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelTimerCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *CancelTimerCommandAttributes) GetTimerId() string {
|
|
if m != nil {
|
|
return m.TimerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelWorkflowExecutionCommandAttributes struct {
|
|
Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
|
|
}
|
|
|
|
func (m *CancelWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = CancelWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*CancelWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*CancelWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{6}
|
|
}
|
|
func (m *CancelWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelWorkflowExecutionCommandAttributes.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 *CancelWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *CancelWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *CancelWorkflowExecutionCommandAttributes) GetDetails() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RequestCancelExternalWorkflowExecutionCommandAttributes struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
Control string `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"`
|
|
ChildWorkflowOnly bool `protobuf:"varint,5,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"`
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = RequestCancelExternalWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*RequestCancelExternalWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*RequestCancelExternalWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{7}
|
|
}
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RequestCancelExternalWorkflowExecutionCommandAttributes.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 *RequestCancelExternalWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestCancelExternalWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestCancelExternalWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestCancelExternalWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) GetControl() string {
|
|
if m != nil {
|
|
return m.Control
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) GetChildWorkflowOnly() bool {
|
|
if m != nil {
|
|
return m.ChildWorkflowOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SignalExternalWorkflowExecutionCommandAttributes struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Execution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
|
|
SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"`
|
|
Input *v1.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
|
|
Control string `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"`
|
|
// Headers that are passed by the workflow that is sending a signal to the external
|
|
// workflow that is receiving this signal.
|
|
Header *v1.Header `protobuf:"bytes,7,opt,name=header,proto3" json:"header,omitempty"`
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = SignalExternalWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*SignalExternalWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*SignalExternalWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{8}
|
|
}
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalExternalWorkflowExecutionCommandAttributes.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 *SignalExternalWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalExternalWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalExternalWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalExternalWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetExecution() *v1.WorkflowExecution {
|
|
if m != nil {
|
|
return m.Execution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetSignalName() string {
|
|
if m != nil {
|
|
return m.SignalName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetControl() string {
|
|
if m != nil {
|
|
return m.Control
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetChildWorkflowOnly() bool {
|
|
if m != nil {
|
|
return m.ChildWorkflowOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) GetHeader() *v1.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpsertWorkflowSearchAttributesCommandAttributes struct {
|
|
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,1,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
|
}
|
|
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) Reset() {
|
|
*m = UpsertWorkflowSearchAttributesCommandAttributes{}
|
|
}
|
|
func (*UpsertWorkflowSearchAttributesCommandAttributes) ProtoMessage() {}
|
|
func (*UpsertWorkflowSearchAttributesCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{9}
|
|
}
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_UpsertWorkflowSearchAttributesCommandAttributes.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 *UpsertWorkflowSearchAttributesCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpsertWorkflowSearchAttributesCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpsertWorkflowSearchAttributesCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpsertWorkflowSearchAttributesCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) GetSearchAttributes() *v1.SearchAttributes {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecordMarkerCommandAttributes struct {
|
|
MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"`
|
|
Details map[string]*v1.Payloads `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
Header *v1.Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
|
|
Failure *v12.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) Reset() { *m = RecordMarkerCommandAttributes{} }
|
|
func (*RecordMarkerCommandAttributes) ProtoMessage() {}
|
|
func (*RecordMarkerCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{10}
|
|
}
|
|
func (m *RecordMarkerCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RecordMarkerCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RecordMarkerCommandAttributes.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 *RecordMarkerCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordMarkerCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *RecordMarkerCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RecordMarkerCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordMarkerCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordMarkerCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *RecordMarkerCommandAttributes) GetMarkerName() string {
|
|
if m != nil {
|
|
return m.MarkerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) GetDetails() map[string]*v1.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) GetHeader() *v1.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) GetFailure() *v12.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContinueAsNewWorkflowExecutionCommandAttributes struct {
|
|
WorkflowType *v1.WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
TaskQueue *v11.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Input *v1.Payloads `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
|
|
// workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
|
|
// Timeout of a single workflow run.
|
|
WorkflowRunTimeout *time.Duration `protobuf:"bytes,4,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3,stdduration" json:"workflow_run_timeout,omitempty"`
|
|
// Timeout of a single workflow task.
|
|
WorkflowTaskTimeout *time.Duration `protobuf:"bytes,5,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3,stdduration" json:"workflow_task_timeout,omitempty"`
|
|
BackoffStartInterval *time.Duration `protobuf:"bytes,6,opt,name=backoff_start_interval,json=backoffStartInterval,proto3,stdduration" json:"backoff_start_interval,omitempty"`
|
|
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,7,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
Initiator v13.ContinueAsNewInitiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=temporal.api.enums.v1.ContinueAsNewInitiator" json:"initiator,omitempty"`
|
|
Failure *v12.Failure `protobuf:"bytes,9,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
LastCompletionResult *v1.Payloads `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 *v1.Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"`
|
|
Memo *v1.Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = ContinueAsNewWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*ContinueAsNewWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*ContinueAsNewWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{11}
|
|
}
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ContinueAsNewWorkflowExecutionCommandAttributes.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 *ContinueAsNewWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContinueAsNewWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContinueAsNewWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContinueAsNewWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowType() *v1.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetTaskQueue() *v11.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowRunTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowRunTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetBackoffStartInterval() *time.Duration {
|
|
if m != nil {
|
|
return m.BackoffStartInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetRetryPolicy() *v1.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetInitiator() v13.ContinueAsNewInitiator {
|
|
if m != nil {
|
|
return m.Initiator
|
|
}
|
|
return v13.CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetFailure() *v12.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetLastCompletionResult() *v1.Payloads {
|
|
if m != nil {
|
|
return m.LastCompletionResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetCronSchedule() string {
|
|
if m != nil {
|
|
return m.CronSchedule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetHeader() *v1.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetMemo() *v1.Memo {
|
|
if m != nil {
|
|
return m.Memo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) GetSearchAttributes() *v1.SearchAttributes {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartChildWorkflowExecutionCommandAttributes struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Input *v1.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
|
|
// Total workflow execution timeout including retries and continue as new.
|
|
WorkflowExecutionTimeout *time.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3,stdduration" json:"workflow_execution_timeout,omitempty"`
|
|
// Timeout of a single workflow run.
|
|
WorkflowRunTimeout *time.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3,stdduration" json:"workflow_run_timeout,omitempty"`
|
|
// Timeout of a single workflow task.
|
|
WorkflowTaskTimeout *time.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3,stdduration" json:"workflow_task_timeout,omitempty"`
|
|
// Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
ParentClosePolicy v13.ParentClosePolicy `protobuf:"varint,9,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=temporal.api.enums.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"`
|
|
Control string `protobuf:"bytes,10,opt,name=control,proto3" json:"control,omitempty"`
|
|
// Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
WorkflowIdReusePolicy v13.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"`
|
|
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
CronSchedule string `protobuf:"bytes,13,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
|
|
Header *v1.Header `protobuf:"bytes,14,opt,name=header,proto3" json:"header,omitempty"`
|
|
Memo *v1.Memo `protobuf:"bytes,15,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,16,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) Reset() {
|
|
*m = StartChildWorkflowExecutionCommandAttributes{}
|
|
}
|
|
func (*StartChildWorkflowExecutionCommandAttributes) ProtoMessage() {}
|
|
func (*StartChildWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{12}
|
|
}
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_StartChildWorkflowExecutionCommandAttributes.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 *StartChildWorkflowExecutionCommandAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StartChildWorkflowExecutionCommandAttributes.Merge(m, src)
|
|
}
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StartChildWorkflowExecutionCommandAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StartChildWorkflowExecutionCommandAttributes proto.InternalMessageInfo
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowType() *v1.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetTaskQueue() *v11.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowExecutionTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowExecutionTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowRunTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowRunTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetParentClosePolicy() v13.ParentClosePolicy {
|
|
if m != nil {
|
|
return m.ParentClosePolicy
|
|
}
|
|
return v13.PARENT_CLOSE_POLICY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetControl() string {
|
|
if m != nil {
|
|
return m.Control
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetWorkflowIdReusePolicy() v13.WorkflowIdReusePolicy {
|
|
if m != nil {
|
|
return m.WorkflowIdReusePolicy
|
|
}
|
|
return v13.WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetRetryPolicy() *v1.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetCronSchedule() string {
|
|
if m != nil {
|
|
return m.CronSchedule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetHeader() *v1.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetMemo() *v1.Memo {
|
|
if m != nil {
|
|
return m.Memo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) GetSearchAttributes() *v1.SearchAttributes {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Command struct {
|
|
CommandType v13.CommandType `protobuf:"varint,1,opt,name=command_type,json=commandType,proto3,enum=temporal.api.enums.v1.CommandType" json:"command_type,omitempty"`
|
|
// Types that are valid to be assigned to Attributes:
|
|
// *Command_ScheduleActivityTaskCommandAttributes
|
|
// *Command_StartTimerCommandAttributes
|
|
// *Command_CompleteWorkflowExecutionCommandAttributes
|
|
// *Command_FailWorkflowExecutionCommandAttributes
|
|
// *Command_RequestCancelActivityTaskCommandAttributes
|
|
// *Command_CancelTimerCommandAttributes
|
|
// *Command_CancelWorkflowExecutionCommandAttributes
|
|
// *Command_RequestCancelExternalWorkflowExecutionCommandAttributes
|
|
// *Command_RecordMarkerCommandAttributes
|
|
// *Command_ContinueAsNewWorkflowExecutionCommandAttributes
|
|
// *Command_StartChildWorkflowExecutionCommandAttributes
|
|
// *Command_SignalExternalWorkflowExecutionCommandAttributes
|
|
// *Command_UpsertWorkflowSearchAttributesCommandAttributes
|
|
Attributes isCommand_Attributes `protobuf_oneof:"attributes"`
|
|
}
|
|
|
|
func (m *Command) Reset() { *m = Command{} }
|
|
func (*Command) ProtoMessage() {}
|
|
func (*Command) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ac2e0d89a96b0e7, []int{13}
|
|
}
|
|
func (m *Command) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_Command.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 *Command) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Command.Merge(m, src)
|
|
}
|
|
func (m *Command) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Command) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Command.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Command proto.InternalMessageInfo
|
|
|
|
type isCommand_Attributes interface {
|
|
isCommand_Attributes()
|
|
Equal(interface{}) bool
|
|
MarshalTo([]byte) (int, error)
|
|
Size() int
|
|
}
|
|
|
|
type Command_ScheduleActivityTaskCommandAttributes struct {
|
|
ScheduleActivityTaskCommandAttributes *ScheduleActivityTaskCommandAttributes `protobuf:"bytes,2,opt,name=schedule_activity_task_command_attributes,json=scheduleActivityTaskCommandAttributes,proto3,oneof" json:"schedule_activity_task_command_attributes,omitempty"`
|
|
}
|
|
type Command_StartTimerCommandAttributes struct {
|
|
StartTimerCommandAttributes *StartTimerCommandAttributes `protobuf:"bytes,3,opt,name=start_timer_command_attributes,json=startTimerCommandAttributes,proto3,oneof" json:"start_timer_command_attributes,omitempty"`
|
|
}
|
|
type Command_CompleteWorkflowExecutionCommandAttributes struct {
|
|
CompleteWorkflowExecutionCommandAttributes *CompleteWorkflowExecutionCommandAttributes `protobuf:"bytes,4,opt,name=complete_workflow_execution_command_attributes,json=completeWorkflowExecutionCommandAttributes,proto3,oneof" json:"complete_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_FailWorkflowExecutionCommandAttributes struct {
|
|
FailWorkflowExecutionCommandAttributes *FailWorkflowExecutionCommandAttributes `protobuf:"bytes,5,opt,name=fail_workflow_execution_command_attributes,json=failWorkflowExecutionCommandAttributes,proto3,oneof" json:"fail_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_RequestCancelActivityTaskCommandAttributes struct {
|
|
RequestCancelActivityTaskCommandAttributes *RequestCancelActivityTaskCommandAttributes `protobuf:"bytes,6,opt,name=request_cancel_activity_task_command_attributes,json=requestCancelActivityTaskCommandAttributes,proto3,oneof" json:"request_cancel_activity_task_command_attributes,omitempty"`
|
|
}
|
|
type Command_CancelTimerCommandAttributes struct {
|
|
CancelTimerCommandAttributes *CancelTimerCommandAttributes `protobuf:"bytes,7,opt,name=cancel_timer_command_attributes,json=cancelTimerCommandAttributes,proto3,oneof" json:"cancel_timer_command_attributes,omitempty"`
|
|
}
|
|
type Command_CancelWorkflowExecutionCommandAttributes struct {
|
|
CancelWorkflowExecutionCommandAttributes *CancelWorkflowExecutionCommandAttributes `protobuf:"bytes,8,opt,name=cancel_workflow_execution_command_attributes,json=cancelWorkflowExecutionCommandAttributes,proto3,oneof" json:"cancel_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_RequestCancelExternalWorkflowExecutionCommandAttributes struct {
|
|
RequestCancelExternalWorkflowExecutionCommandAttributes *RequestCancelExternalWorkflowExecutionCommandAttributes `protobuf:"bytes,9,opt,name=request_cancel_external_workflow_execution_command_attributes,json=requestCancelExternalWorkflowExecutionCommandAttributes,proto3,oneof" json:"request_cancel_external_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_RecordMarkerCommandAttributes struct {
|
|
RecordMarkerCommandAttributes *RecordMarkerCommandAttributes `protobuf:"bytes,10,opt,name=record_marker_command_attributes,json=recordMarkerCommandAttributes,proto3,oneof" json:"record_marker_command_attributes,omitempty"`
|
|
}
|
|
type Command_ContinueAsNewWorkflowExecutionCommandAttributes struct {
|
|
ContinueAsNewWorkflowExecutionCommandAttributes *ContinueAsNewWorkflowExecutionCommandAttributes `protobuf:"bytes,11,opt,name=continue_as_new_workflow_execution_command_attributes,json=continueAsNewWorkflowExecutionCommandAttributes,proto3,oneof" json:"continue_as_new_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_StartChildWorkflowExecutionCommandAttributes struct {
|
|
StartChildWorkflowExecutionCommandAttributes *StartChildWorkflowExecutionCommandAttributes `protobuf:"bytes,12,opt,name=start_child_workflow_execution_command_attributes,json=startChildWorkflowExecutionCommandAttributes,proto3,oneof" json:"start_child_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_SignalExternalWorkflowExecutionCommandAttributes struct {
|
|
SignalExternalWorkflowExecutionCommandAttributes *SignalExternalWorkflowExecutionCommandAttributes `protobuf:"bytes,13,opt,name=signal_external_workflow_execution_command_attributes,json=signalExternalWorkflowExecutionCommandAttributes,proto3,oneof" json:"signal_external_workflow_execution_command_attributes,omitempty"`
|
|
}
|
|
type Command_UpsertWorkflowSearchAttributesCommandAttributes struct {
|
|
UpsertWorkflowSearchAttributesCommandAttributes *UpsertWorkflowSearchAttributesCommandAttributes `protobuf:"bytes,14,opt,name=upsert_workflow_search_attributes_command_attributes,json=upsertWorkflowSearchAttributesCommandAttributes,proto3,oneof" json:"upsert_workflow_search_attributes_command_attributes,omitempty"`
|
|
}
|
|
|
|
func (*Command_ScheduleActivityTaskCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_StartTimerCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_CompleteWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_FailWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_RequestCancelActivityTaskCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_CancelTimerCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_CancelWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_RequestCancelExternalWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_RecordMarkerCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_ContinueAsNewWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_StartChildWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_SignalExternalWorkflowExecutionCommandAttributes) isCommand_Attributes() {}
|
|
func (*Command_UpsertWorkflowSearchAttributesCommandAttributes) isCommand_Attributes() {}
|
|
|
|
func (m *Command) GetAttributes() isCommand_Attributes {
|
|
if m != nil {
|
|
return m.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetCommandType() v13.CommandType {
|
|
if m != nil {
|
|
return m.CommandType
|
|
}
|
|
return v13.COMMAND_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *Command) GetScheduleActivityTaskCommandAttributes() *ScheduleActivityTaskCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_ScheduleActivityTaskCommandAttributes); ok {
|
|
return x.ScheduleActivityTaskCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetStartTimerCommandAttributes() *StartTimerCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_StartTimerCommandAttributes); ok {
|
|
return x.StartTimerCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetCompleteWorkflowExecutionCommandAttributes() *CompleteWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_CompleteWorkflowExecutionCommandAttributes); ok {
|
|
return x.CompleteWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetFailWorkflowExecutionCommandAttributes() *FailWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_FailWorkflowExecutionCommandAttributes); ok {
|
|
return x.FailWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetRequestCancelActivityTaskCommandAttributes() *RequestCancelActivityTaskCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_RequestCancelActivityTaskCommandAttributes); ok {
|
|
return x.RequestCancelActivityTaskCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetCancelTimerCommandAttributes() *CancelTimerCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_CancelTimerCommandAttributes); ok {
|
|
return x.CancelTimerCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetCancelWorkflowExecutionCommandAttributes() *CancelWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_CancelWorkflowExecutionCommandAttributes); ok {
|
|
return x.CancelWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetRequestCancelExternalWorkflowExecutionCommandAttributes() *RequestCancelExternalWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_RequestCancelExternalWorkflowExecutionCommandAttributes); ok {
|
|
return x.RequestCancelExternalWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetRecordMarkerCommandAttributes() *RecordMarkerCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_RecordMarkerCommandAttributes); ok {
|
|
return x.RecordMarkerCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetContinueAsNewWorkflowExecutionCommandAttributes() *ContinueAsNewWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_ContinueAsNewWorkflowExecutionCommandAttributes); ok {
|
|
return x.ContinueAsNewWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetStartChildWorkflowExecutionCommandAttributes() *StartChildWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_StartChildWorkflowExecutionCommandAttributes); ok {
|
|
return x.StartChildWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetSignalExternalWorkflowExecutionCommandAttributes() *SignalExternalWorkflowExecutionCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_SignalExternalWorkflowExecutionCommandAttributes); ok {
|
|
return x.SignalExternalWorkflowExecutionCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Command) GetUpsertWorkflowSearchAttributesCommandAttributes() *UpsertWorkflowSearchAttributesCommandAttributes {
|
|
if x, ok := m.GetAttributes().(*Command_UpsertWorkflowSearchAttributesCommandAttributes); ok {
|
|
return x.UpsertWorkflowSearchAttributesCommandAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*Command) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*Command_ScheduleActivityTaskCommandAttributes)(nil),
|
|
(*Command_StartTimerCommandAttributes)(nil),
|
|
(*Command_CompleteWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_FailWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_RequestCancelActivityTaskCommandAttributes)(nil),
|
|
(*Command_CancelTimerCommandAttributes)(nil),
|
|
(*Command_CancelWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_RequestCancelExternalWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_RecordMarkerCommandAttributes)(nil),
|
|
(*Command_ContinueAsNewWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_StartChildWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_SignalExternalWorkflowExecutionCommandAttributes)(nil),
|
|
(*Command_UpsertWorkflowSearchAttributesCommandAttributes)(nil),
|
|
}
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ScheduleActivityTaskCommandAttributes)(nil), "temporal.api.command.v1.ScheduleActivityTaskCommandAttributes")
|
|
proto.RegisterType((*RequestCancelActivityTaskCommandAttributes)(nil), "temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes")
|
|
proto.RegisterType((*StartTimerCommandAttributes)(nil), "temporal.api.command.v1.StartTimerCommandAttributes")
|
|
proto.RegisterType((*CompleteWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*FailWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.FailWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*CancelTimerCommandAttributes)(nil), "temporal.api.command.v1.CancelTimerCommandAttributes")
|
|
proto.RegisterType((*CancelWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*RequestCancelExternalWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*SignalExternalWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*UpsertWorkflowSearchAttributesCommandAttributes)(nil), "temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes")
|
|
proto.RegisterType((*RecordMarkerCommandAttributes)(nil), "temporal.api.command.v1.RecordMarkerCommandAttributes")
|
|
proto.RegisterMapType((map[string]*v1.Payloads)(nil), "temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry")
|
|
proto.RegisterType((*ContinueAsNewWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*StartChildWorkflowExecutionCommandAttributes)(nil), "temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes")
|
|
proto.RegisterType((*Command)(nil), "temporal.api.command.v1.Command")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("temporal/api/command/v1/message.proto", fileDescriptor_8ac2e0d89a96b0e7)
|
|
}
|
|
|
|
var fileDescriptor_8ac2e0d89a96b0e7 = []byte{
|
|
// 1881 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcd, 0x6f, 0x24, 0x47,
|
|
0x15, 0x9f, 0x1e, 0x7f, 0xce, 0x9b, 0xb1, 0xb1, 0x7b, 0x3f, 0x32, 0xeb, 0x6c, 0xc6, 0x66, 0x92,
|
|
0x0d, 0xce, 0xca, 0xcc, 0xac, 0x97, 0xec, 0x26, 0x18, 0x01, 0xf2, 0x4e, 0xbc, 0xcc, 0x08, 0x36,
|
|
0x38, 0x65, 0xef, 0x06, 0xad, 0x88, 0x5a, 0xe5, 0xee, 0x1a, 0xbb, 0xe5, 0x9e, 0xae, 0x49, 0x75,
|
|
0xb5, 0x9d, 0x11, 0x12, 0x82, 0x13, 0x08, 0x71, 0xe0, 0x88, 0x90, 0x38, 0x71, 0x81, 0x9c, 0xb8,
|
|
0x82, 0x10, 0x37, 0x24, 0x8e, 0x2b, 0x4e, 0x41, 0x1c, 0x60, 0xbd, 0x17, 0xc4, 0x29, 0x48, 0xfc,
|
|
0x01, 0xa8, 0xab, 0xab, 0xba, 0xe7, 0xab, 0xc7, 0xdd, 0x76, 0x72, 0x9b, 0xae, 0x7a, 0xef, 0xd5,
|
|
0xab, 0x57, 0xaf, 0x7e, 0xf5, 0x7b, 0x6f, 0xe0, 0x16, 0x27, 0x9d, 0x2e, 0x65, 0xd8, 0xa9, 0xe3,
|
|
0xae, 0x5d, 0x37, 0x69, 0xa7, 0x83, 0x5d, 0xab, 0x7e, 0xb2, 0x59, 0xef, 0x10, 0xcf, 0xc3, 0x87,
|
|
0xa4, 0xd6, 0x65, 0x94, 0x53, 0xfd, 0x25, 0x25, 0x56, 0xc3, 0x5d, 0xbb, 0x26, 0xc5, 0x6a, 0x27,
|
|
0x9b, 0x2b, 0x95, 0x43, 0x4a, 0x0f, 0x1d, 0x52, 0x17, 0x62, 0x07, 0x7e, 0xbb, 0x6e, 0xf9, 0x0c,
|
|
0x73, 0x9b, 0xba, 0xa1, 0xe2, 0xca, 0x17, 0x2d, 0xd2, 0x25, 0xae, 0x45, 0x5c, 0xd3, 0x26, 0x5e,
|
|
0xfd, 0x90, 0x1e, 0x52, 0x31, 0x2e, 0x7e, 0x49, 0x91, 0xd7, 0x06, 0x5c, 0x20, 0xae, 0xdf, 0xf1,
|
|
0x02, 0x07, 0x4e, 0x29, 0x3b, 0x6e, 0x3b, 0xf4, 0x54, 0x4a, 0xad, 0x8f, 0x97, 0x92, 0xae, 0x18,
|
|
0xbc, 0xd7, 0x25, 0x63, 0xed, 0x05, 0x02, 0xd4, 0x1d, 0xd9, 0xd1, 0xca, 0xe0, 0xc6, 0xdb, 0xd8,
|
|
0x76, 0x7c, 0x46, 0x46, 0xc5, 0xbe, 0x34, 0x20, 0xc6, 0xb1, 0x77, 0xfc, 0xa1, 0x4f, 0xfc, 0x51,
|
|
0xc1, 0xea, 0xcf, 0x66, 0xe1, 0xd6, 0x9e, 0x79, 0x44, 0x2c, 0xdf, 0x21, 0xdb, 0x26, 0xb7, 0x4f,
|
|
0x6c, 0xde, 0xdb, 0xc7, 0xde, 0x71, 0x23, 0x74, 0x70, 0x9b, 0x73, 0x66, 0x1f, 0xf8, 0x9c, 0x78,
|
|
0xfa, 0x2a, 0x14, 0xb1, 0x14, 0x30, 0x6c, 0xab, 0xac, 0xad, 0x69, 0xeb, 0x05, 0x04, 0x6a, 0xa8,
|
|
0x65, 0xe9, 0x2d, 0x58, 0x88, 0x04, 0x82, 0x7d, 0x95, 0xf3, 0x6b, 0xda, 0x7a, 0xf1, 0xee, 0x6b,
|
|
0xb5, 0x91, 0x43, 0xa0, 0x6e, 0xed, 0x64, 0xb3, 0x16, 0x2d, 0xd7, 0xeb, 0x12, 0x54, 0xc2, 0x7d,
|
|
0x5f, 0xfa, 0x4d, 0x28, 0xb8, 0xb8, 0x43, 0xbc, 0x2e, 0x36, 0x49, 0x79, 0x4a, 0xac, 0x14, 0x0f,
|
|
0xe8, 0x0d, 0x80, 0x60, 0x47, 0x86, 0xd8, 0x52, 0x79, 0x7a, 0xdc, 0x2a, 0xd1, 0x8e, 0x83, 0x85,
|
|
0x82, 0xfd, 0xbc, 0x17, 0x7c, 0xa0, 0x02, 0x57, 0x3f, 0xf5, 0xfb, 0x30, 0x7b, 0x44, 0xb0, 0x45,
|
|
0x58, 0x79, 0x46, 0x18, 0xa8, 0x24, 0xb9, 0xd9, 0x14, 0x52, 0x48, 0x4a, 0xeb, 0xf7, 0x61, 0xc6,
|
|
0x76, 0xbb, 0x3e, 0x2f, 0xcf, 0x0a, 0xb5, 0xb5, 0x24, 0xb5, 0x5d, 0xdc, 0x73, 0x28, 0xb6, 0x3c,
|
|
0x14, 0x8a, 0xeb, 0x4f, 0xe1, 0x86, 0x27, 0xe3, 0x6c, 0x70, 0x6a, 0x98, 0x0e, 0xf5, 0x88, 0xc1,
|
|
0xed, 0x0e, 0xa1, 0x3e, 0x2f, 0xcf, 0x09, 0x5b, 0x37, 0x6a, 0x61, 0x56, 0xd6, 0x54, 0x56, 0xd6,
|
|
0xde, 0x91, 0x59, 0xf9, 0x60, 0xfa, 0x97, 0xff, 0x5c, 0xd5, 0xd0, 0x75, 0x65, 0x61, 0x9f, 0x36,
|
|
0x02, 0xfd, 0xfd, 0x50, 0x7d, 0xd8, 0xb6, 0xc7, 0x31, 0xe3, 0x91, 0xed, 0xf9, 0xcc, 0xb6, 0xf7,
|
|
0x02, 0x7d, 0x65, 0x7b, 0x1f, 0xae, 0x4b, 0x7b, 0xc3, 0x4e, 0x17, 0xd2, 0x19, 0xbe, 0x22, 0xd4,
|
|
0x87, 0x3c, 0xfe, 0x0e, 0x2c, 0x1f, 0x11, 0xcc, 0xf8, 0x01, 0xc1, 0xb1, 0xa7, 0x90, 0xce, 0xe0,
|
|
0x52, 0xa4, 0xa9, 0xac, 0x3d, 0x84, 0x12, 0x23, 0x9c, 0xf5, 0x8c, 0x2e, 0x75, 0x6c, 0xb3, 0x57,
|
|
0x2e, 0x0a, 0x43, 0xaf, 0x26, 0x1d, 0x0d, 0x0a, 0x64, 0x77, 0x85, 0x28, 0x2a, 0xb2, 0xf8, 0xa3,
|
|
0xfa, 0x14, 0x6e, 0x23, 0xf2, 0xa1, 0x4f, 0x3c, 0xde, 0xc0, 0xae, 0x49, 0x9c, 0xc9, 0x17, 0x62,
|
|
0x03, 0x74, 0x15, 0x33, 0xcb, 0x20, 0x27, 0xc4, 0xe5, 0xea, 0x5e, 0x4c, 0xa1, 0xa5, 0x68, 0x66,
|
|
0x27, 0x98, 0x68, 0x59, 0xd5, 0x9f, 0x6b, 0xf0, 0x72, 0x14, 0x58, 0x36, 0x6a, 0xed, 0x06, 0xcc,
|
|
0x07, 0x71, 0x60, 0xf1, 0xdd, 0x9a, 0x13, 0xdf, 0x2d, 0x4b, 0x47, 0x70, 0x2d, 0x3a, 0x82, 0xb6,
|
|
0xcd, 0xe2, 0x13, 0xc8, 0xa7, 0x0b, 0x98, 0x2e, 0x4f, 0xe0, 0xa1, 0xcd, 0xd4, 0x01, 0x54, 0xdb,
|
|
0x70, 0xbb, 0x41, 0x3b, 0x5d, 0x87, 0x70, 0xf2, 0xbe, 0x44, 0xac, 0x9d, 0x8f, 0x88, 0xe9, 0x07,
|
|
0x6a, 0xa3, 0xce, 0xbd, 0x0d, 0xb3, 0x8c, 0x78, 0xbe, 0xc3, 0x85, 0x6b, 0x69, 0xb2, 0x5e, 0xca,
|
|
0x57, 0x2d, 0x78, 0xfd, 0x21, 0xb6, 0x9d, 0x14, 0x6b, 0x6c, 0xc1, 0x9c, 0x84, 0xb3, 0xf1, 0x8b,
|
|
0xc8, 0xc9, 0x60, 0x95, 0x87, 0xe1, 0x4f, 0xa4, 0x14, 0xaa, 0x5f, 0x85, 0x9b, 0xe1, 0x89, 0x65,
|
|
0x0e, 0x6e, 0xb5, 0x0d, 0xeb, 0xa1, 0x6a, 0x3a, 0x17, 0x2d, 0xc2, 0xb1, 0xed, 0x78, 0xa9, 0xe3,
|
|
0xa0, 0x14, 0xaa, 0x7f, 0xd7, 0xe0, 0xad, 0x81, 0xe4, 0xda, 0xf9, 0x88, 0x13, 0xe6, 0xe2, 0x34,
|
|
0xeb, 0x0e, 0xc0, 0xa1, 0x36, 0x0c, 0x87, 0xab, 0x50, 0x54, 0x8f, 0x4e, 0xb0, 0xbf, 0x7c, 0x08,
|
|
0xcc, 0x6a, 0xa8, 0x65, 0xe9, 0xd7, 0x60, 0x96, 0xf9, 0x6e, 0x30, 0x17, 0x42, 0xe9, 0x0c, 0xf3,
|
|
0xdd, 0x96, 0xa5, 0x97, 0x61, 0xce, 0xa4, 0x2e, 0x67, 0xd4, 0x11, 0x18, 0x5a, 0x40, 0xea, 0x53,
|
|
0xaf, 0xc1, 0x15, 0xf3, 0xc8, 0x76, 0x2c, 0x23, 0xb2, 0x4b, 0x5d, 0xa7, 0x27, 0x80, 0x72, 0x1e,
|
|
0x2d, 0x8b, 0x29, 0xe5, 0xf5, 0x77, 0x5d, 0xa7, 0x57, 0xfd, 0x5f, 0x1e, 0xee, 0xec, 0xd9, 0x87,
|
|
0x2e, 0xfe, 0xec, 0x36, 0xf5, 0x2d, 0x28, 0x10, 0xa5, 0x2b, 0xf3, 0xfc, 0x8d, 0xa4, 0x60, 0x8f,
|
|
0x2c, 0x86, 0x62, 0xdd, 0x20, 0x3a, 0x9e, 0x70, 0xcd, 0x08, 0x8c, 0xcb, 0x08, 0x40, 0x38, 0xf4,
|
|
0x2e, 0xee, 0x90, 0x18, 0xd0, 0xa7, 0xb3, 0x01, 0x7a, 0x5f, 0xf8, 0x66, 0x52, 0x85, 0x6f, 0x36,
|
|
0x21, 0x7c, 0x7d, 0x4f, 0xd1, 0x5c, 0x96, 0xa7, 0xa8, 0xfa, 0x53, 0x0d, 0xea, 0x8f, 0xbb, 0x1e,
|
|
0x61, 0x5c, 0x99, 0xdb, 0x23, 0x98, 0x99, 0x47, 0x71, 0x90, 0x47, 0xa3, 0xfe, 0x18, 0x96, 0x3d,
|
|
0x21, 0x64, 0xe0, 0x68, 0x50, 0x26, 0xf3, 0x7a, 0xd2, 0xb2, 0xc3, 0x56, 0xd1, 0x92, 0x37, 0x34,
|
|
0x52, 0xfd, 0x6f, 0x1e, 0x5e, 0x41, 0xc4, 0xa4, 0xcc, 0x7a, 0x84, 0xd9, 0xf1, 0xb8, 0x2b, 0xb8,
|
|
0x0a, 0xc5, 0x8e, 0x98, 0x0a, 0xcf, 0x41, 0xd2, 0x87, 0x70, 0x48, 0x9c, 0xc3, 0x07, 0xf1, 0xe5,
|
|
0xca, 0xaf, 0x4d, 0xad, 0x17, 0xef, 0x36, 0x6a, 0x09, 0xec, 0xad, 0x36, 0x71, 0xa5, 0xda, 0x3b,
|
|
0xa1, 0x95, 0x1d, 0x97, 0xb3, 0x5e, 0x74, 0xff, 0xfa, 0x82, 0x3c, 0x95, 0xe9, 0xbd, 0xef, 0x83,
|
|
0xa5, 0xe9, 0x8c, 0xb0, 0xb4, 0xf2, 0x7d, 0x28, 0xf5, 0x3b, 0xa3, 0x2f, 0xc1, 0xd4, 0x31, 0xe9,
|
|
0xc9, 0xbd, 0x07, 0x3f, 0x83, 0xe4, 0x3b, 0xc1, 0x8e, 0xaf, 0xb8, 0x52, 0x8a, 0xe4, 0x13, 0xe2,
|
|
0x5b, 0xf9, 0xb7, 0xb5, 0xea, 0x4f, 0xe6, 0xa1, 0xde, 0xa0, 0x2e, 0xb7, 0x5d, 0x9f, 0x6c, 0x7b,
|
|
0xef, 0x92, 0xd3, 0x14, 0x97, 0xae, 0x05, 0x0b, 0x51, 0x52, 0x0a, 0x8e, 0xa6, 0x4d, 0xe6, 0x68,
|
|
0xca, 0x64, 0xc8, 0xd1, 0x4e, 0xfb, 0xbe, 0x86, 0x58, 0x58, 0xfe, 0xa2, 0x2c, 0x4c, 0x5e, 0xbe,
|
|
0xa9, 0x6c, 0x97, 0xef, 0x3d, 0xb8, 0x1a, 0xed, 0x23, 0xc0, 0x36, 0xf5, 0x22, 0x4e, 0xa7, 0x7c,
|
|
0x11, 0x95, 0x32, 0xf2, 0x5d, 0x45, 0x22, 0xf6, 0xe0, 0x5a, 0x1c, 0x9a, 0x60, 0x63, 0xca, 0xe6,
|
|
0x4c, 0x4a, 0x9e, 0x13, 0x45, 0x07, 0x7b, 0xc7, 0xca, 0xe8, 0x63, 0xb8, 0x7e, 0x80, 0xcd, 0x63,
|
|
0xda, 0x6e, 0x4b, 0x56, 0x66, 0xbb, 0x9c, 0xb0, 0x13, 0xec, 0x48, 0xfa, 0x78, 0xae, 0xd5, 0xab,
|
|
0x52, 0x5d, 0x50, 0x87, 0x96, 0x54, 0x1e, 0x21, 0x3c, 0x73, 0x17, 0x23, 0x3c, 0xfa, 0xb7, 0xa1,
|
|
0x60, 0xbb, 0x36, 0xb7, 0x31, 0xa7, 0x4c, 0x10, 0xc5, 0xc5, 0xbb, 0x5f, 0x1e, 0x34, 0x22, 0x2a,
|
|
0x96, 0xc0, 0xc6, 0x40, 0xa6, 0xb5, 0x94, 0x12, 0x8a, 0xf5, 0xfb, 0x6f, 0x4a, 0x21, 0xe3, 0x4d,
|
|
0xd1, 0x9f, 0xc0, 0x75, 0x07, 0x7b, 0xdc, 0x30, 0x43, 0x4e, 0x62, 0x53, 0xd7, 0x90, 0x84, 0x03,
|
|
0x52, 0x26, 0xc6, 0xd5, 0x40, 0xbf, 0x11, 0xa9, 0x23, 0xa1, 0xad, 0xbf, 0x0a, 0x0b, 0x26, 0xa3,
|
|
0xae, 0xa1, 0xe8, 0x98, 0xa0, 0x86, 0x05, 0x54, 0x0a, 0x06, 0x55, 0xd9, 0xd3, 0x07, 0x0d, 0xa5,
|
|
0x4c, 0xd0, 0x70, 0x07, 0xa6, 0x3b, 0xa4, 0x43, 0xcb, 0x0b, 0x42, 0xeb, 0x66, 0x92, 0xd6, 0x23,
|
|
0xd2, 0xa1, 0x48, 0x48, 0x8e, 0x47, 0xdf, 0xc5, 0x4b, 0xa3, 0xef, 0x5f, 0xe6, 0x61, 0x43, 0x24,
|
|
0x48, 0xa3, 0xff, 0x6d, 0xf9, 0xfc, 0x08, 0xc5, 0x08, 0x8a, 0x4c, 0x7d, 0x46, 0x28, 0x32, 0x7d,
|
|
0x49, 0x14, 0x99, 0xc9, 0x86, 0x22, 0x1f, 0xc0, 0x4a, 0xb4, 0x8f, 0x88, 0x31, 0x44, 0xf7, 0x3e,
|
|
0xe5, 0x0d, 0x2d, 0x9f, 0x0e, 0xc7, 0x5b, 0x5d, 0xfe, 0x24, 0x90, 0x9a, 0xfb, 0x1c, 0x40, 0x6a,
|
|
0xfe, 0x12, 0x20, 0xf5, 0x3d, 0xb8, 0xd2, 0xc5, 0x2c, 0xa8, 0x5f, 0xc2, 0x02, 0x4f, 0x82, 0x4a,
|
|
0x41, 0xe0, 0xc1, 0x7a, 0x02, 0x1e, 0xec, 0x0a, 0x0d, 0x51, 0xd4, 0x49, 0x64, 0x59, 0xee, 0x0e,
|
|
0x0f, 0xf5, 0x73, 0x24, 0x18, 0xe4, 0x48, 0x04, 0xca, 0x7d, 0x39, 0x66, 0x30, 0xe2, 0xc7, 0x0b,
|
|
0x17, 0xc5, 0xc2, 0x1b, 0x09, 0x0b, 0xbf, 0x1f, 0xe5, 0x21, 0x0a, 0x94, 0xe4, 0xe2, 0xd7, 0x4e,
|
|
0xc7, 0x0d, 0x8f, 0x00, 0x65, 0xe9, 0x82, 0x40, 0x39, 0x82, 0x23, 0x0b, 0x13, 0x71, 0x64, 0xf1,
|
|
0x42, 0x38, 0xf2, 0x85, 0xcb, 0xe1, 0xc8, 0xd2, 0xa5, 0x71, 0xe4, 0x1f, 0xcb, 0x30, 0x27, 0xc1,
|
|
0x42, 0xdf, 0x81, 0x52, 0x7f, 0x93, 0x4a, 0xa0, 0xc4, 0xe2, 0xdd, 0x6a, 0xe2, 0xeb, 0x20, 0x44,
|
|
0xc5, 0x05, 0x2f, 0x9a, 0xf1, 0x87, 0xfe, 0x2b, 0x0d, 0xde, 0x88, 0x7a, 0x13, 0x71, 0x7b, 0x28,
|
|
0x48, 0x5d, 0x65, 0xbe, 0x6f, 0x0b, 0x21, 0x8b, 0xf8, 0x46, 0x22, 0xf1, 0x4b, 0xd5, 0xa9, 0x6a,
|
|
0xe6, 0xd0, 0x2d, 0x2f, 0x55, 0x4b, 0xeb, 0x07, 0x50, 0x89, 0x7b, 0x25, 0x6c, 0x9c, 0x43, 0x21,
|
|
0xb0, 0xbd, 0x99, 0xec, 0x50, 0x72, 0x45, 0xdf, 0xcc, 0xa1, 0x97, 0xbd, 0x09, 0x05, 0xff, 0xef,
|
|
0x34, 0xa8, 0xc9, 0xe7, 0x8e, 0x18, 0x63, 0x60, 0x68, 0x8c, 0x37, 0x21, 0x3c, 0x26, 0xf3, 0xe2,
|
|
0xf4, 0x15, 0x7d, 0x33, 0x87, 0x6e, 0x9b, 0xe9, 0xeb, 0xff, 0x5f, 0x6b, 0x70, 0x3b, 0x78, 0xaa,
|
|
0x53, 0xfa, 0x19, 0xc2, 0xf0, 0x37, 0x13, 0xfd, 0x4c, 0xd7, 0x11, 0x68, 0xe6, 0xd0, 0xeb, 0xed,
|
|
0x74, 0xbd, 0x83, 0x8f, 0x35, 0xa8, 0xb3, 0xb0, 0xb8, 0x36, 0x4c, 0x51, 0x5d, 0x9f, 0x9f, 0x6b,
|
|
0xb3, 0xe7, 0x04, 0x33, 0x7d, 0x27, 0x28, 0x08, 0x26, 0x4b, 0xdf, 0x37, 0xfa, 0x21, 0xac, 0x4a,
|
|
0x1f, 0x13, 0xd3, 0x2e, 0x7c, 0x21, 0xee, 0x25, 0x1f, 0xf4, 0x84, 0x66, 0x47, 0x33, 0x87, 0x6e,
|
|
0x9a, 0x93, 0x9a, 0x21, 0xbf, 0xd1, 0x60, 0x43, 0x3a, 0x90, 0xee, 0x38, 0xc3, 0xb7, 0x65, 0xfb,
|
|
0x1c, 0x6f, 0x52, 0x1d, 0xe8, 0xba, 0x99, 0xb6, 0xd7, 0xf2, 0x37, 0x0d, 0xbe, 0x3e, 0x74, 0xa4,
|
|
0x44, 0x36, 0x17, 0x52, 0xba, 0x1d, 0x92, 0xd0, 0xdd, 0x74, 0x07, 0x9c, 0xbe, 0x71, 0xd1, 0xcc,
|
|
0xa1, 0xb7, 0xd8, 0x05, 0x1b, 0x39, 0x3f, 0xd6, 0x60, 0x8d, 0x89, 0xe2, 0xd5, 0x90, 0xc5, 0xf0,
|
|
0x18, 0xbf, 0x43, 0xc6, 0x7b, 0xff, 0x62, 0xd5, 0x6f, 0x33, 0x87, 0x5e, 0x61, 0x13, 0x0b, 0xf1,
|
|
0x3f, 0x6a, 0x70, 0xcf, 0x94, 0x64, 0xde, 0xc0, 0x9e, 0xe1, 0x92, 0xd3, 0x94, 0x01, 0x0d, 0xdb,
|
|
0xaa, 0xcd, 0x09, 0xf0, 0x93, 0xa9, 0x18, 0x6d, 0xe6, 0x50, 0xdd, 0xcc, 0x58, 0xbf, 0xfe, 0x5e,
|
|
0x83, 0xcd, 0x10, 0xb2, 0x87, 0x3a, 0x2c, 0x13, 0x1d, 0x0f, 0x5f, 0xfd, 0x9d, 0xc9, 0x28, 0x9e,
|
|
0x92, 0x3b, 0x37, 0x73, 0x68, 0xc3, 0xcb, 0xc2, 0xb5, 0xff, 0xa4, 0xc1, 0x3d, 0xd9, 0x81, 0xca,
|
|
0x98, 0xc0, 0x61, 0x5d, 0xd1, 0x4a, 0x76, 0x3b, 0x63, 0xcb, 0xad, 0x99, 0x43, 0x77, 0xbc, 0xac,
|
|
0x6d, 0xba, 0x3f, 0x68, 0xf0, 0xa6, 0x2f, 0x9a, 0x4c, 0xb1, 0xd7, 0x23, 0xdc, 0x63, 0x9c, 0xf7,
|
|
0x8b, 0xe7, 0x64, 0x4b, 0xc6, 0xce, 0x55, 0x90, 0x2d, 0x7e, 0x36, 0x95, 0x07, 0x25, 0x80, 0xd8,
|
|
0xa1, 0x07, 0x7f, 0xd6, 0x9e, 0x3d, 0xaf, 0xe4, 0x3e, 0x79, 0x5e, 0xc9, 0x7d, 0xfa, 0xbc, 0xa2,
|
|
0xfd, 0xe8, 0xac, 0xa2, 0xfd, 0xf6, 0xac, 0xa2, 0xfd, 0xf5, 0xac, 0xa2, 0x3d, 0x3b, 0xab, 0x68,
|
|
0xff, 0x3a, 0xab, 0x68, 0xff, 0x3e, 0xab, 0xe4, 0x3e, 0x3d, 0xab, 0x68, 0xbf, 0x78, 0x51, 0xc9,
|
|
0x3d, 0x7b, 0x51, 0xc9, 0x7d, 0xf2, 0xa2, 0x92, 0x83, 0x15, 0x9b, 0x26, 0xed, 0xe1, 0x41, 0xe9,
|
|
0x51, 0xf8, 0x67, 0xda, 0x6e, 0x40, 0xb7, 0x77, 0xb5, 0xa7, 0xb7, 0x0e, 0xfb, 0x64, 0x6d, 0x3a,
|
|
0xf4, 0xe7, 0xe4, 0xd7, 0xe4, 0xcf, 0x8f, 0xf3, 0x2f, 0xed, 0x2b, 0xa1, 0xed, 0xae, 0xad, 0xc8,
|
|
0x53, 0xed, 0xc9, 0xe6, 0x7f, 0xf2, 0x2b, 0x6a, 0x66, 0x6b, 0x6b, 0xbb, 0x6b, 0x6f, 0x6d, 0xc9,
|
|
0xb9, 0xad, 0xad, 0x27, 0x9b, 0x07, 0xb3, 0x82, 0xd5, 0x7f, 0xe5, 0xff, 0x01, 0x00, 0x00, 0xff,
|
|
0xff, 0x73, 0x8b, 0xaf, 0x9a, 0xfd, 0x1c, 0x00, 0x00,
|
|
}
|
|
|
|
func (this *ScheduleActivityTaskCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ScheduleActivityTaskCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(ScheduleActivityTaskCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.ActivityType.Equal(that1.ActivityType) {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.ScheduleToCloseTimeout != nil && that1.ScheduleToCloseTimeout != nil {
|
|
if *this.ScheduleToCloseTimeout != *that1.ScheduleToCloseTimeout {
|
|
return false
|
|
}
|
|
} else if this.ScheduleToCloseTimeout != nil {
|
|
return false
|
|
} else if that1.ScheduleToCloseTimeout != nil {
|
|
return false
|
|
}
|
|
if this.ScheduleToStartTimeout != nil && that1.ScheduleToStartTimeout != nil {
|
|
if *this.ScheduleToStartTimeout != *that1.ScheduleToStartTimeout {
|
|
return false
|
|
}
|
|
} else if this.ScheduleToStartTimeout != nil {
|
|
return false
|
|
} else if that1.ScheduleToStartTimeout != nil {
|
|
return false
|
|
}
|
|
if this.StartToCloseTimeout != nil && that1.StartToCloseTimeout != nil {
|
|
if *this.StartToCloseTimeout != *that1.StartToCloseTimeout {
|
|
return false
|
|
}
|
|
} else if this.StartToCloseTimeout != nil {
|
|
return false
|
|
} else if that1.StartToCloseTimeout != nil {
|
|
return false
|
|
}
|
|
if this.HeartbeatTimeout != nil && that1.HeartbeatTimeout != nil {
|
|
if *this.HeartbeatTimeout != *that1.HeartbeatTimeout {
|
|
return false
|
|
}
|
|
} else if this.HeartbeatTimeout != nil {
|
|
return false
|
|
} else if that1.HeartbeatTimeout != nil {
|
|
return false
|
|
}
|
|
if !this.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RequestCancelActivityTaskCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RequestCancelActivityTaskCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(RequestCancelActivityTaskCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.ScheduledEventId != that1.ScheduledEventId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *StartTimerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*StartTimerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(StartTimerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.TimerId != that1.TimerId {
|
|
return false
|
|
}
|
|
if this.StartToFireTimeout != nil && that1.StartToFireTimeout != nil {
|
|
if *this.StartToFireTimeout != *that1.StartToFireTimeout {
|
|
return false
|
|
}
|
|
} else if this.StartToFireTimeout != nil {
|
|
return false
|
|
} else if that1.StartToFireTimeout != nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CompleteWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*CompleteWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(CompleteWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.Result.Equal(that1.Result) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *FailWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*FailWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(FailWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CancelTimerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*CancelTimerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(CancelTimerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.TimerId != that1.TimerId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CancelWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*CancelWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(CancelWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RequestCancelExternalWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RequestCancelExternalWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(RequestCancelExternalWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.Control != that1.Control {
|
|
return false
|
|
}
|
|
if this.ChildWorkflowOnly != that1.ChildWorkflowOnly {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalExternalWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalExternalWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(SignalExternalWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.Execution.Equal(that1.Execution) {
|
|
return false
|
|
}
|
|
if this.SignalName != that1.SignalName {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.Control != that1.Control {
|
|
return false
|
|
}
|
|
if this.ChildWorkflowOnly != that1.ChildWorkflowOnly {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *UpsertWorkflowSearchAttributesCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*UpsertWorkflowSearchAttributesCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(UpsertWorkflowSearchAttributesCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.SearchAttributes.Equal(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RecordMarkerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RecordMarkerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(RecordMarkerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.MarkerName != that1.MarkerName {
|
|
return false
|
|
}
|
|
if len(this.Details) != len(that1.Details) {
|
|
return false
|
|
}
|
|
for i := range this.Details {
|
|
if !this.Details[i].Equal(that1.Details[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ContinueAsNewWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ContinueAsNewWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(ContinueAsNewWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.WorkflowRunTimeout != nil && that1.WorkflowRunTimeout != nil {
|
|
if *this.WorkflowRunTimeout != *that1.WorkflowRunTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowRunTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowRunTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskTimeout != nil && that1.WorkflowTaskTimeout != nil {
|
|
if *this.WorkflowTaskTimeout != *that1.WorkflowTaskTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowTaskTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowTaskTimeout != nil {
|
|
return false
|
|
}
|
|
if this.BackoffStartInterval != nil && that1.BackoffStartInterval != nil {
|
|
if *this.BackoffStartInterval != *that1.BackoffStartInterval {
|
|
return false
|
|
}
|
|
} else if this.BackoffStartInterval != nil {
|
|
return false
|
|
} else if that1.BackoffStartInterval != nil {
|
|
return false
|
|
}
|
|
if !this.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
if this.Initiator != that1.Initiator {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
if !this.LastCompletionResult.Equal(that1.LastCompletionResult) {
|
|
return false
|
|
}
|
|
if this.CronSchedule != that1.CronSchedule {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
if !this.Memo.Equal(that1.Memo) {
|
|
return false
|
|
}
|
|
if !this.SearchAttributes.Equal(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *StartChildWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*StartChildWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(StartChildWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.WorkflowExecutionTimeout != nil && that1.WorkflowExecutionTimeout != nil {
|
|
if *this.WorkflowExecutionTimeout != *that1.WorkflowExecutionTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowRunTimeout != nil && that1.WorkflowRunTimeout != nil {
|
|
if *this.WorkflowRunTimeout != *that1.WorkflowRunTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowRunTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowRunTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskTimeout != nil && that1.WorkflowTaskTimeout != nil {
|
|
if *this.WorkflowTaskTimeout != *that1.WorkflowTaskTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowTaskTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowTaskTimeout != nil {
|
|
return false
|
|
}
|
|
if this.ParentClosePolicy != that1.ParentClosePolicy {
|
|
return false
|
|
}
|
|
if this.Control != that1.Control {
|
|
return false
|
|
}
|
|
if this.WorkflowIdReusePolicy != that1.WorkflowIdReusePolicy {
|
|
return false
|
|
}
|
|
if !this.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
if this.CronSchedule != that1.CronSchedule {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
if !this.Memo.Equal(that1.Memo) {
|
|
return false
|
|
}
|
|
if !this.SearchAttributes.Equal(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command)
|
|
if !ok {
|
|
that2, ok := that.(Command)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.CommandType != that1.CommandType {
|
|
return false
|
|
}
|
|
if that1.Attributes == nil {
|
|
if this.Attributes != nil {
|
|
return false
|
|
}
|
|
} else if this.Attributes == nil {
|
|
return false
|
|
} else if !this.Attributes.Equal(that1.Attributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_ScheduleActivityTaskCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_ScheduleActivityTaskCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_ScheduleActivityTaskCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.ScheduleActivityTaskCommandAttributes.Equal(that1.ScheduleActivityTaskCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_StartTimerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_StartTimerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_StartTimerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.StartTimerCommandAttributes.Equal(that1.StartTimerCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_CompleteWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_CompleteWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_CompleteWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.CompleteWorkflowExecutionCommandAttributes.Equal(that1.CompleteWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_FailWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_FailWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_FailWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.FailWorkflowExecutionCommandAttributes.Equal(that1.FailWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_RequestCancelActivityTaskCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_RequestCancelActivityTaskCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_RequestCancelActivityTaskCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.RequestCancelActivityTaskCommandAttributes.Equal(that1.RequestCancelActivityTaskCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_CancelTimerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_CancelTimerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_CancelTimerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.CancelTimerCommandAttributes.Equal(that1.CancelTimerCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_CancelWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_CancelWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_CancelWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.CancelWorkflowExecutionCommandAttributes.Equal(that1.CancelWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_RequestCancelExternalWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_RequestCancelExternalWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.RequestCancelExternalWorkflowExecutionCommandAttributes.Equal(that1.RequestCancelExternalWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_RecordMarkerCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_RecordMarkerCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_RecordMarkerCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.RecordMarkerCommandAttributes.Equal(that1.RecordMarkerCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_ContinueAsNewWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_ContinueAsNewWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_ContinueAsNewWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.ContinueAsNewWorkflowExecutionCommandAttributes.Equal(that1.ContinueAsNewWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_StartChildWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_StartChildWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_StartChildWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.StartChildWorkflowExecutionCommandAttributes.Equal(that1.StartChildWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_SignalExternalWorkflowExecutionCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_SignalExternalWorkflowExecutionCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_SignalExternalWorkflowExecutionCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.SignalExternalWorkflowExecutionCommandAttributes.Equal(that1.SignalExternalWorkflowExecutionCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Command_UpsertWorkflowSearchAttributesCommandAttributes) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Command_UpsertWorkflowSearchAttributesCommandAttributes)
|
|
if !ok {
|
|
that2, ok := that.(Command_UpsertWorkflowSearchAttributesCommandAttributes)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.UpsertWorkflowSearchAttributesCommandAttributes.Equal(that1.UpsertWorkflowSearchAttributesCommandAttributes) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ScheduleActivityTaskCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 15)
|
|
s = append(s, "&command.ScheduleActivityTaskCommandAttributes{")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.ActivityType != nil {
|
|
s = append(s, "ActivityType: "+fmt.Sprintf("%#v", this.ActivityType)+",\n")
|
|
}
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "ScheduleToCloseTimeout: "+fmt.Sprintf("%#v", this.ScheduleToCloseTimeout)+",\n")
|
|
s = append(s, "ScheduleToStartTimeout: "+fmt.Sprintf("%#v", this.ScheduleToStartTimeout)+",\n")
|
|
s = append(s, "StartToCloseTimeout: "+fmt.Sprintf("%#v", this.StartToCloseTimeout)+",\n")
|
|
s = append(s, "HeartbeatTimeout: "+fmt.Sprintf("%#v", this.HeartbeatTimeout)+",\n")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RequestCancelActivityTaskCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.RequestCancelActivityTaskCommandAttributes{")
|
|
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *StartTimerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&command.StartTimerCommandAttributes{")
|
|
s = append(s, "TimerId: "+fmt.Sprintf("%#v", this.TimerId)+",\n")
|
|
s = append(s, "StartToFireTimeout: "+fmt.Sprintf("%#v", this.StartToFireTimeout)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *CompleteWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.CompleteWorkflowExecutionCommandAttributes{")
|
|
if this.Result != nil {
|
|
s = append(s, "Result: "+fmt.Sprintf("%#v", this.Result)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *FailWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.FailWorkflowExecutionCommandAttributes{")
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *CancelTimerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.CancelTimerCommandAttributes{")
|
|
s = append(s, "TimerId: "+fmt.Sprintf("%#v", this.TimerId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *CancelWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.CancelWorkflowExecutionCommandAttributes{")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RequestCancelExternalWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&command.RequestCancelExternalWorkflowExecutionCommandAttributes{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
|
|
s = append(s, "ChildWorkflowOnly: "+fmt.Sprintf("%#v", this.ChildWorkflowOnly)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalExternalWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 11)
|
|
s = append(s, "&command.SignalExternalWorkflowExecutionCommandAttributes{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.Execution != nil {
|
|
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
|
|
}
|
|
s = append(s, "SignalName: "+fmt.Sprintf("%#v", this.SignalName)+",\n")
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
|
|
s = append(s, "ChildWorkflowOnly: "+fmt.Sprintf("%#v", this.ChildWorkflowOnly)+",\n")
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *UpsertWorkflowSearchAttributesCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&command.UpsertWorkflowSearchAttributesCommandAttributes{")
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+fmt.Sprintf("%#v", this.SearchAttributes)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RecordMarkerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&command.RecordMarkerCommandAttributes{")
|
|
s = append(s, "MarkerName: "+fmt.Sprintf("%#v", this.MarkerName)+",\n")
|
|
keysForDetails := make([]string, 0, len(this.Details))
|
|
for k, _ := range this.Details {
|
|
keysForDetails = append(keysForDetails, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForDetails)
|
|
mapStringForDetails := "map[string]*v1.Payloads{"
|
|
for _, k := range keysForDetails {
|
|
mapStringForDetails += fmt.Sprintf("%#v: %#v,", k, this.Details[k])
|
|
}
|
|
mapStringForDetails += "}"
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+mapStringForDetails+",\n")
|
|
}
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ContinueAsNewWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 18)
|
|
s = append(s, "&command.ContinueAsNewWorkflowExecutionCommandAttributes{")
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "WorkflowRunTimeout: "+fmt.Sprintf("%#v", this.WorkflowRunTimeout)+",\n")
|
|
s = append(s, "WorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.WorkflowTaskTimeout)+",\n")
|
|
s = append(s, "BackoffStartInterval: "+fmt.Sprintf("%#v", this.BackoffStartInterval)+",\n")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "Initiator: "+fmt.Sprintf("%#v", this.Initiator)+",\n")
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
if this.LastCompletionResult != nil {
|
|
s = append(s, "LastCompletionResult: "+fmt.Sprintf("%#v", this.LastCompletionResult)+",\n")
|
|
}
|
|
s = append(s, "CronSchedule: "+fmt.Sprintf("%#v", this.CronSchedule)+",\n")
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
if this.Memo != nil {
|
|
s = append(s, "Memo: "+fmt.Sprintf("%#v", this.Memo)+",\n")
|
|
}
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+fmt.Sprintf("%#v", this.SearchAttributes)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *StartChildWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 20)
|
|
s = append(s, "&command.StartChildWorkflowExecutionCommandAttributes{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "WorkflowExecutionTimeout: "+fmt.Sprintf("%#v", this.WorkflowExecutionTimeout)+",\n")
|
|
s = append(s, "WorkflowRunTimeout: "+fmt.Sprintf("%#v", this.WorkflowRunTimeout)+",\n")
|
|
s = append(s, "WorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.WorkflowTaskTimeout)+",\n")
|
|
s = append(s, "ParentClosePolicy: "+fmt.Sprintf("%#v", this.ParentClosePolicy)+",\n")
|
|
s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
|
|
s = append(s, "WorkflowIdReusePolicy: "+fmt.Sprintf("%#v", this.WorkflowIdReusePolicy)+",\n")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "CronSchedule: "+fmt.Sprintf("%#v", this.CronSchedule)+",\n")
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
if this.Memo != nil {
|
|
s = append(s, "Memo: "+fmt.Sprintf("%#v", this.Memo)+",\n")
|
|
}
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+fmt.Sprintf("%#v", this.SearchAttributes)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *Command) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 18)
|
|
s = append(s, "&command.Command{")
|
|
s = append(s, "CommandType: "+fmt.Sprintf("%#v", this.CommandType)+",\n")
|
|
if this.Attributes != nil {
|
|
s = append(s, "Attributes: "+fmt.Sprintf("%#v", this.Attributes)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *Command_ScheduleActivityTaskCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_ScheduleActivityTaskCommandAttributes{` +
|
|
`ScheduleActivityTaskCommandAttributes:` + fmt.Sprintf("%#v", this.ScheduleActivityTaskCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_StartTimerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_StartTimerCommandAttributes{` +
|
|
`StartTimerCommandAttributes:` + fmt.Sprintf("%#v", this.StartTimerCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_CompleteWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_CompleteWorkflowExecutionCommandAttributes{` +
|
|
`CompleteWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.CompleteWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_FailWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_FailWorkflowExecutionCommandAttributes{` +
|
|
`FailWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.FailWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_RequestCancelActivityTaskCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_RequestCancelActivityTaskCommandAttributes{` +
|
|
`RequestCancelActivityTaskCommandAttributes:` + fmt.Sprintf("%#v", this.RequestCancelActivityTaskCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_CancelTimerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_CancelTimerCommandAttributes{` +
|
|
`CancelTimerCommandAttributes:` + fmt.Sprintf("%#v", this.CancelTimerCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_CancelWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_CancelWorkflowExecutionCommandAttributes{` +
|
|
`CancelWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.CancelWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_RequestCancelExternalWorkflowExecutionCommandAttributes{` +
|
|
`RequestCancelExternalWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.RequestCancelExternalWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_RecordMarkerCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_RecordMarkerCommandAttributes{` +
|
|
`RecordMarkerCommandAttributes:` + fmt.Sprintf("%#v", this.RecordMarkerCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_ContinueAsNewWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_ContinueAsNewWorkflowExecutionCommandAttributes{` +
|
|
`ContinueAsNewWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.ContinueAsNewWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_StartChildWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_StartChildWorkflowExecutionCommandAttributes{` +
|
|
`StartChildWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.StartChildWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_SignalExternalWorkflowExecutionCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_SignalExternalWorkflowExecutionCommandAttributes{` +
|
|
`SignalExternalWorkflowExecutionCommandAttributes:` + fmt.Sprintf("%#v", this.SignalExternalWorkflowExecutionCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *Command_UpsertWorkflowSearchAttributesCommandAttributes) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&command.Command_UpsertWorkflowSearchAttributesCommandAttributes{` +
|
|
`UpsertWorkflowSearchAttributesCommandAttributes:` + fmt.Sprintf("%#v", this.UpsertWorkflowSearchAttributesCommandAttributes) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func valueToGoStringMessage(v interface{}, typ string) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) 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 *ScheduleActivityTaskCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ScheduleActivityTaskCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.RetryPolicy != nil {
|
|
{
|
|
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
n2, err2 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.HeartbeatTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout):])
|
|
if err2 != nil {
|
|
return 0, err2
|
|
}
|
|
i -= n2
|
|
i = encodeVarintMessage(dAtA, i, uint64(n2))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
n3, err3 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StartToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout):])
|
|
if err3 != nil {
|
|
return 0, err3
|
|
}
|
|
i -= n3
|
|
i = encodeVarintMessage(dAtA, i, uint64(n3))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.ScheduleToStartTimeout != nil {
|
|
n4, err4 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToStartTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout):])
|
|
if err4 != nil {
|
|
return 0, err4
|
|
}
|
|
i -= n4
|
|
i = encodeVarintMessage(dAtA, i, uint64(n4))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
n5, err5 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout):])
|
|
if err5 != nil {
|
|
return 0, err5
|
|
}
|
|
i -= n5
|
|
i = encodeVarintMessage(dAtA, i, uint64(n5))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.ActivityType != nil {
|
|
{
|
|
size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RequestCancelActivityTaskCommandAttributes) 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 *RequestCancelActivityTaskCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RequestCancelActivityTaskCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ScheduledEventId != 0 {
|
|
i = encodeVarintMessage(dAtA, i, uint64(m.ScheduledEventId))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *StartTimerCommandAttributes) 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 *StartTimerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *StartTimerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.StartToFireTimeout != nil {
|
|
n10, err10 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StartToFireTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToFireTimeout):])
|
|
if err10 != nil {
|
|
return 0, err10
|
|
}
|
|
i -= n10
|
|
i = encodeVarintMessage(dAtA, i, uint64(n10))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TimerId) > 0 {
|
|
i -= len(m.TimerId)
|
|
copy(dAtA[i:], m.TimerId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.TimerId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) 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 *CompleteWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Result != nil {
|
|
{
|
|
size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *FailWorkflowExecutionCommandAttributes) 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 *FailWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *FailWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Failure != nil {
|
|
{
|
|
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelTimerCommandAttributes) 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 *CancelTimerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelTimerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.TimerId) > 0 {
|
|
i -= len(m.TimerId)
|
|
copy(dAtA[i:], m.TimerId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.TimerId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelWorkflowExecutionCommandAttributes) 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 *CancelWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) 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 *RequestCancelExternalWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ChildWorkflowOnly {
|
|
i--
|
|
if m.ChildWorkflowOnly {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if len(m.Control) > 0 {
|
|
i -= len(m.Control)
|
|
copy(dAtA[i:], m.Control)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Control)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.RunId)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowId) > 0 {
|
|
i -= len(m.WorkflowId)
|
|
copy(dAtA[i:], m.WorkflowId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) 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 *SignalExternalWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
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 = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.SignalName) > 0 {
|
|
i -= len(m.SignalName)
|
|
copy(dAtA[i:], m.SignalName)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.SignalName)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Execution != nil {
|
|
{
|
|
size, err := m.Execution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) 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 *UpsertWorkflowSearchAttributesCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SearchAttributes != nil {
|
|
{
|
|
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) 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 *RecordMarkerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Failure != nil {
|
|
{
|
|
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.Details) > 0 {
|
|
for k := range m.Details {
|
|
v := m.Details[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintMessage(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.MarkerName) > 0 {
|
|
i -= len(m.MarkerName)
|
|
copy(dAtA[i:], m.MarkerName)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.MarkerName)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) 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 *ContinueAsNewWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SearchAttributes != nil {
|
|
{
|
|
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(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 = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if len(m.CronSchedule) > 0 {
|
|
i -= len(m.CronSchedule)
|
|
copy(dAtA[i:], m.CronSchedule)
|
|
i = encodeVarintMessage(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 = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.Initiator != 0 {
|
|
i = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.BackoffStartInterval != nil {
|
|
n27, err27 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.BackoffStartInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.BackoffStartInterval):])
|
|
if err27 != nil {
|
|
return 0, err27
|
|
}
|
|
i -= n27
|
|
i = encodeVarintMessage(dAtA, i, uint64(n27))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
n28, err28 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout):])
|
|
if err28 != nil {
|
|
return 0, err28
|
|
}
|
|
i -= n28
|
|
i = encodeVarintMessage(dAtA, i, uint64(n28))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
n29, err29 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowRunTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout):])
|
|
if err29 != nil {
|
|
return 0, err29
|
|
}
|
|
i -= n29
|
|
i = encodeVarintMessage(dAtA, i, uint64(n29))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) 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 *StartChildWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SearchAttributes != nil {
|
|
{
|
|
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.Memo != nil {
|
|
{
|
|
size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
}
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
if len(m.CronSchedule) > 0 {
|
|
i -= len(m.CronSchedule)
|
|
copy(dAtA[i:], m.CronSchedule)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.CronSchedule)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
{
|
|
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
i = encodeVarintMessage(dAtA, i, uint64(m.WorkflowIdReusePolicy))
|
|
i--
|
|
dAtA[i] = 0x58
|
|
}
|
|
if len(m.Control) > 0 {
|
|
i -= len(m.Control)
|
|
copy(dAtA[i:], m.Control)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Control)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.ParentClosePolicy != 0 {
|
|
i = encodeVarintMessage(dAtA, i, uint64(m.ParentClosePolicy))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
n37, err37 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout):])
|
|
if err37 != nil {
|
|
return 0, err37
|
|
}
|
|
i -= n37
|
|
i = encodeVarintMessage(dAtA, i, uint64(n37))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
n38, err38 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowRunTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout):])
|
|
if err38 != nil {
|
|
return 0, err38
|
|
}
|
|
i -= n38
|
|
i = encodeVarintMessage(dAtA, i, uint64(n38))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
n39, err39 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowExecutionTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout):])
|
|
if err39 != nil {
|
|
return 0, err39
|
|
}
|
|
i -= n39
|
|
i = encodeVarintMessage(dAtA, i, uint64(n39))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(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 = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowId) > 0 {
|
|
i -= len(m.WorkflowId)
|
|
copy(dAtA[i:], m.WorkflowId)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Command) 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 *Command) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Attributes != nil {
|
|
{
|
|
size := m.Attributes.Size()
|
|
i -= size
|
|
if _, err := m.Attributes.MarshalTo(dAtA[i:]); err != nil {
|
|
return 0, err
|
|
}
|
|
}
|
|
}
|
|
if m.CommandType != 0 {
|
|
i = encodeVarintMessage(dAtA, i, uint64(m.CommandType))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Command_ScheduleActivityTaskCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_ScheduleActivityTaskCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.ScheduleActivityTaskCommandAttributes != nil {
|
|
{
|
|
size, err := m.ScheduleActivityTaskCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_StartTimerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_StartTimerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.StartTimerCommandAttributes != nil {
|
|
{
|
|
size, err := m.StartTimerCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_CompleteWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_CompleteWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.CompleteWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.CompleteWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_FailWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_FailWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.FailWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.FailWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_RequestCancelActivityTaskCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_RequestCancelActivityTaskCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.RequestCancelActivityTaskCommandAttributes != nil {
|
|
{
|
|
size, err := m.RequestCancelActivityTaskCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_CancelTimerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_CancelTimerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.CancelTimerCommandAttributes != nil {
|
|
{
|
|
size, err := m.CancelTimerCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_CancelWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_CancelWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.CancelWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.CancelWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.RequestCancelExternalWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.RequestCancelExternalWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_RecordMarkerCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_RecordMarkerCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.RecordMarkerCommandAttributes != nil {
|
|
{
|
|
size, err := m.RecordMarkerCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_ContinueAsNewWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_ContinueAsNewWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.ContinueAsNewWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.ContinueAsNewWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_StartChildWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_StartChildWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.StartChildWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.StartChildWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_SignalExternalWorkflowExecutionCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_SignalExternalWorkflowExecutionCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.SignalExternalWorkflowExecutionCommandAttributes != nil {
|
|
{
|
|
size, err := m.SignalExternalWorkflowExecutionCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *Command_UpsertWorkflowSearchAttributesCommandAttributes) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Command_UpsertWorkflowSearchAttributesCommandAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.UpsertWorkflowSearchAttributesCommandAttributes != nil {
|
|
{
|
|
size, err := m.UpsertWorkflowSearchAttributesCommandAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintMessage(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func encodeVarintMessage(dAtA []byte, offset int, v uint64) int {
|
|
offset -= sovMessage(v)
|
|
base := offset
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return base
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ActivityType != nil {
|
|
l = m.ActivityType.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ScheduleToStartTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RequestCancelActivityTaskCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ScheduledEventId != 0 {
|
|
n += 1 + sovMessage(uint64(m.ScheduledEventId))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *StartTimerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TimerId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.StartToFireTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToFireTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Result != nil {
|
|
l = m.Result.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *FailWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CancelTimerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TimerId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CancelWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.Control)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ChildWorkflowOnly {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Execution != nil {
|
|
l = m.Execution.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.SignalName)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.Control)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ChildWorkflowOnly {
|
|
n += 2
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.SearchAttributes != nil {
|
|
l = m.SearchAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RecordMarkerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.MarkerName)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if len(m.Details) > 0 {
|
|
for k, v := range m.Details {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovMessage(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.BackoffStartInterval != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.BackoffStartInterval)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Initiator != 0 {
|
|
n += 1 + sovMessage(uint64(m.Initiator))
|
|
}
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.LastCompletionResult != nil {
|
|
l = m.LastCompletionResult.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.CronSchedule)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Memo != nil {
|
|
l = m.Memo.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
l = m.SearchAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout)
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.ParentClosePolicy != 0 {
|
|
n += 1 + sovMessage(uint64(m.ParentClosePolicy))
|
|
}
|
|
l = len(m.Control)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
n += 1 + sovMessage(uint64(m.WorkflowIdReusePolicy))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
l = len(m.CronSchedule)
|
|
if l > 0 {
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.Memo != nil {
|
|
l = m.Memo.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
l = m.SearchAttributes.Size()
|
|
n += 2 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Command) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CommandType != 0 {
|
|
n += 1 + sovMessage(uint64(m.CommandType))
|
|
}
|
|
if m.Attributes != nil {
|
|
n += m.Attributes.Size()
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Command_ScheduleActivityTaskCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ScheduleActivityTaskCommandAttributes != nil {
|
|
l = m.ScheduleActivityTaskCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_StartTimerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.StartTimerCommandAttributes != nil {
|
|
l = m.StartTimerCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_CompleteWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CompleteWorkflowExecutionCommandAttributes != nil {
|
|
l = m.CompleteWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_FailWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.FailWorkflowExecutionCommandAttributes != nil {
|
|
l = m.FailWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_RequestCancelActivityTaskCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.RequestCancelActivityTaskCommandAttributes != nil {
|
|
l = m.RequestCancelActivityTaskCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_CancelTimerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CancelTimerCommandAttributes != nil {
|
|
l = m.CancelTimerCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_CancelWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CancelWorkflowExecutionCommandAttributes != nil {
|
|
l = m.CancelWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.RequestCancelExternalWorkflowExecutionCommandAttributes != nil {
|
|
l = m.RequestCancelExternalWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_RecordMarkerCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.RecordMarkerCommandAttributes != nil {
|
|
l = m.RecordMarkerCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_ContinueAsNewWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ContinueAsNewWorkflowExecutionCommandAttributes != nil {
|
|
l = m.ContinueAsNewWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_StartChildWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.StartChildWorkflowExecutionCommandAttributes != nil {
|
|
l = m.StartChildWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_SignalExternalWorkflowExecutionCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.SignalExternalWorkflowExecutionCommandAttributes != nil {
|
|
l = m.SignalExternalWorkflowExecutionCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *Command_UpsertWorkflowSearchAttributesCommandAttributes) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.UpsertWorkflowSearchAttributesCommandAttributes != nil {
|
|
l = m.UpsertWorkflowSearchAttributesCommandAttributes.Size()
|
|
n += 1 + l + sovMessage(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovMessage(x uint64) (n int) {
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
}
|
|
func sozMessage(x uint64) (n int) {
|
|
return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *ScheduleActivityTaskCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ScheduleActivityTaskCommandAttributes{`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`ActivityType:` + strings.Replace(fmt.Sprintf("%v", this.ActivityType), "ActivityType", "v1.ActivityType", 1) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v11.TaskQueue", 1) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v1.Header", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`ScheduleToCloseTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToCloseTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`ScheduleToStartTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToStartTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`StartToCloseTimeout:` + strings.Replace(fmt.Sprintf("%v", this.StartToCloseTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`HeartbeatTimeout:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v1.RetryPolicy", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RequestCancelActivityTaskCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RequestCancelActivityTaskCommandAttributes{`,
|
|
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *StartTimerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&StartTimerCommandAttributes{`,
|
|
`TimerId:` + fmt.Sprintf("%v", this.TimerId) + `,`,
|
|
`StartToFireTimeout:` + strings.Replace(fmt.Sprintf("%v", this.StartToFireTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CompleteWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CompleteWorkflowExecutionCommandAttributes{`,
|
|
`Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *FailWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&FailWorkflowExecutionCommandAttributes{`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v12.Failure", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CancelTimerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CancelTimerCommandAttributes{`,
|
|
`TimerId:` + fmt.Sprintf("%v", this.TimerId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CancelWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CancelWorkflowExecutionCommandAttributes{`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RequestCancelExternalWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RequestCancelExternalWorkflowExecutionCommandAttributes{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`Control:` + fmt.Sprintf("%v", this.Control) + `,`,
|
|
`ChildWorkflowOnly:` + fmt.Sprintf("%v", this.ChildWorkflowOnly) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalExternalWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalExternalWorkflowExecutionCommandAttributes{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v1.WorkflowExecution", 1) + `,`,
|
|
`SignalName:` + fmt.Sprintf("%v", this.SignalName) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`Control:` + fmt.Sprintf("%v", this.Control) + `,`,
|
|
`ChildWorkflowOnly:` + fmt.Sprintf("%v", this.ChildWorkflowOnly) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v1.Header", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *UpsertWorkflowSearchAttributesCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&UpsertWorkflowSearchAttributesCommandAttributes{`,
|
|
`SearchAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SearchAttributes), "SearchAttributes", "v1.SearchAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RecordMarkerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForDetails := make([]string, 0, len(this.Details))
|
|
for k, _ := range this.Details {
|
|
keysForDetails = append(keysForDetails, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForDetails)
|
|
mapStringForDetails := "map[string]*v1.Payloads{"
|
|
for _, k := range keysForDetails {
|
|
mapStringForDetails += fmt.Sprintf("%v: %v,", k, this.Details[k])
|
|
}
|
|
mapStringForDetails += "}"
|
|
s := strings.Join([]string{`&RecordMarkerCommandAttributes{`,
|
|
`MarkerName:` + fmt.Sprintf("%v", this.MarkerName) + `,`,
|
|
`Details:` + mapStringForDetails + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v1.Header", 1) + `,`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v12.Failure", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ContinueAsNewWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ContinueAsNewWorkflowExecutionCommandAttributes{`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v1.WorkflowType", 1) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v11.TaskQueue", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`WorkflowRunTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`BackoffStartInterval:` + strings.Replace(fmt.Sprintf("%v", this.BackoffStartInterval), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v1.RetryPolicy", 1) + `,`,
|
|
`Initiator:` + fmt.Sprintf("%v", this.Initiator) + `,`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v12.Failure", 1) + `,`,
|
|
`LastCompletionResult:` + strings.Replace(fmt.Sprintf("%v", this.LastCompletionResult), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`CronSchedule:` + fmt.Sprintf("%v", this.CronSchedule) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v1.Header", 1) + `,`,
|
|
`Memo:` + strings.Replace(fmt.Sprintf("%v", this.Memo), "Memo", "v1.Memo", 1) + `,`,
|
|
`SearchAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SearchAttributes), "SearchAttributes", "v1.SearchAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *StartChildWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&StartChildWorkflowExecutionCommandAttributes{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v1.WorkflowType", 1) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v11.TaskQueue", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v1.Payloads", 1) + `,`,
|
|
`WorkflowExecutionTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowRunTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`ParentClosePolicy:` + fmt.Sprintf("%v", this.ParentClosePolicy) + `,`,
|
|
`Control:` + fmt.Sprintf("%v", this.Control) + `,`,
|
|
`WorkflowIdReusePolicy:` + fmt.Sprintf("%v", this.WorkflowIdReusePolicy) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v1.RetryPolicy", 1) + `,`,
|
|
`CronSchedule:` + fmt.Sprintf("%v", this.CronSchedule) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v1.Header", 1) + `,`,
|
|
`Memo:` + strings.Replace(fmt.Sprintf("%v", this.Memo), "Memo", "v1.Memo", 1) + `,`,
|
|
`SearchAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SearchAttributes), "SearchAttributes", "v1.SearchAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command{`,
|
|
`CommandType:` + fmt.Sprintf("%v", this.CommandType) + `,`,
|
|
`Attributes:` + fmt.Sprintf("%v", this.Attributes) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_ScheduleActivityTaskCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_ScheduleActivityTaskCommandAttributes{`,
|
|
`ScheduleActivityTaskCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleActivityTaskCommandAttributes), "ScheduleActivityTaskCommandAttributes", "ScheduleActivityTaskCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_StartTimerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_StartTimerCommandAttributes{`,
|
|
`StartTimerCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.StartTimerCommandAttributes), "StartTimerCommandAttributes", "StartTimerCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_CompleteWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_CompleteWorkflowExecutionCommandAttributes{`,
|
|
`CompleteWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.CompleteWorkflowExecutionCommandAttributes), "CompleteWorkflowExecutionCommandAttributes", "CompleteWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_FailWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_FailWorkflowExecutionCommandAttributes{`,
|
|
`FailWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.FailWorkflowExecutionCommandAttributes), "FailWorkflowExecutionCommandAttributes", "FailWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_RequestCancelActivityTaskCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_RequestCancelActivityTaskCommandAttributes{`,
|
|
`RequestCancelActivityTaskCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.RequestCancelActivityTaskCommandAttributes), "RequestCancelActivityTaskCommandAttributes", "RequestCancelActivityTaskCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_CancelTimerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_CancelTimerCommandAttributes{`,
|
|
`CancelTimerCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.CancelTimerCommandAttributes), "CancelTimerCommandAttributes", "CancelTimerCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_CancelWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_CancelWorkflowExecutionCommandAttributes{`,
|
|
`CancelWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.CancelWorkflowExecutionCommandAttributes), "CancelWorkflowExecutionCommandAttributes", "CancelWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_RequestCancelExternalWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_RequestCancelExternalWorkflowExecutionCommandAttributes{`,
|
|
`RequestCancelExternalWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.RequestCancelExternalWorkflowExecutionCommandAttributes), "RequestCancelExternalWorkflowExecutionCommandAttributes", "RequestCancelExternalWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_RecordMarkerCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_RecordMarkerCommandAttributes{`,
|
|
`RecordMarkerCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.RecordMarkerCommandAttributes), "RecordMarkerCommandAttributes", "RecordMarkerCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_ContinueAsNewWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_ContinueAsNewWorkflowExecutionCommandAttributes{`,
|
|
`ContinueAsNewWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.ContinueAsNewWorkflowExecutionCommandAttributes), "ContinueAsNewWorkflowExecutionCommandAttributes", "ContinueAsNewWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_StartChildWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_StartChildWorkflowExecutionCommandAttributes{`,
|
|
`StartChildWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.StartChildWorkflowExecutionCommandAttributes), "StartChildWorkflowExecutionCommandAttributes", "StartChildWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_SignalExternalWorkflowExecutionCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_SignalExternalWorkflowExecutionCommandAttributes{`,
|
|
`SignalExternalWorkflowExecutionCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SignalExternalWorkflowExecutionCommandAttributes), "SignalExternalWorkflowExecutionCommandAttributes", "SignalExternalWorkflowExecutionCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Command_UpsertWorkflowSearchAttributesCommandAttributes) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Command_UpsertWorkflowSearchAttributesCommandAttributes{`,
|
|
`UpsertWorkflowSearchAttributesCommandAttributes:` + strings.Replace(fmt.Sprintf("%v", this.UpsertWorkflowSearchAttributesCommandAttributes), "UpsertWorkflowSearchAttributesCommandAttributes", "UpsertWorkflowSearchAttributesCommandAttributes", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringMessage(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *ScheduleActivityTaskCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: ScheduleActivityTaskCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ScheduleActivityTaskCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ActivityType == nil {
|
|
m.ActivityType = &v1.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 Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v11.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v1.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v1.Payloads{}
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ScheduleToCloseTimeout == nil {
|
|
m.ScheduleToCloseTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.ScheduleToCloseTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ScheduleToStartTimeout == nil {
|
|
m.ScheduleToStartTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.ScheduleToStartTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartToCloseTimeout == nil {
|
|
m.StartToCloseTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.StartToCloseTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.HeartbeatTimeout == nil {
|
|
m.HeartbeatTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.HeartbeatTimeout, 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v1.RetryPolicy{}
|
|
}
|
|
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RequestCancelActivityTaskCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: RequestCancelActivityTaskCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RequestCancelActivityTaskCommandAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType)
|
|
}
|
|
m.ScheduledEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduledEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StartTimerCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: StartTimerCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StartTimerCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartToFireTimeout == nil {
|
|
m.StartToFireTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.StartToFireTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CompleteWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: CompleteWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CompleteWorkflowExecutionCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Result == nil {
|
|
m.Result = &v1.Payloads{}
|
|
}
|
|
if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *FailWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: FailWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: FailWorkflowExecutionCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v12.Failure{}
|
|
}
|
|
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelTimerCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: CancelTimerCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelTimerCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TimerId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: CancelWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelWorkflowExecutionCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v1.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RequestCancelExternalWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: RequestCancelExternalWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionCommandAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 RunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Control = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
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 := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalExternalWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: SignalExternalWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalExternalWorkflowExecutionCommandAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Execution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Execution == nil {
|
|
m.Execution = &v1.WorkflowExecution{}
|
|
}
|
|
if err := m.Execution.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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v1.Payloads{}
|
|
}
|
|
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 stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Control = string(dAtA[iNdEx:postIndex])
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ChildWorkflowOnly = bool(v != 0)
|
|
case 7:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v1.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *UpsertWorkflowSearchAttributesCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: UpsertWorkflowSearchAttributesCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: UpsertWorkflowSearchAttributesCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = &v1.SearchAttributes{}
|
|
}
|
|
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RecordMarkerCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: RecordMarkerCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RecordMarkerCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = make(map[string]*v1.Payloads)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *v1.Payloads
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v1.Payloads{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Details[mapkey] = mapvalue
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v1.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v12.Failure{}
|
|
}
|
|
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ContinueAsNewWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: ContinueAsNewWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ContinueAsNewWorkflowExecutionCommandAttributes: 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v1.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 TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v11.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v1.Payloads{}
|
|
}
|
|
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 WorkflowRunTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowRunTimeout == nil {
|
|
m.WorkflowRunTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowRunTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskTimeout == nil {
|
|
m.WorkflowTaskTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowTaskTimeout, 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BackoffStartInterval == nil {
|
|
m.BackoffStartInterval = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.BackoffStartInterval, 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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v1.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Initiator |= v13.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v12.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastCompletionResult == nil {
|
|
m.LastCompletionResult = &v1.Payloads{}
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v1.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Memo == nil {
|
|
m.Memo = &v1.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = &v1.SearchAttributes{}
|
|
}
|
|
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StartChildWorkflowExecutionCommandAttributes) 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 ErrIntOverflowMessage
|
|
}
|
|
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: StartChildWorkflowExecutionCommandAttributes: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StartChildWorkflowExecutionCommandAttributes: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = 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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v1.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 TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v11.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v1.Payloads{}
|
|
}
|
|
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 WorkflowExecutionTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionTimeout == nil {
|
|
m.WorkflowExecutionTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowExecutionTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowRunTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowRunTimeout == nil {
|
|
m.WorkflowRunTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowRunTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskTimeout == nil {
|
|
m.WorkflowTaskTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowTaskTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ParentClosePolicy |= v13.ParentClosePolicy(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Control = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowIdReusePolicy |= v13.WorkflowIdReusePolicy(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 12:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v1.RetryPolicy{}
|
|
}
|
|
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 13:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
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 ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CronSchedule = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 14:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v1.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Memo == nil {
|
|
m.Memo = &v1.Memo{}
|
|
}
|
|
if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 16:
|
|
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 ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = &v1.SearchAttributes{}
|
|
}
|
|
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Command) 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 ErrIntOverflowMessage
|
|
}
|
|
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: Command: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Command: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CommandType", wireType)
|
|
}
|
|
m.CommandType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CommandType |= v13.CommandType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleActivityTaskCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &ScheduleActivityTaskCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_ScheduleActivityTaskCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartTimerCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &StartTimerCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_StartTimerCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CompleteWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &CompleteWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_CompleteWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FailWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &FailWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_FailWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelActivityTaskCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &RequestCancelActivityTaskCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_RequestCancelActivityTaskCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelTimerCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &CancelTimerCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_CancelTimerCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &CancelWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_CancelWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelExternalWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &RequestCancelExternalWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_RequestCancelExternalWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RecordMarkerCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &RecordMarkerCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_RecordMarkerCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContinueAsNewWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &ContinueAsNewWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_ContinueAsNewWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartChildWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &StartChildWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_StartChildWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignalExternalWorkflowExecutionCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &SignalExternalWorkflowExecutionCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_SignalExternalWorkflowExecutionCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpsertWorkflowSearchAttributesCommandAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMessage
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &UpsertWorkflowSearchAttributesCommandAttributes{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Attributes = &Command_UpsertWorkflowSearchAttributesCommandAttributes{v}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMessage(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthMessage
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipMessage(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, ErrIntOverflowMessage
|
|
}
|
|
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, ErrIntOverflowMessage
|
|
}
|
|
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, ErrIntOverflowMessage
|
|
}
|
|
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, ErrInvalidLengthMessage
|
|
}
|
|
iNdEx += length
|
|
case 3:
|
|
depth++
|
|
case 4:
|
|
if depth == 0 {
|
|
return 0, ErrUnexpectedEndOfGroupMessage
|
|
}
|
|
depth--
|
|
case 5:
|
|
iNdEx += 4
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
if iNdEx < 0 {
|
|
return 0, ErrInvalidLengthMessage
|
|
}
|
|
if depth == 0 {
|
|
return iNdEx, nil
|
|
}
|
|
}
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow")
|
|
ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
|
|
)
|