mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
12798 lines
348 KiB
Go
12798 lines
348 KiB
Go
// The MIT License
|
|
//
|
|
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
|
|
//
|
|
// Copyright (c) 2020 Uber Technologies, Inc.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: temporal/server/api/persistence/v1/executions.proto
|
|
|
|
package persistence
|
|
|
|
import (
|
|
bytes "bytes"
|
|
encoding_binary "encoding/binary"
|
|
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"
|
|
v11 "go.temporal.io/api/common/v1"
|
|
v15 "go.temporal.io/api/enums/v1"
|
|
v16 "go.temporal.io/api/failure/v1"
|
|
v1 "go.temporal.io/api/workflow/v1"
|
|
v13 "go.temporal.io/server/api/clock/v1"
|
|
v14 "go.temporal.io/server/api/enums/v1"
|
|
v12 "go.temporal.io/server/api/history/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
|
|
|
|
// shard column
|
|
type ShardInfo struct {
|
|
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
RangeId int64 `protobuf:"varint,2,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
|
|
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "since" is needed here. --)
|
|
StolenSinceRenew int32 `protobuf:"varint,6,opt,name=stolen_since_renew,json=stolenSinceRenew,proto3" json:"stolen_since_renew,omitempty"`
|
|
UpdateTime *time.Time `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3,stdtime" json:"update_time,omitempty"`
|
|
NamespaceNotificationVersion int64 `protobuf:"varint,9,opt,name=namespace_notification_version,json=namespaceNotificationVersion,proto3" json:"namespace_notification_version,omitempty"`
|
|
ReplicationDlqAckLevel map[string]int64 `protobuf:"bytes,13,rep,name=replication_dlq_ack_level,json=replicationDlqAckLevel,proto3" json:"replication_dlq_ack_level,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// Map from task category to ack levels of the corresponding queue processor
|
|
QueueAckLevels map[int32]*QueueAckLevel `protobuf:"bytes,16,rep,name=queue_ack_levels,json=queueAckLevels,proto3" json:"queue_ack_levels,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (m *ShardInfo) Reset() { *m = ShardInfo{} }
|
|
func (*ShardInfo) ProtoMessage() {}
|
|
func (*ShardInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{0}
|
|
}
|
|
func (m *ShardInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ShardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ShardInfo.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 *ShardInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShardInfo.Merge(m, src)
|
|
}
|
|
func (m *ShardInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ShardInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShardInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShardInfo proto.InternalMessageInfo
|
|
|
|
func (m *ShardInfo) GetShardId() int32 {
|
|
if m != nil {
|
|
return m.ShardId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShardInfo) GetRangeId() int64 {
|
|
if m != nil {
|
|
return m.RangeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShardInfo) GetOwner() string {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ShardInfo) GetStolenSinceRenew() int32 {
|
|
if m != nil {
|
|
return m.StolenSinceRenew
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShardInfo) GetUpdateTime() *time.Time {
|
|
if m != nil {
|
|
return m.UpdateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShardInfo) GetNamespaceNotificationVersion() int64 {
|
|
if m != nil {
|
|
return m.NamespaceNotificationVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShardInfo) GetReplicationDlqAckLevel() map[string]int64 {
|
|
if m != nil {
|
|
return m.ReplicationDlqAckLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShardInfo) GetQueueAckLevels() map[int32]*QueueAckLevel {
|
|
if m != nil {
|
|
return m.QueueAckLevels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// execution column
|
|
type WorkflowExecutionInfo struct {
|
|
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
ParentNamespaceId string `protobuf:"bytes,3,opt,name=parent_namespace_id,json=parentNamespaceId,proto3" json:"parent_namespace_id,omitempty"`
|
|
ParentWorkflowId string `protobuf:"bytes,4,opt,name=parent_workflow_id,json=parentWorkflowId,proto3" json:"parent_workflow_id,omitempty"`
|
|
ParentRunId string `protobuf:"bytes,5,opt,name=parent_run_id,json=parentRunId,proto3" json:"parent_run_id,omitempty"`
|
|
ParentInitiatedId int64 `protobuf:"varint,6,opt,name=parent_initiated_id,json=parentInitiatedId,proto3" json:"parent_initiated_id,omitempty"`
|
|
CompletionEventBatchId int64 `protobuf:"varint,7,opt,name=completion_event_batch_id,json=completionEventBatchId,proto3" json:"completion_event_batch_id,omitempty"`
|
|
TaskQueue string `protobuf:"bytes,9,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
WorkflowTypeName string `protobuf:"bytes,10,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"`
|
|
WorkflowExecutionTimeout *time.Duration `protobuf:"bytes,11,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3,stdduration" json:"workflow_execution_timeout,omitempty"`
|
|
WorkflowRunTimeout *time.Duration `protobuf:"bytes,12,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3,stdduration" json:"workflow_run_timeout,omitempty"`
|
|
DefaultWorkflowTaskTimeout *time.Duration `protobuf:"bytes,13,opt,name=default_workflow_task_timeout,json=defaultWorkflowTaskTimeout,proto3,stdduration" json:"default_workflow_task_timeout,omitempty"`
|
|
LastEventTaskId int64 `protobuf:"varint,17,opt,name=last_event_task_id,json=lastEventTaskId,proto3" json:"last_event_task_id,omitempty"`
|
|
LastFirstEventId int64 `protobuf:"varint,18,opt,name=last_first_event_id,json=lastFirstEventId,proto3" json:"last_first_event_id,omitempty"`
|
|
LastWorkflowTaskStartedEventId int64 `protobuf:"varint,19,opt,name=last_workflow_task_started_event_id,json=lastWorkflowTaskStartedEventId,proto3" json:"last_workflow_task_started_event_id,omitempty"`
|
|
StartTime *time.Time `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"`
|
|
LastUpdateTime *time.Time `protobuf:"bytes,21,opt,name=last_update_time,json=lastUpdateTime,proto3,stdtime" json:"last_update_time,omitempty"`
|
|
WorkflowTaskVersion int64 `protobuf:"varint,22,opt,name=workflow_task_version,json=workflowTaskVersion,proto3" json:"workflow_task_version,omitempty"`
|
|
WorkflowTaskScheduledEventId int64 `protobuf:"varint,23,opt,name=workflow_task_scheduled_event_id,json=workflowTaskScheduledEventId,proto3" json:"workflow_task_scheduled_event_id,omitempty"`
|
|
WorkflowTaskStartedEventId int64 `protobuf:"varint,24,opt,name=workflow_task_started_event_id,json=workflowTaskStartedEventId,proto3" json:"workflow_task_started_event_id,omitempty"`
|
|
WorkflowTaskTimeout *time.Duration `protobuf:"bytes,25,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3,stdduration" json:"workflow_task_timeout,omitempty"`
|
|
WorkflowTaskAttempt int32 `protobuf:"varint,26,opt,name=workflow_task_attempt,json=workflowTaskAttempt,proto3" json:"workflow_task_attempt,omitempty"`
|
|
WorkflowTaskStartedTime *time.Time `protobuf:"bytes,27,opt,name=workflow_task_started_time,json=workflowTaskStartedTime,proto3,stdtime" json:"workflow_task_started_time,omitempty"`
|
|
WorkflowTaskScheduledTime *time.Time `protobuf:"bytes,28,opt,name=workflow_task_scheduled_time,json=workflowTaskScheduledTime,proto3,stdtime" json:"workflow_task_scheduled_time,omitempty"`
|
|
CancelRequested bool `protobuf:"varint,29,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
|
|
WorkflowTaskOriginalScheduledTime *time.Time `protobuf:"bytes,30,opt,name=workflow_task_original_scheduled_time,json=workflowTaskOriginalScheduledTime,proto3,stdtime" json:"workflow_task_original_scheduled_time,omitempty"`
|
|
WorkflowTaskRequestId string `protobuf:"bytes,31,opt,name=workflow_task_request_id,json=workflowTaskRequestId,proto3" json:"workflow_task_request_id,omitempty"`
|
|
CancelRequestId string `protobuf:"bytes,32,opt,name=cancel_request_id,json=cancelRequestId,proto3" json:"cancel_request_id,omitempty"`
|
|
StickyTaskQueue string `protobuf:"bytes,33,opt,name=sticky_task_queue,json=stickyTaskQueue,proto3" json:"sticky_task_queue,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
StickyScheduleToStartTimeout *time.Duration `protobuf:"bytes,34,opt,name=sticky_schedule_to_start_timeout,json=stickyScheduleToStartTimeout,proto3,stdduration" json:"sticky_schedule_to_start_timeout,omitempty"`
|
|
Attempt int32 `protobuf:"varint,35,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
RetryInitialInterval *time.Duration `protobuf:"bytes,36,opt,name=retry_initial_interval,json=retryInitialInterval,proto3,stdduration" json:"retry_initial_interval,omitempty"`
|
|
RetryMaximumInterval *time.Duration `protobuf:"bytes,37,opt,name=retry_maximum_interval,json=retryMaximumInterval,proto3,stdduration" json:"retry_maximum_interval,omitempty"`
|
|
RetryMaximumAttempts int32 `protobuf:"varint,38,opt,name=retry_maximum_attempts,json=retryMaximumAttempts,proto3" json:"retry_maximum_attempts,omitempty"`
|
|
RetryBackoffCoefficient float64 `protobuf:"fixed64,39,opt,name=retry_backoff_coefficient,json=retryBackoffCoefficient,proto3" json:"retry_backoff_coefficient,omitempty"`
|
|
WorkflowExecutionExpirationTime *time.Time `protobuf:"bytes,40,opt,name=workflow_execution_expiration_time,json=workflowExecutionExpirationTime,proto3,stdtime" json:"workflow_execution_expiration_time,omitempty"`
|
|
RetryNonRetryableErrorTypes []string `protobuf:"bytes,41,rep,name=retry_non_retryable_error_types,json=retryNonRetryableErrorTypes,proto3" json:"retry_non_retryable_error_types,omitempty"`
|
|
HasRetryPolicy bool `protobuf:"varint,42,opt,name=has_retry_policy,json=hasRetryPolicy,proto3" json:"has_retry_policy,omitempty"`
|
|
CronSchedule string `protobuf:"bytes,43,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
|
|
SignalCount int64 `protobuf:"varint,46,opt,name=signal_count,json=signalCount,proto3" json:"signal_count,omitempty"`
|
|
AutoResetPoints *v1.ResetPoints `protobuf:"bytes,51,opt,name=auto_reset_points,json=autoResetPoints,proto3" json:"auto_reset_points,omitempty"`
|
|
SearchAttributes map[string]*v11.Payload `protobuf:"bytes,52,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
Memo map[string]*v11.Payload `protobuf:"bytes,53,rep,name=memo,proto3" json:"memo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
VersionHistories *v12.VersionHistories `protobuf:"bytes,54,opt,name=version_histories,json=versionHistories,proto3" json:"version_histories,omitempty"`
|
|
FirstExecutionRunId string `protobuf:"bytes,55,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"`
|
|
ExecutionStats *ExecutionStats `protobuf:"bytes,56,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"`
|
|
WorkflowRunExpirationTime *time.Time `protobuf:"bytes,57,opt,name=workflow_run_expiration_time,json=workflowRunExpirationTime,proto3,stdtime" json:"workflow_run_expiration_time,omitempty"`
|
|
// Transaction Id of the first event in the last batch of events.
|
|
LastFirstEventTxnId int64 `protobuf:"varint,58,opt,name=last_first_event_txn_id,json=lastFirstEventTxnId,proto3" json:"last_first_event_txn_id,omitempty"`
|
|
StateTransitionCount int64 `protobuf:"varint,59,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
|
|
ExecutionTime *time.Time `protobuf:"bytes,60,opt,name=execution_time,json=executionTime,proto3,stdtime" json:"execution_time,omitempty"`
|
|
// If continued-as-new, or retried, or cron, holds the new run id.
|
|
NewExecutionRunId string `protobuf:"bytes,61,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"`
|
|
ParentClock *v13.VectorClock `protobuf:"bytes,62,opt,name=parent_clock,json=parentClock,proto3" json:"parent_clock,omitempty"`
|
|
// version of child execution initiated event in parent workflow
|
|
ParentInitiatedVersion int64 `protobuf:"varint,63,opt,name=parent_initiated_version,json=parentInitiatedVersion,proto3" json:"parent_initiated_version,omitempty"`
|
|
// Used to check if transfer close task is processed before deleting the workflow execution.
|
|
CloseTransferTaskId int64 `protobuf:"varint,64,opt,name=close_transfer_task_id,json=closeTransferTaskId,proto3" json:"close_transfer_task_id,omitempty"`
|
|
// Used to check if visibility close task is processed before deleting the workflow execution.
|
|
CloseVisibilityTaskId int64 `protobuf:"varint,65,opt,name=close_visibility_task_id,json=closeVisibilityTaskId,proto3" json:"close_visibility_task_id,omitempty"`
|
|
CloseTime *time.Time `protobuf:"bytes,66,opt,name=close_time,json=closeTime,proto3,stdtime" json:"close_time,omitempty"`
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) Reset() { *m = WorkflowExecutionInfo{} }
|
|
func (*WorkflowExecutionInfo) ProtoMessage() {}
|
|
func (*WorkflowExecutionInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{1}
|
|
}
|
|
func (m *WorkflowExecutionInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *WorkflowExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_WorkflowExecutionInfo.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 *WorkflowExecutionInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WorkflowExecutionInfo.Merge(m, src)
|
|
}
|
|
func (m *WorkflowExecutionInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *WorkflowExecutionInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WorkflowExecutionInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WorkflowExecutionInfo proto.InternalMessageInfo
|
|
|
|
func (m *WorkflowExecutionInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentNamespaceId() string {
|
|
if m != nil {
|
|
return m.ParentNamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentWorkflowId() string {
|
|
if m != nil {
|
|
return m.ParentWorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentRunId() string {
|
|
if m != nil {
|
|
return m.ParentRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentInitiatedId() int64 {
|
|
if m != nil {
|
|
return m.ParentInitiatedId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCompletionEventBatchId() int64 {
|
|
if m != nil {
|
|
return m.CompletionEventBatchId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetTaskQueue() string {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTypeName() string {
|
|
if m != nil {
|
|
return m.WorkflowTypeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowExecutionTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowExecutionTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowRunTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowRunTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetDefaultWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.DefaultWorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetLastEventTaskId() int64 {
|
|
if m != nil {
|
|
return m.LastEventTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetLastFirstEventId() int64 {
|
|
if m != nil {
|
|
return m.LastFirstEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetLastWorkflowTaskStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.LastWorkflowTaskStartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetStartTime() *time.Time {
|
|
if m != nil {
|
|
return m.StartTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetLastUpdateTime() *time.Time {
|
|
if m != nil {
|
|
return m.LastUpdateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskVersion() int64 {
|
|
if m != nil {
|
|
return m.WorkflowTaskVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskScheduledEventId() int64 {
|
|
if m != nil {
|
|
return m.WorkflowTaskScheduledEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.WorkflowTaskStartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskAttempt() int32 {
|
|
if m != nil {
|
|
return m.WorkflowTaskAttempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskStartedTime() *time.Time {
|
|
if m != nil {
|
|
return m.WorkflowTaskStartedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.WorkflowTaskScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCancelRequested() bool {
|
|
if m != nil {
|
|
return m.CancelRequested
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskOriginalScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.WorkflowTaskOriginalScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowTaskRequestId() string {
|
|
if m != nil {
|
|
return m.WorkflowTaskRequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCancelRequestId() string {
|
|
if m != nil {
|
|
return m.CancelRequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetStickyTaskQueue() string {
|
|
if m != nil {
|
|
return m.StickyTaskQueue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetStickyScheduleToStartTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.StickyScheduleToStartTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetAttempt() int32 {
|
|
if m != nil {
|
|
return m.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetRetryInitialInterval() *time.Duration {
|
|
if m != nil {
|
|
return m.RetryInitialInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetRetryMaximumInterval() *time.Duration {
|
|
if m != nil {
|
|
return m.RetryMaximumInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetRetryMaximumAttempts() int32 {
|
|
if m != nil {
|
|
return m.RetryMaximumAttempts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetRetryBackoffCoefficient() float64 {
|
|
if m != nil {
|
|
return m.RetryBackoffCoefficient
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowExecutionExpirationTime() *time.Time {
|
|
if m != nil {
|
|
return m.WorkflowExecutionExpirationTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetRetryNonRetryableErrorTypes() []string {
|
|
if m != nil {
|
|
return m.RetryNonRetryableErrorTypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetHasRetryPolicy() bool {
|
|
if m != nil {
|
|
return m.HasRetryPolicy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCronSchedule() string {
|
|
if m != nil {
|
|
return m.CronSchedule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetSignalCount() int64 {
|
|
if m != nil {
|
|
return m.SignalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetAutoResetPoints() *v1.ResetPoints {
|
|
if m != nil {
|
|
return m.AutoResetPoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetSearchAttributes() map[string]*v11.Payload {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetMemo() map[string]*v11.Payload {
|
|
if m != nil {
|
|
return m.Memo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetVersionHistories() *v12.VersionHistories {
|
|
if m != nil {
|
|
return m.VersionHistories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetFirstExecutionRunId() string {
|
|
if m != nil {
|
|
return m.FirstExecutionRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetExecutionStats() *ExecutionStats {
|
|
if m != nil {
|
|
return m.ExecutionStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetWorkflowRunExpirationTime() *time.Time {
|
|
if m != nil {
|
|
return m.WorkflowRunExpirationTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetLastFirstEventTxnId() int64 {
|
|
if m != nil {
|
|
return m.LastFirstEventTxnId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetStateTransitionCount() int64 {
|
|
if m != nil {
|
|
return m.StateTransitionCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetExecutionTime() *time.Time {
|
|
if m != nil {
|
|
return m.ExecutionTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetNewExecutionRunId() string {
|
|
if m != nil {
|
|
return m.NewExecutionRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentClock() *v13.VectorClock {
|
|
if m != nil {
|
|
return m.ParentClock
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetParentInitiatedVersion() int64 {
|
|
if m != nil {
|
|
return m.ParentInitiatedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCloseTransferTaskId() int64 {
|
|
if m != nil {
|
|
return m.CloseTransferTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCloseVisibilityTaskId() int64 {
|
|
if m != nil {
|
|
return m.CloseVisibilityTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) GetCloseTime() *time.Time {
|
|
if m != nil {
|
|
return m.CloseTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExecutionStats struct {
|
|
HistorySize int64 `protobuf:"varint,1,opt,name=history_size,json=historySize,proto3" json:"history_size,omitempty"`
|
|
}
|
|
|
|
func (m *ExecutionStats) Reset() { *m = ExecutionStats{} }
|
|
func (*ExecutionStats) ProtoMessage() {}
|
|
func (*ExecutionStats) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{2}
|
|
}
|
|
func (m *ExecutionStats) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ExecutionStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ExecutionStats.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 *ExecutionStats) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ExecutionStats.Merge(m, src)
|
|
}
|
|
func (m *ExecutionStats) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ExecutionStats) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ExecutionStats.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ExecutionStats proto.InternalMessageInfo
|
|
|
|
func (m *ExecutionStats) GetHistorySize() int64 {
|
|
if m != nil {
|
|
return m.HistorySize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// execution_state column
|
|
type WorkflowExecutionState struct {
|
|
CreateRequestId string `protobuf:"bytes,1,opt,name=create_request_id,json=createRequestId,proto3" json:"create_request_id,omitempty"`
|
|
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
State v14.WorkflowExecutionState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.server.api.enums.v1.WorkflowExecutionState" json:"state,omitempty"`
|
|
Status v15.WorkflowExecutionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"`
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) Reset() { *m = WorkflowExecutionState{} }
|
|
func (*WorkflowExecutionState) ProtoMessage() {}
|
|
func (*WorkflowExecutionState) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{3}
|
|
}
|
|
func (m *WorkflowExecutionState) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *WorkflowExecutionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_WorkflowExecutionState.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 *WorkflowExecutionState) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WorkflowExecutionState.Merge(m, src)
|
|
}
|
|
func (m *WorkflowExecutionState) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *WorkflowExecutionState) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WorkflowExecutionState.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WorkflowExecutionState proto.InternalMessageInfo
|
|
|
|
func (m *WorkflowExecutionState) GetCreateRequestId() string {
|
|
if m != nil {
|
|
return m.CreateRequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) GetState() v14.WorkflowExecutionState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return v14.WORKFLOW_EXECUTION_STATE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) GetStatus() v15.WorkflowExecutionStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return v15.WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
|
|
}
|
|
|
|
// transfer column
|
|
type TransferTaskInfo struct {
|
|
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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"`
|
|
TaskType v14.TaskType `protobuf:"varint,4,opt,name=task_type,json=taskType,proto3,enum=temporal.server.api.enums.v1.TaskType" json:"task_type,omitempty"`
|
|
TargetNamespaceId string `protobuf:"bytes,5,opt,name=target_namespace_id,json=targetNamespaceId,proto3" json:"target_namespace_id,omitempty"`
|
|
TargetWorkflowId string `protobuf:"bytes,6,opt,name=target_workflow_id,json=targetWorkflowId,proto3" json:"target_workflow_id,omitempty"`
|
|
TargetRunId string `protobuf:"bytes,7,opt,name=target_run_id,json=targetRunId,proto3" json:"target_run_id,omitempty"`
|
|
TaskQueue string `protobuf:"bytes,8,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
TargetChildWorkflowOnly bool `protobuf:"varint,9,opt,name=target_child_workflow_only,json=targetChildWorkflowOnly,proto3" json:"target_child_workflow_only,omitempty"`
|
|
ScheduledEventId int64 `protobuf:"varint,10,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
|
|
Version int64 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
|
|
TaskId int64 `protobuf:"varint,12,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
VisibilityTime *time.Time `protobuf:"bytes,13,opt,name=visibility_time,json=visibilityTime,proto3,stdtime" json:"visibility_time,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "after" is used to indicate sequence of actions. --)
|
|
DeleteAfterClose bool `protobuf:"varint,15,opt,name=delete_after_close,json=deleteAfterClose,proto3" json:"delete_after_close,omitempty"`
|
|
}
|
|
|
|
func (m *TransferTaskInfo) Reset() { *m = TransferTaskInfo{} }
|
|
func (*TransferTaskInfo) ProtoMessage() {}
|
|
func (*TransferTaskInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{4}
|
|
}
|
|
func (m *TransferTaskInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TransferTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TransferTaskInfo.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 *TransferTaskInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TransferTaskInfo.Merge(m, src)
|
|
}
|
|
func (m *TransferTaskInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TransferTaskInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TransferTaskInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TransferTaskInfo proto.InternalMessageInfo
|
|
|
|
func (m *TransferTaskInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTaskType() v14.TaskType {
|
|
if m != nil {
|
|
return m.TaskType
|
|
}
|
|
return v14.TASK_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTargetNamespaceId() string {
|
|
if m != nil {
|
|
return m.TargetNamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTargetWorkflowId() string {
|
|
if m != nil {
|
|
return m.TargetWorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTargetRunId() string {
|
|
if m != nil {
|
|
return m.TargetRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTaskQueue() string {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTargetChildWorkflowOnly() bool {
|
|
if m != nil {
|
|
return m.TargetChildWorkflowOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetScheduledEventId() int64 {
|
|
if m != nil {
|
|
return m.ScheduledEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetTaskId() int64 {
|
|
if m != nil {
|
|
return m.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetVisibilityTime() *time.Time {
|
|
if m != nil {
|
|
return m.VisibilityTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TransferTaskInfo) GetDeleteAfterClose() bool {
|
|
if m != nil {
|
|
return m.DeleteAfterClose
|
|
}
|
|
return false
|
|
}
|
|
|
|
// replication column
|
|
type ReplicationTaskInfo struct {
|
|
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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"`
|
|
TaskType v14.TaskType `protobuf:"varint,4,opt,name=task_type,json=taskType,proto3,enum=temporal.server.api.enums.v1.TaskType" json:"task_type,omitempty"`
|
|
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
|
FirstEventId int64 `protobuf:"varint,6,opt,name=first_event_id,json=firstEventId,proto3" json:"first_event_id,omitempty"`
|
|
NextEventId int64 `protobuf:"varint,7,opt,name=next_event_id,json=nextEventId,proto3" json:"next_event_id,omitempty"`
|
|
ScheduledEventId int64 `protobuf:"varint,8,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
|
|
BranchToken []byte `protobuf:"bytes,11,opt,name=branch_token,json=branchToken,proto3" json:"branch_token,omitempty"`
|
|
NewRunBranchToken []byte `protobuf:"bytes,13,opt,name=new_run_branch_token,json=newRunBranchToken,proto3" json:"new_run_branch_token,omitempty"`
|
|
TaskId int64 `protobuf:"varint,15,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
VisibilityTime *time.Time `protobuf:"bytes,16,opt,name=visibility_time,json=visibilityTime,proto3,stdtime" json:"visibility_time,omitempty"`
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) Reset() { *m = ReplicationTaskInfo{} }
|
|
func (*ReplicationTaskInfo) ProtoMessage() {}
|
|
func (*ReplicationTaskInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{5}
|
|
}
|
|
func (m *ReplicationTaskInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ReplicationTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ReplicationTaskInfo.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 *ReplicationTaskInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReplicationTaskInfo.Merge(m, src)
|
|
}
|
|
func (m *ReplicationTaskInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ReplicationTaskInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReplicationTaskInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReplicationTaskInfo proto.InternalMessageInfo
|
|
|
|
func (m *ReplicationTaskInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetTaskType() v14.TaskType {
|
|
if m != nil {
|
|
return m.TaskType
|
|
}
|
|
return v14.TASK_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetFirstEventId() int64 {
|
|
if m != nil {
|
|
return m.FirstEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetNextEventId() int64 {
|
|
if m != nil {
|
|
return m.NextEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetScheduledEventId() int64 {
|
|
if m != nil {
|
|
return m.ScheduledEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetBranchToken() []byte {
|
|
if m != nil {
|
|
return m.BranchToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetNewRunBranchToken() []byte {
|
|
if m != nil {
|
|
return m.NewRunBranchToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetTaskId() int64 {
|
|
if m != nil {
|
|
return m.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) GetVisibilityTime() *time.Time {
|
|
if m != nil {
|
|
return m.VisibilityTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// visibility_task_data column
|
|
type VisibilityTaskInfo struct {
|
|
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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"`
|
|
TaskType v14.TaskType `protobuf:"varint,4,opt,name=task_type,json=taskType,proto3,enum=temporal.server.api.enums.v1.TaskType" json:"task_type,omitempty"`
|
|
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
|
TaskId int64 `protobuf:"varint,6,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
VisibilityTime *time.Time `protobuf:"bytes,7,opt,name=visibility_time,json=visibilityTime,proto3,stdtime" json:"visibility_time,omitempty"`
|
|
CloseTime *time.Time `protobuf:"bytes,8,opt,name=close_time,json=closeTime,proto3,stdtime" json:"close_time,omitempty"`
|
|
StartTime *time.Time `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"`
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) Reset() { *m = VisibilityTaskInfo{} }
|
|
func (*VisibilityTaskInfo) ProtoMessage() {}
|
|
func (*VisibilityTaskInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{6}
|
|
}
|
|
func (m *VisibilityTaskInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *VisibilityTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_VisibilityTaskInfo.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 *VisibilityTaskInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_VisibilityTaskInfo.Merge(m, src)
|
|
}
|
|
func (m *VisibilityTaskInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *VisibilityTaskInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_VisibilityTaskInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_VisibilityTaskInfo proto.InternalMessageInfo
|
|
|
|
func (m *VisibilityTaskInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetTaskType() v14.TaskType {
|
|
if m != nil {
|
|
return m.TaskType
|
|
}
|
|
return v14.TASK_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetTaskId() int64 {
|
|
if m != nil {
|
|
return m.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetVisibilityTime() *time.Time {
|
|
if m != nil {
|
|
return m.VisibilityTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetCloseTime() *time.Time {
|
|
if m != nil {
|
|
return m.CloseTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) GetStartTime() *time.Time {
|
|
if m != nil {
|
|
return m.StartTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// timer column
|
|
type TimerTaskInfo struct {
|
|
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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"`
|
|
TaskType v14.TaskType `protobuf:"varint,4,opt,name=task_type,json=taskType,proto3,enum=temporal.server.api.enums.v1.TaskType" json:"task_type,omitempty"`
|
|
TimeoutType v15.TimeoutType `protobuf:"varint,5,opt,name=timeout_type,json=timeoutType,proto3,enum=temporal.api.enums.v1.TimeoutType" json:"timeout_type,omitempty"`
|
|
WorkflowBackoffType v14.WorkflowBackoffType `protobuf:"varint,6,opt,name=workflow_backoff_type,json=workflowBackoffType,proto3,enum=temporal.server.api.enums.v1.WorkflowBackoffType" json:"workflow_backoff_type,omitempty"`
|
|
Version int64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
|
|
ScheduleAttempt int32 `protobuf:"varint,8,opt,name=schedule_attempt,json=scheduleAttempt,proto3" json:"schedule_attempt,omitempty"`
|
|
EventId int64 `protobuf:"varint,9,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
|
TaskId int64 `protobuf:"varint,10,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
VisibilityTime *time.Time `protobuf:"bytes,11,opt,name=visibility_time,json=visibilityTime,proto3,stdtime" json:"visibility_time,omitempty"`
|
|
BranchToken []byte `protobuf:"bytes,12,opt,name=branch_token,json=branchToken,proto3" json:"branch_token,omitempty"`
|
|
}
|
|
|
|
func (m *TimerTaskInfo) Reset() { *m = TimerTaskInfo{} }
|
|
func (*TimerTaskInfo) ProtoMessage() {}
|
|
func (*TimerTaskInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{7}
|
|
}
|
|
func (m *TimerTaskInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TimerTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TimerTaskInfo.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 *TimerTaskInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TimerTaskInfo.Merge(m, src)
|
|
}
|
|
func (m *TimerTaskInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TimerTaskInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TimerTaskInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TimerTaskInfo proto.InternalMessageInfo
|
|
|
|
func (m *TimerTaskInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetTaskType() v14.TaskType {
|
|
if m != nil {
|
|
return m.TaskType
|
|
}
|
|
return v14.TASK_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetTimeoutType() v15.TimeoutType {
|
|
if m != nil {
|
|
return m.TimeoutType
|
|
}
|
|
return v15.TIMEOUT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetWorkflowBackoffType() v14.WorkflowBackoffType {
|
|
if m != nil {
|
|
return m.WorkflowBackoffType
|
|
}
|
|
return v14.WORKFLOW_BACKOFF_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetScheduleAttempt() int32 {
|
|
if m != nil {
|
|
return m.ScheduleAttempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetEventId() int64 {
|
|
if m != nil {
|
|
return m.EventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetTaskId() int64 {
|
|
if m != nil {
|
|
return m.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetVisibilityTime() *time.Time {
|
|
if m != nil {
|
|
return m.VisibilityTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TimerTaskInfo) GetBranchToken() []byte {
|
|
if m != nil {
|
|
return m.BranchToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// activity_map column
|
|
type ActivityInfo struct {
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
ScheduledEventBatchId int64 `protobuf:"varint,2,opt,name=scheduled_event_batch_id,json=scheduledEventBatchId,proto3" json:"scheduled_event_batch_id,omitempty"`
|
|
ScheduledTime *time.Time `protobuf:"bytes,4,opt,name=scheduled_time,json=scheduledTime,proto3,stdtime" json:"scheduled_time,omitempty"`
|
|
StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"`
|
|
StartedTime *time.Time `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3,stdtime" json:"started_time,omitempty"`
|
|
ActivityId string `protobuf:"bytes,8,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
ScheduleToStartTimeout *time.Duration `protobuf:"bytes,10,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. --)
|
|
ScheduleToCloseTimeout *time.Duration `protobuf:"bytes,11,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. --)
|
|
StartToCloseTimeout *time.Duration `protobuf:"bytes,12,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3,stdduration" json:"start_to_close_timeout,omitempty"`
|
|
HeartbeatTimeout *time.Duration `protobuf:"bytes,13,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3,stdduration" json:"heartbeat_timeout,omitempty"`
|
|
CancelRequested bool `protobuf:"varint,14,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
|
|
CancelRequestId int64 `protobuf:"varint,15,opt,name=cancel_request_id,json=cancelRequestId,proto3" json:"cancel_request_id,omitempty"`
|
|
TimerTaskStatus int32 `protobuf:"varint,16,opt,name=timer_task_status,json=timerTaskStatus,proto3" json:"timer_task_status,omitempty"`
|
|
Attempt int32 `protobuf:"varint,17,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
TaskQueue string `protobuf:"bytes,18,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
StartedIdentity string `protobuf:"bytes,19,opt,name=started_identity,json=startedIdentity,proto3" json:"started_identity,omitempty"`
|
|
HasRetryPolicy bool `protobuf:"varint,20,opt,name=has_retry_policy,json=hasRetryPolicy,proto3" json:"has_retry_policy,omitempty"`
|
|
RetryInitialInterval *time.Duration `protobuf:"bytes,21,opt,name=retry_initial_interval,json=retryInitialInterval,proto3,stdduration" json:"retry_initial_interval,omitempty"`
|
|
RetryMaximumInterval *time.Duration `protobuf:"bytes,22,opt,name=retry_maximum_interval,json=retryMaximumInterval,proto3,stdduration" json:"retry_maximum_interval,omitempty"`
|
|
RetryMaximumAttempts int32 `protobuf:"varint,23,opt,name=retry_maximum_attempts,json=retryMaximumAttempts,proto3" json:"retry_maximum_attempts,omitempty"`
|
|
RetryExpirationTime *time.Time `protobuf:"bytes,24,opt,name=retry_expiration_time,json=retryExpirationTime,proto3,stdtime" json:"retry_expiration_time,omitempty"`
|
|
RetryBackoffCoefficient float64 `protobuf:"fixed64,25,opt,name=retry_backoff_coefficient,json=retryBackoffCoefficient,proto3" json:"retry_backoff_coefficient,omitempty"`
|
|
RetryNonRetryableErrorTypes []string `protobuf:"bytes,26,rep,name=retry_non_retryable_error_types,json=retryNonRetryableErrorTypes,proto3" json:"retry_non_retryable_error_types,omitempty"`
|
|
RetryLastFailure *v16.Failure `protobuf:"bytes,27,opt,name=retry_last_failure,json=retryLastFailure,proto3" json:"retry_last_failure,omitempty"`
|
|
RetryLastWorkerIdentity string `protobuf:"bytes,28,opt,name=retry_last_worker_identity,json=retryLastWorkerIdentity,proto3" json:"retry_last_worker_identity,omitempty"`
|
|
// TODO: remove this after 1.17 release.
|
|
NamespaceId string `protobuf:"bytes,29,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
|
ScheduledEventId int64 `protobuf:"varint,30,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
|
|
LastHeartbeatDetails *v11.Payloads `protobuf:"bytes,31,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"`
|
|
LastHeartbeatUpdateTime *time.Time `protobuf:"bytes,32,opt,name=last_heartbeat_update_time,json=lastHeartbeatUpdateTime,proto3,stdtime" json:"last_heartbeat_update_time,omitempty"`
|
|
}
|
|
|
|
func (m *ActivityInfo) Reset() { *m = ActivityInfo{} }
|
|
func (*ActivityInfo) ProtoMessage() {}
|
|
func (*ActivityInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{8}
|
|
}
|
|
func (m *ActivityInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ActivityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ActivityInfo.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 *ActivityInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ActivityInfo.Merge(m, src)
|
|
}
|
|
func (m *ActivityInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ActivityInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ActivityInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ActivityInfo proto.InternalMessageInfo
|
|
|
|
func (m *ActivityInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetScheduledEventBatchId() int64 {
|
|
if m != nil {
|
|
return m.ScheduledEventBatchId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.ScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.StartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetStartedTime() *time.Time {
|
|
if m != nil {
|
|
return m.StartedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetScheduleToStartTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.ScheduleToStartTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetScheduleToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.ScheduleToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetStartToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.StartToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetHeartbeatTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.HeartbeatTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetCancelRequested() bool {
|
|
if m != nil {
|
|
return m.CancelRequested
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ActivityInfo) GetCancelRequestId() int64 {
|
|
if m != nil {
|
|
return m.CancelRequestId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetTimerTaskStatus() int32 {
|
|
if m != nil {
|
|
return m.TimerTaskStatus
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetAttempt() int32 {
|
|
if m != nil {
|
|
return m.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetTaskQueue() string {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetStartedIdentity() string {
|
|
if m != nil {
|
|
return m.StartedIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetHasRetryPolicy() bool {
|
|
if m != nil {
|
|
return m.HasRetryPolicy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryInitialInterval() *time.Duration {
|
|
if m != nil {
|
|
return m.RetryInitialInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryMaximumInterval() *time.Duration {
|
|
if m != nil {
|
|
return m.RetryMaximumInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryMaximumAttempts() int32 {
|
|
if m != nil {
|
|
return m.RetryMaximumAttempts
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryExpirationTime() *time.Time {
|
|
if m != nil {
|
|
return m.RetryExpirationTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryBackoffCoefficient() float64 {
|
|
if m != nil {
|
|
return m.RetryBackoffCoefficient
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryNonRetryableErrorTypes() []string {
|
|
if m != nil {
|
|
return m.RetryNonRetryableErrorTypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryLastFailure() *v16.Failure {
|
|
if m != nil {
|
|
return m.RetryLastFailure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetRetryLastWorkerIdentity() string {
|
|
if m != nil {
|
|
return m.RetryLastWorkerIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ActivityInfo) GetScheduledEventId() int64 {
|
|
if m != nil {
|
|
return m.ScheduledEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ActivityInfo) GetLastHeartbeatDetails() *v11.Payloads {
|
|
if m != nil {
|
|
return m.LastHeartbeatDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ActivityInfo) GetLastHeartbeatUpdateTime() *time.Time {
|
|
if m != nil {
|
|
return m.LastHeartbeatUpdateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// timer_map column
|
|
type TimerInfo struct {
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"`
|
|
ExpiryTime *time.Time `protobuf:"bytes,3,opt,name=expiry_time,json=expiryTime,proto3,stdtime" json:"expiry_time,omitempty"`
|
|
TaskStatus int64 `protobuf:"varint,4,opt,name=task_status,json=taskStatus,proto3" json:"task_status,omitempty"`
|
|
// timerId serves the purpose of indicating whether a timer task is generated for this timer info.
|
|
TimerId string `protobuf:"bytes,5,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"`
|
|
}
|
|
|
|
func (m *TimerInfo) Reset() { *m = TimerInfo{} }
|
|
func (*TimerInfo) ProtoMessage() {}
|
|
func (*TimerInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{9}
|
|
}
|
|
func (m *TimerInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TimerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TimerInfo.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 *TimerInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TimerInfo.Merge(m, src)
|
|
}
|
|
func (m *TimerInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TimerInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TimerInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TimerInfo proto.InternalMessageInfo
|
|
|
|
func (m *TimerInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerInfo) GetStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.StartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerInfo) GetExpiryTime() *time.Time {
|
|
if m != nil {
|
|
return m.ExpiryTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TimerInfo) GetTaskStatus() int64 {
|
|
if m != nil {
|
|
return m.TaskStatus
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimerInfo) GetTimerId() string {
|
|
if m != nil {
|
|
return m.TimerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// child_executions_map column
|
|
type ChildExecutionInfo struct {
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
InitiatedEventBatchId int64 `protobuf:"varint,2,opt,name=initiated_event_batch_id,json=initiatedEventBatchId,proto3" json:"initiated_event_batch_id,omitempty"`
|
|
StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"`
|
|
StartedWorkflowId string `protobuf:"bytes,5,opt,name=started_workflow_id,json=startedWorkflowId,proto3" json:"started_workflow_id,omitempty"`
|
|
StartedRunId string `protobuf:"bytes,6,opt,name=started_run_id,json=startedRunId,proto3" json:"started_run_id,omitempty"`
|
|
CreateRequestId string `protobuf:"bytes,8,opt,name=create_request_id,json=createRequestId,proto3" json:"create_request_id,omitempty"`
|
|
Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowTypeName string `protobuf:"bytes,10,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"`
|
|
ParentClosePolicy v15.ParentClosePolicy `protobuf:"varint,11,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=temporal.api.enums.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"`
|
|
InitiatedEventId int64 `protobuf:"varint,12,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"`
|
|
Clock *v13.VectorClock `protobuf:"bytes,13,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
NamespaceId string `protobuf:"bytes,14,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) Reset() { *m = ChildExecutionInfo{} }
|
|
func (*ChildExecutionInfo) ProtoMessage() {}
|
|
func (*ChildExecutionInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{10}
|
|
}
|
|
func (m *ChildExecutionInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ChildExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ChildExecutionInfo.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 *ChildExecutionInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ChildExecutionInfo.Merge(m, src)
|
|
}
|
|
func (m *ChildExecutionInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ChildExecutionInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ChildExecutionInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ChildExecutionInfo proto.InternalMessageInfo
|
|
|
|
func (m *ChildExecutionInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetInitiatedEventBatchId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventBatchId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.StartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetStartedWorkflowId() string {
|
|
if m != nil {
|
|
return m.StartedWorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetStartedRunId() string {
|
|
if m != nil {
|
|
return m.StartedRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetCreateRequestId() string {
|
|
if m != nil {
|
|
return m.CreateRequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetWorkflowTypeName() string {
|
|
if m != nil {
|
|
return m.WorkflowTypeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetParentClosePolicy() v15.ParentClosePolicy {
|
|
if m != nil {
|
|
return m.ParentClosePolicy
|
|
}
|
|
return v15.PARENT_CLOSE_POLICY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetInitiatedEventId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetClock() *v13.VectorClock {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) GetNamespaceId() string {
|
|
if m != nil {
|
|
return m.NamespaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// request_cancel_map column
|
|
type RequestCancelInfo struct {
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
InitiatedEventBatchId int64 `protobuf:"varint,2,opt,name=initiated_event_batch_id,json=initiatedEventBatchId,proto3" json:"initiated_event_batch_id,omitempty"`
|
|
CancelRequestId string `protobuf:"bytes,3,opt,name=cancel_request_id,json=cancelRequestId,proto3" json:"cancel_request_id,omitempty"`
|
|
InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"`
|
|
}
|
|
|
|
func (m *RequestCancelInfo) Reset() { *m = RequestCancelInfo{} }
|
|
func (*RequestCancelInfo) ProtoMessage() {}
|
|
func (*RequestCancelInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{11}
|
|
}
|
|
func (m *RequestCancelInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RequestCancelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RequestCancelInfo.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 *RequestCancelInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestCancelInfo.Merge(m, src)
|
|
}
|
|
func (m *RequestCancelInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RequestCancelInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestCancelInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestCancelInfo proto.InternalMessageInfo
|
|
|
|
func (m *RequestCancelInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RequestCancelInfo) GetInitiatedEventBatchId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventBatchId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RequestCancelInfo) GetCancelRequestId() string {
|
|
if m != nil {
|
|
return m.CancelRequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelInfo) GetInitiatedEventId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// signal_map column
|
|
type SignalInfo struct {
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
InitiatedEventBatchId int64 `protobuf:"varint,2,opt,name=initiated_event_batch_id,json=initiatedEventBatchId,proto3" json:"initiated_event_batch_id,omitempty"`
|
|
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
InitiatedEventId int64 `protobuf:"varint,7,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"`
|
|
}
|
|
|
|
func (m *SignalInfo) Reset() { *m = SignalInfo{} }
|
|
func (*SignalInfo) ProtoMessage() {}
|
|
func (*SignalInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{12}
|
|
}
|
|
func (m *SignalInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalInfo.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 *SignalInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalInfo.Merge(m, src)
|
|
}
|
|
func (m *SignalInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalInfo proto.InternalMessageInfo
|
|
|
|
func (m *SignalInfo) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SignalInfo) GetInitiatedEventBatchId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventBatchId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SignalInfo) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalInfo) GetInitiatedEventId() int64 {
|
|
if m != nil {
|
|
return m.InitiatedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// checksum column
|
|
type Checksum struct {
|
|
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
Flavor v14.ChecksumFlavor `protobuf:"varint,2,opt,name=flavor,proto3,enum=temporal.server.api.enums.v1.ChecksumFlavor" json:"flavor,omitempty"`
|
|
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (m *Checksum) Reset() { *m = Checksum{} }
|
|
func (*Checksum) ProtoMessage() {}
|
|
func (*Checksum) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{13}
|
|
}
|
|
func (m *Checksum) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Checksum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_Checksum.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 *Checksum) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Checksum.Merge(m, src)
|
|
}
|
|
func (m *Checksum) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Checksum) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Checksum.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Checksum proto.InternalMessageInfo
|
|
|
|
func (m *Checksum) GetVersion() int32 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Checksum) GetFlavor() v14.ChecksumFlavor {
|
|
if m != nil {
|
|
return m.Flavor
|
|
}
|
|
return v14.CHECKSUM_FLAVOR_UNSPECIFIED
|
|
}
|
|
|
|
func (m *Checksum) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueueAckLevel struct {
|
|
AckLevel int64 `protobuf:"varint,1,opt,name=ack_level,json=ackLevel,proto3" json:"ack_level,omitempty"`
|
|
ClusterAckLevel map[string]int64 `protobuf:"bytes,2,rep,name=cluster_ack_level,json=clusterAckLevel,proto3" json:"cluster_ack_level,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (m *QueueAckLevel) Reset() { *m = QueueAckLevel{} }
|
|
func (*QueueAckLevel) ProtoMessage() {}
|
|
func (*QueueAckLevel) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_67a714d0e7ba9f37, []int{14}
|
|
}
|
|
func (m *QueueAckLevel) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *QueueAckLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_QueueAckLevel.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 *QueueAckLevel) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueueAckLevel.Merge(m, src)
|
|
}
|
|
func (m *QueueAckLevel) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *QueueAckLevel) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueueAckLevel.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueueAckLevel proto.InternalMessageInfo
|
|
|
|
func (m *QueueAckLevel) GetAckLevel() int64 {
|
|
if m != nil {
|
|
return m.AckLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *QueueAckLevel) GetClusterAckLevel() map[string]int64 {
|
|
if m != nil {
|
|
return m.ClusterAckLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ShardInfo)(nil), "temporal.server.api.persistence.v1.ShardInfo")
|
|
proto.RegisterMapType((map[int32]*QueueAckLevel)(nil), "temporal.server.api.persistence.v1.ShardInfo.QueueAckLevelsEntry")
|
|
proto.RegisterMapType((map[string]int64)(nil), "temporal.server.api.persistence.v1.ShardInfo.ReplicationDlqAckLevelEntry")
|
|
proto.RegisterType((*WorkflowExecutionInfo)(nil), "temporal.server.api.persistence.v1.WorkflowExecutionInfo")
|
|
proto.RegisterMapType((map[string]*v11.Payload)(nil), "temporal.server.api.persistence.v1.WorkflowExecutionInfo.MemoEntry")
|
|
proto.RegisterMapType((map[string]*v11.Payload)(nil), "temporal.server.api.persistence.v1.WorkflowExecutionInfo.SearchAttributesEntry")
|
|
proto.RegisterType((*ExecutionStats)(nil), "temporal.server.api.persistence.v1.ExecutionStats")
|
|
proto.RegisterType((*WorkflowExecutionState)(nil), "temporal.server.api.persistence.v1.WorkflowExecutionState")
|
|
proto.RegisterType((*TransferTaskInfo)(nil), "temporal.server.api.persistence.v1.TransferTaskInfo")
|
|
proto.RegisterType((*ReplicationTaskInfo)(nil), "temporal.server.api.persistence.v1.ReplicationTaskInfo")
|
|
proto.RegisterType((*VisibilityTaskInfo)(nil), "temporal.server.api.persistence.v1.VisibilityTaskInfo")
|
|
proto.RegisterType((*TimerTaskInfo)(nil), "temporal.server.api.persistence.v1.TimerTaskInfo")
|
|
proto.RegisterType((*ActivityInfo)(nil), "temporal.server.api.persistence.v1.ActivityInfo")
|
|
proto.RegisterType((*TimerInfo)(nil), "temporal.server.api.persistence.v1.TimerInfo")
|
|
proto.RegisterType((*ChildExecutionInfo)(nil), "temporal.server.api.persistence.v1.ChildExecutionInfo")
|
|
proto.RegisterType((*RequestCancelInfo)(nil), "temporal.server.api.persistence.v1.RequestCancelInfo")
|
|
proto.RegisterType((*SignalInfo)(nil), "temporal.server.api.persistence.v1.SignalInfo")
|
|
proto.RegisterType((*Checksum)(nil), "temporal.server.api.persistence.v1.Checksum")
|
|
proto.RegisterType((*QueueAckLevel)(nil), "temporal.server.api.persistence.v1.QueueAckLevel")
|
|
proto.RegisterMapType((map[string]int64)(nil), "temporal.server.api.persistence.v1.QueueAckLevel.ClusterAckLevelEntry")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("temporal/server/api/persistence/v1/executions.proto", fileDescriptor_67a714d0e7ba9f37)
|
|
}
|
|
|
|
var fileDescriptor_67a714d0e7ba9f37 = []byte{
|
|
// 3286 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4f, 0x77, 0xdb, 0xc6,
|
|
0xb5, 0x37, 0x2d, 0x48, 0x04, 0x2f, 0x25, 0x0a, 0x82, 0xfe, 0x41, 0xb2, 0x4d, 0xc9, 0x8c, 0x9d,
|
|
0xc8, 0x89, 0x43, 0x45, 0xb2, 0xf3, 0x9c, 0x3f, 0xef, 0xbd, 0x3c, 0x49, 0xb6, 0x13, 0xf2, 0x39,
|
|
0x8e, 0x03, 0x29, 0x71, 0x4e, 0x7a, 0x72, 0x78, 0x20, 0x70, 0x28, 0xa1, 0x02, 0x01, 0x1a, 0x18,
|
|
0x52, 0x66, 0x4e, 0x17, 0x59, 0xf4, 0x03, 0x64, 0xd7, 0xee, 0xbb, 0xe9, 0x07, 0xe8, 0x07, 0xe8,
|
|
0x22, 0x8b, 0xae, 0x7a, 0xb2, 0x6b, 0x76, 0x6d, 0x9c, 0x2e, 0xba, 0x6b, 0xce, 0xe9, 0xba, 0xe7,
|
|
0xf4, 0xcc, 0x9d, 0x19, 0x10, 0x00, 0x21, 0x89, 0xf2, 0x89, 0x17, 0xd9, 0x01, 0x73, 0xff, 0xcc,
|
|
0x9d, 0x3b, 0x77, 0xee, 0xbd, 0xf3, 0x03, 0xe0, 0x16, 0x25, 0xed, 0x8e, 0x1f, 0x58, 0xee, 0x7a,
|
|
0x48, 0x82, 0x1e, 0x09, 0xd6, 0xad, 0x8e, 0xb3, 0xde, 0x21, 0x41, 0xe8, 0x84, 0x94, 0x78, 0x36,
|
|
0x59, 0xef, 0x6d, 0xac, 0x93, 0xa7, 0xc4, 0xee, 0x52, 0xc7, 0xf7, 0xc2, 0x6a, 0x27, 0xf0, 0xa9,
|
|
0xaf, 0x57, 0xa4, 0x50, 0x95, 0x0b, 0x55, 0xad, 0x8e, 0x53, 0x8d, 0x09, 0x55, 0x7b, 0x1b, 0xcb,
|
|
0xe5, 0x03, 0xdf, 0x3f, 0x70, 0xc9, 0x3a, 0x4a, 0xec, 0x77, 0x5b, 0xeb, 0xcd, 0x6e, 0x60, 0x31,
|
|
0x25, 0x5c, 0xc7, 0xf2, 0x4a, 0x9a, 0x4e, 0x9d, 0x36, 0x09, 0xa9, 0xd5, 0xee, 0x08, 0x86, 0xab,
|
|
0x4d, 0xd2, 0x21, 0x5e, 0x93, 0x78, 0xb6, 0x43, 0xc2, 0xf5, 0x03, 0xff, 0xc0, 0xc7, 0x71, 0x7c,
|
|
0x12, 0x2c, 0xd7, 0x22, 0xe3, 0x99, 0xd5, 0xb6, 0xdf, 0x6e, 0xfb, 0x1e, 0x33, 0xb8, 0x4d, 0xc2,
|
|
0xd0, 0x3a, 0x20, 0x99, 0x5c, 0xc4, 0xeb, 0xb6, 0x43, 0xc6, 0x74, 0xec, 0x07, 0x47, 0x2d, 0xd7,
|
|
0x3f, 0x16, 0x5c, 0xd7, 0x13, 0x5c, 0x2d, 0xcb, 0x71, 0xbb, 0x01, 0x19, 0x56, 0xf6, 0x72, 0x82,
|
|
0x4d, 0xea, 0x18, 0xe6, 0x7b, 0x35, 0xcb, 0xaf, 0xb6, 0xeb, 0xdb, 0x47, 0xc3, 0xbc, 0x37, 0xb2,
|
|
0x78, 0x23, 0x3b, 0xf9, 0xb2, 0x04, 0xeb, 0x6b, 0xa7, 0xb2, 0xa6, 0x96, 0xf4, 0xca, 0xa9, 0xcc,
|
|
0xd4, 0x0a, 0x8f, 0x04, 0xe3, 0xcd, 0x2c, 0xc6, 0x43, 0x27, 0xa4, 0x7e, 0xd0, 0x1f, 0x32, 0xb7,
|
|
0xf2, 0xaf, 0x71, 0x28, 0xec, 0x1e, 0x5a, 0x41, 0xb3, 0xe6, 0xb5, 0x7c, 0x7d, 0x09, 0xd4, 0x90,
|
|
0xbd, 0x34, 0x9c, 0xa6, 0x91, 0x5b, 0xcd, 0xad, 0x8d, 0x9b, 0x79, 0x7c, 0xaf, 0x35, 0x19, 0x29,
|
|
0xb0, 0xbc, 0x03, 0xc2, 0x48, 0x17, 0x57, 0x73, 0x6b, 0x63, 0x66, 0x1e, 0xdf, 0x6b, 0x4d, 0x7d,
|
|
0x0e, 0xc6, 0xfd, 0x63, 0x8f, 0x04, 0xc6, 0xd8, 0x6a, 0x6e, 0xad, 0x60, 0xf2, 0x17, 0xfd, 0x26,
|
|
0xe8, 0x21, 0xf5, 0x5d, 0xe2, 0x35, 0x42, 0xc7, 0xb3, 0x49, 0x23, 0x20, 0x1e, 0x39, 0x36, 0x26,
|
|
0x50, 0xab, 0xc6, 0x29, 0xbb, 0x8c, 0x60, 0xb2, 0x71, 0x7d, 0x0b, 0x8a, 0xdd, 0x4e, 0xd3, 0xa2,
|
|
0xa4, 0xc1, 0x42, 0xc7, 0xc8, 0xaf, 0xe6, 0xd6, 0x8a, 0x9b, 0xcb, 0x55, 0x1e, 0x57, 0x55, 0x19,
|
|
0x57, 0xd5, 0x3d, 0x19, 0x57, 0xdb, 0xca, 0xd7, 0x7f, 0x5d, 0xc9, 0x99, 0xc0, 0x85, 0xd8, 0xb0,
|
|
0x7e, 0x17, 0xca, 0x9e, 0xd5, 0x26, 0x61, 0xc7, 0xb2, 0x49, 0xc3, 0xf3, 0xa9, 0xd3, 0x72, 0x6c,
|
|
0x0c, 0xd2, 0x46, 0x8f, 0x45, 0xb3, 0xef, 0x19, 0x05, 0xb4, 0xfb, 0x72, 0xc4, 0xf5, 0x30, 0xc6,
|
|
0xf4, 0x29, 0xe7, 0xd1, 0x7f, 0x9d, 0x83, 0xa5, 0x80, 0x74, 0x5c, 0x29, 0xdb, 0x74, 0x9f, 0x34,
|
|
0x2c, 0xfb, 0xa8, 0xe1, 0x92, 0x1e, 0x71, 0x8d, 0xa9, 0xd5, 0xb1, 0xb5, 0xe2, 0x66, 0xad, 0x7a,
|
|
0xf6, 0x99, 0xa9, 0x46, 0x5e, 0xad, 0x9a, 0x03, 0x75, 0x77, 0xdd, 0x27, 0x5b, 0xf6, 0xd1, 0x03,
|
|
0xa6, 0xeb, 0x9e, 0x47, 0x83, 0xbe, 0xb9, 0x10, 0x64, 0x12, 0xf5, 0x23, 0xd0, 0x9e, 0x74, 0x49,
|
|
0x97, 0x0c, 0xe6, 0x0e, 0x0d, 0x0d, 0x27, 0xdf, 0x3a, 0xdf, 0xe4, 0x1f, 0x33, 0x2d, 0x52, 0x6d,
|
|
0xc8, 0x27, 0x2d, 0x3d, 0x49, 0x0c, 0x2e, 0xd7, 0xe0, 0xd2, 0x29, 0x36, 0xea, 0x1a, 0x8c, 0x1d,
|
|
0x91, 0x3e, 0x06, 0x44, 0xc1, 0x64, 0x8f, 0x6c, 0xc7, 0x7b, 0x96, 0xdb, 0x25, 0x22, 0x12, 0xf8,
|
|
0xcb, 0x3b, 0x17, 0xdf, 0xca, 0x2d, 0x53, 0x98, 0xcd, 0x98, 0x31, 0xae, 0x62, 0x9c, 0xab, 0x78,
|
|
0x3f, 0xae, 0xa2, 0xb8, 0xb9, 0x31, 0xca, 0xaa, 0x12, 0x9a, 0x63, 0xb3, 0xd6, 0x15, 0x55, 0xd1,
|
|
0xc6, 0xeb, 0x8a, 0x3a, 0xae, 0x4d, 0xd4, 0x15, 0x55, 0xd5, 0x0a, 0x75, 0x45, 0x05, 0xad, 0x58,
|
|
0x57, 0xd4, 0xa2, 0x36, 0x59, 0x57, 0xd4, 0x49, 0x6d, 0xaa, 0xae, 0xa8, 0x25, 0x6d, 0xba, 0xae,
|
|
0xa8, 0xd3, 0x9a, 0x56, 0xf9, 0x77, 0x19, 0xe6, 0x1f, 0x8b, 0xf3, 0x75, 0x4f, 0x26, 0x44, 0x3c,
|
|
0x01, 0x57, 0x61, 0x72, 0x10, 0x44, 0xe2, 0x14, 0x14, 0xcc, 0x62, 0x34, 0x56, 0x6b, 0xea, 0x2b,
|
|
0x50, 0x94, 0x67, 0x53, 0x1e, 0x86, 0x82, 0x09, 0x72, 0xa8, 0xd6, 0xd4, 0xab, 0x30, 0xdb, 0xb1,
|
|
0x02, 0xe2, 0xd1, 0x46, 0x42, 0x15, 0x3f, 0x1d, 0x33, 0x9c, 0xf4, 0x30, 0xa6, 0xf0, 0x26, 0xe8,
|
|
0x82, 0x3f, 0xae, 0x57, 0x41, 0x76, 0x8d, 0x53, 0x1e, 0x0f, 0xb4, 0x57, 0x60, 0x4a, 0x70, 0x07,
|
|
0x5d, 0x8f, 0x31, 0x8e, 0x73, 0x13, 0xf9, 0xa0, 0xd9, 0xf5, 0x12, 0x16, 0x38, 0x9e, 0x43, 0x1d,
|
|
0x8b, 0x12, 0x3c, 0xd2, 0x13, 0xb8, 0x5b, 0xc2, 0x82, 0x9a, 0xa4, 0xd4, 0x9a, 0xfa, 0xdb, 0xb0,
|
|
0x64, 0xfb, 0xed, 0x8e, 0x4b, 0x30, 0xe4, 0x49, 0x8f, 0x49, 0xee, 0x5b, 0xd4, 0x3e, 0x64, 0x52,
|
|
0x79, 0x94, 0x5a, 0x18, 0x30, 0xdc, 0x63, 0xf4, 0x6d, 0x46, 0xae, 0x35, 0xf5, 0x2b, 0x00, 0x2c,
|
|
0xf9, 0x34, 0x30, 0xa4, 0xf0, 0x84, 0x15, 0xcc, 0x02, 0x1b, 0xc1, 0xcd, 0x62, 0x6b, 0x8b, 0x16,
|
|
0x45, 0xfb, 0x1d, 0x82, 0x2e, 0x31, 0x80, 0xaf, 0x4d, 0x52, 0xf6, 0xfa, 0x1d, 0xc2, 0x1c, 0xa2,
|
|
0x7f, 0x01, 0xcb, 0x11, 0x77, 0x54, 0xa8, 0x30, 0x23, 0xf8, 0x5d, 0x6a, 0x14, 0x31, 0x52, 0x96,
|
|
0x86, 0x92, 0xc2, 0x5d, 0x51, 0x8c, 0xb6, 0x95, 0xdf, 0xb2, 0x9c, 0x60, 0x1c, 0xa7, 0x77, 0x76,
|
|
0x8f, 0x2b, 0xd0, 0x3f, 0x86, 0xb9, 0x48, 0x3d, 0x73, 0x9e, 0x54, 0x3c, 0x39, 0x9a, 0xe2, 0x68,
|
|
0x25, 0x66, 0x37, 0x52, 0xb9, 0x0f, 0x57, 0x9a, 0xa4, 0x65, 0x75, 0xdd, 0xd8, 0xe6, 0xa1, 0x3f,
|
|
0xa4, 0xee, 0xa9, 0xd1, 0x74, 0x2f, 0x0b, 0x2d, 0x72, 0xa3, 0xf7, 0xac, 0xf0, 0x48, 0xce, 0xf1,
|
|
0x1a, 0xe8, 0xae, 0x15, 0x52, 0xb1, 0x2f, 0xa8, 0xdd, 0x69, 0x1a, 0x33, 0xb8, 0x2d, 0xd3, 0x8c,
|
|
0x82, 0x1b, 0xc2, 0x24, 0x6a, 0x4d, 0xfd, 0x75, 0x98, 0x45, 0xe6, 0x96, 0x13, 0x44, 0x22, 0x4e,
|
|
0xd3, 0xd0, 0x91, 0x5b, 0x63, 0xa4, 0xfb, 0x8c, 0x82, 0x22, 0xb5, 0xa6, 0xfe, 0xff, 0xf0, 0x12,
|
|
0xb2, 0x27, 0x8d, 0x0f, 0xa9, 0x15, 0xb0, 0x98, 0x89, 0xc4, 0x67, 0x51, 0xbc, 0xcc, 0x58, 0xe3,
|
|
0x16, 0xee, 0x72, 0x3e, 0xa9, 0xec, 0x3d, 0x00, 0x94, 0xe4, 0x39, 0x7c, 0x6e, 0xc4, 0x1c, 0x5e,
|
|
0x40, 0x19, 0x4c, 0xe1, 0x75, 0x40, 0x0b, 0x1b, 0xf1, 0x52, 0x30, 0x3f, 0xa2, 0x9a, 0x12, 0x93,
|
|
0xfc, 0x64, 0x50, 0x0e, 0x36, 0x61, 0x3e, 0xb9, 0x28, 0x59, 0x05, 0x16, 0x70, 0x2d, 0xb3, 0xc7,
|
|
0xb1, 0x75, 0xc8, 0xe4, 0x7f, 0x1f, 0x56, 0x53, 0x8e, 0xb0, 0x0f, 0x49, 0xb3, 0xeb, 0xc6, 0x5d,
|
|
0xb1, 0xc8, 0x8b, 0x48, 0x5c, 0x7c, 0x57, 0x72, 0x49, 0x47, 0x6c, 0x43, 0xf9, 0x0c, 0x87, 0x1a,
|
|
0xa8, 0x65, 0xf9, 0xf8, 0x64, 0x67, 0xee, 0xa6, 0xed, 0x97, 0x11, 0xb5, 0x34, 0x5a, 0x44, 0x25,
|
|
0x16, 0x28, 0x43, 0x69, 0xc8, 0x29, 0x16, 0x65, 0x79, 0x97, 0x1a, 0xcb, 0x98, 0x99, 0x13, 0x32,
|
|
0x5b, 0x9c, 0x94, 0x38, 0x94, 0x89, 0xc5, 0xe0, 0xf6, 0x5c, 0x1a, 0x71, 0x7b, 0x16, 0x33, 0x96,
|
|
0x8a, 0xfb, 0x64, 0xc1, 0xe5, 0x93, 0x7c, 0x8e, 0x13, 0x5c, 0x1e, 0x71, 0x82, 0xa5, 0xcc, 0x1d,
|
|
0xc1, 0x29, 0x6e, 0x80, 0x66, 0x5b, 0x9e, 0x4d, 0xdc, 0x46, 0x40, 0x9e, 0x74, 0x49, 0x48, 0x49,
|
|
0xd3, 0xb8, 0xb2, 0x9a, 0x5b, 0x53, 0xcd, 0x69, 0x3e, 0x6e, 0xca, 0x61, 0x3d, 0x80, 0xeb, 0x49,
|
|
0x6b, 0xfc, 0xc0, 0x39, 0x70, 0x3c, 0xcb, 0x4d, 0x9b, 0x55, 0x1e, 0xd1, 0xac, 0xab, 0x71, 0xb3,
|
|
0x3e, 0x12, 0xca, 0x92, 0xe6, 0xdd, 0x01, 0x23, 0x39, 0xa7, 0xb0, 0x92, 0xc5, 0xc9, 0x0a, 0x66,
|
|
0xca, 0xf9, 0xb8, 0x12, 0x61, 0x6c, 0xad, 0xa9, 0xbf, 0x0a, 0x33, 0xc9, 0x75, 0x31, 0x89, 0x55,
|
|
0x94, 0x48, 0x2e, 0x8c, 0xf3, 0x86, 0xd4, 0xb1, 0x8f, 0xfa, 0x8d, 0x58, 0xba, 0xbe, 0xca, 0x79,
|
|
0x39, 0x61, 0x2f, 0x4a, 0xda, 0x07, 0xb0, 0x2a, 0x78, 0xe5, 0xa2, 0x1b, 0xd4, 0x6f, 0x0c, 0x8e,
|
|
0x36, 0x8b, 0xc2, 0xca, 0x68, 0x51, 0x78, 0x99, 0x2b, 0x92, 0x0b, 0xde, 0xf3, 0x77, 0xe5, 0x61,
|
|
0x67, 0xe1, 0x68, 0x40, 0x5e, 0x06, 0xe0, 0x4b, 0xbc, 0xdd, 0x14, 0xaf, 0xfa, 0x27, 0xb0, 0x10,
|
|
0x10, 0x1a, 0xf4, 0x45, 0x01, 0x73, 0x1b, 0x8e, 0x47, 0x49, 0xd0, 0xb3, 0x5c, 0xe3, 0xda, 0x68,
|
|
0x13, 0xcf, 0xa1, 0x38, 0x2f, 0x72, 0x6e, 0x4d, 0x08, 0x0f, 0xd4, 0xb6, 0xad, 0xa7, 0x4e, 0xbb,
|
|
0xdb, 0x1e, 0xa8, 0xbd, 0x7e, 0x1e, 0xb5, 0x1f, 0x72, 0xe9, 0x48, 0xed, 0xed, 0xb4, 0x5a, 0xb1,
|
|
0x8c, 0xd0, 0x78, 0x19, 0x97, 0x95, 0x90, 0x12, 0xe7, 0x2a, 0xd4, 0xdf, 0x61, 0x9d, 0x26, 0x93,
|
|
0xda, 0xb7, 0xec, 0x23, 0xbf, 0xd5, 0x6a, 0xd8, 0x3e, 0x69, 0xb5, 0x1c, 0xdb, 0x21, 0x1e, 0x35,
|
|
0x5e, 0x59, 0xcd, 0xad, 0xe5, 0xcc, 0x45, 0x64, 0xd8, 0xe6, 0xf4, 0x9d, 0x01, 0x59, 0x6f, 0x43,
|
|
0x25, 0xa3, 0x52, 0x92, 0xa7, 0x1d, 0x87, 0x9b, 0xcb, 0x83, 0x74, 0x6d, 0xc4, 0x20, 0x5d, 0x19,
|
|
0x2a, 0x99, 0xf7, 0x22, 0x4d, 0xa2, 0xb7, 0x5e, 0xe1, 0xa6, 0x7a, 0xbe, 0xd7, 0xc0, 0x27, 0x6b,
|
|
0xdf, 0x25, 0x0d, 0x12, 0x04, 0x7e, 0x80, 0x75, 0x3d, 0x34, 0x6e, 0xac, 0x8e, 0xad, 0x15, 0xcc,
|
|
0x4b, 0x48, 0x7c, 0xe8, 0x7b, 0xa6, 0x64, 0xba, 0xc7, 0x78, 0x58, 0x85, 0x0f, 0xf5, 0x35, 0xd0,
|
|
0x0e, 0xad, 0x90, 0xcb, 0x37, 0x3a, 0xbe, 0xeb, 0xd8, 0x7d, 0xe3, 0x55, 0x3c, 0x87, 0xa5, 0x43,
|
|
0x2b, 0x44, 0x89, 0x47, 0x38, 0xaa, 0xbf, 0x04, 0x53, 0x76, 0xe0, 0x7b, 0x51, 0xfc, 0x19, 0xaf,
|
|
0x61, 0xa4, 0x4e, 0xb2, 0x41, 0x19, 0x4b, 0xac, 0x57, 0x0b, 0x9d, 0x03, 0x76, 0x36, 0x6d, 0xbf,
|
|
0xeb, 0x51, 0xa3, 0x8a, 0x39, 0xb5, 0xc8, 0xc7, 0x76, 0xd8, 0x90, 0xfe, 0x31, 0xcc, 0x58, 0x5d,
|
|
0xea, 0x37, 0x02, 0x12, 0x12, 0xda, 0xe8, 0xf8, 0x8e, 0x47, 0x43, 0xe3, 0x16, 0x7a, 0xe5, 0xfa,
|
|
0xa0, 0xe3, 0x64, 0xad, 0x66, 0x74, 0xdd, 0xea, 0x6d, 0x54, 0x4d, 0xc6, 0xfd, 0x08, 0x99, 0xcd,
|
|
0x69, 0x26, 0x1f, 0x1b, 0xd0, 0x7f, 0x05, 0x33, 0x21, 0xb1, 0x02, 0xfb, 0x90, 0x6d, 0x72, 0xe0,
|
|
0xec, 0x77, 0x29, 0x09, 0x8d, 0xdb, 0xd8, 0x9a, 0x7f, 0x34, 0x4a, 0x13, 0x9b, 0xd9, 0x77, 0x56,
|
|
0x77, 0x51, 0xe5, 0x56, 0xa4, 0x91, 0x37, 0xea, 0x5a, 0x98, 0x1a, 0xd6, 0x1f, 0x83, 0xd2, 0x26,
|
|
0x6d, 0xdf, 0x78, 0x13, 0x27, 0xdc, 0x79, 0xfe, 0x09, 0x3f, 0x24, 0x6d, 0x9f, 0x4f, 0x82, 0x0a,
|
|
0xf5, 0x2f, 0x60, 0x46, 0x14, 0xc8, 0x06, 0xbf, 0x2c, 0x3a, 0x24, 0x34, 0xfe, 0x0b, 0x3d, 0xf5,
|
|
0x46, 0xe6, 0x2c, 0xe2, 0x4a, 0xc9, 0x66, 0x10, 0xe5, 0xf3, 0x03, 0x29, 0x67, 0x6a, 0xbd, 0xd4,
|
|
0x88, 0x7e, 0x0b, 0x16, 0x44, 0x47, 0x12, 0x05, 0xab, 0x68, 0x5f, 0xef, 0xe0, 0xce, 0xce, 0x22,
|
|
0x35, 0x32, 0x91, 0xb7, 0xb1, 0xbf, 0x80, 0xe9, 0x01, 0x7b, 0x48, 0x2d, 0x1a, 0x1a, 0x6f, 0xa1,
|
|
0x45, 0x9b, 0xa3, 0xac, 0x3b, 0x52, 0xb6, 0xcb, 0x24, 0xcd, 0x12, 0x49, 0xbc, 0x27, 0xea, 0x0e,
|
|
0x33, 0x25, 0x7d, 0x76, 0xde, 0x3e, 0x6f, 0xdd, 0x31, 0xbb, 0xe9, 0x53, 0x73, 0x1b, 0x16, 0x87,
|
|
0x7a, 0x31, 0xfa, 0x14, 0x57, 0xfd, 0x0e, 0x6f, 0x42, 0x92, 0xfd, 0xd8, 0xde, 0x53, 0xb6, 0xea,
|
|
0xdb, 0xb0, 0xc0, 0xd6, 0x4a, 0x1a, 0x34, 0xb0, 0xbc, 0xd0, 0x41, 0x8b, 0x78, 0x80, 0xbf, 0x8b,
|
|
0x42, 0x73, 0x48, 0xdd, 0x8b, 0x88, 0x3c, 0xd2, 0xdf, 0x87, 0x52, 0xb2, 0x63, 0x36, 0xfe, 0x7b,
|
|
0xc4, 0x05, 0x4c, 0x91, 0x78, 0x9f, 0xac, 0xaf, 0xc3, 0x9c, 0x47, 0x8e, 0x87, 0xf7, 0xe9, 0x7f,
|
|
0xf8, 0xf5, 0xc5, 0x23, 0xc7, 0xa9, 0x5d, 0x7a, 0x00, 0x93, 0xe2, 0xb2, 0x81, 0x90, 0x88, 0xf1,
|
|
0xbf, 0x38, 0xef, 0x8d, 0xcc, 0x2d, 0x42, 0x0e, 0x1e, 0x32, 0x36, 0xf5, 0x83, 0x1d, 0xf6, 0x2a,
|
|
0xaf, 0x2e, 0xf8, 0xa2, 0xbf, 0x05, 0xc6, 0xd0, 0xd5, 0x45, 0x76, 0x6e, 0xef, 0xf1, 0x9b, 0x48,
|
|
0xea, 0xfe, 0x22, 0x9b, 0xb7, 0x5b, 0xb0, 0x60, 0xbb, 0x7e, 0x28, 0xfc, 0xd6, 0x22, 0x41, 0xd4,
|
|
0x2a, 0xff, 0x1f, 0x77, 0x36, 0x52, 0xf7, 0x04, 0x51, 0xb4, 0xcb, 0x77, 0xc0, 0xe0, 0x42, 0x3d,
|
|
0x27, 0x74, 0xf6, 0x1d, 0xd7, 0xa1, 0xfd, 0x48, 0x6c, 0x0b, 0xc5, 0xe6, 0x91, 0xfe, 0x69, 0x44,
|
|
0x16, 0x82, 0xef, 0x01, 0x88, 0xd9, 0x98, 0xaf, 0xb7, 0x47, 0xed, 0x75, 0xb9, 0x0d, 0x4e, 0x9b,
|
|
0x2c, 0x37, 0x61, 0x3e, 0xf3, 0xd0, 0x67, 0x5c, 0xb7, 0xdf, 0x4c, 0xde, 0x95, 0x57, 0x92, 0x99,
|
|
0x4b, 0x60, 0x4a, 0xbd, 0x8d, 0xea, 0x23, 0xab, 0xef, 0xfa, 0x56, 0x33, 0x7e, 0x1f, 0xff, 0x0c,
|
|
0x0a, 0xd1, 0x49, 0xff, 0x49, 0x35, 0x47, 0xf7, 0xec, 0xe8, 0x56, 0x5d, 0x57, 0x54, 0x4d, 0x9b,
|
|
0xa9, 0x2b, 0xea, 0x4d, 0xed, 0xf5, 0xba, 0xa2, 0xbe, 0xae, 0x55, 0xeb, 0x8a, 0xba, 0xae, 0xbd,
|
|
0x51, 0x57, 0xd4, 0x37, 0xb4, 0x8d, 0xba, 0xa2, 0x6e, 0x68, 0x9b, 0x75, 0x45, 0xdd, 0xd4, 0x6e,
|
|
0x55, 0x6e, 0x41, 0x29, 0x79, 0x3a, 0x59, 0x2e, 0x17, 0x09, 0xa5, 0x11, 0x3a, 0x5f, 0x12, 0xb4,
|
|
0x71, 0xcc, 0x2c, 0x8a, 0xb1, 0x5d, 0xe7, 0x4b, 0x52, 0xf9, 0x67, 0x0e, 0x16, 0x86, 0x72, 0x19,
|
|
0x93, 0x26, 0xd8, 0x08, 0x05, 0x84, 0x9d, 0x99, 0x58, 0x23, 0x94, 0x13, 0x8d, 0x10, 0x12, 0x06,
|
|
0x8d, 0xd0, 0x3c, 0x4c, 0x88, 0x88, 0xe6, 0x37, 0xf7, 0xf1, 0x00, 0xa3, 0xb8, 0x0e, 0xe3, 0x78,
|
|
0xae, 0xf0, 0x9a, 0x5e, 0xda, 0xbc, 0x9d, 0x19, 0xbe, 0x88, 0xb7, 0x65, 0xe6, 0x54, 0xb4, 0xc3,
|
|
0xe4, 0x2a, 0xf4, 0xfb, 0x30, 0xc1, 0x1e, 0xba, 0x21, 0x5e, 0xe2, 0x4b, 0x9b, 0xd5, 0xa4, 0x5b,
|
|
0x4f, 0xd7, 0xd2, 0x0d, 0x4d, 0x21, 0x5d, 0xf9, 0x51, 0x01, 0x2d, 0x11, 0xaf, 0x3f, 0x15, 0x42,
|
|
0x31, 0xf0, 0xc1, 0x58, 0xdc, 0x07, 0x3b, 0x50, 0xe0, 0x37, 0x8d, 0x7e, 0x87, 0x08, 0xd3, 0x5f,
|
|
0x3e, 0xdd, 0x0f, 0x78, 0xb7, 0xe8, 0x77, 0x88, 0xa9, 0x52, 0xf1, 0xa4, 0x57, 0x61, 0x96, 0x5a,
|
|
0xc1, 0x01, 0x49, 0xa1, 0x1f, 0x1c, 0xa5, 0x98, 0xe1, 0xa4, 0x14, 0xfa, 0x21, 0xf8, 0xe3, 0x36,
|
|
0x4f, 0x70, 0x84, 0x80, 0x53, 0x92, 0xe8, 0x87, 0xe0, 0x16, 0x0b, 0xc8, 0xf3, 0xe5, 0xf3, 0x41,
|
|
0x9e, 0x90, 0x92, 0x90, 0x84, 0x9a, 0x86, 0x24, 0xde, 0x85, 0x65, 0xa1, 0xc2, 0x3e, 0x74, 0xdc,
|
|
0xe6, 0x60, 0x5a, 0xdf, 0x73, 0xfb, 0x88, 0x60, 0xa8, 0xe6, 0x22, 0xe7, 0xd8, 0x61, 0x0c, 0x72,
|
|
0xf6, 0x8f, 0x3c, 0xb7, 0x8f, 0xa8, 0xe6, 0xf0, 0x9d, 0x10, 0xf8, 0xed, 0x3a, 0x4c, 0xdf, 0x03,
|
|
0x0d, 0xc8, 0xcb, 0xdc, 0x55, 0xe4, 0x98, 0xa9, 0x78, 0xd5, 0x17, 0x21, 0x2f, 0xd3, 0xcc, 0x24,
|
|
0x52, 0x26, 0x28, 0xcf, 0x2b, 0x35, 0x98, 0x8e, 0xa7, 0x22, 0x96, 0x5c, 0xa6, 0x46, 0xbd, 0x01,
|
|
0x0f, 0x04, 0x31, 0x93, 0xdf, 0x04, 0xbd, 0x49, 0x5c, 0x42, 0x49, 0xc3, 0x6a, 0x51, 0x12, 0x34,
|
|
0x30, 0xf7, 0x18, 0xd3, 0xb8, 0x40, 0x8d, 0x53, 0xb6, 0x18, 0x61, 0x87, 0x8d, 0xf3, 0x93, 0x5c,
|
|
0xf9, 0x8d, 0x02, 0xb3, 0x31, 0x2c, 0xf0, 0x67, 0x13, 0x75, 0x31, 0x4f, 0x8f, 0x27, 0x3d, 0x7d,
|
|
0x0d, 0x4a, 0x29, 0x2c, 0x84, 0xc3, 0x60, 0x93, 0xad, 0x38, 0x0e, 0x52, 0x81, 0x29, 0x8f, 0x3c,
|
|
0x8d, 0x31, 0x71, 0xd4, 0xab, 0xc8, 0x06, 0x25, 0x4f, 0xf6, 0xde, 0xab, 0x27, 0xec, 0xfd, 0x55,
|
|
0x98, 0xdc, 0x0f, 0x2c, 0xcf, 0x3e, 0x6c, 0x50, 0xff, 0x88, 0xf0, 0x00, 0x98, 0x34, 0x8b, 0x7c,
|
|
0x6c, 0x8f, 0x0d, 0xc9, 0x52, 0xcb, 0x9c, 0x92, 0x60, 0x9d, 0x42, 0x56, 0x56, 0x6a, 0xcd, 0xae,
|
|
0xb7, 0x1d, 0x13, 0x88, 0x45, 0xcd, 0xf4, 0x59, 0x51, 0xa3, 0x3d, 0x5f, 0xd4, 0xd4, 0x15, 0xb5,
|
|
0xa0, 0x41, 0x84, 0x9f, 0x46, 0xc8, 0x69, 0xe5, 0x0f, 0x63, 0xa0, 0xa7, 0xaa, 0xe0, 0xcf, 0x3b,
|
|
0x30, 0x62, 0xce, 0x9c, 0x38, 0xcb, 0x99, 0xf9, 0xe7, 0x3c, 0x82, 0xc9, 0x2e, 0x41, 0x3d, 0x77,
|
|
0x97, 0x90, 0x82, 0xd4, 0x0a, 0xe7, 0x86, 0xd4, 0x2a, 0xdf, 0x28, 0x30, 0xc5, 0x1e, 0x7e, 0x3e,
|
|
0x05, 0xe4, 0x1e, 0x4c, 0x0a, 0x90, 0x81, 0xeb, 0x19, 0x47, 0x3d, 0x95, 0x13, 0x6a, 0xa8, 0x80,
|
|
0x12, 0x50, 0x47, 0x91, 0x0e, 0x5e, 0x74, 0x12, 0x83, 0xba, 0xe4, 0x05, 0x1b, 0xf5, 0x4d, 0xa0,
|
|
0xbe, 0x8d, 0xd1, 0x0a, 0xbc, 0xb8, 0x7a, 0xa3, 0xfa, 0x08, 0x1d, 0x8b, 0x0d, 0xc6, 0xe3, 0x2b,
|
|
0x9f, 0x8c, 0xaf, 0x1b, 0x10, 0x25, 0x85, 0x08, 0x66, 0x53, 0x11, 0x0e, 0x98, 0x96, 0xe3, 0x12,
|
|
0x62, 0x5b, 0x02, 0x35, 0xca, 0x27, 0xfc, 0x23, 0x55, 0x9e, 0x88, 0x34, 0x12, 0x8b, 0x52, 0x38,
|
|
0x2b, 0x4a, 0x8b, 0xcf, 0x19, 0xa5, 0xe9, 0x54, 0x35, 0x39, 0x94, 0xaa, 0x2a, 0xbf, 0x2b, 0xc1,
|
|
0xe4, 0x96, 0x4d, 0x9d, 0x9e, 0x43, 0xfb, 0x18, 0x45, 0xb1, 0x75, 0xe7, 0x92, 0xeb, 0xbe, 0x03,
|
|
0x46, 0x3a, 0x4d, 0x46, 0xdf, 0x12, 0xf8, 0xf7, 0xa2, 0xf9, 0x64, 0xb2, 0x94, 0x9f, 0x12, 0xde,
|
|
0x87, 0x52, 0x0a, 0x64, 0x53, 0x46, 0xbd, 0xc2, 0x84, 0x09, 0x40, 0x6d, 0x0d, 0xb4, 0x21, 0xc0,
|
|
0x95, 0x1f, 0xfe, 0x52, 0x98, 0x04, 0x59, 0x77, 0x60, 0x32, 0x81, 0x66, 0x8e, 0x7a, 0xce, 0x8b,
|
|
0x61, 0x0c, 0xc1, 0x5c, 0x81, 0xa2, 0x25, 0x5c, 0x23, 0x0b, 0x42, 0xc1, 0x04, 0x39, 0xc4, 0x1b,
|
|
0x92, 0x58, 0x5f, 0x2a, 0xbe, 0x91, 0x04, 0x51, 0x47, 0xfa, 0x39, 0x2c, 0x9d, 0x8c, 0xb3, 0xc1,
|
|
0x68, 0xb8, 0xd4, 0x42, 0x98, 0x8d, 0xb0, 0xa5, 0x74, 0x0f, 0x92, 0xd1, 0x39, 0x3e, 0xa8, 0xc4,
|
|
0x74, 0xef, 0xc8, 0xc4, 0xc4, 0x74, 0xef, 0xe1, 0x45, 0x95, 0xd9, 0x9a, 0x56, 0x3c, 0xe2, 0x07,
|
|
0x95, 0x59, 0x9e, 0xa6, 0x92, 0x5a, 0x1f, 0xc0, 0xcc, 0x21, 0xb1, 0x02, 0xba, 0x4f, 0x2c, 0x7a,
|
|
0xde, 0xaf, 0x28, 0x5a, 0x24, 0x29, 0xb5, 0x65, 0x41, 0xbf, 0xa5, 0x6c, 0xe8, 0x37, 0x13, 0x4d,
|
|
0xe5, 0x65, 0x36, 0x0b, 0x4d, 0x65, 0xa6, 0x05, 0x11, 0x20, 0xce, 0x9a, 0x7d, 0x8d, 0x1f, 0x6e,
|
|
0x2a, 0xb3, 0x2d, 0xef, 0xe6, 0xe3, 0x20, 0xe7, 0x4c, 0x12, 0xe4, 0x4c, 0x36, 0xaa, 0x7a, 0xba,
|
|
0x51, 0xbd, 0x31, 0x08, 0x63, 0xa7, 0x49, 0x3c, 0xea, 0xd0, 0x3e, 0x7e, 0x88, 0x41, 0xc4, 0x16,
|
|
0xc7, 0x6b, 0x62, 0x38, 0x13, 0x59, 0x9b, 0xcb, 0x44, 0xd6, 0x4e, 0x06, 0x56, 0xe7, 0x5f, 0x0c,
|
|
0xb0, 0xba, 0xf0, 0x62, 0x80, 0xd5, 0xc5, 0x53, 0x80, 0xd5, 0x3d, 0x98, 0xe7, 0x52, 0x69, 0x4c,
|
|
0xc7, 0x18, 0xf1, 0x78, 0xcf, 0xa2, 0x78, 0x0a, 0xcd, 0x39, 0x15, 0xae, 0x5d, 0x3a, 0x1d, 0xae,
|
|
0x1d, 0x01, 0x3f, 0x5d, 0x3e, 0x1b, 0x3f, 0x7d, 0x08, 0x3a, 0xd7, 0xc2, 0x51, 0x25, 0xfe, 0x5b,
|
|
0x8b, 0xf8, 0x02, 0xb3, 0x9a, 0xac, 0x8f, 0x82, 0xc8, 0x4a, 0xd9, 0x7d, 0xfe, 0x68, 0x6a, 0x28,
|
|
0xfb, 0xc0, 0x0a, 0xa9, 0x18, 0x61, 0x37, 0xa1, 0x98, 0x3e, 0x56, 0xdd, 0x48, 0x30, 0x08, 0xb5,
|
|
0xcb, 0x18, 0x6a, 0x8b, 0x91, 0xd4, 0x63, 0xa4, 0x47, 0x21, 0x97, 0x6e, 0x23, 0xae, 0x0c, 0xb7,
|
|
0x11, 0xd9, 0x0d, 0x73, 0xf9, 0x84, 0x86, 0xf9, 0x53, 0x58, 0x40, 0x3b, 0x06, 0xa7, 0xbf, 0x49,
|
|
0xa8, 0xe5, 0xb8, 0x21, 0x7e, 0x04, 0x19, 0x5a, 0xe1, 0x10, 0x38, 0x11, 0x9a, 0x73, 0x4c, 0xfe,
|
|
0x03, 0x29, 0x7e, 0x97, 0x4b, 0xeb, 0x5f, 0xc0, 0x72, 0x4a, 0x6f, 0xfc, 0xf3, 0xe2, 0xea, 0xa8,
|
|
0xdf, 0xaf, 0x12, 0xba, 0x07, 0xdf, 0x19, 0xeb, 0x8a, 0x3a, 0xa6, 0x29, 0x75, 0x45, 0x9d, 0xd0,
|
|
0xf2, 0x95, 0x3f, 0xe7, 0xa0, 0x80, 0xcd, 0xd6, 0x19, 0x25, 0x32, 0xab, 0x40, 0x5d, 0xcc, 0x2c,
|
|
0x50, 0x5b, 0x50, 0xc4, 0x20, 0x16, 0x15, 0x7e, 0x6c, 0xd4, 0xff, 0x62, 0xb8, 0x90, 0x2c, 0x4f,
|
|
0xf1, 0x2c, 0xa5, 0xe0, 0x3c, 0x98, 0x78, 0x44, 0x82, 0x5a, 0x02, 0x95, 0x27, 0xb3, 0xe8, 0x9a,
|
|
0x9e, 0xc7, 0xf7, 0x5a, 0xb3, 0xf2, 0x17, 0x05, 0x74, 0xbc, 0x04, 0x27, 0xff, 0x92, 0x38, 0xb5,
|
|
0xf8, 0x0f, 0x70, 0xbb, 0xec, 0xe2, 0x1f, 0xd1, 0x13, 0xc5, 0x3f, 0xcb, 0x25, 0x63, 0x99, 0x2e,
|
|
0xa9, 0xc2, 0xac, 0xe4, 0x8c, 0x37, 0xa9, 0x02, 0x60, 0x10, 0xa4, 0x18, 0x64, 0x70, 0x0d, 0xa4,
|
|
0x06, 0x89, 0x19, 0x70, 0x70, 0x41, 0x56, 0x7e, 0x0e, 0x1a, 0x64, 0x42, 0x48, 0x6a, 0x36, 0x84,
|
|
0x74, 0x19, 0x0a, 0x51, 0x98, 0xcb, 0x72, 0x1e, 0x0d, 0x9c, 0xf3, 0x97, 0x87, 0xcf, 0xa2, 0x5f,
|
|
0x35, 0x78, 0x09, 0x15, 0xc9, 0xbb, 0x88, 0x4d, 0xea, 0xda, 0x09, 0x4d, 0xef, 0x23, 0x09, 0x98,
|
|
0x86, 0x84, 0xa7, 0x75, 0xf9, 0x53, 0x47, 0x6c, 0x88, 0xd9, 0x91, 0xde, 0x8a, 0x08, 0x6d, 0xd0,
|
|
0x92, 0x9b, 0x80, 0x78, 0xe6, 0x38, 0x87, 0x6f, 0xa7, 0xce, 0x0b, 0xdf, 0x72, 0xb9, 0xa1, 0x7c,
|
|
0x50, 0x1a, 0xca, 0x07, 0xd1, 0x6f, 0x3a, 0x79, 0x4d, 0xad, 0xfc, 0x31, 0x07, 0x33, 0xc2, 0xa3,
|
|
0x3b, 0x58, 0x5c, 0x5f, 0x54, 0x60, 0x65, 0x96, 0xf5, 0xb1, 0xec, 0x8f, 0xa4, 0xd9, 0x2e, 0x53,
|
|
0xb2, 0x5d, 0x56, 0xf9, 0x26, 0x07, 0xb0, 0x8b, 0x1f, 0x9b, 0x5e, 0x94, 0xed, 0xc9, 0xc6, 0x71,
|
|
0x2c, 0xdd, 0x38, 0x66, 0x9b, 0x9b, 0xcf, 0x36, 0x37, 0xf5, 0x93, 0xd4, 0x84, 0x96, 0xe7, 0x10,
|
|
0x6e, 0xe5, 0xab, 0x1c, 0xa8, 0x3b, 0x87, 0xc4, 0x3e, 0x0a, 0xbb, 0xed, 0xf4, 0x22, 0xc6, 0x07,
|
|
0x8b, 0xb8, 0x0b, 0x13, 0x2d, 0xd7, 0xea, 0xf9, 0x01, 0x9a, 0x5c, 0xda, 0xbc, 0x79, 0xfa, 0x05,
|
|
0x4a, 0x6a, 0xbc, 0x8f, 0x32, 0xa6, 0x90, 0x1d, 0xfc, 0x39, 0x36, 0x86, 0x77, 0x0c, 0xfe, 0x52,
|
|
0xf9, 0x7b, 0x0e, 0xa6, 0x12, 0x3f, 0x77, 0xe9, 0x97, 0xa0, 0x30, 0xf8, 0xeb, 0x8e, 0xbb, 0x53,
|
|
0xb5, 0x24, 0x31, 0x80, 0x19, 0xdb, 0xed, 0x86, 0x94, 0x04, 0xb1, 0x5f, 0xf3, 0x2e, 0xe2, 0x17,
|
|
0xb1, 0xfb, 0xe7, 0xfe, 0x8f, 0xac, 0xba, 0xc3, 0x55, 0x25, 0xff, 0xcb, 0x9b, 0xb6, 0x93, 0xa3,
|
|
0xcb, 0xdb, 0x30, 0x97, 0xc5, 0x78, 0x9e, 0x9f, 0xe3, 0xb6, 0x7f, 0xf9, 0xed, 0xf7, 0xe5, 0x0b,
|
|
0xdf, 0x7d, 0x5f, 0xbe, 0xf0, 0xe3, 0xf7, 0xe5, 0xdc, 0x57, 0xcf, 0xca, 0xb9, 0xdf, 0x3f, 0x2b,
|
|
0xe7, 0xfe, 0xf4, 0xac, 0x9c, 0xfb, 0xf6, 0x59, 0x39, 0xf7, 0xb7, 0x67, 0xe5, 0xdc, 0x3f, 0x9e,
|
|
0x95, 0x2f, 0xfc, 0xf8, 0xac, 0x9c, 0xfb, 0xfa, 0x87, 0xf2, 0x85, 0x6f, 0x7f, 0x28, 0x5f, 0xf8,
|
|
0xee, 0x87, 0xf2, 0x85, 0xcf, 0x6f, 0x1f, 0xf8, 0x83, 0x45, 0x39, 0xfe, 0xc9, 0xff, 0xf6, 0xbe,
|
|
0x1b, 0x7b, 0xdd, 0x9f, 0xc0, 0xda, 0x70, 0xeb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x22, 0xef,
|
|
0xac, 0xa6, 0x14, 0x2c, 0x00, 0x00,
|
|
}
|
|
|
|
func (this *ShardInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ShardInfo)
|
|
if !ok {
|
|
that2, ok := that.(ShardInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.ShardId != that1.ShardId {
|
|
return false
|
|
}
|
|
if this.RangeId != that1.RangeId {
|
|
return false
|
|
}
|
|
if this.Owner != that1.Owner {
|
|
return false
|
|
}
|
|
if this.StolenSinceRenew != that1.StolenSinceRenew {
|
|
return false
|
|
}
|
|
if that1.UpdateTime == nil {
|
|
if this.UpdateTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.UpdateTime.Equal(*that1.UpdateTime) {
|
|
return false
|
|
}
|
|
if this.NamespaceNotificationVersion != that1.NamespaceNotificationVersion {
|
|
return false
|
|
}
|
|
if len(this.ReplicationDlqAckLevel) != len(that1.ReplicationDlqAckLevel) {
|
|
return false
|
|
}
|
|
for i := range this.ReplicationDlqAckLevel {
|
|
if this.ReplicationDlqAckLevel[i] != that1.ReplicationDlqAckLevel[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.QueueAckLevels) != len(that1.QueueAckLevels) {
|
|
return false
|
|
}
|
|
for i := range this.QueueAckLevels {
|
|
if !this.QueueAckLevels[i].Equal(that1.QueueAckLevels[i]) {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *WorkflowExecutionInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*WorkflowExecutionInfo)
|
|
if !ok {
|
|
that2, ok := that.(WorkflowExecutionInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.ParentNamespaceId != that1.ParentNamespaceId {
|
|
return false
|
|
}
|
|
if this.ParentWorkflowId != that1.ParentWorkflowId {
|
|
return false
|
|
}
|
|
if this.ParentRunId != that1.ParentRunId {
|
|
return false
|
|
}
|
|
if this.ParentInitiatedId != that1.ParentInitiatedId {
|
|
return false
|
|
}
|
|
if this.CompletionEventBatchId != that1.CompletionEventBatchId {
|
|
return false
|
|
}
|
|
if this.TaskQueue != that1.TaskQueue {
|
|
return false
|
|
}
|
|
if this.WorkflowTypeName != that1.WorkflowTypeName {
|
|
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.DefaultWorkflowTaskTimeout != nil && that1.DefaultWorkflowTaskTimeout != nil {
|
|
if *this.DefaultWorkflowTaskTimeout != *that1.DefaultWorkflowTaskTimeout {
|
|
return false
|
|
}
|
|
} else if this.DefaultWorkflowTaskTimeout != nil {
|
|
return false
|
|
} else if that1.DefaultWorkflowTaskTimeout != nil {
|
|
return false
|
|
}
|
|
if this.LastEventTaskId != that1.LastEventTaskId {
|
|
return false
|
|
}
|
|
if this.LastFirstEventId != that1.LastFirstEventId {
|
|
return false
|
|
}
|
|
if this.LastWorkflowTaskStartedEventId != that1.LastWorkflowTaskStartedEventId {
|
|
return false
|
|
}
|
|
if that1.StartTime == nil {
|
|
if this.StartTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.StartTime.Equal(*that1.StartTime) {
|
|
return false
|
|
}
|
|
if that1.LastUpdateTime == nil {
|
|
if this.LastUpdateTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.LastUpdateTime.Equal(*that1.LastUpdateTime) {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskVersion != that1.WorkflowTaskVersion {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskScheduledEventId != that1.WorkflowTaskScheduledEventId {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskStartedEventId != that1.WorkflowTaskStartedEventId {
|
|
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.WorkflowTaskAttempt != that1.WorkflowTaskAttempt {
|
|
return false
|
|
}
|
|
if that1.WorkflowTaskStartedTime == nil {
|
|
if this.WorkflowTaskStartedTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.WorkflowTaskStartedTime.Equal(*that1.WorkflowTaskStartedTime) {
|
|
return false
|
|
}
|
|
if that1.WorkflowTaskScheduledTime == nil {
|
|
if this.WorkflowTaskScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.WorkflowTaskScheduledTime.Equal(*that1.WorkflowTaskScheduledTime) {
|
|
return false
|
|
}
|
|
if this.CancelRequested != that1.CancelRequested {
|
|
return false
|
|
}
|
|
if that1.WorkflowTaskOriginalScheduledTime == nil {
|
|
if this.WorkflowTaskOriginalScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.WorkflowTaskOriginalScheduledTime.Equal(*that1.WorkflowTaskOriginalScheduledTime) {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskRequestId != that1.WorkflowTaskRequestId {
|
|
return false
|
|
}
|
|
if this.CancelRequestId != that1.CancelRequestId {
|
|
return false
|
|
}
|
|
if this.StickyTaskQueue != that1.StickyTaskQueue {
|
|
return false
|
|
}
|
|
if this.StickyScheduleToStartTimeout != nil && that1.StickyScheduleToStartTimeout != nil {
|
|
if *this.StickyScheduleToStartTimeout != *that1.StickyScheduleToStartTimeout {
|
|
return false
|
|
}
|
|
} else if this.StickyScheduleToStartTimeout != nil {
|
|
return false
|
|
} else if that1.StickyScheduleToStartTimeout != nil {
|
|
return false
|
|
}
|
|
if this.Attempt != that1.Attempt {
|
|
return false
|
|
}
|
|
if this.RetryInitialInterval != nil && that1.RetryInitialInterval != nil {
|
|
if *this.RetryInitialInterval != *that1.RetryInitialInterval {
|
|
return false
|
|
}
|
|
} else if this.RetryInitialInterval != nil {
|
|
return false
|
|
} else if that1.RetryInitialInterval != nil {
|
|
return false
|
|
}
|
|
if this.RetryMaximumInterval != nil && that1.RetryMaximumInterval != nil {
|
|
if *this.RetryMaximumInterval != *that1.RetryMaximumInterval {
|
|
return false
|
|
}
|
|
} else if this.RetryMaximumInterval != nil {
|
|
return false
|
|
} else if that1.RetryMaximumInterval != nil {
|
|
return false
|
|
}
|
|
if this.RetryMaximumAttempts != that1.RetryMaximumAttempts {
|
|
return false
|
|
}
|
|
if this.RetryBackoffCoefficient != that1.RetryBackoffCoefficient {
|
|
return false
|
|
}
|
|
if that1.WorkflowExecutionExpirationTime == nil {
|
|
if this.WorkflowExecutionExpirationTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.WorkflowExecutionExpirationTime.Equal(*that1.WorkflowExecutionExpirationTime) {
|
|
return false
|
|
}
|
|
if len(this.RetryNonRetryableErrorTypes) != len(that1.RetryNonRetryableErrorTypes) {
|
|
return false
|
|
}
|
|
for i := range this.RetryNonRetryableErrorTypes {
|
|
if this.RetryNonRetryableErrorTypes[i] != that1.RetryNonRetryableErrorTypes[i] {
|
|
return false
|
|
}
|
|
}
|
|
if this.HasRetryPolicy != that1.HasRetryPolicy {
|
|
return false
|
|
}
|
|
if this.CronSchedule != that1.CronSchedule {
|
|
return false
|
|
}
|
|
if this.SignalCount != that1.SignalCount {
|
|
return false
|
|
}
|
|
if !this.AutoResetPoints.Equal(that1.AutoResetPoints) {
|
|
return false
|
|
}
|
|
if len(this.SearchAttributes) != len(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
for i := range this.SearchAttributes {
|
|
if !this.SearchAttributes[i].Equal(that1.SearchAttributes[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Memo) != len(that1.Memo) {
|
|
return false
|
|
}
|
|
for i := range this.Memo {
|
|
if !this.Memo[i].Equal(that1.Memo[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !this.VersionHistories.Equal(that1.VersionHistories) {
|
|
return false
|
|
}
|
|
if this.FirstExecutionRunId != that1.FirstExecutionRunId {
|
|
return false
|
|
}
|
|
if !this.ExecutionStats.Equal(that1.ExecutionStats) {
|
|
return false
|
|
}
|
|
if that1.WorkflowRunExpirationTime == nil {
|
|
if this.WorkflowRunExpirationTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.WorkflowRunExpirationTime.Equal(*that1.WorkflowRunExpirationTime) {
|
|
return false
|
|
}
|
|
if this.LastFirstEventTxnId != that1.LastFirstEventTxnId {
|
|
return false
|
|
}
|
|
if this.StateTransitionCount != that1.StateTransitionCount {
|
|
return false
|
|
}
|
|
if that1.ExecutionTime == nil {
|
|
if this.ExecutionTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.ExecutionTime.Equal(*that1.ExecutionTime) {
|
|
return false
|
|
}
|
|
if this.NewExecutionRunId != that1.NewExecutionRunId {
|
|
return false
|
|
}
|
|
if !this.ParentClock.Equal(that1.ParentClock) {
|
|
return false
|
|
}
|
|
if this.ParentInitiatedVersion != that1.ParentInitiatedVersion {
|
|
return false
|
|
}
|
|
if this.CloseTransferTaskId != that1.CloseTransferTaskId {
|
|
return false
|
|
}
|
|
if this.CloseVisibilityTaskId != that1.CloseVisibilityTaskId {
|
|
return false
|
|
}
|
|
if that1.CloseTime == nil {
|
|
if this.CloseTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.CloseTime.Equal(*that1.CloseTime) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ExecutionStats) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ExecutionStats)
|
|
if !ok {
|
|
that2, ok := that.(ExecutionStats)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.HistorySize != that1.HistorySize {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *WorkflowExecutionState) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*WorkflowExecutionState)
|
|
if !ok {
|
|
that2, ok := that.(WorkflowExecutionState)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.CreateRequestId != that1.CreateRequestId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.State != that1.State {
|
|
return false
|
|
}
|
|
if this.Status != that1.Status {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *TransferTaskInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*TransferTaskInfo)
|
|
if !ok {
|
|
that2, ok := that.(TransferTaskInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.TaskType != that1.TaskType {
|
|
return false
|
|
}
|
|
if this.TargetNamespaceId != that1.TargetNamespaceId {
|
|
return false
|
|
}
|
|
if this.TargetWorkflowId != that1.TargetWorkflowId {
|
|
return false
|
|
}
|
|
if this.TargetRunId != that1.TargetRunId {
|
|
return false
|
|
}
|
|
if this.TaskQueue != that1.TaskQueue {
|
|
return false
|
|
}
|
|
if this.TargetChildWorkflowOnly != that1.TargetChildWorkflowOnly {
|
|
return false
|
|
}
|
|
if this.ScheduledEventId != that1.ScheduledEventId {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.TaskId != that1.TaskId {
|
|
return false
|
|
}
|
|
if that1.VisibilityTime == nil {
|
|
if this.VisibilityTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.VisibilityTime.Equal(*that1.VisibilityTime) {
|
|
return false
|
|
}
|
|
if this.DeleteAfterClose != that1.DeleteAfterClose {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ReplicationTaskInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ReplicationTaskInfo)
|
|
if !ok {
|
|
that2, ok := that.(ReplicationTaskInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.TaskType != that1.TaskType {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.FirstEventId != that1.FirstEventId {
|
|
return false
|
|
}
|
|
if this.NextEventId != that1.NextEventId {
|
|
return false
|
|
}
|
|
if this.ScheduledEventId != that1.ScheduledEventId {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.BranchToken, that1.BranchToken) {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NewRunBranchToken, that1.NewRunBranchToken) {
|
|
return false
|
|
}
|
|
if this.TaskId != that1.TaskId {
|
|
return false
|
|
}
|
|
if that1.VisibilityTime == nil {
|
|
if this.VisibilityTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.VisibilityTime.Equal(*that1.VisibilityTime) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *VisibilityTaskInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*VisibilityTaskInfo)
|
|
if !ok {
|
|
that2, ok := that.(VisibilityTaskInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.TaskType != that1.TaskType {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.TaskId != that1.TaskId {
|
|
return false
|
|
}
|
|
if that1.VisibilityTime == nil {
|
|
if this.VisibilityTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.VisibilityTime.Equal(*that1.VisibilityTime) {
|
|
return false
|
|
}
|
|
if that1.CloseTime == nil {
|
|
if this.CloseTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.CloseTime.Equal(*that1.CloseTime) {
|
|
return false
|
|
}
|
|
if that1.StartTime == nil {
|
|
if this.StartTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.StartTime.Equal(*that1.StartTime) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *TimerTaskInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*TimerTaskInfo)
|
|
if !ok {
|
|
that2, ok := that.(TimerTaskInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.TaskType != that1.TaskType {
|
|
return false
|
|
}
|
|
if this.TimeoutType != that1.TimeoutType {
|
|
return false
|
|
}
|
|
if this.WorkflowBackoffType != that1.WorkflowBackoffType {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.ScheduleAttempt != that1.ScheduleAttempt {
|
|
return false
|
|
}
|
|
if this.EventId != that1.EventId {
|
|
return false
|
|
}
|
|
if this.TaskId != that1.TaskId {
|
|
return false
|
|
}
|
|
if that1.VisibilityTime == nil {
|
|
if this.VisibilityTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.VisibilityTime.Equal(*that1.VisibilityTime) {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.BranchToken, that1.BranchToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ActivityInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ActivityInfo)
|
|
if !ok {
|
|
that2, ok := that.(ActivityInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.ScheduledEventBatchId != that1.ScheduledEventBatchId {
|
|
return false
|
|
}
|
|
if that1.ScheduledTime == nil {
|
|
if this.ScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.ScheduledTime.Equal(*that1.ScheduledTime) {
|
|
return false
|
|
}
|
|
if this.StartedEventId != that1.StartedEventId {
|
|
return false
|
|
}
|
|
if that1.StartedTime == nil {
|
|
if this.StartedTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.StartedTime.Equal(*that1.StartedTime) {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
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.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.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.CancelRequested != that1.CancelRequested {
|
|
return false
|
|
}
|
|
if this.CancelRequestId != that1.CancelRequestId {
|
|
return false
|
|
}
|
|
if this.TimerTaskStatus != that1.TimerTaskStatus {
|
|
return false
|
|
}
|
|
if this.Attempt != that1.Attempt {
|
|
return false
|
|
}
|
|
if this.TaskQueue != that1.TaskQueue {
|
|
return false
|
|
}
|
|
if this.StartedIdentity != that1.StartedIdentity {
|
|
return false
|
|
}
|
|
if this.HasRetryPolicy != that1.HasRetryPolicy {
|
|
return false
|
|
}
|
|
if this.RetryInitialInterval != nil && that1.RetryInitialInterval != nil {
|
|
if *this.RetryInitialInterval != *that1.RetryInitialInterval {
|
|
return false
|
|
}
|
|
} else if this.RetryInitialInterval != nil {
|
|
return false
|
|
} else if that1.RetryInitialInterval != nil {
|
|
return false
|
|
}
|
|
if this.RetryMaximumInterval != nil && that1.RetryMaximumInterval != nil {
|
|
if *this.RetryMaximumInterval != *that1.RetryMaximumInterval {
|
|
return false
|
|
}
|
|
} else if this.RetryMaximumInterval != nil {
|
|
return false
|
|
} else if that1.RetryMaximumInterval != nil {
|
|
return false
|
|
}
|
|
if this.RetryMaximumAttempts != that1.RetryMaximumAttempts {
|
|
return false
|
|
}
|
|
if that1.RetryExpirationTime == nil {
|
|
if this.RetryExpirationTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.RetryExpirationTime.Equal(*that1.RetryExpirationTime) {
|
|
return false
|
|
}
|
|
if this.RetryBackoffCoefficient != that1.RetryBackoffCoefficient {
|
|
return false
|
|
}
|
|
if len(this.RetryNonRetryableErrorTypes) != len(that1.RetryNonRetryableErrorTypes) {
|
|
return false
|
|
}
|
|
for i := range this.RetryNonRetryableErrorTypes {
|
|
if this.RetryNonRetryableErrorTypes[i] != that1.RetryNonRetryableErrorTypes[i] {
|
|
return false
|
|
}
|
|
}
|
|
if !this.RetryLastFailure.Equal(that1.RetryLastFailure) {
|
|
return false
|
|
}
|
|
if this.RetryLastWorkerIdentity != that1.RetryLastWorkerIdentity {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
if this.ScheduledEventId != that1.ScheduledEventId {
|
|
return false
|
|
}
|
|
if !this.LastHeartbeatDetails.Equal(that1.LastHeartbeatDetails) {
|
|
return false
|
|
}
|
|
if that1.LastHeartbeatUpdateTime == nil {
|
|
if this.LastHeartbeatUpdateTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.LastHeartbeatUpdateTime.Equal(*that1.LastHeartbeatUpdateTime) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *TimerInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*TimerInfo)
|
|
if !ok {
|
|
that2, ok := that.(TimerInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.StartedEventId != that1.StartedEventId {
|
|
return false
|
|
}
|
|
if that1.ExpiryTime == nil {
|
|
if this.ExpiryTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.ExpiryTime.Equal(*that1.ExpiryTime) {
|
|
return false
|
|
}
|
|
if this.TaskStatus != that1.TaskStatus {
|
|
return false
|
|
}
|
|
if this.TimerId != that1.TimerId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ChildExecutionInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ChildExecutionInfo)
|
|
if !ok {
|
|
that2, ok := that.(ChildExecutionInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.InitiatedEventBatchId != that1.InitiatedEventBatchId {
|
|
return false
|
|
}
|
|
if this.StartedEventId != that1.StartedEventId {
|
|
return false
|
|
}
|
|
if this.StartedWorkflowId != that1.StartedWorkflowId {
|
|
return false
|
|
}
|
|
if this.StartedRunId != that1.StartedRunId {
|
|
return false
|
|
}
|
|
if this.CreateRequestId != that1.CreateRequestId {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowTypeName != that1.WorkflowTypeName {
|
|
return false
|
|
}
|
|
if this.ParentClosePolicy != that1.ParentClosePolicy {
|
|
return false
|
|
}
|
|
if this.InitiatedEventId != that1.InitiatedEventId {
|
|
return false
|
|
}
|
|
if !this.Clock.Equal(that1.Clock) {
|
|
return false
|
|
}
|
|
if this.NamespaceId != that1.NamespaceId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RequestCancelInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RequestCancelInfo)
|
|
if !ok {
|
|
that2, ok := that.(RequestCancelInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.InitiatedEventBatchId != that1.InitiatedEventBatchId {
|
|
return false
|
|
}
|
|
if this.CancelRequestId != that1.CancelRequestId {
|
|
return false
|
|
}
|
|
if this.InitiatedEventId != that1.InitiatedEventId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalInfo) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalInfo)
|
|
if !ok {
|
|
that2, ok := that.(SignalInfo)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.InitiatedEventBatchId != that1.InitiatedEventBatchId {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.InitiatedEventId != that1.InitiatedEventId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Checksum) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Checksum)
|
|
if !ok {
|
|
that2, ok := that.(Checksum)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Version != that1.Version {
|
|
return false
|
|
}
|
|
if this.Flavor != that1.Flavor {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.Value, that1.Value) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *QueueAckLevel) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*QueueAckLevel)
|
|
if !ok {
|
|
that2, ok := that.(QueueAckLevel)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.AckLevel != that1.AckLevel {
|
|
return false
|
|
}
|
|
if len(this.ClusterAckLevel) != len(that1.ClusterAckLevel) {
|
|
return false
|
|
}
|
|
for i := range this.ClusterAckLevel {
|
|
if this.ClusterAckLevel[i] != that1.ClusterAckLevel[i] {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *ShardInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 12)
|
|
s = append(s, "&persistence.ShardInfo{")
|
|
s = append(s, "ShardId: "+fmt.Sprintf("%#v", this.ShardId)+",\n")
|
|
s = append(s, "RangeId: "+fmt.Sprintf("%#v", this.RangeId)+",\n")
|
|
s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n")
|
|
s = append(s, "StolenSinceRenew: "+fmt.Sprintf("%#v", this.StolenSinceRenew)+",\n")
|
|
s = append(s, "UpdateTime: "+fmt.Sprintf("%#v", this.UpdateTime)+",\n")
|
|
s = append(s, "NamespaceNotificationVersion: "+fmt.Sprintf("%#v", this.NamespaceNotificationVersion)+",\n")
|
|
keysForReplicationDlqAckLevel := make([]string, 0, len(this.ReplicationDlqAckLevel))
|
|
for k, _ := range this.ReplicationDlqAckLevel {
|
|
keysForReplicationDlqAckLevel = append(keysForReplicationDlqAckLevel, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForReplicationDlqAckLevel)
|
|
mapStringForReplicationDlqAckLevel := "map[string]int64{"
|
|
for _, k := range keysForReplicationDlqAckLevel {
|
|
mapStringForReplicationDlqAckLevel += fmt.Sprintf("%#v: %#v,", k, this.ReplicationDlqAckLevel[k])
|
|
}
|
|
mapStringForReplicationDlqAckLevel += "}"
|
|
if this.ReplicationDlqAckLevel != nil {
|
|
s = append(s, "ReplicationDlqAckLevel: "+mapStringForReplicationDlqAckLevel+",\n")
|
|
}
|
|
keysForQueueAckLevels := make([]int32, 0, len(this.QueueAckLevels))
|
|
for k, _ := range this.QueueAckLevels {
|
|
keysForQueueAckLevels = append(keysForQueueAckLevels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForQueueAckLevels)
|
|
mapStringForQueueAckLevels := "map[int32]*QueueAckLevel{"
|
|
for _, k := range keysForQueueAckLevels {
|
|
mapStringForQueueAckLevels += fmt.Sprintf("%#v: %#v,", k, this.QueueAckLevels[k])
|
|
}
|
|
mapStringForQueueAckLevels += "}"
|
|
if this.QueueAckLevels != nil {
|
|
s = append(s, "QueueAckLevels: "+mapStringForQueueAckLevels+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *WorkflowExecutionInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 60)
|
|
s = append(s, "&persistence.WorkflowExecutionInfo{")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "ParentNamespaceId: "+fmt.Sprintf("%#v", this.ParentNamespaceId)+",\n")
|
|
s = append(s, "ParentWorkflowId: "+fmt.Sprintf("%#v", this.ParentWorkflowId)+",\n")
|
|
s = append(s, "ParentRunId: "+fmt.Sprintf("%#v", this.ParentRunId)+",\n")
|
|
s = append(s, "ParentInitiatedId: "+fmt.Sprintf("%#v", this.ParentInitiatedId)+",\n")
|
|
s = append(s, "CompletionEventBatchId: "+fmt.Sprintf("%#v", this.CompletionEventBatchId)+",\n")
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
s = append(s, "WorkflowTypeName: "+fmt.Sprintf("%#v", this.WorkflowTypeName)+",\n")
|
|
s = append(s, "WorkflowExecutionTimeout: "+fmt.Sprintf("%#v", this.WorkflowExecutionTimeout)+",\n")
|
|
s = append(s, "WorkflowRunTimeout: "+fmt.Sprintf("%#v", this.WorkflowRunTimeout)+",\n")
|
|
s = append(s, "DefaultWorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.DefaultWorkflowTaskTimeout)+",\n")
|
|
s = append(s, "LastEventTaskId: "+fmt.Sprintf("%#v", this.LastEventTaskId)+",\n")
|
|
s = append(s, "LastFirstEventId: "+fmt.Sprintf("%#v", this.LastFirstEventId)+",\n")
|
|
s = append(s, "LastWorkflowTaskStartedEventId: "+fmt.Sprintf("%#v", this.LastWorkflowTaskStartedEventId)+",\n")
|
|
s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n")
|
|
s = append(s, "LastUpdateTime: "+fmt.Sprintf("%#v", this.LastUpdateTime)+",\n")
|
|
s = append(s, "WorkflowTaskVersion: "+fmt.Sprintf("%#v", this.WorkflowTaskVersion)+",\n")
|
|
s = append(s, "WorkflowTaskScheduledEventId: "+fmt.Sprintf("%#v", this.WorkflowTaskScheduledEventId)+",\n")
|
|
s = append(s, "WorkflowTaskStartedEventId: "+fmt.Sprintf("%#v", this.WorkflowTaskStartedEventId)+",\n")
|
|
s = append(s, "WorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.WorkflowTaskTimeout)+",\n")
|
|
s = append(s, "WorkflowTaskAttempt: "+fmt.Sprintf("%#v", this.WorkflowTaskAttempt)+",\n")
|
|
s = append(s, "WorkflowTaskStartedTime: "+fmt.Sprintf("%#v", this.WorkflowTaskStartedTime)+",\n")
|
|
s = append(s, "WorkflowTaskScheduledTime: "+fmt.Sprintf("%#v", this.WorkflowTaskScheduledTime)+",\n")
|
|
s = append(s, "CancelRequested: "+fmt.Sprintf("%#v", this.CancelRequested)+",\n")
|
|
s = append(s, "WorkflowTaskOriginalScheduledTime: "+fmt.Sprintf("%#v", this.WorkflowTaskOriginalScheduledTime)+",\n")
|
|
s = append(s, "WorkflowTaskRequestId: "+fmt.Sprintf("%#v", this.WorkflowTaskRequestId)+",\n")
|
|
s = append(s, "CancelRequestId: "+fmt.Sprintf("%#v", this.CancelRequestId)+",\n")
|
|
s = append(s, "StickyTaskQueue: "+fmt.Sprintf("%#v", this.StickyTaskQueue)+",\n")
|
|
s = append(s, "StickyScheduleToStartTimeout: "+fmt.Sprintf("%#v", this.StickyScheduleToStartTimeout)+",\n")
|
|
s = append(s, "Attempt: "+fmt.Sprintf("%#v", this.Attempt)+",\n")
|
|
s = append(s, "RetryInitialInterval: "+fmt.Sprintf("%#v", this.RetryInitialInterval)+",\n")
|
|
s = append(s, "RetryMaximumInterval: "+fmt.Sprintf("%#v", this.RetryMaximumInterval)+",\n")
|
|
s = append(s, "RetryMaximumAttempts: "+fmt.Sprintf("%#v", this.RetryMaximumAttempts)+",\n")
|
|
s = append(s, "RetryBackoffCoefficient: "+fmt.Sprintf("%#v", this.RetryBackoffCoefficient)+",\n")
|
|
s = append(s, "WorkflowExecutionExpirationTime: "+fmt.Sprintf("%#v", this.WorkflowExecutionExpirationTime)+",\n")
|
|
s = append(s, "RetryNonRetryableErrorTypes: "+fmt.Sprintf("%#v", this.RetryNonRetryableErrorTypes)+",\n")
|
|
s = append(s, "HasRetryPolicy: "+fmt.Sprintf("%#v", this.HasRetryPolicy)+",\n")
|
|
s = append(s, "CronSchedule: "+fmt.Sprintf("%#v", this.CronSchedule)+",\n")
|
|
s = append(s, "SignalCount: "+fmt.Sprintf("%#v", this.SignalCount)+",\n")
|
|
if this.AutoResetPoints != nil {
|
|
s = append(s, "AutoResetPoints: "+fmt.Sprintf("%#v", this.AutoResetPoints)+",\n")
|
|
}
|
|
keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes))
|
|
for k, _ := range this.SearchAttributes {
|
|
keysForSearchAttributes = append(keysForSearchAttributes, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes)
|
|
mapStringForSearchAttributes := "map[string]*v11.Payload{"
|
|
for _, k := range keysForSearchAttributes {
|
|
mapStringForSearchAttributes += fmt.Sprintf("%#v: %#v,", k, this.SearchAttributes[k])
|
|
}
|
|
mapStringForSearchAttributes += "}"
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+mapStringForSearchAttributes+",\n")
|
|
}
|
|
keysForMemo := make([]string, 0, len(this.Memo))
|
|
for k, _ := range this.Memo {
|
|
keysForMemo = append(keysForMemo, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMemo)
|
|
mapStringForMemo := "map[string]*v11.Payload{"
|
|
for _, k := range keysForMemo {
|
|
mapStringForMemo += fmt.Sprintf("%#v: %#v,", k, this.Memo[k])
|
|
}
|
|
mapStringForMemo += "}"
|
|
if this.Memo != nil {
|
|
s = append(s, "Memo: "+mapStringForMemo+",\n")
|
|
}
|
|
if this.VersionHistories != nil {
|
|
s = append(s, "VersionHistories: "+fmt.Sprintf("%#v", this.VersionHistories)+",\n")
|
|
}
|
|
s = append(s, "FirstExecutionRunId: "+fmt.Sprintf("%#v", this.FirstExecutionRunId)+",\n")
|
|
if this.ExecutionStats != nil {
|
|
s = append(s, "ExecutionStats: "+fmt.Sprintf("%#v", this.ExecutionStats)+",\n")
|
|
}
|
|
s = append(s, "WorkflowRunExpirationTime: "+fmt.Sprintf("%#v", this.WorkflowRunExpirationTime)+",\n")
|
|
s = append(s, "LastFirstEventTxnId: "+fmt.Sprintf("%#v", this.LastFirstEventTxnId)+",\n")
|
|
s = append(s, "StateTransitionCount: "+fmt.Sprintf("%#v", this.StateTransitionCount)+",\n")
|
|
s = append(s, "ExecutionTime: "+fmt.Sprintf("%#v", this.ExecutionTime)+",\n")
|
|
s = append(s, "NewExecutionRunId: "+fmt.Sprintf("%#v", this.NewExecutionRunId)+",\n")
|
|
if this.ParentClock != nil {
|
|
s = append(s, "ParentClock: "+fmt.Sprintf("%#v", this.ParentClock)+",\n")
|
|
}
|
|
s = append(s, "ParentInitiatedVersion: "+fmt.Sprintf("%#v", this.ParentInitiatedVersion)+",\n")
|
|
s = append(s, "CloseTransferTaskId: "+fmt.Sprintf("%#v", this.CloseTransferTaskId)+",\n")
|
|
s = append(s, "CloseVisibilityTaskId: "+fmt.Sprintf("%#v", this.CloseVisibilityTaskId)+",\n")
|
|
s = append(s, "CloseTime: "+fmt.Sprintf("%#v", this.CloseTime)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ExecutionStats) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&persistence.ExecutionStats{")
|
|
s = append(s, "HistorySize: "+fmt.Sprintf("%#v", this.HistorySize)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *WorkflowExecutionState) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&persistence.WorkflowExecutionState{")
|
|
s = append(s, "CreateRequestId: "+fmt.Sprintf("%#v", this.CreateRequestId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n")
|
|
s = append(s, "Status: "+fmt.Sprintf("%#v", this.Status)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *TransferTaskInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 18)
|
|
s = append(s, "&persistence.TransferTaskInfo{")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "TaskType: "+fmt.Sprintf("%#v", this.TaskType)+",\n")
|
|
s = append(s, "TargetNamespaceId: "+fmt.Sprintf("%#v", this.TargetNamespaceId)+",\n")
|
|
s = append(s, "TargetWorkflowId: "+fmt.Sprintf("%#v", this.TargetWorkflowId)+",\n")
|
|
s = append(s, "TargetRunId: "+fmt.Sprintf("%#v", this.TargetRunId)+",\n")
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
s = append(s, "TargetChildWorkflowOnly: "+fmt.Sprintf("%#v", this.TargetChildWorkflowOnly)+",\n")
|
|
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "TaskId: "+fmt.Sprintf("%#v", this.TaskId)+",\n")
|
|
s = append(s, "VisibilityTime: "+fmt.Sprintf("%#v", this.VisibilityTime)+",\n")
|
|
s = append(s, "DeleteAfterClose: "+fmt.Sprintf("%#v", this.DeleteAfterClose)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ReplicationTaskInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 16)
|
|
s = append(s, "&persistence.ReplicationTaskInfo{")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "TaskType: "+fmt.Sprintf("%#v", this.TaskType)+",\n")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "FirstEventId: "+fmt.Sprintf("%#v", this.FirstEventId)+",\n")
|
|
s = append(s, "NextEventId: "+fmt.Sprintf("%#v", this.NextEventId)+",\n")
|
|
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
|
|
s = append(s, "BranchToken: "+fmt.Sprintf("%#v", this.BranchToken)+",\n")
|
|
s = append(s, "NewRunBranchToken: "+fmt.Sprintf("%#v", this.NewRunBranchToken)+",\n")
|
|
s = append(s, "TaskId: "+fmt.Sprintf("%#v", this.TaskId)+",\n")
|
|
s = append(s, "VisibilityTime: "+fmt.Sprintf("%#v", this.VisibilityTime)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *VisibilityTaskInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 13)
|
|
s = append(s, "&persistence.VisibilityTaskInfo{")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "TaskType: "+fmt.Sprintf("%#v", this.TaskType)+",\n")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "TaskId: "+fmt.Sprintf("%#v", this.TaskId)+",\n")
|
|
s = append(s, "VisibilityTime: "+fmt.Sprintf("%#v", this.VisibilityTime)+",\n")
|
|
s = append(s, "CloseTime: "+fmt.Sprintf("%#v", this.CloseTime)+",\n")
|
|
s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *TimerTaskInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 16)
|
|
s = append(s, "&persistence.TimerTaskInfo{")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "TaskType: "+fmt.Sprintf("%#v", this.TaskType)+",\n")
|
|
s = append(s, "TimeoutType: "+fmt.Sprintf("%#v", this.TimeoutType)+",\n")
|
|
s = append(s, "WorkflowBackoffType: "+fmt.Sprintf("%#v", this.WorkflowBackoffType)+",\n")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "ScheduleAttempt: "+fmt.Sprintf("%#v", this.ScheduleAttempt)+",\n")
|
|
s = append(s, "EventId: "+fmt.Sprintf("%#v", this.EventId)+",\n")
|
|
s = append(s, "TaskId: "+fmt.Sprintf("%#v", this.TaskId)+",\n")
|
|
s = append(s, "VisibilityTime: "+fmt.Sprintf("%#v", this.VisibilityTime)+",\n")
|
|
s = append(s, "BranchToken: "+fmt.Sprintf("%#v", this.BranchToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ActivityInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 34)
|
|
s = append(s, "&persistence.ActivityInfo{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "ScheduledEventBatchId: "+fmt.Sprintf("%#v", this.ScheduledEventBatchId)+",\n")
|
|
s = append(s, "ScheduledTime: "+fmt.Sprintf("%#v", this.ScheduledTime)+",\n")
|
|
s = append(s, "StartedEventId: "+fmt.Sprintf("%#v", this.StartedEventId)+",\n")
|
|
s = append(s, "StartedTime: "+fmt.Sprintf("%#v", this.StartedTime)+",\n")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "ScheduleToStartTimeout: "+fmt.Sprintf("%#v", this.ScheduleToStartTimeout)+",\n")
|
|
s = append(s, "ScheduleToCloseTimeout: "+fmt.Sprintf("%#v", this.ScheduleToCloseTimeout)+",\n")
|
|
s = append(s, "StartToCloseTimeout: "+fmt.Sprintf("%#v", this.StartToCloseTimeout)+",\n")
|
|
s = append(s, "HeartbeatTimeout: "+fmt.Sprintf("%#v", this.HeartbeatTimeout)+",\n")
|
|
s = append(s, "CancelRequested: "+fmt.Sprintf("%#v", this.CancelRequested)+",\n")
|
|
s = append(s, "CancelRequestId: "+fmt.Sprintf("%#v", this.CancelRequestId)+",\n")
|
|
s = append(s, "TimerTaskStatus: "+fmt.Sprintf("%#v", this.TimerTaskStatus)+",\n")
|
|
s = append(s, "Attempt: "+fmt.Sprintf("%#v", this.Attempt)+",\n")
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
s = append(s, "StartedIdentity: "+fmt.Sprintf("%#v", this.StartedIdentity)+",\n")
|
|
s = append(s, "HasRetryPolicy: "+fmt.Sprintf("%#v", this.HasRetryPolicy)+",\n")
|
|
s = append(s, "RetryInitialInterval: "+fmt.Sprintf("%#v", this.RetryInitialInterval)+",\n")
|
|
s = append(s, "RetryMaximumInterval: "+fmt.Sprintf("%#v", this.RetryMaximumInterval)+",\n")
|
|
s = append(s, "RetryMaximumAttempts: "+fmt.Sprintf("%#v", this.RetryMaximumAttempts)+",\n")
|
|
s = append(s, "RetryExpirationTime: "+fmt.Sprintf("%#v", this.RetryExpirationTime)+",\n")
|
|
s = append(s, "RetryBackoffCoefficient: "+fmt.Sprintf("%#v", this.RetryBackoffCoefficient)+",\n")
|
|
s = append(s, "RetryNonRetryableErrorTypes: "+fmt.Sprintf("%#v", this.RetryNonRetryableErrorTypes)+",\n")
|
|
if this.RetryLastFailure != nil {
|
|
s = append(s, "RetryLastFailure: "+fmt.Sprintf("%#v", this.RetryLastFailure)+",\n")
|
|
}
|
|
s = append(s, "RetryLastWorkerIdentity: "+fmt.Sprintf("%#v", this.RetryLastWorkerIdentity)+",\n")
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
|
|
if this.LastHeartbeatDetails != nil {
|
|
s = append(s, "LastHeartbeatDetails: "+fmt.Sprintf("%#v", this.LastHeartbeatDetails)+",\n")
|
|
}
|
|
s = append(s, "LastHeartbeatUpdateTime: "+fmt.Sprintf("%#v", this.LastHeartbeatUpdateTime)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *TimerInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&persistence.TimerInfo{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "StartedEventId: "+fmt.Sprintf("%#v", this.StartedEventId)+",\n")
|
|
s = append(s, "ExpiryTime: "+fmt.Sprintf("%#v", this.ExpiryTime)+",\n")
|
|
s = append(s, "TaskStatus: "+fmt.Sprintf("%#v", this.TaskStatus)+",\n")
|
|
s = append(s, "TimerId: "+fmt.Sprintf("%#v", this.TimerId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ChildExecutionInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 16)
|
|
s = append(s, "&persistence.ChildExecutionInfo{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "InitiatedEventBatchId: "+fmt.Sprintf("%#v", this.InitiatedEventBatchId)+",\n")
|
|
s = append(s, "StartedEventId: "+fmt.Sprintf("%#v", this.StartedEventId)+",\n")
|
|
s = append(s, "StartedWorkflowId: "+fmt.Sprintf("%#v", this.StartedWorkflowId)+",\n")
|
|
s = append(s, "StartedRunId: "+fmt.Sprintf("%#v", this.StartedRunId)+",\n")
|
|
s = append(s, "CreateRequestId: "+fmt.Sprintf("%#v", this.CreateRequestId)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowTypeName: "+fmt.Sprintf("%#v", this.WorkflowTypeName)+",\n")
|
|
s = append(s, "ParentClosePolicy: "+fmt.Sprintf("%#v", this.ParentClosePolicy)+",\n")
|
|
s = append(s, "InitiatedEventId: "+fmt.Sprintf("%#v", this.InitiatedEventId)+",\n")
|
|
if this.Clock != nil {
|
|
s = append(s, "Clock: "+fmt.Sprintf("%#v", this.Clock)+",\n")
|
|
}
|
|
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RequestCancelInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&persistence.RequestCancelInfo{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "InitiatedEventBatchId: "+fmt.Sprintf("%#v", this.InitiatedEventBatchId)+",\n")
|
|
s = append(s, "CancelRequestId: "+fmt.Sprintf("%#v", this.CancelRequestId)+",\n")
|
|
s = append(s, "InitiatedEventId: "+fmt.Sprintf("%#v", this.InitiatedEventId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalInfo) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&persistence.SignalInfo{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "InitiatedEventBatchId: "+fmt.Sprintf("%#v", this.InitiatedEventBatchId)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "InitiatedEventId: "+fmt.Sprintf("%#v", this.InitiatedEventId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *Checksum) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 7)
|
|
s = append(s, "&persistence.Checksum{")
|
|
s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n")
|
|
s = append(s, "Flavor: "+fmt.Sprintf("%#v", this.Flavor)+",\n")
|
|
s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *QueueAckLevel) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&persistence.QueueAckLevel{")
|
|
s = append(s, "AckLevel: "+fmt.Sprintf("%#v", this.AckLevel)+",\n")
|
|
keysForClusterAckLevel := make([]string, 0, len(this.ClusterAckLevel))
|
|
for k, _ := range this.ClusterAckLevel {
|
|
keysForClusterAckLevel = append(keysForClusterAckLevel, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForClusterAckLevel)
|
|
mapStringForClusterAckLevel := "map[string]int64{"
|
|
for _, k := range keysForClusterAckLevel {
|
|
mapStringForClusterAckLevel += fmt.Sprintf("%#v: %#v,", k, this.ClusterAckLevel[k])
|
|
}
|
|
mapStringForClusterAckLevel += "}"
|
|
if this.ClusterAckLevel != nil {
|
|
s = append(s, "ClusterAckLevel: "+mapStringForClusterAckLevel+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func valueToGoStringExecutions(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 *ShardInfo) 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 *ShardInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ShardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.QueueAckLevels) > 0 {
|
|
for k := range m.QueueAckLevels {
|
|
v := m.QueueAckLevels[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i = encodeVarintExecutions(dAtA, i, uint64(k))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
i = encodeVarintExecutions(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
}
|
|
if len(m.ReplicationDlqAckLevel) > 0 {
|
|
for k := range m.ReplicationDlqAckLevel {
|
|
v := m.ReplicationDlqAckLevel[k]
|
|
baseI := i
|
|
i = encodeVarintExecutions(dAtA, i, uint64(v))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintExecutions(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
}
|
|
if m.NamespaceNotificationVersion != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.NamespaceNotificationVersion))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
if m.UpdateTime != nil {
|
|
n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdateTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdateTime):])
|
|
if err2 != nil {
|
|
return 0, err2
|
|
}
|
|
i -= n2
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n2))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.StolenSinceRenew != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.StolenSinceRenew))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if len(m.Owner) > 0 {
|
|
i -= len(m.Owner)
|
|
copy(dAtA[i:], m.Owner)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.Owner)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.RangeId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.RangeId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.ShardId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ShardId))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) 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 *WorkflowExecutionInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CloseTime != nil {
|
|
n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CloseTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CloseTime):])
|
|
if err3 != nil {
|
|
return 0, err3
|
|
}
|
|
i -= n3
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n3))
|
|
i--
|
|
dAtA[i] = 0x4
|
|
i--
|
|
dAtA[i] = 0x92
|
|
}
|
|
if m.CloseVisibilityTaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.CloseVisibilityTaskId))
|
|
i--
|
|
dAtA[i] = 0x4
|
|
i--
|
|
dAtA[i] = 0x88
|
|
}
|
|
if m.CloseTransferTaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.CloseTransferTaskId))
|
|
i--
|
|
dAtA[i] = 0x4
|
|
i--
|
|
dAtA[i] = 0x80
|
|
}
|
|
if m.ParentInitiatedVersion != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ParentInitiatedVersion))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xf8
|
|
}
|
|
if m.ParentClock != nil {
|
|
{
|
|
size, err := m.ParentClock.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xf2
|
|
}
|
|
if len(m.NewExecutionRunId) > 0 {
|
|
i -= len(m.NewExecutionRunId)
|
|
copy(dAtA[i:], m.NewExecutionRunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NewExecutionRunId)))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xea
|
|
}
|
|
if m.ExecutionTime != nil {
|
|
n5, err5 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ExecutionTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ExecutionTime):])
|
|
if err5 != nil {
|
|
return 0, err5
|
|
}
|
|
i -= n5
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n5))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xe2
|
|
}
|
|
if m.StateTransitionCount != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.StateTransitionCount))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xd8
|
|
}
|
|
if m.LastFirstEventTxnId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.LastFirstEventTxnId))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xd0
|
|
}
|
|
if m.WorkflowRunExpirationTime != nil {
|
|
n6, err6 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowRunExpirationTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowRunExpirationTime):])
|
|
if err6 != nil {
|
|
return 0, err6
|
|
}
|
|
i -= n6
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n6))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xca
|
|
}
|
|
if m.ExecutionStats != nil {
|
|
{
|
|
size, err := m.ExecutionStats.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xc2
|
|
}
|
|
if len(m.FirstExecutionRunId) > 0 {
|
|
i -= len(m.FirstExecutionRunId)
|
|
copy(dAtA[i:], m.FirstExecutionRunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.FirstExecutionRunId)))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xba
|
|
}
|
|
if m.VersionHistories != nil {
|
|
{
|
|
size, err := m.VersionHistories.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xb2
|
|
}
|
|
if len(m.Memo) > 0 {
|
|
for k := range m.Memo {
|
|
v := m.Memo[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintExecutions(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xaa
|
|
}
|
|
}
|
|
if len(m.SearchAttributes) > 0 {
|
|
for k := range m.SearchAttributes {
|
|
v := m.SearchAttributes[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintExecutions(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0xa2
|
|
}
|
|
}
|
|
if m.AutoResetPoints != nil {
|
|
{
|
|
size, err := m.AutoResetPoints.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3
|
|
i--
|
|
dAtA[i] = 0x9a
|
|
}
|
|
if m.SignalCount != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.SignalCount))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xf0
|
|
}
|
|
if len(m.CronSchedule) > 0 {
|
|
i -= len(m.CronSchedule)
|
|
copy(dAtA[i:], m.CronSchedule)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.CronSchedule)))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xda
|
|
}
|
|
if m.HasRetryPolicy {
|
|
i--
|
|
if m.HasRetryPolicy {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xd0
|
|
}
|
|
if len(m.RetryNonRetryableErrorTypes) > 0 {
|
|
for iNdEx := len(m.RetryNonRetryableErrorTypes) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.RetryNonRetryableErrorTypes[iNdEx])
|
|
copy(dAtA[i:], m.RetryNonRetryableErrorTypes[iNdEx])
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RetryNonRetryableErrorTypes[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xca
|
|
}
|
|
}
|
|
if m.WorkflowExecutionExpirationTime != nil {
|
|
n12, err12 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowExecutionExpirationTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowExecutionExpirationTime):])
|
|
if err12 != nil {
|
|
return 0, err12
|
|
}
|
|
i -= n12
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n12))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xc2
|
|
}
|
|
if m.RetryBackoffCoefficient != 0 {
|
|
i -= 8
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.RetryBackoffCoefficient))))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xb9
|
|
}
|
|
if m.RetryMaximumAttempts != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.RetryMaximumAttempts))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xb0
|
|
}
|
|
if m.RetryMaximumInterval != nil {
|
|
n13, err13 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.RetryMaximumInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryMaximumInterval):])
|
|
if err13 != nil {
|
|
return 0, err13
|
|
}
|
|
i -= n13
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n13))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xaa
|
|
}
|
|
if m.RetryInitialInterval != nil {
|
|
n14, err14 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.RetryInitialInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryInitialInterval):])
|
|
if err14 != nil {
|
|
return 0, err14
|
|
}
|
|
i -= n14
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n14))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0xa2
|
|
}
|
|
if m.Attempt != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Attempt))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x98
|
|
}
|
|
if m.StickyScheduleToStartTimeout != nil {
|
|
n15, err15 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StickyScheduleToStartTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StickyScheduleToStartTimeout):])
|
|
if err15 != nil {
|
|
return 0, err15
|
|
}
|
|
i -= n15
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n15))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x92
|
|
}
|
|
if len(m.StickyTaskQueue) > 0 {
|
|
i -= len(m.StickyTaskQueue)
|
|
copy(dAtA[i:], m.StickyTaskQueue)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.StickyTaskQueue)))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x8a
|
|
}
|
|
if len(m.CancelRequestId) > 0 {
|
|
i -= len(m.CancelRequestId)
|
|
copy(dAtA[i:], m.CancelRequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.CancelRequestId)))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if len(m.WorkflowTaskRequestId) > 0 {
|
|
i -= len(m.WorkflowTaskRequestId)
|
|
copy(dAtA[i:], m.WorkflowTaskRequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowTaskRequestId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xfa
|
|
}
|
|
if m.WorkflowTaskOriginalScheduledTime != nil {
|
|
n16, err16 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowTaskOriginalScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskOriginalScheduledTime):])
|
|
if err16 != nil {
|
|
return 0, err16
|
|
}
|
|
i -= n16
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n16))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xf2
|
|
}
|
|
if m.CancelRequested {
|
|
i--
|
|
if m.CancelRequested {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xe8
|
|
}
|
|
if m.WorkflowTaskScheduledTime != nil {
|
|
n17, err17 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowTaskScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskScheduledTime):])
|
|
if err17 != nil {
|
|
return 0, err17
|
|
}
|
|
i -= n17
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n17))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xe2
|
|
}
|
|
if m.WorkflowTaskStartedTime != nil {
|
|
n18, err18 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowTaskStartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskStartedTime):])
|
|
if err18 != nil {
|
|
return 0, err18
|
|
}
|
|
i -= n18
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n18))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xda
|
|
}
|
|
if m.WorkflowTaskAttempt != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.WorkflowTaskAttempt))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xd0
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
n19, err19 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout):])
|
|
if err19 != nil {
|
|
return 0, err19
|
|
}
|
|
i -= n19
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n19))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xca
|
|
}
|
|
if m.WorkflowTaskStartedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.WorkflowTaskStartedEventId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xc0
|
|
}
|
|
if m.WorkflowTaskScheduledEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.WorkflowTaskScheduledEventId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xb8
|
|
}
|
|
if m.WorkflowTaskVersion != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.WorkflowTaskVersion))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xb0
|
|
}
|
|
if m.LastUpdateTime != nil {
|
|
n20, err20 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.LastUpdateTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.LastUpdateTime):])
|
|
if err20 != nil {
|
|
return 0, err20
|
|
}
|
|
i -= n20
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n20))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xaa
|
|
}
|
|
if m.StartTime != nil {
|
|
n21, err21 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartTime):])
|
|
if err21 != nil {
|
|
return 0, err21
|
|
}
|
|
i -= n21
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n21))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xa2
|
|
}
|
|
if m.LastWorkflowTaskStartedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.LastWorkflowTaskStartedEventId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x98
|
|
}
|
|
if m.LastFirstEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.LastFirstEventId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x90
|
|
}
|
|
if m.LastEventTaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.LastEventTaskId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x88
|
|
}
|
|
if m.DefaultWorkflowTaskTimeout != nil {
|
|
n22, err22 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.DefaultWorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.DefaultWorkflowTaskTimeout):])
|
|
if err22 != nil {
|
|
return 0, err22
|
|
}
|
|
i -= n22
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n22))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
n23, err23 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowRunTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout):])
|
|
if err23 != nil {
|
|
return 0, err23
|
|
}
|
|
i -= n23
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n23))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
n24, err24 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowExecutionTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout):])
|
|
if err24 != nil {
|
|
return 0, err24
|
|
}
|
|
i -= n24
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n24))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if len(m.WorkflowTypeName) > 0 {
|
|
i -= len(m.WorkflowTypeName)
|
|
copy(dAtA[i:], m.WorkflowTypeName)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowTypeName)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.TaskQueue) > 0 {
|
|
i -= len(m.TaskQueue)
|
|
copy(dAtA[i:], m.TaskQueue)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TaskQueue)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.CompletionEventBatchId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.CompletionEventBatchId))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if m.ParentInitiatedId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ParentInitiatedId))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if len(m.ParentRunId) > 0 {
|
|
i -= len(m.ParentRunId)
|
|
copy(dAtA[i:], m.ParentRunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.ParentRunId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.ParentWorkflowId) > 0 {
|
|
i -= len(m.ParentWorkflowId)
|
|
copy(dAtA[i:], m.ParentWorkflowId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.ParentWorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.ParentNamespaceId) > 0 {
|
|
i -= len(m.ParentNamespaceId)
|
|
copy(dAtA[i:], m.ParentNamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.ParentNamespaceId)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowId) > 0 {
|
|
i -= len(m.WorkflowId)
|
|
copy(dAtA[i:], m.WorkflowId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ExecutionStats) 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 *ExecutionStats) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ExecutionStats) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.HistorySize != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.HistorySize))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) 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 *WorkflowExecutionState) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Status != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Status))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.State != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.State))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RunId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.CreateRequestId) > 0 {
|
|
i -= len(m.CreateRequestId)
|
|
copy(dAtA[i:], m.CreateRequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.CreateRequestId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TransferTaskInfo) 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 *TransferTaskInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TransferTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.DeleteAfterClose {
|
|
i--
|
|
if m.DeleteAfterClose {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x78
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
n25, err25 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VisibilityTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime):])
|
|
if err25 != nil {
|
|
return 0, err25
|
|
}
|
|
i -= n25
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n25))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.TaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskId))
|
|
i--
|
|
dAtA[i] = 0x60
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x58
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ScheduledEventId))
|
|
i--
|
|
dAtA[i] = 0x50
|
|
}
|
|
if m.TargetChildWorkflowOnly {
|
|
i--
|
|
if m.TargetChildWorkflowOnly {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
if len(m.TaskQueue) > 0 {
|
|
i -= len(m.TaskQueue)
|
|
copy(dAtA[i:], m.TaskQueue)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TaskQueue)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if len(m.TargetRunId) > 0 {
|
|
i -= len(m.TargetRunId)
|
|
copy(dAtA[i:], m.TargetRunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TargetRunId)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.TargetWorkflowId) > 0 {
|
|
i -= len(m.TargetWorkflowId)
|
|
copy(dAtA[i:], m.TargetWorkflowId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TargetWorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.TargetNamespaceId) > 0 {
|
|
i -= len(m.TargetNamespaceId)
|
|
copy(dAtA[i:], m.TargetNamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TargetNamespaceId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskType))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintExecutions(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 = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) 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 *ReplicationTaskInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.VisibilityTime != nil {
|
|
n26, err26 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VisibilityTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime):])
|
|
if err26 != nil {
|
|
return 0, err26
|
|
}
|
|
i -= n26
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n26))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.TaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskId))
|
|
i--
|
|
dAtA[i] = 0x78
|
|
}
|
|
if len(m.NewRunBranchToken) > 0 {
|
|
i -= len(m.NewRunBranchToken)
|
|
copy(dAtA[i:], m.NewRunBranchToken)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NewRunBranchToken)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if len(m.BranchToken) > 0 {
|
|
i -= len(m.BranchToken)
|
|
copy(dAtA[i:], m.BranchToken)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.BranchToken)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ScheduledEventId))
|
|
i--
|
|
dAtA[i] = 0x40
|
|
}
|
|
if m.NextEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.NextEventId))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if m.FirstEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.FirstEventId))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.TaskType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskType))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintExecutions(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 = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) 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 *VisibilityTaskInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.StartTime != nil {
|
|
n27, err27 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartTime):])
|
|
if err27 != nil {
|
|
return 0, err27
|
|
}
|
|
i -= n27
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n27))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.CloseTime != nil {
|
|
n28, err28 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CloseTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CloseTime):])
|
|
if err28 != nil {
|
|
return 0, err28
|
|
}
|
|
i -= n28
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n28))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
n29, err29 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VisibilityTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime):])
|
|
if err29 != nil {
|
|
return 0, err29
|
|
}
|
|
i -= n29
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n29))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.TaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskId))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.TaskType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskType))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintExecutions(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 = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TimerTaskInfo) 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 *TimerTaskInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TimerTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.BranchToken) > 0 {
|
|
i -= len(m.BranchToken)
|
|
copy(dAtA[i:], m.BranchToken)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.BranchToken)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
n30, err30 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VisibilityTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime):])
|
|
if err30 != nil {
|
|
return 0, err30
|
|
}
|
|
i -= n30
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n30))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.TaskId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskId))
|
|
i--
|
|
dAtA[i] = 0x50
|
|
}
|
|
if m.EventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.EventId))
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
if m.ScheduleAttempt != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ScheduleAttempt))
|
|
i--
|
|
dAtA[i] = 0x40
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if m.WorkflowBackoffType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.WorkflowBackoffType))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.TimeoutType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TimeoutType))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.TaskType != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskType))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintExecutions(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 = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ActivityInfo) 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 *ActivityInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ActivityInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.LastHeartbeatUpdateTime != nil {
|
|
n31, err31 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.LastHeartbeatUpdateTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.LastHeartbeatUpdateTime):])
|
|
if err31 != nil {
|
|
return 0, err31
|
|
}
|
|
i -= n31
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n31))
|
|
i--
|
|
dAtA[i] = 0x2
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.LastHeartbeatDetails != nil {
|
|
{
|
|
size, err := m.LastHeartbeatDetails.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xfa
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ScheduledEventId))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xf0
|
|
}
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xea
|
|
}
|
|
if len(m.RetryLastWorkerIdentity) > 0 {
|
|
i -= len(m.RetryLastWorkerIdentity)
|
|
copy(dAtA[i:], m.RetryLastWorkerIdentity)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RetryLastWorkerIdentity)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xe2
|
|
}
|
|
if m.RetryLastFailure != nil {
|
|
{
|
|
size, err := m.RetryLastFailure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xda
|
|
}
|
|
if len(m.RetryNonRetryableErrorTypes) > 0 {
|
|
for iNdEx := len(m.RetryNonRetryableErrorTypes) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.RetryNonRetryableErrorTypes[iNdEx])
|
|
copy(dAtA[i:], m.RetryNonRetryableErrorTypes[iNdEx])
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RetryNonRetryableErrorTypes[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xd2
|
|
}
|
|
}
|
|
if m.RetryBackoffCoefficient != 0 {
|
|
i -= 8
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.RetryBackoffCoefficient))))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xc9
|
|
}
|
|
if m.RetryExpirationTime != nil {
|
|
n34, err34 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.RetryExpirationTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.RetryExpirationTime):])
|
|
if err34 != nil {
|
|
return 0, err34
|
|
}
|
|
i -= n34
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n34))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xc2
|
|
}
|
|
if m.RetryMaximumAttempts != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.RetryMaximumAttempts))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xb8
|
|
}
|
|
if m.RetryMaximumInterval != nil {
|
|
n35, err35 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.RetryMaximumInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryMaximumInterval):])
|
|
if err35 != nil {
|
|
return 0, err35
|
|
}
|
|
i -= n35
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n35))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xb2
|
|
}
|
|
if m.RetryInitialInterval != nil {
|
|
n36, err36 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.RetryInitialInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryInitialInterval):])
|
|
if err36 != nil {
|
|
return 0, err36
|
|
}
|
|
i -= n36
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n36))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xaa
|
|
}
|
|
if m.HasRetryPolicy {
|
|
i--
|
|
if m.HasRetryPolicy {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0xa0
|
|
}
|
|
if len(m.StartedIdentity) > 0 {
|
|
i -= len(m.StartedIdentity)
|
|
copy(dAtA[i:], m.StartedIdentity)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.StartedIdentity)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x9a
|
|
}
|
|
if len(m.TaskQueue) > 0 {
|
|
i -= len(m.TaskQueue)
|
|
copy(dAtA[i:], m.TaskQueue)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.TaskQueue)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x92
|
|
}
|
|
if m.Attempt != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Attempt))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x88
|
|
}
|
|
if m.TimerTaskStatus != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TimerTaskStatus))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x80
|
|
}
|
|
if m.CancelRequestId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.CancelRequestId))
|
|
i--
|
|
dAtA[i] = 0x78
|
|
}
|
|
if m.CancelRequested {
|
|
i--
|
|
if m.CancelRequested {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x70
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
n37, err37 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.HeartbeatTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout):])
|
|
if err37 != nil {
|
|
return 0, err37
|
|
}
|
|
i -= n37
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n37))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
n38, err38 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StartToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout):])
|
|
if err38 != nil {
|
|
return 0, err38
|
|
}
|
|
i -= n38
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n38))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
n39, err39 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout):])
|
|
if err39 != nil {
|
|
return 0, err39
|
|
}
|
|
i -= n39
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n39))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.ScheduleToStartTimeout != nil {
|
|
n40, err40 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToStartTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout):])
|
|
if err40 != nil {
|
|
return 0, err40
|
|
}
|
|
i -= n40
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n40))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.StartedTime != nil {
|
|
n41, err41 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime):])
|
|
if err41 != nil {
|
|
return 0, err41
|
|
}
|
|
i -= n41
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n41))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.StartedEventId))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
n42, err42 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime):])
|
|
if err42 != nil {
|
|
return 0, err42
|
|
}
|
|
i -= n42
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n42))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.ScheduledEventBatchId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ScheduledEventBatchId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TimerInfo) 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 *TimerInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TimerInfo) 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 = encodeVarintExecutions(dAtA, i, uint64(len(m.TimerId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskStatus != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.TaskStatus))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.ExpiryTime != nil {
|
|
n43, err43 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ExpiryTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ExpiryTime):])
|
|
if err43 != nil {
|
|
return 0, err43
|
|
}
|
|
i -= n43
|
|
i = encodeVarintExecutions(dAtA, i, uint64(n43))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.StartedEventId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) 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 *ChildExecutionInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NamespaceId) > 0 {
|
|
i -= len(m.NamespaceId)
|
|
copy(dAtA[i:], m.NamespaceId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.NamespaceId)))
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
if m.Clock != nil {
|
|
{
|
|
size, err := m.Clock.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintExecutions(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.InitiatedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventId))
|
|
i--
|
|
dAtA[i] = 0x60
|
|
}
|
|
if m.ParentClosePolicy != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.ParentClosePolicy))
|
|
i--
|
|
dAtA[i] = 0x58
|
|
}
|
|
if len(m.WorkflowTypeName) > 0 {
|
|
i -= len(m.WorkflowTypeName)
|
|
copy(dAtA[i:], m.WorkflowTypeName)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.WorkflowTypeName)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if len(m.CreateRequestId) > 0 {
|
|
i -= len(m.CreateRequestId)
|
|
copy(dAtA[i:], m.CreateRequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.CreateRequestId)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if len(m.StartedRunId) > 0 {
|
|
i -= len(m.StartedRunId)
|
|
copy(dAtA[i:], m.StartedRunId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.StartedRunId)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.StartedWorkflowId) > 0 {
|
|
i -= len(m.StartedWorkflowId)
|
|
copy(dAtA[i:], m.StartedWorkflowId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.StartedWorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.StartedEventId))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventBatchId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RequestCancelInfo) 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 *RequestCancelInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RequestCancelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.InitiatedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventId))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.CancelRequestId) > 0 {
|
|
i -= len(m.CancelRequestId)
|
|
copy(dAtA[i:], m.CancelRequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.CancelRequestId)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventBatchId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalInfo) 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 *SignalInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.InitiatedEventId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventId))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.InitiatedEventBatchId))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *Checksum) 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 *Checksum) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *Checksum) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Value) > 0 {
|
|
i -= len(m.Value)
|
|
copy(dAtA[i:], m.Value)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(m.Value)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Flavor != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Flavor))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if m.Version != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.Version))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *QueueAckLevel) 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 *QueueAckLevel) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *QueueAckLevel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ClusterAckLevel) > 0 {
|
|
for k := range m.ClusterAckLevel {
|
|
v := m.ClusterAckLevel[k]
|
|
baseI := i
|
|
i = encodeVarintExecutions(dAtA, i, uint64(v))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintExecutions(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintExecutions(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.AckLevel != 0 {
|
|
i = encodeVarintExecutions(dAtA, i, uint64(m.AckLevel))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func encodeVarintExecutions(dAtA []byte, offset int, v uint64) int {
|
|
offset -= sovExecutions(v)
|
|
base := offset
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return base
|
|
}
|
|
func (m *ShardInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ShardId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ShardId))
|
|
}
|
|
if m.RangeId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.RangeId))
|
|
}
|
|
l = len(m.Owner)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.StolenSinceRenew != 0 {
|
|
n += 1 + sovExecutions(uint64(m.StolenSinceRenew))
|
|
}
|
|
if m.UpdateTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdateTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.NamespaceNotificationVersion != 0 {
|
|
n += 1 + sovExecutions(uint64(m.NamespaceNotificationVersion))
|
|
}
|
|
if len(m.ReplicationDlqAckLevel) > 0 {
|
|
for k, v := range m.ReplicationDlqAckLevel {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovExecutions(uint64(len(k))) + 1 + sovExecutions(uint64(v))
|
|
n += mapEntrySize + 1 + sovExecutions(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.QueueAckLevels) > 0 {
|
|
for k, v := range m.QueueAckLevels {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovExecutions(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + sovExecutions(uint64(k)) + l
|
|
n += mapEntrySize + 2 + sovExecutions(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *WorkflowExecutionInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.ParentNamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.ParentWorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.ParentRunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ParentInitiatedId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ParentInitiatedId))
|
|
}
|
|
if m.CompletionEventBatchId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.CompletionEventBatchId))
|
|
}
|
|
l = len(m.TaskQueue)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowTypeName)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.DefaultWorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.DefaultWorkflowTaskTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.LastEventTaskId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.LastEventTaskId))
|
|
}
|
|
if m.LastFirstEventId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.LastFirstEventId))
|
|
}
|
|
if m.LastWorkflowTaskStartedEventId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.LastWorkflowTaskStartedEventId))
|
|
}
|
|
if m.StartTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.LastUpdateTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.LastUpdateTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowTaskVersion != 0 {
|
|
n += 2 + sovExecutions(uint64(m.WorkflowTaskVersion))
|
|
}
|
|
if m.WorkflowTaskScheduledEventId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.WorkflowTaskScheduledEventId))
|
|
}
|
|
if m.WorkflowTaskStartedEventId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.WorkflowTaskStartedEventId))
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowTaskAttempt != 0 {
|
|
n += 2 + sovExecutions(uint64(m.WorkflowTaskAttempt))
|
|
}
|
|
if m.WorkflowTaskStartedTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskStartedTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowTaskScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskScheduledTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.CancelRequested {
|
|
n += 3
|
|
}
|
|
if m.WorkflowTaskOriginalScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowTaskOriginalScheduledTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowTaskRequestId)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.CancelRequestId)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.StickyTaskQueue)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.StickyScheduleToStartTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StickyScheduleToStartTimeout)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.Attempt != 0 {
|
|
n += 2 + sovExecutions(uint64(m.Attempt))
|
|
}
|
|
if m.RetryInitialInterval != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryInitialInterval)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.RetryMaximumInterval != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryMaximumInterval)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.RetryMaximumAttempts != 0 {
|
|
n += 2 + sovExecutions(uint64(m.RetryMaximumAttempts))
|
|
}
|
|
if m.RetryBackoffCoefficient != 0 {
|
|
n += 10
|
|
}
|
|
if m.WorkflowExecutionExpirationTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowExecutionExpirationTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if len(m.RetryNonRetryableErrorTypes) > 0 {
|
|
for _, s := range m.RetryNonRetryableErrorTypes {
|
|
l = len(s)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
}
|
|
if m.HasRetryPolicy {
|
|
n += 3
|
|
}
|
|
l = len(m.CronSchedule)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.SignalCount != 0 {
|
|
n += 2 + sovExecutions(uint64(m.SignalCount))
|
|
}
|
|
if m.AutoResetPoints != nil {
|
|
l = m.AutoResetPoints.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if len(m.SearchAttributes) > 0 {
|
|
for k, v := range m.SearchAttributes {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovExecutions(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovExecutions(uint64(len(k))) + l
|
|
n += mapEntrySize + 2 + sovExecutions(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Memo) > 0 {
|
|
for k, v := range m.Memo {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovExecutions(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovExecutions(uint64(len(k))) + l
|
|
n += mapEntrySize + 2 + sovExecutions(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.VersionHistories != nil {
|
|
l = m.VersionHistories.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.FirstExecutionRunId)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ExecutionStats != nil {
|
|
l = m.ExecutionStats.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.WorkflowRunExpirationTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowRunExpirationTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.LastFirstEventTxnId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.LastFirstEventTxnId))
|
|
}
|
|
if m.StateTransitionCount != 0 {
|
|
n += 2 + sovExecutions(uint64(m.StateTransitionCount))
|
|
}
|
|
if m.ExecutionTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.ExecutionTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.NewExecutionRunId)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ParentClock != nil {
|
|
l = m.ParentClock.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ParentInitiatedVersion != 0 {
|
|
n += 2 + sovExecutions(uint64(m.ParentInitiatedVersion))
|
|
}
|
|
if m.CloseTransferTaskId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.CloseTransferTaskId))
|
|
}
|
|
if m.CloseVisibilityTaskId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.CloseVisibilityTaskId))
|
|
}
|
|
if m.CloseTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CloseTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ExecutionStats) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.HistorySize != 0 {
|
|
n += 1 + sovExecutions(uint64(m.HistorySize))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *WorkflowExecutionState) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.CreateRequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.State != 0 {
|
|
n += 1 + sovExecutions(uint64(m.State))
|
|
}
|
|
if m.Status != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Status))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TransferTaskInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskType))
|
|
}
|
|
l = len(m.TargetNamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.TargetWorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.TargetRunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.TaskQueue)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TargetChildWorkflowOnly {
|
|
n += 2
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ScheduledEventId))
|
|
}
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.TaskId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskId))
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.DeleteAfterClose {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ReplicationTaskInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskType))
|
|
}
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.FirstEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.FirstEventId))
|
|
}
|
|
if m.NextEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.NextEventId))
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ScheduledEventId))
|
|
}
|
|
l = len(m.BranchToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.NewRunBranchToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskId))
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *VisibilityTaskInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskType))
|
|
}
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.TaskId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskId))
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.CloseTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CloseTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.StartTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TimerTaskInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskType))
|
|
}
|
|
if m.TimeoutType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TimeoutType))
|
|
}
|
|
if m.WorkflowBackoffType != 0 {
|
|
n += 1 + sovExecutions(uint64(m.WorkflowBackoffType))
|
|
}
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.ScheduleAttempt != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ScheduleAttempt))
|
|
}
|
|
if m.EventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.EventId))
|
|
}
|
|
if m.TaskId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskId))
|
|
}
|
|
if m.VisibilityTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VisibilityTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.BranchToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ActivityInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.ScheduledEventBatchId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ScheduledEventBatchId))
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.StartedEventId))
|
|
}
|
|
if m.StartedTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ScheduleToStartTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.CancelRequested {
|
|
n += 2
|
|
}
|
|
if m.CancelRequestId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.CancelRequestId))
|
|
}
|
|
if m.TimerTaskStatus != 0 {
|
|
n += 2 + sovExecutions(uint64(m.TimerTaskStatus))
|
|
}
|
|
if m.Attempt != 0 {
|
|
n += 2 + sovExecutions(uint64(m.Attempt))
|
|
}
|
|
l = len(m.TaskQueue)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.StartedIdentity)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.HasRetryPolicy {
|
|
n += 3
|
|
}
|
|
if m.RetryInitialInterval != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryInitialInterval)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.RetryMaximumInterval != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.RetryMaximumInterval)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.RetryMaximumAttempts != 0 {
|
|
n += 2 + sovExecutions(uint64(m.RetryMaximumAttempts))
|
|
}
|
|
if m.RetryExpirationTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.RetryExpirationTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.RetryBackoffCoefficient != 0 {
|
|
n += 10
|
|
}
|
|
if len(m.RetryNonRetryableErrorTypes) > 0 {
|
|
for _, s := range m.RetryNonRetryableErrorTypes {
|
|
l = len(s)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
}
|
|
if m.RetryLastFailure != nil {
|
|
l = m.RetryLastFailure.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.RetryLastWorkerIdentity)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ScheduledEventId != 0 {
|
|
n += 2 + sovExecutions(uint64(m.ScheduledEventId))
|
|
}
|
|
if m.LastHeartbeatDetails != nil {
|
|
l = m.LastHeartbeatDetails.Size()
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.LastHeartbeatUpdateTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.LastHeartbeatUpdateTime)
|
|
n += 2 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TimerInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.StartedEventId))
|
|
}
|
|
if m.ExpiryTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.ExpiryTime)
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.TaskStatus != 0 {
|
|
n += 1 + sovExecutions(uint64(m.TaskStatus))
|
|
}
|
|
l = len(m.TimerId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ChildExecutionInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventBatchId))
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.StartedEventId))
|
|
}
|
|
l = len(m.StartedWorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.StartedRunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.CreateRequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.WorkflowTypeName)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.ParentClosePolicy != 0 {
|
|
n += 1 + sovExecutions(uint64(m.ParentClosePolicy))
|
|
}
|
|
if m.InitiatedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventId))
|
|
}
|
|
if m.Clock != nil {
|
|
l = m.Clock.Size()
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
l = len(m.NamespaceId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RequestCancelInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventBatchId))
|
|
}
|
|
l = len(m.CancelRequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.InitiatedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventId))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SignalInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.InitiatedEventBatchId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventBatchId))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
if m.InitiatedEventId != 0 {
|
|
n += 1 + sovExecutions(uint64(m.InitiatedEventId))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Checksum) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Version != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Version))
|
|
}
|
|
if m.Flavor != 0 {
|
|
n += 1 + sovExecutions(uint64(m.Flavor))
|
|
}
|
|
l = len(m.Value)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecutions(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *QueueAckLevel) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.AckLevel != 0 {
|
|
n += 1 + sovExecutions(uint64(m.AckLevel))
|
|
}
|
|
if len(m.ClusterAckLevel) > 0 {
|
|
for k, v := range m.ClusterAckLevel {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovExecutions(uint64(len(k))) + 1 + sovExecutions(uint64(v))
|
|
n += mapEntrySize + 1 + sovExecutions(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovExecutions(x uint64) (n int) {
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
}
|
|
func sozExecutions(x uint64) (n int) {
|
|
return sovExecutions(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *ShardInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForReplicationDlqAckLevel := make([]string, 0, len(this.ReplicationDlqAckLevel))
|
|
for k, _ := range this.ReplicationDlqAckLevel {
|
|
keysForReplicationDlqAckLevel = append(keysForReplicationDlqAckLevel, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForReplicationDlqAckLevel)
|
|
mapStringForReplicationDlqAckLevel := "map[string]int64{"
|
|
for _, k := range keysForReplicationDlqAckLevel {
|
|
mapStringForReplicationDlqAckLevel += fmt.Sprintf("%v: %v,", k, this.ReplicationDlqAckLevel[k])
|
|
}
|
|
mapStringForReplicationDlqAckLevel += "}"
|
|
keysForQueueAckLevels := make([]int32, 0, len(this.QueueAckLevels))
|
|
for k, _ := range this.QueueAckLevels {
|
|
keysForQueueAckLevels = append(keysForQueueAckLevels, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForQueueAckLevels)
|
|
mapStringForQueueAckLevels := "map[int32]*QueueAckLevel{"
|
|
for _, k := range keysForQueueAckLevels {
|
|
mapStringForQueueAckLevels += fmt.Sprintf("%v: %v,", k, this.QueueAckLevels[k])
|
|
}
|
|
mapStringForQueueAckLevels += "}"
|
|
s := strings.Join([]string{`&ShardInfo{`,
|
|
`ShardId:` + fmt.Sprintf("%v", this.ShardId) + `,`,
|
|
`RangeId:` + fmt.Sprintf("%v", this.RangeId) + `,`,
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
`StolenSinceRenew:` + fmt.Sprintf("%v", this.StolenSinceRenew) + `,`,
|
|
`UpdateTime:` + strings.Replace(fmt.Sprintf("%v", this.UpdateTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`NamespaceNotificationVersion:` + fmt.Sprintf("%v", this.NamespaceNotificationVersion) + `,`,
|
|
`ReplicationDlqAckLevel:` + mapStringForReplicationDlqAckLevel + `,`,
|
|
`QueueAckLevels:` + mapStringForQueueAckLevels + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *WorkflowExecutionInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes))
|
|
for k, _ := range this.SearchAttributes {
|
|
keysForSearchAttributes = append(keysForSearchAttributes, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes)
|
|
mapStringForSearchAttributes := "map[string]*v11.Payload{"
|
|
for _, k := range keysForSearchAttributes {
|
|
mapStringForSearchAttributes += fmt.Sprintf("%v: %v,", k, this.SearchAttributes[k])
|
|
}
|
|
mapStringForSearchAttributes += "}"
|
|
keysForMemo := make([]string, 0, len(this.Memo))
|
|
for k, _ := range this.Memo {
|
|
keysForMemo = append(keysForMemo, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMemo)
|
|
mapStringForMemo := "map[string]*v11.Payload{"
|
|
for _, k := range keysForMemo {
|
|
mapStringForMemo += fmt.Sprintf("%v: %v,", k, this.Memo[k])
|
|
}
|
|
mapStringForMemo += "}"
|
|
s := strings.Join([]string{`&WorkflowExecutionInfo{`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`ParentNamespaceId:` + fmt.Sprintf("%v", this.ParentNamespaceId) + `,`,
|
|
`ParentWorkflowId:` + fmt.Sprintf("%v", this.ParentWorkflowId) + `,`,
|
|
`ParentRunId:` + fmt.Sprintf("%v", this.ParentRunId) + `,`,
|
|
`ParentInitiatedId:` + fmt.Sprintf("%v", this.ParentInitiatedId) + `,`,
|
|
`CompletionEventBatchId:` + fmt.Sprintf("%v", this.CompletionEventBatchId) + `,`,
|
|
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
|
|
`WorkflowTypeName:` + fmt.Sprintf("%v", this.WorkflowTypeName) + `,`,
|
|
`WorkflowExecutionTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowRunTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`DefaultWorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.DefaultWorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`LastEventTaskId:` + fmt.Sprintf("%v", this.LastEventTaskId) + `,`,
|
|
`LastFirstEventId:` + fmt.Sprintf("%v", this.LastFirstEventId) + `,`,
|
|
`LastWorkflowTaskStartedEventId:` + fmt.Sprintf("%v", this.LastWorkflowTaskStartedEventId) + `,`,
|
|
`StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`LastUpdateTime:` + strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`WorkflowTaskVersion:` + fmt.Sprintf("%v", this.WorkflowTaskVersion) + `,`,
|
|
`WorkflowTaskScheduledEventId:` + fmt.Sprintf("%v", this.WorkflowTaskScheduledEventId) + `,`,
|
|
`WorkflowTaskStartedEventId:` + fmt.Sprintf("%v", this.WorkflowTaskStartedEventId) + `,`,
|
|
`WorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowTaskAttempt:` + fmt.Sprintf("%v", this.WorkflowTaskAttempt) + `,`,
|
|
`WorkflowTaskStartedTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskStartedTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`WorkflowTaskScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`CancelRequested:` + fmt.Sprintf("%v", this.CancelRequested) + `,`,
|
|
`WorkflowTaskOriginalScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskOriginalScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`WorkflowTaskRequestId:` + fmt.Sprintf("%v", this.WorkflowTaskRequestId) + `,`,
|
|
`CancelRequestId:` + fmt.Sprintf("%v", this.CancelRequestId) + `,`,
|
|
`StickyTaskQueue:` + fmt.Sprintf("%v", this.StickyTaskQueue) + `,`,
|
|
`StickyScheduleToStartTimeout:` + strings.Replace(fmt.Sprintf("%v", this.StickyScheduleToStartTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
|
|
`RetryInitialInterval:` + strings.Replace(fmt.Sprintf("%v", this.RetryInitialInterval), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryMaximumInterval:` + strings.Replace(fmt.Sprintf("%v", this.RetryMaximumInterval), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryMaximumAttempts:` + fmt.Sprintf("%v", this.RetryMaximumAttempts) + `,`,
|
|
`RetryBackoffCoefficient:` + fmt.Sprintf("%v", this.RetryBackoffCoefficient) + `,`,
|
|
`WorkflowExecutionExpirationTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionExpirationTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`RetryNonRetryableErrorTypes:` + fmt.Sprintf("%v", this.RetryNonRetryableErrorTypes) + `,`,
|
|
`HasRetryPolicy:` + fmt.Sprintf("%v", this.HasRetryPolicy) + `,`,
|
|
`CronSchedule:` + fmt.Sprintf("%v", this.CronSchedule) + `,`,
|
|
`SignalCount:` + fmt.Sprintf("%v", this.SignalCount) + `,`,
|
|
`AutoResetPoints:` + strings.Replace(fmt.Sprintf("%v", this.AutoResetPoints), "ResetPoints", "v1.ResetPoints", 1) + `,`,
|
|
`SearchAttributes:` + mapStringForSearchAttributes + `,`,
|
|
`Memo:` + mapStringForMemo + `,`,
|
|
`VersionHistories:` + strings.Replace(fmt.Sprintf("%v", this.VersionHistories), "VersionHistories", "v12.VersionHistories", 1) + `,`,
|
|
`FirstExecutionRunId:` + fmt.Sprintf("%v", this.FirstExecutionRunId) + `,`,
|
|
`ExecutionStats:` + strings.Replace(this.ExecutionStats.String(), "ExecutionStats", "ExecutionStats", 1) + `,`,
|
|
`WorkflowRunExpirationTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunExpirationTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`LastFirstEventTxnId:` + fmt.Sprintf("%v", this.LastFirstEventTxnId) + `,`,
|
|
`StateTransitionCount:` + fmt.Sprintf("%v", this.StateTransitionCount) + `,`,
|
|
`ExecutionTime:` + strings.Replace(fmt.Sprintf("%v", this.ExecutionTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`NewExecutionRunId:` + fmt.Sprintf("%v", this.NewExecutionRunId) + `,`,
|
|
`ParentClock:` + strings.Replace(fmt.Sprintf("%v", this.ParentClock), "VectorClock", "v13.VectorClock", 1) + `,`,
|
|
`ParentInitiatedVersion:` + fmt.Sprintf("%v", this.ParentInitiatedVersion) + `,`,
|
|
`CloseTransferTaskId:` + fmt.Sprintf("%v", this.CloseTransferTaskId) + `,`,
|
|
`CloseVisibilityTaskId:` + fmt.Sprintf("%v", this.CloseVisibilityTaskId) + `,`,
|
|
`CloseTime:` + strings.Replace(fmt.Sprintf("%v", this.CloseTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ExecutionStats) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ExecutionStats{`,
|
|
`HistorySize:` + fmt.Sprintf("%v", this.HistorySize) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *WorkflowExecutionState) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&WorkflowExecutionState{`,
|
|
`CreateRequestId:` + fmt.Sprintf("%v", this.CreateRequestId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`State:` + fmt.Sprintf("%v", this.State) + `,`,
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TransferTaskInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TransferTaskInfo{`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`TaskType:` + fmt.Sprintf("%v", this.TaskType) + `,`,
|
|
`TargetNamespaceId:` + fmt.Sprintf("%v", this.TargetNamespaceId) + `,`,
|
|
`TargetWorkflowId:` + fmt.Sprintf("%v", this.TargetWorkflowId) + `,`,
|
|
`TargetRunId:` + fmt.Sprintf("%v", this.TargetRunId) + `,`,
|
|
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
|
|
`TargetChildWorkflowOnly:` + fmt.Sprintf("%v", this.TargetChildWorkflowOnly) + `,`,
|
|
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`TaskId:` + fmt.Sprintf("%v", this.TaskId) + `,`,
|
|
`VisibilityTime:` + strings.Replace(fmt.Sprintf("%v", this.VisibilityTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`DeleteAfterClose:` + fmt.Sprintf("%v", this.DeleteAfterClose) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ReplicationTaskInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ReplicationTaskInfo{`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`TaskType:` + fmt.Sprintf("%v", this.TaskType) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`FirstEventId:` + fmt.Sprintf("%v", this.FirstEventId) + `,`,
|
|
`NextEventId:` + fmt.Sprintf("%v", this.NextEventId) + `,`,
|
|
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
|
|
`BranchToken:` + fmt.Sprintf("%v", this.BranchToken) + `,`,
|
|
`NewRunBranchToken:` + fmt.Sprintf("%v", this.NewRunBranchToken) + `,`,
|
|
`TaskId:` + fmt.Sprintf("%v", this.TaskId) + `,`,
|
|
`VisibilityTime:` + strings.Replace(fmt.Sprintf("%v", this.VisibilityTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *VisibilityTaskInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&VisibilityTaskInfo{`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`TaskType:` + fmt.Sprintf("%v", this.TaskType) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`TaskId:` + fmt.Sprintf("%v", this.TaskId) + `,`,
|
|
`VisibilityTime:` + strings.Replace(fmt.Sprintf("%v", this.VisibilityTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`CloseTime:` + strings.Replace(fmt.Sprintf("%v", this.CloseTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TimerTaskInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TimerTaskInfo{`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`TaskType:` + fmt.Sprintf("%v", this.TaskType) + `,`,
|
|
`TimeoutType:` + fmt.Sprintf("%v", this.TimeoutType) + `,`,
|
|
`WorkflowBackoffType:` + fmt.Sprintf("%v", this.WorkflowBackoffType) + `,`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`ScheduleAttempt:` + fmt.Sprintf("%v", this.ScheduleAttempt) + `,`,
|
|
`EventId:` + fmt.Sprintf("%v", this.EventId) + `,`,
|
|
`TaskId:` + fmt.Sprintf("%v", this.TaskId) + `,`,
|
|
`VisibilityTime:` + strings.Replace(fmt.Sprintf("%v", this.VisibilityTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`BranchToken:` + fmt.Sprintf("%v", this.BranchToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ActivityInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ActivityInfo{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`ScheduledEventBatchId:` + fmt.Sprintf("%v", this.ScheduledEventBatchId) + `,`,
|
|
`ScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.ScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`StartedEventId:` + fmt.Sprintf("%v", this.StartedEventId) + `,`,
|
|
`StartedTime:` + strings.Replace(fmt.Sprintf("%v", this.StartedTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`ScheduleToStartTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToStartTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`ScheduleToCloseTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToCloseTimeout), "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) + `,`,
|
|
`CancelRequested:` + fmt.Sprintf("%v", this.CancelRequested) + `,`,
|
|
`CancelRequestId:` + fmt.Sprintf("%v", this.CancelRequestId) + `,`,
|
|
`TimerTaskStatus:` + fmt.Sprintf("%v", this.TimerTaskStatus) + `,`,
|
|
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
|
|
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
|
|
`StartedIdentity:` + fmt.Sprintf("%v", this.StartedIdentity) + `,`,
|
|
`HasRetryPolicy:` + fmt.Sprintf("%v", this.HasRetryPolicy) + `,`,
|
|
`RetryInitialInterval:` + strings.Replace(fmt.Sprintf("%v", this.RetryInitialInterval), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryMaximumInterval:` + strings.Replace(fmt.Sprintf("%v", this.RetryMaximumInterval), "Duration", "types.Duration", 1) + `,`,
|
|
`RetryMaximumAttempts:` + fmt.Sprintf("%v", this.RetryMaximumAttempts) + `,`,
|
|
`RetryExpirationTime:` + strings.Replace(fmt.Sprintf("%v", this.RetryExpirationTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`RetryBackoffCoefficient:` + fmt.Sprintf("%v", this.RetryBackoffCoefficient) + `,`,
|
|
`RetryNonRetryableErrorTypes:` + fmt.Sprintf("%v", this.RetryNonRetryableErrorTypes) + `,`,
|
|
`RetryLastFailure:` + strings.Replace(fmt.Sprintf("%v", this.RetryLastFailure), "Failure", "v16.Failure", 1) + `,`,
|
|
`RetryLastWorkerIdentity:` + fmt.Sprintf("%v", this.RetryLastWorkerIdentity) + `,`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
|
|
`LastHeartbeatDetails:` + strings.Replace(fmt.Sprintf("%v", this.LastHeartbeatDetails), "Payloads", "v11.Payloads", 1) + `,`,
|
|
`LastHeartbeatUpdateTime:` + strings.Replace(fmt.Sprintf("%v", this.LastHeartbeatUpdateTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TimerInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TimerInfo{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`StartedEventId:` + fmt.Sprintf("%v", this.StartedEventId) + `,`,
|
|
`ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`TaskStatus:` + fmt.Sprintf("%v", this.TaskStatus) + `,`,
|
|
`TimerId:` + fmt.Sprintf("%v", this.TimerId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ChildExecutionInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ChildExecutionInfo{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`InitiatedEventBatchId:` + fmt.Sprintf("%v", this.InitiatedEventBatchId) + `,`,
|
|
`StartedEventId:` + fmt.Sprintf("%v", this.StartedEventId) + `,`,
|
|
`StartedWorkflowId:` + fmt.Sprintf("%v", this.StartedWorkflowId) + `,`,
|
|
`StartedRunId:` + fmt.Sprintf("%v", this.StartedRunId) + `,`,
|
|
`CreateRequestId:` + fmt.Sprintf("%v", this.CreateRequestId) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowTypeName:` + fmt.Sprintf("%v", this.WorkflowTypeName) + `,`,
|
|
`ParentClosePolicy:` + fmt.Sprintf("%v", this.ParentClosePolicy) + `,`,
|
|
`InitiatedEventId:` + fmt.Sprintf("%v", this.InitiatedEventId) + `,`,
|
|
`Clock:` + strings.Replace(fmt.Sprintf("%v", this.Clock), "VectorClock", "v13.VectorClock", 1) + `,`,
|
|
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RequestCancelInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RequestCancelInfo{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`InitiatedEventBatchId:` + fmt.Sprintf("%v", this.InitiatedEventBatchId) + `,`,
|
|
`CancelRequestId:` + fmt.Sprintf("%v", this.CancelRequestId) + `,`,
|
|
`InitiatedEventId:` + fmt.Sprintf("%v", this.InitiatedEventId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalInfo) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalInfo{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`InitiatedEventBatchId:` + fmt.Sprintf("%v", this.InitiatedEventBatchId) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`InitiatedEventId:` + fmt.Sprintf("%v", this.InitiatedEventId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Checksum) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Checksum{`,
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
`Flavor:` + fmt.Sprintf("%v", this.Flavor) + `,`,
|
|
`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *QueueAckLevel) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForClusterAckLevel := make([]string, 0, len(this.ClusterAckLevel))
|
|
for k, _ := range this.ClusterAckLevel {
|
|
keysForClusterAckLevel = append(keysForClusterAckLevel, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForClusterAckLevel)
|
|
mapStringForClusterAckLevel := "map[string]int64{"
|
|
for _, k := range keysForClusterAckLevel {
|
|
mapStringForClusterAckLevel += fmt.Sprintf("%v: %v,", k, this.ClusterAckLevel[k])
|
|
}
|
|
mapStringForClusterAckLevel += "}"
|
|
s := strings.Join([]string{`&QueueAckLevel{`,
|
|
`AckLevel:` + fmt.Sprintf("%v", this.AckLevel) + `,`,
|
|
`ClusterAckLevel:` + mapStringForClusterAckLevel + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringExecutions(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *ShardInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: ShardInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ShardInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ShardId", wireType)
|
|
}
|
|
m.ShardId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ShardId |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RangeId", wireType)
|
|
}
|
|
m.RangeId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RangeId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StolenSinceRenew", wireType)
|
|
}
|
|
m.StolenSinceRenew = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StolenSinceRenew |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.UpdateTime == nil {
|
|
m.UpdateTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.UpdateTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceNotificationVersion", wireType)
|
|
}
|
|
m.NamespaceNotificationVersion = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.NamespaceNotificationVersion |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReplicationDlqAckLevel", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ReplicationDlqAckLevel == nil {
|
|
m.ReplicationDlqAckLevel = make(map[string]int64)
|
|
}
|
|
var mapkey string
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.ReplicationDlqAckLevel[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueueAckLevels", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.QueueAckLevels == nil {
|
|
m.QueueAckLevels = make(map[int32]*QueueAckLevel)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue *QueueAckLevel
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &QueueAckLevel{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.QueueAckLevels[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *WorkflowExecutionInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: WorkflowExecutionInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: WorkflowExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = 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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ParentNamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentNamespaceId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentWorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentWorkflowId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentRunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentInitiatedId", wireType)
|
|
}
|
|
m.ParentInitiatedId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ParentInitiatedId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CompletionEventBatchId", wireType)
|
|
}
|
|
m.CompletionEventBatchId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CompletionEventBatchId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskQueue = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTypeName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowTypeName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 12:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DefaultWorkflowTaskTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.DefaultWorkflowTaskTimeout == nil {
|
|
m.DefaultWorkflowTaskTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.DefaultWorkflowTaskTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 17:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastEventTaskId", wireType)
|
|
}
|
|
m.LastEventTaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.LastEventTaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 18:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastFirstEventId", wireType)
|
|
}
|
|
m.LastFirstEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.LastFirstEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 19:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastWorkflowTaskStartedEventId", wireType)
|
|
}
|
|
m.LastWorkflowTaskStartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.LastWorkflowTaskStartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 20:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartTime == nil {
|
|
m.StartTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.StartTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 21:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastUpdateTime == nil {
|
|
m.LastUpdateTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.LastUpdateTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 22:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskVersion", wireType)
|
|
}
|
|
m.WorkflowTaskVersion = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowTaskVersion |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 23:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskScheduledEventId", wireType)
|
|
}
|
|
m.WorkflowTaskScheduledEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowTaskScheduledEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 24:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskStartedEventId", wireType)
|
|
}
|
|
m.WorkflowTaskStartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowTaskStartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 25:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 26:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskAttempt", wireType)
|
|
}
|
|
m.WorkflowTaskAttempt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowTaskAttempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 27:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskStartedTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskStartedTime == nil {
|
|
m.WorkflowTaskStartedTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.WorkflowTaskStartedTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 28:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskScheduledTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskScheduledTime == nil {
|
|
m.WorkflowTaskScheduledTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.WorkflowTaskScheduledTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 29:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelRequested", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.CancelRequested = bool(v != 0)
|
|
case 30:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskOriginalScheduledTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskOriginalScheduledTime == nil {
|
|
m.WorkflowTaskOriginalScheduledTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.WorkflowTaskOriginalScheduledTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 31:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskRequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowTaskRequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 32:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelRequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CancelRequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 33:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StickyTaskQueue", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.StickyTaskQueue = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 34:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StickyScheduleToStartTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StickyScheduleToStartTimeout == nil {
|
|
m.StickyScheduleToStartTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.StickyScheduleToStartTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 35:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType)
|
|
}
|
|
m.Attempt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Attempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 36:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryInitialInterval", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryInitialInterval == nil {
|
|
m.RetryInitialInterval = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.RetryInitialInterval, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 37:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryMaximumInterval", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryMaximumInterval == nil {
|
|
m.RetryMaximumInterval = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.RetryMaximumInterval, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 38:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryMaximumAttempts", wireType)
|
|
}
|
|
m.RetryMaximumAttempts = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RetryMaximumAttempts |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 39:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryBackoffCoefficient", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.RetryBackoffCoefficient = float64(math.Float64frombits(v))
|
|
case 40:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionExpirationTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionExpirationTime == nil {
|
|
m.WorkflowExecutionExpirationTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.WorkflowExecutionExpirationTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 41:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryNonRetryableErrorTypes", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RetryNonRetryableErrorTypes = append(m.RetryNonRetryableErrorTypes, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 42:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HasRetryPolicy", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.HasRetryPolicy = bool(v != 0)
|
|
case 43:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CronSchedule = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 46:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignalCount", wireType)
|
|
}
|
|
m.SignalCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SignalCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 51:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AutoResetPoints", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.AutoResetPoints == nil {
|
|
m.AutoResetPoints = &v1.ResetPoints{}
|
|
}
|
|
if err := m.AutoResetPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 52:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = make(map[string]*v11.Payload)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *v11.Payload
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v11.Payload{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.SearchAttributes[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 53:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Memo == nil {
|
|
m.Memo = make(map[string]*v11.Payload)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *v11.Payload
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v11.Payload{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Memo[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 54:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VersionHistories", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VersionHistories == nil {
|
|
m.VersionHistories = &v12.VersionHistories{}
|
|
}
|
|
if err := m.VersionHistories.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 55:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FirstExecutionRunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FirstExecutionRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 56:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStats", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ExecutionStats == nil {
|
|
m.ExecutionStats = &ExecutionStats{}
|
|
}
|
|
if err := m.ExecutionStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 57:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowRunExpirationTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowRunExpirationTime == nil {
|
|
m.WorkflowRunExpirationTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.WorkflowRunExpirationTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 58:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastFirstEventTxnId", wireType)
|
|
}
|
|
m.LastFirstEventTxnId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.LastFirstEventTxnId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 59:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StateTransitionCount", wireType)
|
|
}
|
|
m.StateTransitionCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StateTransitionCount |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 60:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ExecutionTime == nil {
|
|
m.ExecutionTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.ExecutionTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 61:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NewExecutionRunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NewExecutionRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 62:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentClock", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ParentClock == nil {
|
|
m.ParentClock = &v13.VectorClock{}
|
|
}
|
|
if err := m.ParentClock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 63:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentInitiatedVersion", wireType)
|
|
}
|
|
m.ParentInitiatedVersion = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ParentInitiatedVersion |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 64:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CloseTransferTaskId", wireType)
|
|
}
|
|
m.CloseTransferTaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CloseTransferTaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 65:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CloseVisibilityTaskId", wireType)
|
|
}
|
|
m.CloseVisibilityTaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CloseVisibilityTaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 66:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CloseTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CloseTime == nil {
|
|
m.CloseTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.CloseTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ExecutionStats) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: ExecutionStats: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ExecutionStats: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HistorySize", wireType)
|
|
}
|
|
m.HistorySize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.HistorySize |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *WorkflowExecutionState) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: WorkflowExecutionState: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: WorkflowExecutionState: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreateRequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CreateRequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
|
|
}
|
|
m.State = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.State |= v14.WorkflowExecutionState(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
}
|
|
m.Status = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Status |= v15.WorkflowExecutionStatus(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TransferTaskInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: TransferTaskInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TransferTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = 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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskType", wireType)
|
|
}
|
|
m.TaskType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskType |= v14.TaskType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetNamespaceId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetWorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetWorkflowId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetRunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TargetRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskQueue = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TargetChildWorkflowOnly", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.TargetChildWorkflowOnly = bool(v != 0)
|
|
case 10:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduledEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 12:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
|
|
}
|
|
m.TaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VisibilityTime == nil {
|
|
m.VisibilityTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VisibilityTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeleteAfterClose", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.DeleteAfterClose = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ReplicationTaskInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: ReplicationTaskInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ReplicationTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = 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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskType", wireType)
|
|
}
|
|
m.TaskType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskType |= v14.TaskType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FirstEventId", wireType)
|
|
}
|
|
m.FirstEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.FirstEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextEventId", wireType)
|
|
}
|
|
m.NextEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.NextEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 8:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduledEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BranchToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BranchToken = append(m.BranchToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.BranchToken == nil {
|
|
m.BranchToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NewRunBranchToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NewRunBranchToken = append(m.NewRunBranchToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NewRunBranchToken == nil {
|
|
m.NewRunBranchToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
|
|
}
|
|
m.TaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VisibilityTime == nil {
|
|
m.VisibilityTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VisibilityTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *VisibilityTaskInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: VisibilityTaskInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: VisibilityTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = 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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskType", wireType)
|
|
}
|
|
m.TaskType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskType |= v14.TaskType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
|
|
}
|
|
m.TaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VisibilityTime == nil {
|
|
m.VisibilityTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VisibilityTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CloseTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CloseTime == nil {
|
|
m.CloseTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.CloseTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartTime == nil {
|
|
m.StartTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.StartTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TimerTaskInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: TimerTaskInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TimerTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = 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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskType", wireType)
|
|
}
|
|
m.TaskType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskType |= v14.TaskType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeoutType", wireType)
|
|
}
|
|
m.TimeoutType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TimeoutType |= v15.TimeoutType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowBackoffType", wireType)
|
|
}
|
|
m.WorkflowBackoffType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowBackoffType |= v14.WorkflowBackoffType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleAttempt", wireType)
|
|
}
|
|
m.ScheduleAttempt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduleAttempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EventId", wireType)
|
|
}
|
|
m.EventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.EventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
|
|
}
|
|
m.TaskId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VisibilityTime == nil {
|
|
m.VisibilityTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VisibilityTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BranchToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BranchToken = append(m.BranchToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.BranchToken == nil {
|
|
m.BranchToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ActivityInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: ActivityInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ActivityInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventBatchId", wireType)
|
|
}
|
|
m.ScheduledEventBatchId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduledEventBatchId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ScheduledTime == nil {
|
|
m.ScheduledTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.ScheduledTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType)
|
|
}
|
|
m.StartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartedTime == nil {
|
|
m.StartedTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.StartedTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 11:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 12:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 13:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
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 14:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelRequested", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.CancelRequested = bool(v != 0)
|
|
case 15:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelRequestId", wireType)
|
|
}
|
|
m.CancelRequestId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CancelRequestId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 16:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimerTaskStatus", wireType)
|
|
}
|
|
m.TimerTaskStatus = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TimerTaskStatus |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 17:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType)
|
|
}
|
|
m.Attempt = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Attempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 18:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskQueue = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 19:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedIdentity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.StartedIdentity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 20:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HasRetryPolicy", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.HasRetryPolicy = bool(v != 0)
|
|
case 21:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryInitialInterval", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryInitialInterval == nil {
|
|
m.RetryInitialInterval = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.RetryInitialInterval, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 22:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryMaximumInterval", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryMaximumInterval == nil {
|
|
m.RetryMaximumInterval = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.RetryMaximumInterval, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 23:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryMaximumAttempts", wireType)
|
|
}
|
|
m.RetryMaximumAttempts = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.RetryMaximumAttempts |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 24:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryExpirationTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryExpirationTime == nil {
|
|
m.RetryExpirationTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.RetryExpirationTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 25:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryBackoffCoefficient", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.RetryBackoffCoefficient = float64(math.Float64frombits(v))
|
|
case 26:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryNonRetryableErrorTypes", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RetryNonRetryableErrorTypes = append(m.RetryNonRetryableErrorTypes, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 27:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryLastFailure", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryLastFailure == nil {
|
|
m.RetryLastFailure = &v16.Failure{}
|
|
}
|
|
if err := m.RetryLastFailure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 28:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryLastWorkerIdentity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RetryLastWorkerIdentity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 29:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 30:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ScheduledEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 31:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatDetails", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastHeartbeatDetails == nil {
|
|
m.LastHeartbeatDetails = &v11.Payloads{}
|
|
}
|
|
if err := m.LastHeartbeatDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 32:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatUpdateTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LastHeartbeatUpdateTime == nil {
|
|
m.LastHeartbeatUpdateTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.LastHeartbeatUpdateTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TimerInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: TimerInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TimerInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType)
|
|
}
|
|
m.StartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ExpiryTime == nil {
|
|
m.ExpiryTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.ExpiryTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskStatus", wireType)
|
|
}
|
|
m.TaskStatus = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskStatus |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TimerId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ChildExecutionInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: ChildExecutionInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ChildExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventBatchId", wireType)
|
|
}
|
|
m.InitiatedEventBatchId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventBatchId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType)
|
|
}
|
|
m.StartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedWorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.StartedWorkflowId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartedRunId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.StartedRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreateRequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CreateRequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTypeName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowTypeName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ParentClosePolicy |= v15.ParentClosePolicy(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 12:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType)
|
|
}
|
|
m.InitiatedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clock", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Clock == nil {
|
|
m.Clock = &v13.VectorClock{}
|
|
}
|
|
if err := m.Clock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NamespaceId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RequestCancelInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: RequestCancelInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RequestCancelInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventBatchId", wireType)
|
|
}
|
|
m.InitiatedEventBatchId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventBatchId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CancelRequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CancelRequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType)
|
|
}
|
|
m.InitiatedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalInfo) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: SignalInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventBatchId", wireType)
|
|
}
|
|
m.InitiatedEventBatchId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventBatchId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType)
|
|
}
|
|
m.InitiatedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.InitiatedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Checksum) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: Checksum: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Checksum: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
}
|
|
m.Version = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Version |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Flavor", wireType)
|
|
}
|
|
m.Flavor = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Flavor |= v14.ChecksumFlavor(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.Value == nil {
|
|
m.Value = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *QueueAckLevel) 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 ErrIntOverflowExecutions
|
|
}
|
|
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: QueueAckLevel: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: QueueAckLevel: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AckLevel", wireType)
|
|
}
|
|
m.AckLevel = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.AckLevel |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterAckLevel", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ClusterAckLevel == nil {
|
|
m.ClusterAckLevel = make(map[string]int64)
|
|
}
|
|
var mapkey string
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
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 ErrIntOverflowExecutions
|
|
}
|
|
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 ErrInvalidLengthExecutions
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecutions
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.ClusterAckLevel[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecutions(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthExecutions
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipExecutions(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, ErrIntOverflowExecutions
|
|
}
|
|
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, ErrIntOverflowExecutions
|
|
}
|
|
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, ErrIntOverflowExecutions
|
|
}
|
|
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, ErrInvalidLengthExecutions
|
|
}
|
|
iNdEx += length
|
|
case 3:
|
|
depth++
|
|
case 4:
|
|
if depth == 0 {
|
|
return 0, ErrUnexpectedEndOfGroupExecutions
|
|
}
|
|
depth--
|
|
case 5:
|
|
iNdEx += 4
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
if iNdEx < 0 {
|
|
return 0, ErrInvalidLengthExecutions
|
|
}
|
|
if depth == 0 {
|
|
return iNdEx, nil
|
|
}
|
|
}
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthExecutions = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowExecutions = fmt.Errorf("proto: integer overflow")
|
|
ErrUnexpectedEndOfGroupExecutions = fmt.Errorf("proto: unexpected end of group")
|
|
)
|