mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-10-19 07:55:07 +00:00
30611 lines
799 KiB
Go
30611 lines
799 KiB
Go
// The MIT License
|
|
//
|
|
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: temporal/api/workflowservice/v1/request_response.proto
|
|
|
|
package workflowservice
|
|
|
|
import (
|
|
bytes "bytes"
|
|
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"
|
|
v17 "go.temporal.io/api/command/v1"
|
|
v13 "go.temporal.io/api/common/v1"
|
|
v11 "go.temporal.io/api/enums/v1"
|
|
v18 "go.temporal.io/api/failure/v1"
|
|
v19 "go.temporal.io/api/filter/v1"
|
|
v15 "go.temporal.io/api/history/v1"
|
|
v12 "go.temporal.io/api/namespace/v1"
|
|
v16 "go.temporal.io/api/query/v1"
|
|
v1 "go.temporal.io/api/replication/v1"
|
|
v14 "go.temporal.io/api/taskqueue/v1"
|
|
v111 "go.temporal.io/api/version/v1"
|
|
v110 "go.temporal.io/api/workflow/v1"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
var _ = time.Kitchen
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type RegisterNamespaceRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
OwnerEmail string `protobuf:"bytes,3,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"`
|
|
WorkflowExecutionRetentionPeriod *time.Duration `protobuf:"bytes,4,opt,name=workflow_execution_retention_period,json=workflowExecutionRetentionPeriod,proto3,stdduration" json:"workflow_execution_retention_period,omitempty"`
|
|
Clusters []*v1.ClusterReplicationConfig `protobuf:"bytes,5,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
ActiveClusterName string `protobuf:"bytes,6,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"`
|
|
// A key-value map for any customized purpose.
|
|
Data map[string]string `protobuf:"bytes,7,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
SecurityToken string `protobuf:"bytes,8,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"`
|
|
IsGlobalNamespace bool `protobuf:"varint,9,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"`
|
|
// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
HistoryArchivalState v11.ArchivalState `protobuf:"varint,10,opt,name=history_archival_state,json=historyArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"history_archival_state,omitempty"`
|
|
HistoryArchivalUri string `protobuf:"bytes,11,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"`
|
|
// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
VisibilityArchivalState v11.ArchivalState `protobuf:"varint,12,opt,name=visibility_archival_state,json=visibilityArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"visibility_archival_state,omitempty"`
|
|
VisibilityArchivalUri string `protobuf:"bytes,13,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"`
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) Reset() { *m = RegisterNamespaceRequest{} }
|
|
func (*RegisterNamespaceRequest) ProtoMessage() {}
|
|
func (*RegisterNamespaceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{0}
|
|
}
|
|
func (m *RegisterNamespaceRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RegisterNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RegisterNamespaceRequest.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 *RegisterNamespaceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNamespaceRequest.Merge(m, src)
|
|
}
|
|
func (m *RegisterNamespaceRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RegisterNamespaceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNamespaceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNamespaceRequest proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNamespaceRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetOwnerEmail() string {
|
|
if m != nil {
|
|
return m.OwnerEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetWorkflowExecutionRetentionPeriod() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowExecutionRetentionPeriod
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetClusters() []*v1.ClusterReplicationConfig {
|
|
if m != nil {
|
|
return m.Clusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetActiveClusterName() string {
|
|
if m != nil {
|
|
return m.ActiveClusterName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetData() map[string]string {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetSecurityToken() string {
|
|
if m != nil {
|
|
return m.SecurityToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetIsGlobalNamespace() bool {
|
|
if m != nil {
|
|
return m.IsGlobalNamespace
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetHistoryArchivalState() v11.ArchivalState {
|
|
if m != nil {
|
|
return m.HistoryArchivalState
|
|
}
|
|
return v11.ARCHIVAL_STATE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetHistoryArchivalUri() string {
|
|
if m != nil {
|
|
return m.HistoryArchivalUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetVisibilityArchivalState() v11.ArchivalState {
|
|
if m != nil {
|
|
return m.VisibilityArchivalState
|
|
}
|
|
return v11.ARCHIVAL_STATE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) GetVisibilityArchivalUri() string {
|
|
if m != nil {
|
|
return m.VisibilityArchivalUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegisterNamespaceResponse struct {
|
|
}
|
|
|
|
func (m *RegisterNamespaceResponse) Reset() { *m = RegisterNamespaceResponse{} }
|
|
func (*RegisterNamespaceResponse) ProtoMessage() {}
|
|
func (*RegisterNamespaceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{1}
|
|
}
|
|
func (m *RegisterNamespaceResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RegisterNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RegisterNamespaceResponse.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 *RegisterNamespaceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNamespaceResponse.Merge(m, src)
|
|
}
|
|
func (m *RegisterNamespaceResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RegisterNamespaceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNamespaceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNamespaceResponse proto.InternalMessageInfo
|
|
|
|
type ListNamespacesRequest struct {
|
|
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListNamespacesRequest) Reset() { *m = ListNamespacesRequest{} }
|
|
func (*ListNamespacesRequest) ProtoMessage() {}
|
|
func (*ListNamespacesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{2}
|
|
}
|
|
func (m *ListNamespacesRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListNamespacesRequest.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 *ListNamespacesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListNamespacesRequest.Merge(m, src)
|
|
}
|
|
func (m *ListNamespacesRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListNamespacesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListNamespacesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListNamespacesRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListNamespacesRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListNamespacesRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListNamespacesResponse struct {
|
|
Namespaces []*DescribeNamespaceResponse `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListNamespacesResponse) Reset() { *m = ListNamespacesResponse{} }
|
|
func (*ListNamespacesResponse) ProtoMessage() {}
|
|
func (*ListNamespacesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{3}
|
|
}
|
|
func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListNamespacesResponse.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 *ListNamespacesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListNamespacesResponse.Merge(m, src)
|
|
}
|
|
func (m *ListNamespacesResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListNamespacesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListNamespacesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListNamespacesResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListNamespacesResponse) GetNamespaces() []*DescribeNamespaceResponse {
|
|
if m != nil {
|
|
return m.Namespaces
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListNamespacesResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeNamespaceRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeNamespaceRequest) Reset() { *m = DescribeNamespaceRequest{} }
|
|
func (*DescribeNamespaceRequest) ProtoMessage() {}
|
|
func (*DescribeNamespaceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{4}
|
|
}
|
|
func (m *DescribeNamespaceRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeNamespaceRequest.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 *DescribeNamespaceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeNamespaceRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeNamespaceRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeNamespaceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeNamespaceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeNamespaceRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeNamespaceRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeNamespaceRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeNamespaceResponse struct {
|
|
NamespaceInfo *v12.NamespaceInfo `protobuf:"bytes,1,opt,name=namespace_info,json=namespaceInfo,proto3" json:"namespace_info,omitempty"`
|
|
Config *v12.NamespaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
|
ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,3,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"`
|
|
FailoverVersion int64 `protobuf:"varint,4,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"`
|
|
IsGlobalNamespace bool `protobuf:"varint,5,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) Reset() { *m = DescribeNamespaceResponse{} }
|
|
func (*DescribeNamespaceResponse) ProtoMessage() {}
|
|
func (*DescribeNamespaceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{5}
|
|
}
|
|
func (m *DescribeNamespaceResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeNamespaceResponse.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 *DescribeNamespaceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeNamespaceResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeNamespaceResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeNamespaceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeNamespaceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeNamespaceResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeNamespaceResponse) GetNamespaceInfo() *v12.NamespaceInfo {
|
|
if m != nil {
|
|
return m.NamespaceInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) GetConfig() *v12.NamespaceConfig {
|
|
if m != nil {
|
|
return m.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) GetReplicationConfig() *v1.NamespaceReplicationConfig {
|
|
if m != nil {
|
|
return m.ReplicationConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) GetFailoverVersion() int64 {
|
|
if m != nil {
|
|
return m.FailoverVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) GetIsGlobalNamespace() bool {
|
|
if m != nil {
|
|
return m.IsGlobalNamespace
|
|
}
|
|
return false
|
|
}
|
|
|
|
// (-- api-linter: core::0134::request-mask-required=disabled
|
|
// aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
|
|
// (-- api-linter: core::0134::request-resource-required=disabled
|
|
// aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
|
|
type UpdateNamespaceRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
UpdateInfo *v12.UpdateNamespaceInfo `protobuf:"bytes,2,opt,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"`
|
|
Config *v12.NamespaceConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
|
|
ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,4,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"`
|
|
SecurityToken string `protobuf:"bytes,5,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"`
|
|
DeleteBadBinary string `protobuf:"bytes,6,opt,name=delete_bad_binary,json=deleteBadBinary,proto3" json:"delete_bad_binary,omitempty"`
|
|
// promote local namespace to global namespace. Ignored if namespace is already global namespace.
|
|
PromoteNamespace bool `protobuf:"varint,7,opt,name=promote_namespace,json=promoteNamespace,proto3" json:"promote_namespace,omitempty"`
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) Reset() { *m = UpdateNamespaceRequest{} }
|
|
func (*UpdateNamespaceRequest) ProtoMessage() {}
|
|
func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{6}
|
|
}
|
|
func (m *UpdateNamespaceRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *UpdateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_UpdateNamespaceRequest.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 *UpdateNamespaceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateNamespaceRequest.Merge(m, src)
|
|
}
|
|
func (m *UpdateNamespaceRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *UpdateNamespaceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateNamespaceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateNamespaceRequest proto.InternalMessageInfo
|
|
|
|
func (m *UpdateNamespaceRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetUpdateInfo() *v12.UpdateNamespaceInfo {
|
|
if m != nil {
|
|
return m.UpdateInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetConfig() *v12.NamespaceConfig {
|
|
if m != nil {
|
|
return m.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetReplicationConfig() *v1.NamespaceReplicationConfig {
|
|
if m != nil {
|
|
return m.ReplicationConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetSecurityToken() string {
|
|
if m != nil {
|
|
return m.SecurityToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetDeleteBadBinary() string {
|
|
if m != nil {
|
|
return m.DeleteBadBinary
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) GetPromoteNamespace() bool {
|
|
if m != nil {
|
|
return m.PromoteNamespace
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateNamespaceResponse struct {
|
|
NamespaceInfo *v12.NamespaceInfo `protobuf:"bytes,1,opt,name=namespace_info,json=namespaceInfo,proto3" json:"namespace_info,omitempty"`
|
|
Config *v12.NamespaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
|
ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,3,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"`
|
|
FailoverVersion int64 `protobuf:"varint,4,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"`
|
|
IsGlobalNamespace bool `protobuf:"varint,5,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"`
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) Reset() { *m = UpdateNamespaceResponse{} }
|
|
func (*UpdateNamespaceResponse) ProtoMessage() {}
|
|
func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{7}
|
|
}
|
|
func (m *UpdateNamespaceResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *UpdateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_UpdateNamespaceResponse.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 *UpdateNamespaceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateNamespaceResponse.Merge(m, src)
|
|
}
|
|
func (m *UpdateNamespaceResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *UpdateNamespaceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateNamespaceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateNamespaceResponse proto.InternalMessageInfo
|
|
|
|
func (m *UpdateNamespaceResponse) GetNamespaceInfo() *v12.NamespaceInfo {
|
|
if m != nil {
|
|
return m.NamespaceInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) GetConfig() *v12.NamespaceConfig {
|
|
if m != nil {
|
|
return m.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) GetReplicationConfig() *v1.NamespaceReplicationConfig {
|
|
if m != nil {
|
|
return m.ReplicationConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) GetFailoverVersion() int64 {
|
|
if m != nil {
|
|
return m.FailoverVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) GetIsGlobalNamespace() bool {
|
|
if m != nil {
|
|
return m.IsGlobalNamespace
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeprecateNamespaceRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
SecurityToken string `protobuf:"bytes,2,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"`
|
|
}
|
|
|
|
func (m *DeprecateNamespaceRequest) Reset() { *m = DeprecateNamespaceRequest{} }
|
|
func (*DeprecateNamespaceRequest) ProtoMessage() {}
|
|
func (*DeprecateNamespaceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{8}
|
|
}
|
|
func (m *DeprecateNamespaceRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DeprecateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DeprecateNamespaceRequest.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 *DeprecateNamespaceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeprecateNamespaceRequest.Merge(m, src)
|
|
}
|
|
func (m *DeprecateNamespaceRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DeprecateNamespaceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeprecateNamespaceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeprecateNamespaceRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeprecateNamespaceRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeprecateNamespaceRequest) GetSecurityToken() string {
|
|
if m != nil {
|
|
return m.SecurityToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeprecateNamespaceResponse struct {
|
|
}
|
|
|
|
func (m *DeprecateNamespaceResponse) Reset() { *m = DeprecateNamespaceResponse{} }
|
|
func (*DeprecateNamespaceResponse) ProtoMessage() {}
|
|
func (*DeprecateNamespaceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{9}
|
|
}
|
|
func (m *DeprecateNamespaceResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DeprecateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DeprecateNamespaceResponse.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 *DeprecateNamespaceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeprecateNamespaceResponse.Merge(m, src)
|
|
}
|
|
func (m *DeprecateNamespaceResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DeprecateNamespaceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeprecateNamespaceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeprecateNamespaceResponse proto.InternalMessageInfo
|
|
|
|
type StartWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Input *v13.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
|
|
// Total workflow execution timeout including retries and continue as new.
|
|
WorkflowExecutionTimeout *time.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3,stdduration" json:"workflow_execution_timeout,omitempty"`
|
|
// Timeout of a single workflow run.
|
|
WorkflowRunTimeout *time.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3,stdduration" json:"workflow_run_timeout,omitempty"`
|
|
// Timeout of a single workflow task.
|
|
WorkflowTaskTimeout *time.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3,stdduration" json:"workflow_task_timeout,omitempty"`
|
|
Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
RequestId string `protobuf:"bytes,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
WorkflowIdReusePolicy v11.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"`
|
|
// Retries up to workflow_execution_timeout_seconds.
|
|
RetryPolicy *v13.RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
CronSchedule string `protobuf:"bytes,13,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
|
|
Memo *v13.Memo `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
SearchAttributes *v13.SearchAttributes `protobuf:"bytes,15,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
|
Header *v13.Header `protobuf:"bytes,16,opt,name=header,proto3" json:"header,omitempty"`
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) Reset() { *m = StartWorkflowExecutionRequest{} }
|
|
func (*StartWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*StartWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{10}
|
|
}
|
|
func (m *StartWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *StartWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_StartWorkflowExecutionRequest.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 *StartWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StartWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *StartWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *StartWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StartWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StartWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowType() *v13.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetInput() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowExecutionTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowExecutionTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowRunTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowRunTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() v11.WorkflowIdReusePolicy {
|
|
if m != nil {
|
|
return m.WorkflowIdReusePolicy
|
|
}
|
|
return v11.WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetRetryPolicy() *v13.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetCronSchedule() string {
|
|
if m != nil {
|
|
return m.CronSchedule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetMemo() *v13.Memo {
|
|
if m != nil {
|
|
return m.Memo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetSearchAttributes() *v13.SearchAttributes {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) GetHeader() *v13.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartWorkflowExecutionResponse struct {
|
|
RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionResponse) Reset() { *m = StartWorkflowExecutionResponse{} }
|
|
func (*StartWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*StartWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{11}
|
|
}
|
|
func (m *StartWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *StartWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_StartWorkflowExecutionResponse.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 *StartWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StartWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *StartWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *StartWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StartWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StartWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
func (m *StartWorkflowExecutionResponse) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetWorkflowExecutionHistoryRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
|
|
MaximumPageSize int32 `protobuf:"varint,3,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
WaitNewEvent bool `protobuf:"varint,5,opt,name=wait_new_event,json=waitNewEvent,proto3" json:"wait_new_event,omitempty"`
|
|
// Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
|
|
HistoryEventFilterType v11.HistoryEventFilterType `protobuf:"varint,6,opt,name=history_event_filter_type,json=historyEventFilterType,proto3,enum=temporal.api.enums.v1.HistoryEventFilterType" json:"history_event_filter_type,omitempty"`
|
|
SkipArchival bool `protobuf:"varint,7,opt,name=skip_archival,json=skipArchival,proto3" json:"skip_archival,omitempty"`
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) Reset() { *m = GetWorkflowExecutionHistoryRequest{} }
|
|
func (*GetWorkflowExecutionHistoryRequest) ProtoMessage() {}
|
|
func (*GetWorkflowExecutionHistoryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{12}
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetWorkflowExecutionHistoryRequest.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 *GetWorkflowExecutionHistoryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetWorkflowExecutionHistoryRequest.Merge(m, src)
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetWorkflowExecutionHistoryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetWorkflowExecutionHistoryRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.Execution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetMaximumPageSize() int32 {
|
|
if m != nil {
|
|
return m.MaximumPageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetWaitNewEvent() bool {
|
|
if m != nil {
|
|
return m.WaitNewEvent
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetHistoryEventFilterType() v11.HistoryEventFilterType {
|
|
if m != nil {
|
|
return m.HistoryEventFilterType
|
|
}
|
|
return v11.HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) GetSkipArchival() bool {
|
|
if m != nil {
|
|
return m.SkipArchival
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetWorkflowExecutionHistoryResponse struct {
|
|
History *v15.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"`
|
|
RawHistory []*v13.DataBlob `protobuf:"bytes,2,rep,name=raw_history,json=rawHistory,proto3" json:"raw_history,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"`
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) Reset() { *m = GetWorkflowExecutionHistoryResponse{} }
|
|
func (*GetWorkflowExecutionHistoryResponse) ProtoMessage() {}
|
|
func (*GetWorkflowExecutionHistoryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{13}
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetWorkflowExecutionHistoryResponse.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 *GetWorkflowExecutionHistoryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetWorkflowExecutionHistoryResponse.Merge(m, src)
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetWorkflowExecutionHistoryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetWorkflowExecutionHistoryResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) GetHistory() *v15.History {
|
|
if m != nil {
|
|
return m.History
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) GetRawHistory() []*v13.DataBlob {
|
|
if m != nil {
|
|
return m.RawHistory
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) GetArchived() bool {
|
|
if m != nil {
|
|
return m.Archived
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PollWorkflowTaskQueueRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
BinaryChecksum string `protobuf:"bytes,4,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"`
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) Reset() { *m = PollWorkflowTaskQueueRequest{} }
|
|
func (*PollWorkflowTaskQueueRequest) ProtoMessage() {}
|
|
func (*PollWorkflowTaskQueueRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{14}
|
|
}
|
|
func (m *PollWorkflowTaskQueueRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PollWorkflowTaskQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PollWorkflowTaskQueueRequest.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 *PollWorkflowTaskQueueRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PollWorkflowTaskQueueRequest.Merge(m, src)
|
|
}
|
|
func (m *PollWorkflowTaskQueueRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PollWorkflowTaskQueueRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PollWorkflowTaskQueueRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PollWorkflowTaskQueueRequest proto.InternalMessageInfo
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) GetBinaryChecksum() string {
|
|
if m != nil {
|
|
return m.BinaryChecksum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PollWorkflowTaskQueueResponse struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
PreviousStartedEventId int64 `protobuf:"varint,4,opt,name=previous_started_event_id,json=previousStartedEventId,proto3" json:"previous_started_event_id,omitempty"`
|
|
StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"`
|
|
Attempt int32 `protobuf:"varint,6,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
BacklogCountHint int64 `protobuf:"varint,7,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"`
|
|
History *v15.History `protobuf:"bytes,8,opt,name=history,proto3" json:"history,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,9,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Query *v16.WorkflowQuery `protobuf:"bytes,10,opt,name=query,proto3" json:"query,omitempty"`
|
|
WorkflowExecutionTaskQueue *v14.TaskQueue `protobuf:"bytes,11,opt,name=workflow_execution_task_queue,json=workflowExecutionTaskQueue,proto3" json:"workflow_execution_task_queue,omitempty"`
|
|
ScheduledTime *time.Time `protobuf:"bytes,12,opt,name=scheduled_time,json=scheduledTime,proto3,stdtime" json:"scheduled_time,omitempty"`
|
|
StartedTime *time.Time `protobuf:"bytes,13,opt,name=started_time,json=startedTime,proto3,stdtime" json:"started_time,omitempty"`
|
|
Queries map[string]*v16.WorkflowQuery `protobuf:"bytes,14,rep,name=queries,proto3" json:"queries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) Reset() { *m = PollWorkflowTaskQueueResponse{} }
|
|
func (*PollWorkflowTaskQueueResponse) ProtoMessage() {}
|
|
func (*PollWorkflowTaskQueueResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{15}
|
|
}
|
|
func (m *PollWorkflowTaskQueueResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PollWorkflowTaskQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PollWorkflowTaskQueueResponse.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 *PollWorkflowTaskQueueResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PollWorkflowTaskQueueResponse.Merge(m, src)
|
|
}
|
|
func (m *PollWorkflowTaskQueueResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PollWorkflowTaskQueueResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PollWorkflowTaskQueueResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PollWorkflowTaskQueueResponse proto.InternalMessageInfo
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetWorkflowType() *v13.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetPreviousStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.PreviousStartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetStartedEventId() int64 {
|
|
if m != nil {
|
|
return m.StartedEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetAttempt() int32 {
|
|
if m != nil {
|
|
return m.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetBacklogCountHint() int64 {
|
|
if m != nil {
|
|
return m.BacklogCountHint
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetHistory() *v15.History {
|
|
if m != nil {
|
|
return m.History
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetQuery() *v16.WorkflowQuery {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetWorkflowExecutionTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.WorkflowExecutionTaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.ScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetStartedTime() *time.Time {
|
|
if m != nil {
|
|
return m.StartedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) GetQueries() map[string]*v16.WorkflowQuery {
|
|
if m != nil {
|
|
return m.Queries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RespondWorkflowTaskCompletedRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Commands []*v17.Command `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
StickyAttributes *v14.StickyExecutionAttributes `protobuf:"bytes,4,opt,name=sticky_attributes,json=stickyAttributes,proto3" json:"sticky_attributes,omitempty"`
|
|
ReturnNewWorkflowTask bool `protobuf:"varint,5,opt,name=return_new_workflow_task,json=returnNewWorkflowTask,proto3" json:"return_new_workflow_task,omitempty"`
|
|
ForceCreateNewWorkflowTask bool `protobuf:"varint,6,opt,name=force_create_new_workflow_task,json=forceCreateNewWorkflowTask,proto3" json:"force_create_new_workflow_task,omitempty"`
|
|
BinaryChecksum string `protobuf:"bytes,7,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"`
|
|
QueryResults map[string]*v16.WorkflowQueryResult `protobuf:"bytes,8,rep,name=query_results,json=queryResults,proto3" json:"query_results,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) Reset() { *m = RespondWorkflowTaskCompletedRequest{} }
|
|
func (*RespondWorkflowTaskCompletedRequest) ProtoMessage() {}
|
|
func (*RespondWorkflowTaskCompletedRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{16}
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondWorkflowTaskCompletedRequest.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 *RespondWorkflowTaskCompletedRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondWorkflowTaskCompletedRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondWorkflowTaskCompletedRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondWorkflowTaskCompletedRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetCommands() []*v17.Command {
|
|
if m != nil {
|
|
return m.Commands
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetStickyAttributes() *v14.StickyExecutionAttributes {
|
|
if m != nil {
|
|
return m.StickyAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetReturnNewWorkflowTask() bool {
|
|
if m != nil {
|
|
return m.ReturnNewWorkflowTask
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetForceCreateNewWorkflowTask() bool {
|
|
if m != nil {
|
|
return m.ForceCreateNewWorkflowTask
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetBinaryChecksum() string {
|
|
if m != nil {
|
|
return m.BinaryChecksum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetQueryResults() map[string]*v16.WorkflowQueryResult {
|
|
if m != nil {
|
|
return m.QueryResults
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondWorkflowTaskCompletedResponse struct {
|
|
WorkflowTask *PollWorkflowTaskQueueResponse `protobuf:"bytes,1,opt,name=workflow_task,json=workflowTask,proto3" json:"workflow_task,omitempty"`
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedResponse) Reset() { *m = RespondWorkflowTaskCompletedResponse{} }
|
|
func (*RespondWorkflowTaskCompletedResponse) ProtoMessage() {}
|
|
func (*RespondWorkflowTaskCompletedResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{17}
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondWorkflowTaskCompletedResponse.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 *RespondWorkflowTaskCompletedResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondWorkflowTaskCompletedResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondWorkflowTaskCompletedResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondWorkflowTaskCompletedResponse proto.InternalMessageInfo
|
|
|
|
func (m *RespondWorkflowTaskCompletedResponse) GetWorkflowTask() *PollWorkflowTaskQueueResponse {
|
|
if m != nil {
|
|
return m.WorkflowTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RespondWorkflowTaskFailedRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Cause v11.WorkflowTaskFailedCause `protobuf:"varint,2,opt,name=cause,proto3,enum=temporal.api.enums.v1.WorkflowTaskFailedCause" json:"cause,omitempty"`
|
|
Failure *v18.Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
BinaryChecksum string `protobuf:"bytes,5,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"`
|
|
Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) Reset() { *m = RespondWorkflowTaskFailedRequest{} }
|
|
func (*RespondWorkflowTaskFailedRequest) ProtoMessage() {}
|
|
func (*RespondWorkflowTaskFailedRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{18}
|
|
}
|
|
func (m *RespondWorkflowTaskFailedRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondWorkflowTaskFailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondWorkflowTaskFailedRequest.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 *RespondWorkflowTaskFailedRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondWorkflowTaskFailedRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondWorkflowTaskFailedRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondWorkflowTaskFailedRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondWorkflowTaskFailedRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondWorkflowTaskFailedRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetCause() v11.WorkflowTaskFailedCause {
|
|
if m != nil {
|
|
return m.Cause
|
|
}
|
|
return v11.WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetFailure() *v18.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetBinaryChecksum() string {
|
|
if m != nil {
|
|
return m.BinaryChecksum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondWorkflowTaskFailedResponse struct {
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedResponse) Reset() { *m = RespondWorkflowTaskFailedResponse{} }
|
|
func (*RespondWorkflowTaskFailedResponse) ProtoMessage() {}
|
|
func (*RespondWorkflowTaskFailedResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{19}
|
|
}
|
|
func (m *RespondWorkflowTaskFailedResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondWorkflowTaskFailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondWorkflowTaskFailedResponse.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 *RespondWorkflowTaskFailedResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondWorkflowTaskFailedResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondWorkflowTaskFailedResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondWorkflowTaskFailedResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondWorkflowTaskFailedResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondWorkflowTaskFailedResponse proto.InternalMessageInfo
|
|
|
|
type PollActivityTaskQueueRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
TaskQueueMetadata *v14.TaskQueueMetadata `protobuf:"bytes,4,opt,name=task_queue_metadata,json=taskQueueMetadata,proto3" json:"task_queue_metadata,omitempty"`
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) Reset() { *m = PollActivityTaskQueueRequest{} }
|
|
func (*PollActivityTaskQueueRequest) ProtoMessage() {}
|
|
func (*PollActivityTaskQueueRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{20}
|
|
}
|
|
func (m *PollActivityTaskQueueRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PollActivityTaskQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PollActivityTaskQueueRequest.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 *PollActivityTaskQueueRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PollActivityTaskQueueRequest.Merge(m, src)
|
|
}
|
|
func (m *PollActivityTaskQueueRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PollActivityTaskQueueRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PollActivityTaskQueueRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PollActivityTaskQueueRequest proto.InternalMessageInfo
|
|
|
|
func (m *PollActivityTaskQueueRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) GetTaskQueueMetadata() *v14.TaskQueueMetadata {
|
|
if m != nil {
|
|
return m.TaskQueueMetadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PollActivityTaskQueueResponse struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
WorkflowNamespace string `protobuf:"bytes,2,opt,name=workflow_namespace,json=workflowNamespace,proto3" json:"workflow_namespace,omitempty"`
|
|
WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
ActivityType *v13.ActivityType `protobuf:"bytes,5,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
|
|
ActivityId string `protobuf:"bytes,6,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
Header *v13.Header `protobuf:"bytes,7,opt,name=header,proto3" json:"header,omitempty"`
|
|
Input *v13.Payloads `protobuf:"bytes,8,opt,name=input,proto3" json:"input,omitempty"`
|
|
HeartbeatDetails *v13.Payloads `protobuf:"bytes,9,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"`
|
|
ScheduledTime *time.Time `protobuf:"bytes,10,opt,name=scheduled_time,json=scheduledTime,proto3,stdtime" json:"scheduled_time,omitempty"`
|
|
CurrentAttemptScheduledTime *time.Time `protobuf:"bytes,11,opt,name=current_attempt_scheduled_time,json=currentAttemptScheduledTime,proto3,stdtime" json:"current_attempt_scheduled_time,omitempty"`
|
|
StartedTime *time.Time `protobuf:"bytes,12,opt,name=started_time,json=startedTime,proto3,stdtime" json:"started_time,omitempty"`
|
|
Attempt int32 `protobuf:"varint,13,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
// (-- api-linter: core::0140::prepositions=disabled
|
|
// aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
ScheduleToCloseTimeout *time.Duration `protobuf:"bytes,14,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,15,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3,stdduration" json:"start_to_close_timeout,omitempty"`
|
|
HeartbeatTimeout *time.Duration `protobuf:"bytes,16,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3,stdduration" json:"heartbeat_timeout,omitempty"`
|
|
// This is an actual retry policy the service uses.
|
|
// It can be different from the one provided (or not) during activity scheduling
|
|
// as the service can override the provided one in case its values are not specified
|
|
// or exceed configured system limits.
|
|
RetryPolicy *v13.RetryPolicy `protobuf:"bytes,17,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) Reset() { *m = PollActivityTaskQueueResponse{} }
|
|
func (*PollActivityTaskQueueResponse) ProtoMessage() {}
|
|
func (*PollActivityTaskQueueResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{21}
|
|
}
|
|
func (m *PollActivityTaskQueueResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PollActivityTaskQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PollActivityTaskQueueResponse.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 *PollActivityTaskQueueResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PollActivityTaskQueueResponse.Merge(m, src)
|
|
}
|
|
func (m *PollActivityTaskQueueResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PollActivityTaskQueueResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PollActivityTaskQueueResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PollActivityTaskQueueResponse proto.InternalMessageInfo
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetWorkflowNamespace() string {
|
|
if m != nil {
|
|
return m.WorkflowNamespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetWorkflowType() *v13.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetActivityType() *v13.ActivityType {
|
|
if m != nil {
|
|
return m.ActivityType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetHeader() *v13.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetInput() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetHeartbeatDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.HeartbeatDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.ScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetCurrentAttemptScheduledTime() *time.Time {
|
|
if m != nil {
|
|
return m.CurrentAttemptScheduledTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetStartedTime() *time.Time {
|
|
if m != nil {
|
|
return m.StartedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetAttempt() int32 {
|
|
if m != nil {
|
|
return m.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetScheduleToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.ScheduleToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetStartToCloseTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.StartToCloseTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetHeartbeatTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.HeartbeatTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) GetRetryPolicy() *v13.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecordActivityTaskHeartbeatRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Details *v13.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) Reset() { *m = RecordActivityTaskHeartbeatRequest{} }
|
|
func (*RecordActivityTaskHeartbeatRequest) ProtoMessage() {}
|
|
func (*RecordActivityTaskHeartbeatRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{22}
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RecordActivityTaskHeartbeatRequest.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 *RecordActivityTaskHeartbeatRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatRequest.Merge(m, src)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordActivityTaskHeartbeatRequest proto.InternalMessageInfo
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) GetDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecordActivityTaskHeartbeatResponse struct {
|
|
CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatResponse) Reset() { *m = RecordActivityTaskHeartbeatResponse{} }
|
|
func (*RecordActivityTaskHeartbeatResponse) ProtoMessage() {}
|
|
func (*RecordActivityTaskHeartbeatResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{23}
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RecordActivityTaskHeartbeatResponse.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 *RecordActivityTaskHeartbeatResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatResponse.Merge(m, src)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordActivityTaskHeartbeatResponse proto.InternalMessageInfo
|
|
|
|
func (m *RecordActivityTaskHeartbeatResponse) GetCancelRequested() bool {
|
|
if m != nil {
|
|
return m.CancelRequested
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RecordActivityTaskHeartbeatByIdRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
Details *v13.Payloads `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
|
|
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) Reset() {
|
|
*m = RecordActivityTaskHeartbeatByIdRequest{}
|
|
}
|
|
func (*RecordActivityTaskHeartbeatByIdRequest) ProtoMessage() {}
|
|
func (*RecordActivityTaskHeartbeatByIdRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{24}
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RecordActivityTaskHeartbeatByIdRequest.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 *RecordActivityTaskHeartbeatByIdRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatByIdRequest.Merge(m, src)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatByIdRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordActivityTaskHeartbeatByIdRequest proto.InternalMessageInfo
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecordActivityTaskHeartbeatByIdResponse struct {
|
|
CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) Reset() {
|
|
*m = RecordActivityTaskHeartbeatByIdResponse{}
|
|
}
|
|
func (*RecordActivityTaskHeartbeatByIdResponse) ProtoMessage() {}
|
|
func (*RecordActivityTaskHeartbeatByIdResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{25}
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RecordActivityTaskHeartbeatByIdResponse.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 *RecordActivityTaskHeartbeatByIdResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatByIdResponse.Merge(m, src)
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordActivityTaskHeartbeatByIdResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordActivityTaskHeartbeatByIdResponse proto.InternalMessageInfo
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) GetCancelRequested() bool {
|
|
if m != nil {
|
|
return m.CancelRequested
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RespondActivityTaskCompletedRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Result *v13.Payloads `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) Reset() { *m = RespondActivityTaskCompletedRequest{} }
|
|
func (*RespondActivityTaskCompletedRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskCompletedRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{26}
|
|
}
|
|
func (m *RespondActivityTaskCompletedRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCompletedRequest.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 *RespondActivityTaskCompletedRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCompletedRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCompletedRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCompletedRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCompletedRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCompletedRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) GetResult() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskCompletedResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedResponse) Reset() { *m = RespondActivityTaskCompletedResponse{} }
|
|
func (*RespondActivityTaskCompletedResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskCompletedResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{27}
|
|
}
|
|
func (m *RespondActivityTaskCompletedResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCompletedResponse.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 *RespondActivityTaskCompletedResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCompletedResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCompletedResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCompletedResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCompletedResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCompletedResponse proto.InternalMessageInfo
|
|
|
|
type RespondActivityTaskCompletedByIdRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
Result *v13.Payloads `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
|
|
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) Reset() {
|
|
*m = RespondActivityTaskCompletedByIdRequest{}
|
|
}
|
|
func (*RespondActivityTaskCompletedByIdRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskCompletedByIdRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{28}
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCompletedByIdRequest.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 *RespondActivityTaskCompletedByIdRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCompletedByIdRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCompletedByIdRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCompletedByIdRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetResult() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskCompletedByIdResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdResponse) Reset() {
|
|
*m = RespondActivityTaskCompletedByIdResponse{}
|
|
}
|
|
func (*RespondActivityTaskCompletedByIdResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskCompletedByIdResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{29}
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCompletedByIdResponse.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 *RespondActivityTaskCompletedByIdResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCompletedByIdResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCompletedByIdResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCompletedByIdResponse proto.InternalMessageInfo
|
|
|
|
type RespondActivityTaskFailedRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Failure *v18.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) Reset() { *m = RespondActivityTaskFailedRequest{} }
|
|
func (*RespondActivityTaskFailedRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskFailedRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{30}
|
|
}
|
|
func (m *RespondActivityTaskFailedRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskFailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskFailedRequest.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 *RespondActivityTaskFailedRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskFailedRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskFailedRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskFailedRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskFailedRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskFailedRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskFailedRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) GetFailure() *v18.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskFailedResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedResponse) Reset() { *m = RespondActivityTaskFailedResponse{} }
|
|
func (*RespondActivityTaskFailedResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskFailedResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{31}
|
|
}
|
|
func (m *RespondActivityTaskFailedResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskFailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskFailedResponse.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 *RespondActivityTaskFailedResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskFailedResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskFailedResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskFailedResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskFailedResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskFailedResponse proto.InternalMessageInfo
|
|
|
|
type RespondActivityTaskFailedByIdRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
Failure *v18.Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) Reset() { *m = RespondActivityTaskFailedByIdRequest{} }
|
|
func (*RespondActivityTaskFailedByIdRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskFailedByIdRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{32}
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskFailedByIdRequest.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 *RespondActivityTaskFailedByIdRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskFailedByIdRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskFailedByIdRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskFailedByIdRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetFailure() *v18.Failure {
|
|
if m != nil {
|
|
return m.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskFailedByIdResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdResponse) Reset() { *m = RespondActivityTaskFailedByIdResponse{} }
|
|
func (*RespondActivityTaskFailedByIdResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskFailedByIdResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{33}
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskFailedByIdResponse.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 *RespondActivityTaskFailedByIdResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskFailedByIdResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskFailedByIdResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskFailedByIdResponse proto.InternalMessageInfo
|
|
|
|
type RespondActivityTaskCanceledRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
Details *v13.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) Reset() { *m = RespondActivityTaskCanceledRequest{} }
|
|
func (*RespondActivityTaskCanceledRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskCanceledRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{34}
|
|
}
|
|
func (m *RespondActivityTaskCanceledRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCanceledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCanceledRequest.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 *RespondActivityTaskCanceledRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCanceledRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCanceledRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCanceledRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCanceledRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCanceledRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) GetDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskCanceledResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledResponse) Reset() { *m = RespondActivityTaskCanceledResponse{} }
|
|
func (*RespondActivityTaskCanceledResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskCanceledResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{35}
|
|
}
|
|
func (m *RespondActivityTaskCanceledResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCanceledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCanceledResponse.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 *RespondActivityTaskCanceledResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCanceledResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCanceledResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCanceledResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCanceledResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCanceledResponse proto.InternalMessageInfo
|
|
|
|
type RespondActivityTaskCanceledByIdRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
|
|
Details *v13.Payloads `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
|
|
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) Reset() {
|
|
*m = RespondActivityTaskCanceledByIdRequest{}
|
|
}
|
|
func (*RespondActivityTaskCanceledByIdRequest) ProtoMessage() {}
|
|
func (*RespondActivityTaskCanceledByIdRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{36}
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCanceledByIdRequest.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 *RespondActivityTaskCanceledByIdRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCanceledByIdRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCanceledByIdRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCanceledByIdRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetActivityId() string {
|
|
if m != nil {
|
|
return m.ActivityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondActivityTaskCanceledByIdResponse struct {
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdResponse) Reset() {
|
|
*m = RespondActivityTaskCanceledByIdResponse{}
|
|
}
|
|
func (*RespondActivityTaskCanceledByIdResponse) ProtoMessage() {}
|
|
func (*RespondActivityTaskCanceledByIdResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{37}
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondActivityTaskCanceledByIdResponse.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 *RespondActivityTaskCanceledByIdResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondActivityTaskCanceledByIdResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondActivityTaskCanceledByIdResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondActivityTaskCanceledByIdResponse proto.InternalMessageInfo
|
|
|
|
type RequestCancelWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
FirstExecutionRunId string `protobuf:"bytes,5,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"`
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) Reset() { *m = RequestCancelWorkflowExecutionRequest{} }
|
|
func (*RequestCancelWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*RequestCancelWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{38}
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RequestCancelWorkflowExecutionRequest.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 *RequestCancelWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestCancelWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestCancelWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestCancelWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) GetFirstExecutionRunId() string {
|
|
if m != nil {
|
|
return m.FirstExecutionRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequestCancelWorkflowExecutionResponse struct {
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionResponse) Reset() {
|
|
*m = RequestCancelWorkflowExecutionResponse{}
|
|
}
|
|
func (*RequestCancelWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*RequestCancelWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{39}
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RequestCancelWorkflowExecutionResponse.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 *RequestCancelWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestCancelWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestCancelWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestCancelWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
type SignalWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"`
|
|
Input *v13.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
|
|
Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
Control string `protobuf:"bytes,7,opt,name=control,proto3" json:"control,omitempty"`
|
|
// Headers that are passed with the signal to the processing workflow.
|
|
// These can include things like auth or tracing tokens.
|
|
Header *v13.Header `protobuf:"bytes,8,opt,name=header,proto3" json:"header,omitempty"`
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) Reset() { *m = SignalWorkflowExecutionRequest{} }
|
|
func (*SignalWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*SignalWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{40}
|
|
}
|
|
func (m *SignalWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalWorkflowExecutionRequest.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 *SignalWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *SignalWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetSignalName() string {
|
|
if m != nil {
|
|
return m.SignalName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetInput() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetControl() string {
|
|
if m != nil {
|
|
return m.Control
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) GetHeader() *v13.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SignalWorkflowExecutionResponse struct {
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionResponse) Reset() { *m = SignalWorkflowExecutionResponse{} }
|
|
func (*SignalWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*SignalWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{41}
|
|
}
|
|
func (m *SignalWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalWorkflowExecutionResponse.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 *SignalWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *SignalWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
type SignalWithStartWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
|
|
WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
Input *v13.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
|
|
// Total workflow execution timeout including retries and continue as new
|
|
WorkflowExecutionTimeout *time.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3,stdduration" json:"workflow_execution_timeout,omitempty"`
|
|
// Timeout of a single workflow run
|
|
WorkflowRunTimeout *time.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3,stdduration" json:"workflow_run_timeout,omitempty"`
|
|
// Timeout of a single workflow task
|
|
WorkflowTaskTimeout *time.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3,stdduration" json:"workflow_task_timeout,omitempty"`
|
|
Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
RequestId string `protobuf:"bytes,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
WorkflowIdReusePolicy v11.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"`
|
|
SignalName string `protobuf:"bytes,12,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"`
|
|
SignalInput *v13.Payloads `protobuf:"bytes,13,opt,name=signal_input,json=signalInput,proto3" json:"signal_input,omitempty"`
|
|
Control string `protobuf:"bytes,14,opt,name=control,proto3" json:"control,omitempty"`
|
|
// Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
RetryPolicy *v13.RetryPolicy `protobuf:"bytes,15,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
|
|
CronSchedule string `protobuf:"bytes,16,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
|
|
Memo *v13.Memo `protobuf:"bytes,17,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
SearchAttributes *v13.SearchAttributes `protobuf:"bytes,18,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
|
|
Header *v13.Header `protobuf:"bytes,19,opt,name=header,proto3" json:"header,omitempty"`
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) Reset() {
|
|
*m = SignalWithStartWorkflowExecutionRequest{}
|
|
}
|
|
func (*SignalWithStartWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*SignalWithStartWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{42}
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.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 *SignalWithStartWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalWithStartWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowId() string {
|
|
if m != nil {
|
|
return m.WorkflowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowType() *v13.WorkflowType {
|
|
if m != nil {
|
|
return m.WorkflowType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetInput() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowExecutionTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowExecutionTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowRunTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowRunTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowTaskTimeout() *time.Duration {
|
|
if m != nil {
|
|
return m.WorkflowTaskTimeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() v11.WorkflowIdReusePolicy {
|
|
if m != nil {
|
|
return m.WorkflowIdReusePolicy
|
|
}
|
|
return v11.WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetSignalName() string {
|
|
if m != nil {
|
|
return m.SignalName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetSignalInput() *v13.Payloads {
|
|
if m != nil {
|
|
return m.SignalInput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetControl() string {
|
|
if m != nil {
|
|
return m.Control
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetRetryPolicy() *v13.RetryPolicy {
|
|
if m != nil {
|
|
return m.RetryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetCronSchedule() string {
|
|
if m != nil {
|
|
return m.CronSchedule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetMemo() *v13.Memo {
|
|
if m != nil {
|
|
return m.Memo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetSearchAttributes() *v13.SearchAttributes {
|
|
if m != nil {
|
|
return m.SearchAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) GetHeader() *v13.Header {
|
|
if m != nil {
|
|
return m.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SignalWithStartWorkflowExecutionResponse struct {
|
|
RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionResponse) Reset() {
|
|
*m = SignalWithStartWorkflowExecutionResponse{}
|
|
}
|
|
func (*SignalWithStartWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*SignalWithStartWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{43}
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.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 *SignalWithStartWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SignalWithStartWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
func (m *SignalWithStartWorkflowExecutionResponse) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResetWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
WorkflowTaskFinishEventId int64 `protobuf:"varint,4,opt,name=workflow_task_finish_event_id,json=workflowTaskFinishEventId,proto3" json:"workflow_task_finish_event_id,omitempty"`
|
|
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
ResetReapplyType v11.ResetReapplyType `protobuf:"varint,6,opt,name=reset_reapply_type,json=resetReapplyType,proto3,enum=temporal.api.enums.v1.ResetReapplyType" json:"reset_reapply_type,omitempty"`
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) Reset() { *m = ResetWorkflowExecutionRequest{} }
|
|
func (*ResetWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*ResetWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{44}
|
|
}
|
|
func (m *ResetWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResetWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ResetWorkflowExecutionRequest.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 *ResetWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResetWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *ResetWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResetWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResetWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResetWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetReason() string {
|
|
if m != nil {
|
|
return m.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetWorkflowTaskFinishEventId() int64 {
|
|
if m != nil {
|
|
return m.WorkflowTaskFinishEventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) GetResetReapplyType() v11.ResetReapplyType {
|
|
if m != nil {
|
|
return m.ResetReapplyType
|
|
}
|
|
return v11.RESET_REAPPLY_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type ResetWorkflowExecutionResponse struct {
|
|
RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionResponse) Reset() { *m = ResetWorkflowExecutionResponse{} }
|
|
func (*ResetWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*ResetWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{45}
|
|
}
|
|
func (m *ResetWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResetWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ResetWorkflowExecutionResponse.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 *ResetWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResetWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *ResetWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResetWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResetWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResetWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
func (m *ResetWorkflowExecutionResponse) GetRunId() string {
|
|
if m != nil {
|
|
return m.RunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TerminateWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
Details *v13.Payloads `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
|
|
Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
FirstExecutionRunId string `protobuf:"bytes,6,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"`
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) Reset() { *m = TerminateWorkflowExecutionRequest{} }
|
|
func (*TerminateWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*TerminateWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{46}
|
|
}
|
|
func (m *TerminateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TerminateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TerminateWorkflowExecutionRequest.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 *TerminateWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TerminateWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *TerminateWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TerminateWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TerminateWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TerminateWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.WorkflowExecution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetReason() string {
|
|
if m != nil {
|
|
return m.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetDetails() *v13.Payloads {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetIdentity() string {
|
|
if m != nil {
|
|
return m.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) GetFirstExecutionRunId() string {
|
|
if m != nil {
|
|
return m.FirstExecutionRunId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TerminateWorkflowExecutionResponse struct {
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionResponse) Reset() { *m = TerminateWorkflowExecutionResponse{} }
|
|
func (*TerminateWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*TerminateWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{47}
|
|
}
|
|
func (m *TerminateWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TerminateWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TerminateWorkflowExecutionResponse.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 *TerminateWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TerminateWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *TerminateWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TerminateWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TerminateWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TerminateWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
type ListOpenWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
MaximumPageSize int32 `protobuf:"varint,2,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
StartTimeFilter *v19.StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"`
|
|
// Types that are valid to be assigned to Filters:
|
|
// *ListOpenWorkflowExecutionsRequest_ExecutionFilter
|
|
// *ListOpenWorkflowExecutionsRequest_TypeFilter
|
|
Filters isListOpenWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"`
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) Reset() { *m = ListOpenWorkflowExecutionsRequest{} }
|
|
func (*ListOpenWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*ListOpenWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{48}
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListOpenWorkflowExecutionsRequest.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 *ListOpenWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListOpenWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListOpenWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListOpenWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
type isListOpenWorkflowExecutionsRequest_Filters interface {
|
|
isListOpenWorkflowExecutionsRequest_Filters()
|
|
Equal(interface{}) bool
|
|
MarshalTo([]byte) (int, error)
|
|
Size() int
|
|
}
|
|
|
|
type ListOpenWorkflowExecutionsRequest_ExecutionFilter struct {
|
|
ExecutionFilter *v19.WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"`
|
|
}
|
|
type ListOpenWorkflowExecutionsRequest_TypeFilter struct {
|
|
TypeFilter *v19.WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"`
|
|
}
|
|
|
|
func (*ListOpenWorkflowExecutionsRequest_ExecutionFilter) isListOpenWorkflowExecutionsRequest_Filters() {
|
|
}
|
|
func (*ListOpenWorkflowExecutionsRequest_TypeFilter) isListOpenWorkflowExecutionsRequest_Filters() {}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetFilters() isListOpenWorkflowExecutionsRequest_Filters {
|
|
if m != nil {
|
|
return m.Filters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetMaximumPageSize() int32 {
|
|
if m != nil {
|
|
return m.MaximumPageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetStartTimeFilter() *v19.StartTimeFilter {
|
|
if m != nil {
|
|
return m.StartTimeFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetExecutionFilter() *v19.WorkflowExecutionFilter {
|
|
if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_ExecutionFilter); ok {
|
|
return x.ExecutionFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) GetTypeFilter() *v19.WorkflowTypeFilter {
|
|
if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_TypeFilter); ok {
|
|
return x.TypeFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*ListOpenWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*ListOpenWorkflowExecutionsRequest_ExecutionFilter)(nil),
|
|
(*ListOpenWorkflowExecutionsRequest_TypeFilter)(nil),
|
|
}
|
|
}
|
|
|
|
type ListOpenWorkflowExecutionsResponse struct {
|
|
Executions []*v110.WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsResponse) Reset() { *m = ListOpenWorkflowExecutionsResponse{} }
|
|
func (*ListOpenWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*ListOpenWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{49}
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListOpenWorkflowExecutionsResponse.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 *ListOpenWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListOpenWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListOpenWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListOpenWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListOpenWorkflowExecutionsResponse) GetExecutions() []*v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.Executions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListClosedWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
MaximumPageSize int32 `protobuf:"varint,2,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
StartTimeFilter *v19.StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"`
|
|
// Types that are valid to be assigned to Filters:
|
|
// *ListClosedWorkflowExecutionsRequest_ExecutionFilter
|
|
// *ListClosedWorkflowExecutionsRequest_TypeFilter
|
|
// *ListClosedWorkflowExecutionsRequest_StatusFilter
|
|
Filters isListClosedWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"`
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) Reset() { *m = ListClosedWorkflowExecutionsRequest{} }
|
|
func (*ListClosedWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*ListClosedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{50}
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListClosedWorkflowExecutionsRequest.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 *ListClosedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListClosedWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListClosedWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListClosedWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
type isListClosedWorkflowExecutionsRequest_Filters interface {
|
|
isListClosedWorkflowExecutionsRequest_Filters()
|
|
Equal(interface{}) bool
|
|
MarshalTo([]byte) (int, error)
|
|
Size() int
|
|
}
|
|
|
|
type ListClosedWorkflowExecutionsRequest_ExecutionFilter struct {
|
|
ExecutionFilter *v19.WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"`
|
|
}
|
|
type ListClosedWorkflowExecutionsRequest_TypeFilter struct {
|
|
TypeFilter *v19.WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"`
|
|
}
|
|
type ListClosedWorkflowExecutionsRequest_StatusFilter struct {
|
|
StatusFilter *v19.StatusFilter `protobuf:"bytes,7,opt,name=status_filter,json=statusFilter,proto3,oneof" json:"status_filter,omitempty"`
|
|
}
|
|
|
|
func (*ListClosedWorkflowExecutionsRequest_ExecutionFilter) isListClosedWorkflowExecutionsRequest_Filters() {
|
|
}
|
|
func (*ListClosedWorkflowExecutionsRequest_TypeFilter) isListClosedWorkflowExecutionsRequest_Filters() {
|
|
}
|
|
func (*ListClosedWorkflowExecutionsRequest_StatusFilter) isListClosedWorkflowExecutionsRequest_Filters() {
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetFilters() isListClosedWorkflowExecutionsRequest_Filters {
|
|
if m != nil {
|
|
return m.Filters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetMaximumPageSize() int32 {
|
|
if m != nil {
|
|
return m.MaximumPageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetStartTimeFilter() *v19.StartTimeFilter {
|
|
if m != nil {
|
|
return m.StartTimeFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetExecutionFilter() *v19.WorkflowExecutionFilter {
|
|
if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_ExecutionFilter); ok {
|
|
return x.ExecutionFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetTypeFilter() *v19.WorkflowTypeFilter {
|
|
if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_TypeFilter); ok {
|
|
return x.TypeFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) GetStatusFilter() *v19.StatusFilter {
|
|
if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_StatusFilter); ok {
|
|
return x.StatusFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*ListClosedWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*ListClosedWorkflowExecutionsRequest_ExecutionFilter)(nil),
|
|
(*ListClosedWorkflowExecutionsRequest_TypeFilter)(nil),
|
|
(*ListClosedWorkflowExecutionsRequest_StatusFilter)(nil),
|
|
}
|
|
}
|
|
|
|
type ListClosedWorkflowExecutionsResponse struct {
|
|
Executions []*v110.WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsResponse) Reset() { *m = ListClosedWorkflowExecutionsResponse{} }
|
|
func (*ListClosedWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*ListClosedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{51}
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListClosedWorkflowExecutionsResponse.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 *ListClosedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListClosedWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListClosedWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListClosedWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListClosedWorkflowExecutionsResponse) GetExecutions() []*v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.Executions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) Reset() { *m = ListWorkflowExecutionsRequest{} }
|
|
func (*ListWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{52}
|
|
}
|
|
func (m *ListWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListWorkflowExecutionsRequest.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 *ListWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) GetQuery() string {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListWorkflowExecutionsResponse struct {
|
|
Executions []*v110.WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsResponse) Reset() { *m = ListWorkflowExecutionsResponse{} }
|
|
func (*ListWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{53}
|
|
}
|
|
func (m *ListWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListWorkflowExecutionsResponse.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 *ListWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowExecutionsResponse) GetExecutions() []*v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.Executions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListArchivedWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) Reset() { *m = ListArchivedWorkflowExecutionsRequest{} }
|
|
func (*ListArchivedWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*ListArchivedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{54}
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.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 *ListArchivedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListArchivedWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) GetQuery() string {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListArchivedWorkflowExecutionsResponse struct {
|
|
Executions []*v110.WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) Reset() {
|
|
*m = ListArchivedWorkflowExecutionsResponse{}
|
|
}
|
|
func (*ListArchivedWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*ListArchivedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{55}
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.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 *ListArchivedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListArchivedWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) GetExecutions() []*v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.Executions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScanWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) Reset() { *m = ScanWorkflowExecutionsRequest{} }
|
|
func (*ScanWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*ScanWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{56}
|
|
}
|
|
func (m *ScanWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ScanWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ScanWorkflowExecutionsRequest.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 *ScanWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ScanWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ScanWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ScanWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ScanWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ScanWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) GetQuery() string {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ScanWorkflowExecutionsResponse struct {
|
|
Executions []*v110.WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
|
|
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) Reset() { *m = ScanWorkflowExecutionsResponse{} }
|
|
func (*ScanWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*ScanWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{57}
|
|
}
|
|
func (m *ScanWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ScanWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ScanWorkflowExecutionsResponse.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 *ScanWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ScanWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ScanWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ScanWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ScanWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ScanWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) GetExecutions() []*v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.Executions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) GetNextPageToken() []byte {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CountWorkflowExecutionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsRequest) Reset() { *m = CountWorkflowExecutionsRequest{} }
|
|
func (*CountWorkflowExecutionsRequest) ProtoMessage() {}
|
|
func (*CountWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{58}
|
|
}
|
|
func (m *CountWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CountWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CountWorkflowExecutionsRequest.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 *CountWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CountWorkflowExecutionsRequest.Merge(m, src)
|
|
}
|
|
func (m *CountWorkflowExecutionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CountWorkflowExecutionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CountWorkflowExecutionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CountWorkflowExecutionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *CountWorkflowExecutionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsRequest) GetQuery() string {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CountWorkflowExecutionsResponse struct {
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsResponse) Reset() { *m = CountWorkflowExecutionsResponse{} }
|
|
func (*CountWorkflowExecutionsResponse) ProtoMessage() {}
|
|
func (*CountWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{59}
|
|
}
|
|
func (m *CountWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CountWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CountWorkflowExecutionsResponse.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 *CountWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CountWorkflowExecutionsResponse.Merge(m, src)
|
|
}
|
|
func (m *CountWorkflowExecutionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CountWorkflowExecutionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CountWorkflowExecutionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CountWorkflowExecutionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *CountWorkflowExecutionsResponse) GetCount() int64 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetSearchAttributesRequest struct {
|
|
}
|
|
|
|
func (m *GetSearchAttributesRequest) Reset() { *m = GetSearchAttributesRequest{} }
|
|
func (*GetSearchAttributesRequest) ProtoMessage() {}
|
|
func (*GetSearchAttributesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{60}
|
|
}
|
|
func (m *GetSearchAttributesRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetSearchAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetSearchAttributesRequest.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 *GetSearchAttributesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSearchAttributesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetSearchAttributesRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetSearchAttributesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSearchAttributesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSearchAttributesRequest proto.InternalMessageInfo
|
|
|
|
type GetSearchAttributesResponse struct {
|
|
Keys map[string]v11.IndexedValueType `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=temporal.api.enums.v1.IndexedValueType"`
|
|
}
|
|
|
|
func (m *GetSearchAttributesResponse) Reset() { *m = GetSearchAttributesResponse{} }
|
|
func (*GetSearchAttributesResponse) ProtoMessage() {}
|
|
func (*GetSearchAttributesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{61}
|
|
}
|
|
func (m *GetSearchAttributesResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetSearchAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetSearchAttributesResponse.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 *GetSearchAttributesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSearchAttributesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetSearchAttributesResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetSearchAttributesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSearchAttributesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSearchAttributesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetSearchAttributesResponse) GetKeys() map[string]v11.IndexedValueType {
|
|
if m != nil {
|
|
return m.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TODO: deprecated APIs
|
|
type RespondQueryTaskCompletedRequest struct {
|
|
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
|
|
CompletedType v11.QueryResultType `protobuf:"varint,2,opt,name=completed_type,json=completedType,proto3,enum=temporal.api.enums.v1.QueryResultType" json:"completed_type,omitempty"`
|
|
QueryResult *v13.Payloads `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
|
|
ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
|
|
Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) Reset() { *m = RespondQueryTaskCompletedRequest{} }
|
|
func (*RespondQueryTaskCompletedRequest) ProtoMessage() {}
|
|
func (*RespondQueryTaskCompletedRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{62}
|
|
}
|
|
func (m *RespondQueryTaskCompletedRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondQueryTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondQueryTaskCompletedRequest.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 *RespondQueryTaskCompletedRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondQueryTaskCompletedRequest.Merge(m, src)
|
|
}
|
|
func (m *RespondQueryTaskCompletedRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondQueryTaskCompletedRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondQueryTaskCompletedRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondQueryTaskCompletedRequest proto.InternalMessageInfo
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) GetTaskToken() []byte {
|
|
if m != nil {
|
|
return m.TaskToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) GetCompletedType() v11.QueryResultType {
|
|
if m != nil {
|
|
return m.CompletedType
|
|
}
|
|
return v11.QUERY_RESULT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) GetQueryResult() *v13.Payloads {
|
|
if m != nil {
|
|
return m.QueryResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) GetErrorMessage() string {
|
|
if m != nil {
|
|
return m.ErrorMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RespondQueryTaskCompletedResponse struct {
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedResponse) Reset() { *m = RespondQueryTaskCompletedResponse{} }
|
|
func (*RespondQueryTaskCompletedResponse) ProtoMessage() {}
|
|
func (*RespondQueryTaskCompletedResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{63}
|
|
}
|
|
func (m *RespondQueryTaskCompletedResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *RespondQueryTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_RespondQueryTaskCompletedResponse.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 *RespondQueryTaskCompletedResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RespondQueryTaskCompletedResponse.Merge(m, src)
|
|
}
|
|
func (m *RespondQueryTaskCompletedResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *RespondQueryTaskCompletedResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RespondQueryTaskCompletedResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RespondQueryTaskCompletedResponse proto.InternalMessageInfo
|
|
|
|
type ResetStickyTaskQueueRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueRequest) Reset() { *m = ResetStickyTaskQueueRequest{} }
|
|
func (*ResetStickyTaskQueueRequest) ProtoMessage() {}
|
|
func (*ResetStickyTaskQueueRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{64}
|
|
}
|
|
func (m *ResetStickyTaskQueueRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResetStickyTaskQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ResetStickyTaskQueueRequest.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 *ResetStickyTaskQueueRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResetStickyTaskQueueRequest.Merge(m, src)
|
|
}
|
|
func (m *ResetStickyTaskQueueRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResetStickyTaskQueueRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResetStickyTaskQueueRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResetStickyTaskQueueRequest proto.InternalMessageInfo
|
|
|
|
func (m *ResetStickyTaskQueueRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueRequest) GetExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.Execution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResetStickyTaskQueueResponse struct {
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueResponse) Reset() { *m = ResetStickyTaskQueueResponse{} }
|
|
func (*ResetStickyTaskQueueResponse) ProtoMessage() {}
|
|
func (*ResetStickyTaskQueueResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{65}
|
|
}
|
|
func (m *ResetStickyTaskQueueResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ResetStickyTaskQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ResetStickyTaskQueueResponse.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 *ResetStickyTaskQueueResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResetStickyTaskQueueResponse.Merge(m, src)
|
|
}
|
|
func (m *ResetStickyTaskQueueResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ResetStickyTaskQueueResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResetStickyTaskQueueResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResetStickyTaskQueueResponse proto.InternalMessageInfo
|
|
|
|
type QueryWorkflowRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
|
|
Query *v16.WorkflowQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
|
// QueryRejectCondition can used to reject the query if workflow state does not satisfy condition.
|
|
// Default: QUERY_REJECT_CONDITION_NONE.
|
|
QueryRejectCondition v11.QueryRejectCondition `protobuf:"varint,4,opt,name=query_reject_condition,json=queryRejectCondition,proto3,enum=temporal.api.enums.v1.QueryRejectCondition" json:"query_reject_condition,omitempty"`
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) Reset() { *m = QueryWorkflowRequest{} }
|
|
func (*QueryWorkflowRequest) ProtoMessage() {}
|
|
func (*QueryWorkflowRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{66}
|
|
}
|
|
func (m *QueryWorkflowRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *QueryWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_QueryWorkflowRequest.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 *QueryWorkflowRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryWorkflowRequest.Merge(m, src)
|
|
}
|
|
func (m *QueryWorkflowRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *QueryWorkflowRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryWorkflowRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryWorkflowRequest proto.InternalMessageInfo
|
|
|
|
func (m *QueryWorkflowRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) GetExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.Execution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) GetQuery() *v16.WorkflowQuery {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) GetQueryRejectCondition() v11.QueryRejectCondition {
|
|
if m != nil {
|
|
return m.QueryRejectCondition
|
|
}
|
|
return v11.QUERY_REJECT_CONDITION_UNSPECIFIED
|
|
}
|
|
|
|
type QueryWorkflowResponse struct {
|
|
QueryResult *v13.Payloads `protobuf:"bytes,1,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
|
|
QueryRejected *v16.QueryRejected `protobuf:"bytes,2,opt,name=query_rejected,json=queryRejected,proto3" json:"query_rejected,omitempty"`
|
|
}
|
|
|
|
func (m *QueryWorkflowResponse) Reset() { *m = QueryWorkflowResponse{} }
|
|
func (*QueryWorkflowResponse) ProtoMessage() {}
|
|
func (*QueryWorkflowResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{67}
|
|
}
|
|
func (m *QueryWorkflowResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *QueryWorkflowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_QueryWorkflowResponse.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 *QueryWorkflowResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryWorkflowResponse.Merge(m, src)
|
|
}
|
|
func (m *QueryWorkflowResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *QueryWorkflowResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryWorkflowResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryWorkflowResponse proto.InternalMessageInfo
|
|
|
|
func (m *QueryWorkflowResponse) GetQueryResult() *v13.Payloads {
|
|
if m != nil {
|
|
return m.QueryResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryWorkflowResponse) GetQueryRejected() *v16.QueryRejected {
|
|
if m != nil {
|
|
return m.QueryRejected
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeWorkflowExecutionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) Reset() { *m = DescribeWorkflowExecutionRequest{} }
|
|
func (*DescribeWorkflowExecutionRequest) ProtoMessage() {}
|
|
func (*DescribeWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{68}
|
|
}
|
|
func (m *DescribeWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeWorkflowExecutionRequest.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 *DescribeWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeWorkflowExecutionRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeWorkflowExecutionRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeWorkflowExecutionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeWorkflowExecutionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeWorkflowExecutionRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) GetExecution() *v13.WorkflowExecution {
|
|
if m != nil {
|
|
return m.Execution
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeWorkflowExecutionResponse struct {
|
|
ExecutionConfig *v110.WorkflowExecutionConfig `protobuf:"bytes,1,opt,name=execution_config,json=executionConfig,proto3" json:"execution_config,omitempty"`
|
|
WorkflowExecutionInfo *v110.WorkflowExecutionInfo `protobuf:"bytes,2,opt,name=workflow_execution_info,json=workflowExecutionInfo,proto3" json:"workflow_execution_info,omitempty"`
|
|
PendingActivities []*v110.PendingActivityInfo `protobuf:"bytes,3,rep,name=pending_activities,json=pendingActivities,proto3" json:"pending_activities,omitempty"`
|
|
PendingChildren []*v110.PendingChildExecutionInfo `protobuf:"bytes,4,rep,name=pending_children,json=pendingChildren,proto3" json:"pending_children,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) Reset() { *m = DescribeWorkflowExecutionResponse{} }
|
|
func (*DescribeWorkflowExecutionResponse) ProtoMessage() {}
|
|
func (*DescribeWorkflowExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{69}
|
|
}
|
|
func (m *DescribeWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeWorkflowExecutionResponse.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 *DescribeWorkflowExecutionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeWorkflowExecutionResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeWorkflowExecutionResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeWorkflowExecutionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeWorkflowExecutionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeWorkflowExecutionResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) GetExecutionConfig() *v110.WorkflowExecutionConfig {
|
|
if m != nil {
|
|
return m.ExecutionConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo() *v110.WorkflowExecutionInfo {
|
|
if m != nil {
|
|
return m.WorkflowExecutionInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) GetPendingActivities() []*v110.PendingActivityInfo {
|
|
if m != nil {
|
|
return m.PendingActivities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) GetPendingChildren() []*v110.PendingChildExecutionInfo {
|
|
if m != nil {
|
|
return m.PendingChildren
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeTaskQueueRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
TaskQueueType v11.TaskQueueType `protobuf:"varint,3,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"`
|
|
IncludeTaskQueueStatus bool `protobuf:"varint,4,opt,name=include_task_queue_status,json=includeTaskQueueStatus,proto3" json:"include_task_queue_status,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) Reset() { *m = DescribeTaskQueueRequest{} }
|
|
func (*DescribeTaskQueueRequest) ProtoMessage() {}
|
|
func (*DescribeTaskQueueRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{70}
|
|
}
|
|
func (m *DescribeTaskQueueRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeTaskQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeTaskQueueRequest.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 *DescribeTaskQueueRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeTaskQueueRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeTaskQueueRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeTaskQueueRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeTaskQueueRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeTaskQueueRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeTaskQueueRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) GetTaskQueueType() v11.TaskQueueType {
|
|
if m != nil {
|
|
return m.TaskQueueType
|
|
}
|
|
return v11.TASK_QUEUE_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) GetIncludeTaskQueueStatus() bool {
|
|
if m != nil {
|
|
return m.IncludeTaskQueueStatus
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DescribeTaskQueueResponse struct {
|
|
Pollers []*v14.PollerInfo `protobuf:"bytes,1,rep,name=pollers,proto3" json:"pollers,omitempty"`
|
|
TaskQueueStatus *v14.TaskQueueStatus `protobuf:"bytes,2,opt,name=task_queue_status,json=taskQueueStatus,proto3" json:"task_queue_status,omitempty"`
|
|
}
|
|
|
|
func (m *DescribeTaskQueueResponse) Reset() { *m = DescribeTaskQueueResponse{} }
|
|
func (*DescribeTaskQueueResponse) ProtoMessage() {}
|
|
func (*DescribeTaskQueueResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{71}
|
|
}
|
|
func (m *DescribeTaskQueueResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DescribeTaskQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DescribeTaskQueueResponse.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 *DescribeTaskQueueResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeTaskQueueResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeTaskQueueResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DescribeTaskQueueResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeTaskQueueResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeTaskQueueResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeTaskQueueResponse) GetPollers() []*v14.PollerInfo {
|
|
if m != nil {
|
|
return m.Pollers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeTaskQueueResponse) GetTaskQueueStatus() *v14.TaskQueueStatus {
|
|
if m != nil {
|
|
return m.TaskQueueStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetClusterInfoRequest struct {
|
|
}
|
|
|
|
func (m *GetClusterInfoRequest) Reset() { *m = GetClusterInfoRequest{} }
|
|
func (*GetClusterInfoRequest) ProtoMessage() {}
|
|
func (*GetClusterInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{72}
|
|
}
|
|
func (m *GetClusterInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetClusterInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetClusterInfoRequest.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 *GetClusterInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetClusterInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetClusterInfoRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetClusterInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetClusterInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetClusterInfoRequest proto.InternalMessageInfo
|
|
|
|
// GetClusterInfoResponse contains information about Temporal cluster.
|
|
type GetClusterInfoResponse struct {
|
|
// Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
|
|
// Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
|
|
SupportedClients map[string]string `protobuf:"bytes,1,rep,name=supported_clients,json=supportedClients,proto3" json:"supported_clients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
ServerVersion string `protobuf:"bytes,2,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
|
|
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
VersionInfo *v111.VersionInfo `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
|
|
ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
|
HistoryShardCount int32 `protobuf:"varint,6,opt,name=history_shard_count,json=historyShardCount,proto3" json:"history_shard_count,omitempty"`
|
|
PersistenceStore string `protobuf:"bytes,7,opt,name=persistence_store,json=persistenceStore,proto3" json:"persistence_store,omitempty"`
|
|
VisibilityStore string `protobuf:"bytes,8,opt,name=visibility_store,json=visibilityStore,proto3" json:"visibility_store,omitempty"`
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) Reset() { *m = GetClusterInfoResponse{} }
|
|
func (*GetClusterInfoResponse) ProtoMessage() {}
|
|
func (*GetClusterInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{73}
|
|
}
|
|
func (m *GetClusterInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetClusterInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetClusterInfoResponse.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 *GetClusterInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetClusterInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetClusterInfoResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetClusterInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetClusterInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetClusterInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetClusterInfoResponse) GetSupportedClients() map[string]string {
|
|
if m != nil {
|
|
return m.SupportedClients
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetServerVersion() string {
|
|
if m != nil {
|
|
return m.ServerVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetClusterId() string {
|
|
if m != nil {
|
|
return m.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetVersionInfo() *v111.VersionInfo {
|
|
if m != nil {
|
|
return m.VersionInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetClusterName() string {
|
|
if m != nil {
|
|
return m.ClusterName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetHistoryShardCount() int32 {
|
|
if m != nil {
|
|
return m.HistoryShardCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetPersistenceStore() string {
|
|
if m != nil {
|
|
return m.PersistenceStore
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) GetVisibilityStore() string {
|
|
if m != nil {
|
|
return m.VisibilityStore
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListTaskQueuePartitionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) Reset() { *m = ListTaskQueuePartitionsRequest{} }
|
|
func (*ListTaskQueuePartitionsRequest) ProtoMessage() {}
|
|
func (*ListTaskQueuePartitionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{74}
|
|
}
|
|
func (m *ListTaskQueuePartitionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListTaskQueuePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListTaskQueuePartitionsRequest.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 *ListTaskQueuePartitionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListTaskQueuePartitionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListTaskQueuePartitionsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListTaskQueuePartitionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListTaskQueuePartitionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListTaskQueuePartitionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) GetTaskQueue() *v14.TaskQueue {
|
|
if m != nil {
|
|
return m.TaskQueue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListTaskQueuePartitionsResponse struct {
|
|
ActivityTaskQueuePartitions []*v14.TaskQueuePartitionMetadata `protobuf:"bytes,1,rep,name=activity_task_queue_partitions,json=activityTaskQueuePartitions,proto3" json:"activity_task_queue_partitions,omitempty"`
|
|
WorkflowTaskQueuePartitions []*v14.TaskQueuePartitionMetadata `protobuf:"bytes,2,rep,name=workflow_task_queue_partitions,json=workflowTaskQueuePartitions,proto3" json:"workflow_task_queue_partitions,omitempty"`
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) Reset() { *m = ListTaskQueuePartitionsResponse{} }
|
|
func (*ListTaskQueuePartitionsResponse) ProtoMessage() {}
|
|
func (*ListTaskQueuePartitionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_2c30b34f996ae016, []int{75}
|
|
}
|
|
func (m *ListTaskQueuePartitionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ListTaskQueuePartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ListTaskQueuePartitionsResponse.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 *ListTaskQueuePartitionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListTaskQueuePartitionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListTaskQueuePartitionsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ListTaskQueuePartitionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListTaskQueuePartitionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListTaskQueuePartitionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) GetActivityTaskQueuePartitions() []*v14.TaskQueuePartitionMetadata {
|
|
if m != nil {
|
|
return m.ActivityTaskQueuePartitions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) GetWorkflowTaskQueuePartitions() []*v14.TaskQueuePartitionMetadata {
|
|
if m != nil {
|
|
return m.WorkflowTaskQueuePartitions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RegisterNamespaceRequest)(nil), "temporal.api.workflowservice.v1.RegisterNamespaceRequest")
|
|
proto.RegisterMapType((map[string]string)(nil), "temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry")
|
|
proto.RegisterType((*RegisterNamespaceResponse)(nil), "temporal.api.workflowservice.v1.RegisterNamespaceResponse")
|
|
proto.RegisterType((*ListNamespacesRequest)(nil), "temporal.api.workflowservice.v1.ListNamespacesRequest")
|
|
proto.RegisterType((*ListNamespacesResponse)(nil), "temporal.api.workflowservice.v1.ListNamespacesResponse")
|
|
proto.RegisterType((*DescribeNamespaceRequest)(nil), "temporal.api.workflowservice.v1.DescribeNamespaceRequest")
|
|
proto.RegisterType((*DescribeNamespaceResponse)(nil), "temporal.api.workflowservice.v1.DescribeNamespaceResponse")
|
|
proto.RegisterType((*UpdateNamespaceRequest)(nil), "temporal.api.workflowservice.v1.UpdateNamespaceRequest")
|
|
proto.RegisterType((*UpdateNamespaceResponse)(nil), "temporal.api.workflowservice.v1.UpdateNamespaceResponse")
|
|
proto.RegisterType((*DeprecateNamespaceRequest)(nil), "temporal.api.workflowservice.v1.DeprecateNamespaceRequest")
|
|
proto.RegisterType((*DeprecateNamespaceResponse)(nil), "temporal.api.workflowservice.v1.DeprecateNamespaceResponse")
|
|
proto.RegisterType((*StartWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.StartWorkflowExecutionRequest")
|
|
proto.RegisterType((*StartWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.StartWorkflowExecutionResponse")
|
|
proto.RegisterType((*GetWorkflowExecutionHistoryRequest)(nil), "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest")
|
|
proto.RegisterType((*GetWorkflowExecutionHistoryResponse)(nil), "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse")
|
|
proto.RegisterType((*PollWorkflowTaskQueueRequest)(nil), "temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest")
|
|
proto.RegisterType((*PollWorkflowTaskQueueResponse)(nil), "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse")
|
|
proto.RegisterMapType((map[string]*v16.WorkflowQuery)(nil), "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry")
|
|
proto.RegisterType((*RespondWorkflowTaskCompletedRequest)(nil), "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest")
|
|
proto.RegisterMapType((map[string]*v16.WorkflowQueryResult)(nil), "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry")
|
|
proto.RegisterType((*RespondWorkflowTaskCompletedResponse)(nil), "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse")
|
|
proto.RegisterType((*RespondWorkflowTaskFailedRequest)(nil), "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest")
|
|
proto.RegisterType((*RespondWorkflowTaskFailedResponse)(nil), "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse")
|
|
proto.RegisterType((*PollActivityTaskQueueRequest)(nil), "temporal.api.workflowservice.v1.PollActivityTaskQueueRequest")
|
|
proto.RegisterType((*PollActivityTaskQueueResponse)(nil), "temporal.api.workflowservice.v1.PollActivityTaskQueueResponse")
|
|
proto.RegisterType((*RecordActivityTaskHeartbeatRequest)(nil), "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest")
|
|
proto.RegisterType((*RecordActivityTaskHeartbeatResponse)(nil), "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse")
|
|
proto.RegisterType((*RecordActivityTaskHeartbeatByIdRequest)(nil), "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest")
|
|
proto.RegisterType((*RecordActivityTaskHeartbeatByIdResponse)(nil), "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse")
|
|
proto.RegisterType((*RespondActivityTaskCompletedRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest")
|
|
proto.RegisterType((*RespondActivityTaskCompletedResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse")
|
|
proto.RegisterType((*RespondActivityTaskCompletedByIdRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest")
|
|
proto.RegisterType((*RespondActivityTaskCompletedByIdResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse")
|
|
proto.RegisterType((*RespondActivityTaskFailedRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest")
|
|
proto.RegisterType((*RespondActivityTaskFailedResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse")
|
|
proto.RegisterType((*RespondActivityTaskFailedByIdRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest")
|
|
proto.RegisterType((*RespondActivityTaskFailedByIdResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse")
|
|
proto.RegisterType((*RespondActivityTaskCanceledRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest")
|
|
proto.RegisterType((*RespondActivityTaskCanceledResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse")
|
|
proto.RegisterType((*RespondActivityTaskCanceledByIdRequest)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest")
|
|
proto.RegisterType((*RespondActivityTaskCanceledByIdResponse)(nil), "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse")
|
|
proto.RegisterType((*RequestCancelWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest")
|
|
proto.RegisterType((*RequestCancelWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse")
|
|
proto.RegisterType((*SignalWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest")
|
|
proto.RegisterType((*SignalWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse")
|
|
proto.RegisterType((*SignalWithStartWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest")
|
|
proto.RegisterType((*SignalWithStartWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse")
|
|
proto.RegisterType((*ResetWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest")
|
|
proto.RegisterType((*ResetWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse")
|
|
proto.RegisterType((*TerminateWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest")
|
|
proto.RegisterType((*TerminateWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse")
|
|
proto.RegisterType((*ListOpenWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest")
|
|
proto.RegisterType((*ListOpenWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse")
|
|
proto.RegisterType((*ListClosedWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest")
|
|
proto.RegisterType((*ListClosedWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse")
|
|
proto.RegisterType((*ListWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest")
|
|
proto.RegisterType((*ListWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse")
|
|
proto.RegisterType((*ListArchivedWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest")
|
|
proto.RegisterType((*ListArchivedWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse")
|
|
proto.RegisterType((*ScanWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest")
|
|
proto.RegisterType((*ScanWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse")
|
|
proto.RegisterType((*CountWorkflowExecutionsRequest)(nil), "temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest")
|
|
proto.RegisterType((*CountWorkflowExecutionsResponse)(nil), "temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse")
|
|
proto.RegisterType((*GetSearchAttributesRequest)(nil), "temporal.api.workflowservice.v1.GetSearchAttributesRequest")
|
|
proto.RegisterType((*GetSearchAttributesResponse)(nil), "temporal.api.workflowservice.v1.GetSearchAttributesResponse")
|
|
proto.RegisterMapType((map[string]v11.IndexedValueType)(nil), "temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry")
|
|
proto.RegisterType((*RespondQueryTaskCompletedRequest)(nil), "temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest")
|
|
proto.RegisterType((*RespondQueryTaskCompletedResponse)(nil), "temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse")
|
|
proto.RegisterType((*ResetStickyTaskQueueRequest)(nil), "temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest")
|
|
proto.RegisterType((*ResetStickyTaskQueueResponse)(nil), "temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse")
|
|
proto.RegisterType((*QueryWorkflowRequest)(nil), "temporal.api.workflowservice.v1.QueryWorkflowRequest")
|
|
proto.RegisterType((*QueryWorkflowResponse)(nil), "temporal.api.workflowservice.v1.QueryWorkflowResponse")
|
|
proto.RegisterType((*DescribeWorkflowExecutionRequest)(nil), "temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest")
|
|
proto.RegisterType((*DescribeWorkflowExecutionResponse)(nil), "temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse")
|
|
proto.RegisterType((*DescribeTaskQueueRequest)(nil), "temporal.api.workflowservice.v1.DescribeTaskQueueRequest")
|
|
proto.RegisterType((*DescribeTaskQueueResponse)(nil), "temporal.api.workflowservice.v1.DescribeTaskQueueResponse")
|
|
proto.RegisterType((*GetClusterInfoRequest)(nil), "temporal.api.workflowservice.v1.GetClusterInfoRequest")
|
|
proto.RegisterType((*GetClusterInfoResponse)(nil), "temporal.api.workflowservice.v1.GetClusterInfoResponse")
|
|
proto.RegisterMapType((map[string]string)(nil), "temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry")
|
|
proto.RegisterType((*ListTaskQueuePartitionsRequest)(nil), "temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest")
|
|
proto.RegisterType((*ListTaskQueuePartitionsResponse)(nil), "temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("temporal/api/workflowservice/v1/request_response.proto", fileDescriptor_2c30b34f996ae016)
|
|
}
|
|
|
|
var fileDescriptor_2c30b34f996ae016 = []byte{
|
|
// 4235 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3c, 0x4b, 0x6c, 0x1c, 0x47,
|
|
0x76, 0xea, 0x19, 0x0e, 0xc9, 0x79, 0x33, 0x24, 0x67, 0x5a, 0x22, 0x35, 0x1c, 0x49, 0x43, 0xaa,
|
|
0xf5, 0xa3, 0xbc, 0xf6, 0x70, 0x25, 0xc7, 0xd6, 0x2e, 0xf3, 0x5b, 0x92, 0xb2, 0x24, 0xc6, 0x96,
|
|
0x4d, 0x35, 0x29, 0x39, 0x30, 0x9c, 0xb4, 0x9b, 0xdd, 0x45, 0xb2, 0xc2, 0x99, 0xee, 0x51, 0x75,
|
|
0x0d, 0xe9, 0x71, 0x2e, 0x01, 0x12, 0x24, 0x08, 0x72, 0xc8, 0x02, 0xd9, 0xc3, 0x2e, 0xb0, 0xf9,
|
|
0x1e, 0x82, 0x4d, 0x2e, 0x39, 0x24, 0x40, 0x92, 0x5b, 0x4e, 0x41, 0x8e, 0x3e, 0x2e, 0x90, 0x43,
|
|
0x62, 0xf9, 0x90, 0x45, 0x0e, 0x81, 0x17, 0x41, 0x92, 0x43, 0x90, 0x0f, 0xea, 0xd3, 0xdf, 0xe9,
|
|
0xf9, 0x91, 0xdc, 0x88, 0x59, 0xf8, 0x36, 0xfd, 0xea, 0xbd, 0x57, 0xaf, 0x5e, 0xbd, 0x7a, 0xef,
|
|
0x55, 0xd5, 0xab, 0x81, 0x37, 0x29, 0x6a, 0xb6, 0x5c, 0x62, 0x36, 0x96, 0xcd, 0x16, 0x5e, 0x3e,
|
|
0x72, 0xc9, 0xc1, 0x6e, 0xc3, 0x3d, 0xf2, 0x10, 0x39, 0xc4, 0x16, 0x5a, 0x3e, 0xbc, 0xb3, 0x4c,
|
|
0xd0, 0xf3, 0x36, 0xf2, 0xa8, 0x41, 0x90, 0xd7, 0x72, 0x1d, 0x0f, 0xd5, 0x5b, 0xc4, 0xa5, 0xae,
|
|
0xba, 0xe0, 0xd3, 0xd5, 0xcd, 0x16, 0xae, 0x27, 0xe8, 0xea, 0x87, 0x77, 0xaa, 0xd7, 0x63, 0x8c,
|
|
0x91, 0xd3, 0x6e, 0x7a, 0x8c, 0x9d, 0x8f, 0x29, 0xd8, 0x54, 0x6f, 0xa4, 0x63, 0x39, 0x66, 0x13,
|
|
0x79, 0x2d, 0xd3, 0x92, 0xbd, 0x55, 0x97, 0xd2, 0xd1, 0x76, 0x4d, 0xdc, 0x40, 0xb6, 0x61, 0x99,
|
|
0x6d, 0x5f, 0xae, 0xaa, 0x96, 0x8e, 0x69, 0xb9, 0xcd, 0xa6, 0xeb, 0x48, 0x9c, 0xab, 0xe9, 0x38,
|
|
0xcf, 0xdb, 0x88, 0x74, 0xfa, 0xa3, 0x10, 0xe4, 0x21, 0x2a, 0x51, 0x6e, 0xa6, 0xa3, 0x50, 0xd3,
|
|
0x3b, 0x30, 0x9e, 0xb7, 0x51, 0xdb, 0x97, 0x28, 0xae, 0x08, 0x21, 0x08, 0x43, 0x6c, 0x22, 0xcf,
|
|
0x33, 0xf7, 0x50, 0xaa, 0x22, 0xf6, 0xb1, 0x47, 0x5d, 0xd2, 0xe9, 0x46, 0xbb, 0x99, 0x3a, 0x5d,
|
|
0x83, 0xd8, 0xb1, 0x4e, 0x4d, 0xc7, 0x1e, 0x84, 0xc6, 0xd4, 0xd9, 0x26, 0xa8, 0x1b, 0x2d, 0x3e,
|
|
0x84, 0x5d, 0xdc, 0xa0, 0x88, 0x74, 0x63, 0xdd, 0x8a, 0x61, 0x05, 0x53, 0xd8, 0x8d, 0x78, 0x2d,
|
|
0x86, 0xc8, 0xd5, 0xde, 0x8d, 0x74, 0x3b, 0x86, 0x44, 0x50, 0xab, 0x81, 0x2d, 0x93, 0xe2, 0x34,
|
|
0xdd, 0xc5, 0x3b, 0x66, 0x13, 0xc0, 0xf5, 0x3f, 0x68, 0xb8, 0x87, 0x88, 0x78, 0xa9, 0xfc, 0x6a,
|
|
0x7b, 0xae, 0xbb, 0xd7, 0x40, 0xcb, 0xfc, 0x6b, 0xa7, 0xbd, 0xbb, 0x6c, 0xb7, 0x09, 0xef, 0x5a,
|
|
0xb6, 0x2f, 0x24, 0xdb, 0x29, 0x6e, 0x22, 0x8f, 0x9a, 0xcd, 0x96, 0x6f, 0x3d, 0x36, 0x6a, 0x21,
|
|
0xc7, 0x46, 0x8e, 0x85, 0x91, 0xb7, 0xbc, 0xe7, 0xee, 0xb9, 0x1c, 0xce, 0x7f, 0x09, 0x14, 0xed,
|
|
0x7f, 0xc6, 0xa1, 0xa2, 0xa3, 0x3d, 0xec, 0x51, 0x44, 0xde, 0xf5, 0x55, 0xa5, 0x8b, 0xb5, 0xa6,
|
|
0x5e, 0x86, 0x7c, 0xa0, 0xbe, 0x8a, 0xb2, 0xa8, 0x2c, 0xe5, 0xf5, 0x10, 0xa0, 0x2e, 0x42, 0xc1,
|
|
0x46, 0x9e, 0x45, 0x70, 0x8b, 0xc9, 0x54, 0xc9, 0xf0, 0xf6, 0x28, 0x48, 0x5d, 0x80, 0x82, 0x7b,
|
|
0xe4, 0x20, 0x62, 0xa0, 0xa6, 0x89, 0x1b, 0x95, 0x2c, 0xc7, 0x00, 0x0e, 0x7a, 0x8b, 0x41, 0x54,
|
|
0x07, 0xae, 0xf9, 0xb6, 0x63, 0xa0, 0x8f, 0x91, 0xd5, 0x66, 0x64, 0x06, 0x41, 0x14, 0x39, 0xfc,
|
|
0x57, 0x0b, 0x11, 0xec, 0xda, 0x95, 0xb1, 0x45, 0x65, 0xa9, 0x70, 0x77, 0xbe, 0x2e, 0xc6, 0x5b,
|
|
0xf7, 0xc7, 0x5b, 0xbf, 0x2f, 0xf5, 0xb1, 0x36, 0xf6, 0xed, 0x7f, 0x58, 0x50, 0xf4, 0x45, 0x9f,
|
|
0xd7, 0x5b, 0x3e, 0x2b, 0xdd, 0xe7, 0xb4, 0xc9, 0x19, 0xa9, 0x4f, 0x60, 0xd2, 0x6a, 0xb4, 0xd9,
|
|
0x58, 0xbd, 0x4a, 0x6e, 0x31, 0xbb, 0x54, 0xb8, 0xfb, 0x46, 0x3d, 0xe6, 0x40, 0x22, 0xf3, 0x5b,
|
|
0x3f, 0xbc, 0x53, 0x5f, 0x17, 0xc8, 0x7a, 0x08, 0x5d, 0x77, 0x9d, 0x5d, 0xbc, 0xa7, 0x07, 0x6c,
|
|
0xd4, 0x3a, 0x9c, 0x37, 0x2d, 0x8a, 0x0f, 0x91, 0x21, 0x41, 0x06, 0xd3, 0x50, 0x65, 0x9c, 0x8f,
|
|
0xb5, 0x2c, 0x9a, 0x24, 0x1b, 0xa6, 0x5f, 0xf5, 0x7d, 0x18, 0xb3, 0x4d, 0x6a, 0x56, 0x26, 0x78,
|
|
0xf7, 0xeb, 0xf5, 0x01, 0xfe, 0xab, 0xde, 0x6b, 0x72, 0xea, 0xf7, 0x4d, 0x6a, 0xbe, 0xe5, 0x50,
|
|
0xd2, 0xd1, 0x39, 0x43, 0xf5, 0x06, 0x4c, 0x7b, 0xc8, 0x6a, 0x13, 0x4c, 0x3b, 0x06, 0x75, 0x0f,
|
|
0x90, 0x53, 0x99, 0xe4, 0x32, 0x4c, 0xf9, 0xd0, 0x6d, 0x06, 0x64, 0xf2, 0x62, 0xcf, 0xd8, 0x6b,
|
|
0xb8, 0x3b, 0x66, 0xc3, 0x08, 0x67, 0x37, 0xbf, 0xa8, 0x2c, 0x4d, 0xea, 0x65, 0xec, 0x3d, 0xe4,
|
|
0x2d, 0x41, 0x6f, 0xea, 0x07, 0x30, 0x27, 0xbd, 0x80, 0x61, 0x12, 0x6b, 0x1f, 0x1f, 0x9a, 0x0d,
|
|
0xc3, 0xa3, 0x26, 0x45, 0x15, 0x58, 0x54, 0x96, 0xa6, 0xef, 0x5e, 0x8f, 0x8f, 0x80, 0xfb, 0x1f,
|
|
0x26, 0xf7, 0xaa, 0x44, 0xde, 0x62, 0xb8, 0xfa, 0x05, 0xc9, 0x23, 0x06, 0x55, 0xbf, 0x0a, 0x17,
|
|
0xba, 0x78, 0xb7, 0x09, 0xae, 0x14, 0xb8, 0xe0, 0x6a, 0x82, 0xe6, 0x29, 0xc1, 0xea, 0x47, 0x30,
|
|
0x7f, 0x88, 0x3d, 0xbc, 0x83, 0x1b, 0x6c, 0x98, 0x09, 0x81, 0x8a, 0x23, 0x08, 0x74, 0x31, 0x64,
|
|
0x13, 0x97, 0xe9, 0x4d, 0xb8, 0x98, 0xd6, 0x03, 0x13, 0x6b, 0x8a, 0x8b, 0x35, 0xdb, 0x4d, 0xf9,
|
|
0x94, 0xe0, 0xea, 0x3d, 0xc8, 0x07, 0x33, 0xa2, 0x96, 0x20, 0x7b, 0x80, 0x3a, 0x72, 0xc9, 0xb0,
|
|
0x9f, 0xea, 0x05, 0xc8, 0x1d, 0x9a, 0x8d, 0x36, 0x92, 0xcb, 0x44, 0x7c, 0xac, 0x64, 0xbe, 0xa6,
|
|
0x68, 0x97, 0x60, 0x3e, 0x65, 0x8e, 0x45, 0x90, 0xd3, 0x3e, 0x84, 0xd9, 0x77, 0xb0, 0x47, 0x83,
|
|
0x06, 0xcf, 0x5f, 0x9a, 0x97, 0x20, 0xdf, 0x32, 0xf7, 0x90, 0xe1, 0xe1, 0x4f, 0xc4, 0xd2, 0xcc,
|
|
0xe9, 0x93, 0x0c, 0xb0, 0x85, 0x3f, 0x41, 0xea, 0x4d, 0x98, 0x71, 0xd0, 0xc7, 0xd4, 0xe0, 0x18,
|
|
0xc2, 0x16, 0x58, 0xb7, 0x45, 0x7d, 0x8a, 0x81, 0x37, 0xcd, 0x3d, 0xc4, 0x6d, 0x41, 0xfb, 0xae,
|
|
0x02, 0x73, 0x49, 0xf6, 0xa2, 0x63, 0xf5, 0x03, 0x80, 0xc0, 0x38, 0xbc, 0x8a, 0xc2, 0x8d, 0x75,
|
|
0x65, 0xa0, 0xb1, 0xde, 0xe7, 0x8b, 0x7f, 0x07, 0x75, 0x0d, 0x44, 0x8f, 0x70, 0x1b, 0x5a, 0xbc,
|
|
0x47, 0x50, 0x49, 0x61, 0x38, 0x8c, 0x6b, 0x9a, 0x86, 0x0c, 0xb6, 0xa5, 0xaa, 0x33, 0xd8, 0xd6,
|
|
0xfe, 0x35, 0x03, 0xf3, 0x3d, 0x65, 0x53, 0xdf, 0x83, 0xe9, 0x80, 0xd4, 0xc0, 0xce, 0xae, 0xcb,
|
|
0x19, 0x16, 0xee, 0x2e, 0xc5, 0xc7, 0x1b, 0x26, 0x03, 0x87, 0x77, 0xea, 0x01, 0x97, 0x0d, 0x67,
|
|
0xd7, 0xd5, 0xa7, 0x9c, 0xe8, 0xa7, 0xba, 0x06, 0xe3, 0x16, 0xf7, 0x13, 0x5c, 0x84, 0xc2, 0xdd,
|
|
0x57, 0x86, 0x61, 0x24, 0x3d, 0x8b, 0xa4, 0x54, 0x77, 0x41, 0x8d, 0x38, 0x23, 0x43, 0xf2, 0xcb,
|
|
0x72, 0x7e, 0xf7, 0xfa, 0x3a, 0xad, 0xc8, 0x00, 0x93, 0x6e, 0xab, 0x4c, 0x92, 0x20, 0xf5, 0x36,
|
|
0x94, 0x58, 0xbc, 0x75, 0x0f, 0x11, 0x31, 0x64, 0x24, 0xe2, 0xfe, 0x36, 0xab, 0xcf, 0xf8, 0xf0,
|
|
0x67, 0x02, 0xdc, 0xcb, 0x75, 0xe4, 0x7a, 0xb8, 0x0e, 0xed, 0xcf, 0xb3, 0x30, 0xf7, 0xb4, 0x65,
|
|
0x9b, 0x74, 0xd4, 0xe9, 0x7b, 0x0f, 0x0a, 0x6d, 0x4e, 0x27, 0x66, 0x43, 0x28, 0xb1, 0xde, 0x47,
|
|
0x89, 0x89, 0x5e, 0xf8, 0x9c, 0x80, 0x60, 0x91, 0x98, 0x90, 0xec, 0x29, 0x4f, 0xc8, 0xd8, 0xa9,
|
|
0x4f, 0x48, 0xb7, 0x1f, 0xcf, 0xa5, 0xf9, 0xf1, 0x57, 0xa0, 0x6c, 0xa3, 0x06, 0xa2, 0xc8, 0xd8,
|
|
0x31, 0x6d, 0x63, 0x07, 0x3b, 0x26, 0xe9, 0xc8, 0xa8, 0x33, 0x23, 0x1a, 0xd6, 0x4c, 0x7b, 0x8d,
|
|
0x83, 0xd5, 0xaf, 0x40, 0xb9, 0x45, 0xdc, 0xa6, 0x4b, 0x51, 0x64, 0xda, 0x26, 0xf8, 0xb4, 0x95,
|
|
0x64, 0x43, 0x38, 0x6b, 0x3f, 0xcc, 0xc0, 0xc5, 0xae, 0x59, 0xfb, 0x72, 0xa5, 0xfc, 0x48, 0x57,
|
|
0xca, 0x47, 0xcc, 0x3d, 0xb5, 0x08, 0xb2, 0x46, 0x5f, 0x2b, 0xdd, 0xe6, 0x92, 0x49, 0x31, 0x17,
|
|
0xed, 0x32, 0x54, 0xd3, 0x7a, 0x90, 0x61, 0xe6, 0xbf, 0x26, 0xe0, 0xca, 0x16, 0x35, 0x09, 0x7d,
|
|
0xbf, 0x3b, 0x83, 0x1a, 0x46, 0x88, 0x05, 0x28, 0x04, 0x79, 0x5c, 0xe0, 0x78, 0xc1, 0x07, 0x6d,
|
|
0xd8, 0xea, 0x06, 0x4c, 0x05, 0x08, 0xb4, 0xd3, 0x42, 0x72, 0x7a, 0x12, 0xb1, 0x5a, 0xee, 0x8e,
|
|
0x0e, 0xef, 0xd4, 0x7d, 0x39, 0xb6, 0x3b, 0x2d, 0xa4, 0x17, 0x8f, 0x22, 0x5f, 0xea, 0x3a, 0x40,
|
|
0xb8, 0xb7, 0x91, 0xeb, 0x2f, 0xc1, 0x27, 0x48, 0xbd, 0x19, 0xab, 0x6d, 0xd3, 0x3b, 0x78, 0xc2,
|
|
0x3e, 0xf4, 0x3c, 0xf5, 0x7f, 0xaa, 0x6f, 0x42, 0x0e, 0x3b, 0xad, 0x36, 0xe5, 0x53, 0x52, 0xb8,
|
|
0xbb, 0xd8, 0x4b, 0x8e, 0x4d, 0xb3, 0xd3, 0x70, 0x4d, 0xdb, 0xd3, 0x05, 0xba, 0xfa, 0x0b, 0x50,
|
|
0x4d, 0x49, 0x58, 0x59, 0xde, 0xed, 0xb6, 0x29, 0x5f, 0x7e, 0x43, 0xe4, 0xa9, 0x95, 0xae, 0x3c,
|
|
0x75, 0x5b, 0x30, 0x50, 0x9f, 0xc0, 0x85, 0x80, 0x3d, 0x69, 0x87, 0x8c, 0x27, 0x86, 0x63, 0xac,
|
|
0xfa, 0xc4, 0x7a, 0x3b, 0x60, 0xb9, 0x05, 0xb3, 0xa1, 0xe6, 0x99, 0xde, 0x7c, 0x9e, 0x93, 0xc3,
|
|
0xf1, 0x3c, 0x1f, 0x28, 0xdf, 0xf4, 0x0e, 0x7c, 0xa6, 0x55, 0x98, 0xc4, 0x36, 0xcb, 0xac, 0x69,
|
|
0x87, 0x67, 0x8e, 0x79, 0x3d, 0xf8, 0x56, 0xaf, 0x00, 0xf8, 0x7b, 0x75, 0x6c, 0xf3, 0x24, 0x31,
|
|
0xaf, 0xe7, 0x25, 0x64, 0xc3, 0x56, 0x11, 0x54, 0x22, 0xa6, 0x62, 0x10, 0xd4, 0xf6, 0x90, 0xd1,
|
|
0x72, 0x1b, 0xd8, 0xea, 0xf0, 0xbc, 0x6f, 0xfa, 0xee, 0xab, 0x3d, 0x12, 0xb8, 0xf7, 0x03, 0x73,
|
|
0xd2, 0x19, 0xd1, 0x26, 0xa7, 0xd1, 0x67, 0x8f, 0xd2, 0xc0, 0xea, 0x03, 0x28, 0x12, 0x44, 0x49,
|
|
0xc7, 0x67, 0x5d, 0xe4, 0xa3, 0xbd, 0xd6, 0x6b, 0x9e, 0x75, 0x86, 0x2b, 0x39, 0x16, 0x48, 0xf8,
|
|
0xa1, 0x5e, 0x83, 0x29, 0x8b, 0xb8, 0x8e, 0xe1, 0x59, 0xfb, 0xc8, 0x6e, 0x37, 0x90, 0x4c, 0x02,
|
|
0x8b, 0x0c, 0xb8, 0x25, 0x61, 0xea, 0x57, 0x61, 0xac, 0x89, 0x9a, 0x6e, 0x65, 0x9a, 0x77, 0x72,
|
|
0xb9, 0x57, 0x27, 0x8f, 0x51, 0xd3, 0xd5, 0x39, 0xa6, 0xfa, 0x14, 0xca, 0x1e, 0x62, 0xc9, 0xa5,
|
|
0x61, 0x52, 0x4a, 0xf0, 0x4e, 0x9b, 0x22, 0xaf, 0x32, 0x93, 0xe6, 0x4b, 0x43, 0xf2, 0x2d, 0x4e,
|
|
0xb0, 0x1a, 0xe0, 0xeb, 0x25, 0x2f, 0x01, 0x51, 0xdf, 0x84, 0xf1, 0x7d, 0x64, 0xda, 0x88, 0x54,
|
|
0x4a, 0x9c, 0x57, 0xad, 0x17, 0xaf, 0x47, 0x1c, 0x4b, 0x97, 0xd8, 0xda, 0x3d, 0xa8, 0xf5, 0x5a,
|
|
0xfe, 0xd2, 0xf3, 0xcf, 0xc2, 0x38, 0x33, 0x48, 0x6c, 0xcb, 0xc5, 0x9f, 0x23, 0x6d, 0x67, 0xc3,
|
|
0xd6, 0xbe, 0x95, 0x05, 0xed, 0x21, 0xea, 0xa6, 0x7b, 0x24, 0x52, 0xf7, 0xe1, 0xbc, 0xc7, 0x43,
|
|
0xc8, 0x07, 0x6b, 0x49, 0xc6, 0x81, 0xdb, 0x83, 0x1c, 0x43, 0x28, 0x61, 0x48, 0xcb, 0x62, 0x62,
|
|
0xd3, 0xfc, 0x18, 0x37, 0xdb, 0x4d, 0x23, 0x4c, 0x8e, 0xb3, 0x3c, 0x39, 0x9e, 0x91, 0x0d, 0x9b,
|
|
0x7d, 0x72, 0xe4, 0xb1, 0x94, 0x24, 0x54, 0xbd, 0x0e, 0xd3, 0x47, 0x26, 0xa6, 0x86, 0x83, 0x8e,
|
|
0x0c, 0x74, 0x88, 0x1c, 0x2a, 0xbd, 0x78, 0x91, 0x41, 0xdf, 0x45, 0x47, 0x6f, 0x31, 0x98, 0xba,
|
|
0x0f, 0xf3, 0xfe, 0x4e, 0x86, 0x23, 0x19, 0xe2, 0x70, 0x42, 0xf8, 0xba, 0x71, 0x6e, 0xd6, 0xaf,
|
|
0xf5, 0x30, 0x6b, 0xa9, 0x2a, 0xce, 0xe7, 0x01, 0xa7, 0xe2, 0x4e, 0xcf, 0xdf, 0x75, 0x25, 0xe0,
|
|
0xcc, 0x20, 0xbd, 0x03, 0xdc, 0x0a, 0x76, 0x26, 0x32, 0x8e, 0x17, 0x19, 0xd0, 0xdf, 0x8f, 0x68,
|
|
0x3f, 0x50, 0xe0, 0x5a, 0xdf, 0x69, 0x91, 0xb3, 0xba, 0x02, 0x13, 0xb2, 0x1b, 0x19, 0xc8, 0x13,
|
|
0x8e, 0x50, 0x36, 0x46, 0xc4, 0xd4, 0x7d, 0x02, 0x75, 0x15, 0x0a, 0xc4, 0x3c, 0x32, 0x7c, 0xfa,
|
|
0x0c, 0xdf, 0x22, 0xf4, 0x74, 0xa4, 0x6c, 0x6f, 0xb4, 0xd6, 0x70, 0x77, 0x74, 0x20, 0xe6, 0x91,
|
|
0xe4, 0x95, 0x36, 0x07, 0xd9, 0xb4, 0x39, 0xa8, 0xc2, 0xa4, 0x18, 0x2e, 0x12, 0x67, 0x01, 0x93,
|
|
0x7a, 0xf0, 0xad, 0xfd, 0xad, 0x02, 0x97, 0x37, 0xdd, 0x46, 0xe3, 0xfd, 0x88, 0x9b, 0x12, 0xee,
|
|
0x7e, 0x28, 0xdb, 0x8b, 0x47, 0x93, 0xcc, 0xf1, 0xa2, 0x49, 0xd4, 0x1d, 0x66, 0x13, 0xee, 0xf0,
|
|
0x16, 0xcc, 0x88, 0xe4, 0xcc, 0xb0, 0xf6, 0x91, 0x75, 0xe0, 0xb5, 0x9b, 0x7c, 0x08, 0x79, 0x7d,
|
|
0x5a, 0x80, 0xd7, 0x25, 0x54, 0xfb, 0x62, 0x02, 0xae, 0xf4, 0x18, 0x88, 0x9c, 0xad, 0x2b, 0x52,
|
|
0x56, 0xa1, 0x29, 0x85, 0x6b, 0x8a, 0x4b, 0x21, 0xb4, 0xf4, 0xf3, 0xa0, 0x76, 0xc7, 0xa6, 0xd1,
|
|
0xd7, 0x53, 0xb9, 0x2b, 0x3a, 0x9d, 0x66, 0xf4, 0xfe, 0x3a, 0xcc, 0xb7, 0x08, 0x3a, 0xc4, 0x6e,
|
|
0xdb, 0x63, 0xbb, 0x76, 0x42, 0x91, 0x2d, 0x57, 0x0c, 0xb6, 0x65, 0x36, 0x35, 0xe7, 0x23, 0x6c,
|
|
0x89, 0x76, 0xbe, 0x02, 0x36, 0x6c, 0x75, 0x09, 0x4a, 0x5d, 0x14, 0x39, 0x4e, 0x31, 0xed, 0xc5,
|
|
0x31, 0x2b, 0x30, 0x61, 0x52, 0x26, 0x9b, 0x08, 0xc9, 0x39, 0xdd, 0xff, 0x54, 0x5f, 0x05, 0x75,
|
|
0xc7, 0xb4, 0x0e, 0x1a, 0xee, 0x9e, 0x61, 0xb9, 0x6d, 0x87, 0x1a, 0xfb, 0xd8, 0x11, 0xe1, 0x35,
|
|
0xab, 0x97, 0x64, 0xcb, 0x3a, 0x6b, 0x78, 0x84, 0x1d, 0x1a, 0x5d, 0x1e, 0x93, 0xa3, 0x2e, 0x8f,
|
|
0x14, 0xdb, 0xce, 0xa7, 0xd9, 0xf6, 0x0a, 0xe4, 0xf8, 0xc9, 0x23, 0x8f, 0x94, 0x5d, 0x3a, 0x15,
|
|
0x67, 0xc1, 0x11, 0x95, 0x3e, 0x61, 0x00, 0x5d, 0x90, 0xa8, 0x7b, 0x70, 0x25, 0x2d, 0x1b, 0x09,
|
|
0xed, 0xb9, 0x30, 0x82, 0x3d, 0x57, 0xbb, 0xb3, 0x92, 0xc0, 0xc0, 0x1f, 0xc2, 0xb4, 0x1f, 0x00,
|
|
0x6d, 0x9e, 0x40, 0xc8, 0x78, 0x5a, 0xed, 0xca, 0x1e, 0xb6, 0xfd, 0x23, 0xc8, 0xb5, 0xb1, 0x6f,
|
|
0xb2, 0xf4, 0x61, 0x2a, 0xa0, 0x63, 0x2d, 0xea, 0x3a, 0x14, 0xfd, 0x39, 0xe4, 0x6c, 0xa6, 0x86,
|
|
0x64, 0x53, 0x90, 0x54, 0x9c, 0x09, 0x82, 0x09, 0x36, 0x7e, 0x8c, 0xbc, 0xca, 0x34, 0xf7, 0x3a,
|
|
0x6f, 0x0f, 0x3c, 0x98, 0xe8, 0xbb, 0xb0, 0xea, 0x4f, 0x04, 0x37, 0x71, 0x9a, 0xe6, 0xf3, 0xae,
|
|
0x7e, 0x04, 0xc5, 0x68, 0x43, 0xca, 0xa1, 0xce, 0x4a, 0xf4, 0x50, 0x67, 0xe8, 0xb9, 0x0b, 0x8f,
|
|
0x7e, 0xfe, 0x2c, 0x07, 0xd7, 0x84, 0x10, 0x76, 0x54, 0xb8, 0x75, 0xb7, 0xd9, 0x62, 0x1b, 0x38,
|
|
0xdb, 0x77, 0x61, 0x03, 0x16, 0xfe, 0x4f, 0xc1, 0xa4, 0x3c, 0x59, 0xf7, 0x7a, 0xbb, 0x61, 0xd3,
|
|
0xb1, 0xf9, 0x89, 0xa6, 0xf8, 0xa9, 0x07, 0x14, 0x7d, 0x9d, 0x97, 0x09, 0x65, 0x8f, 0x62, 0xeb,
|
|
0xa0, 0x13, 0x4d, 0x53, 0x44, 0xca, 0xfd, 0x13, 0x7d, 0x8c, 0x6a, 0x8b, 0xd3, 0x04, 0x76, 0x14,
|
|
0x4b, 0x59, 0x78, 0x53, 0x24, 0x65, 0xb9, 0x07, 0x15, 0x82, 0x68, 0x9b, 0x38, 0x3c, 0xc2, 0xc6,
|
|
0x52, 0x55, 0x19, 0x69, 0x67, 0x45, 0xfb, 0xbb, 0xe8, 0x28, 0xaa, 0x24, 0x75, 0x0d, 0x6a, 0xbb,
|
|
0x2e, 0xb1, 0x90, 0x61, 0x11, 0x64, 0xb2, 0x9d, 0x6d, 0x17, 0xf9, 0x38, 0x27, 0xaf, 0x72, 0xac,
|
|
0x75, 0x8e, 0x94, 0xe4, 0x91, 0xe2, 0x9c, 0x27, 0xd2, 0x9c, 0xb3, 0xfa, 0xcb, 0x30, 0xc5, 0xa7,
|
|
0xd3, 0x20, 0xc8, 0x6b, 0x37, 0xa8, 0x57, 0x99, 0xe4, 0x7a, 0x7e, 0x36, 0xc4, 0xf1, 0xed, 0xc0,
|
|
0xe9, 0xad, 0x0b, 0xbb, 0x10, 0x8c, 0x85, 0x0d, 0x16, 0x9f, 0x47, 0x40, 0xf1, 0x08, 0x96, 0x4f,
|
|
0x44, 0xb0, 0xea, 0x01, 0x94, 0xbb, 0x18, 0xa4, 0xd8, 0xea, 0x37, 0xe2, 0xb6, 0xfa, 0xca, 0x50,
|
|
0xb6, 0xca, 0x59, 0x46, 0x2d, 0xf6, 0xb7, 0x14, 0xb8, 0xde, 0x7f, 0x48, 0x32, 0x56, 0x59, 0xd1,
|
|
0x90, 0xc1, 0x26, 0x43, 0xe4, 0x17, 0x3f, 0x73, 0xb2, 0x95, 0x1a, 0x09, 0x26, 0xa6, 0x77, 0xa0,
|
|
0xfd, 0x71, 0x06, 0x16, 0x53, 0xa4, 0x79, 0xc0, 0xaf, 0xe3, 0x86, 0x5c, 0x3c, 0xf7, 0x21, 0xc7,
|
|
0xef, 0xed, 0xb8, 0x5e, 0xa6, 0x93, 0xa7, 0x4c, 0x5d, 0x9b, 0x8f, 0x90, 0xff, 0x3a, 0xa3, 0xd2,
|
|
0x05, 0x31, 0x8b, 0x14, 0xf2, 0xd6, 0x4a, 0xc6, 0xc6, 0xc4, 0x0a, 0x94, 0x8d, 0x8c, 0xd3, 0x03,
|
|
0xf1, 0x53, 0xf7, 0x09, 0x62, 0x0b, 0x70, 0x6c, 0x70, 0xf6, 0x90, 0x4b, 0x35, 0xd0, 0x98, 0x8d,
|
|
0x8c, 0x27, 0x6c, 0x44, 0xbb, 0x06, 0x57, 0xfb, 0xe8, 0x49, 0x1e, 0x02, 0xfc, 0xa7, 0xcc, 0xa4,
|
|
0x56, 0x2d, 0x8a, 0x0f, 0x31, 0xed, 0x9c, 0xb5, 0x4c, 0xea, 0x43, 0x38, 0x1f, 0x76, 0x60, 0x34,
|
|
0x11, 0x35, 0xf9, 0x45, 0x8a, 0x70, 0x47, 0xaf, 0x0e, 0xd3, 0xd3, 0x63, 0x49, 0xa3, 0x97, 0x69,
|
|
0x12, 0xa4, 0x7d, 0x2b, 0x2f, 0xd2, 0xaf, 0x94, 0xd1, 0x0f, 0x97, 0x7e, 0xbd, 0x16, 0x49, 0xbf,
|
|
0x42, 0x35, 0x89, 0xa3, 0x90, 0x20, 0xa7, 0x0a, 0xef, 0x55, 0x4e, 0x31, 0xa7, 0x4a, 0x4f, 0xfc,
|
|
0xc6, 0x4e, 0x27, 0xf1, 0x33, 0xa5, 0x3e, 0x84, 0x90, 0xb9, 0xfe, 0x42, 0x06, 0xca, 0xe3, 0x42,
|
|
0x9a, 0x91, 0x2f, 0x75, 0x01, 0x0a, 0x01, 0x2b, 0x6c, 0x4b, 0x13, 0x05, 0x1f, 0xb4, 0x61, 0x47,
|
|
0xf6, 0xae, 0x13, 0xa3, 0xec, 0x5d, 0xc3, 0xa3, 0x9c, 0xc9, 0xd1, 0x8e, 0x72, 0x1e, 0x43, 0x79,
|
|
0x1f, 0x99, 0x84, 0xee, 0x20, 0x93, 0x1a, 0x36, 0xa2, 0x26, 0x6e, 0x78, 0xdc, 0xbb, 0x0e, 0xc3,
|
|
0xa3, 0x14, 0x90, 0xde, 0x17, 0x94, 0x29, 0x29, 0x12, 0x1c, 0x2f, 0x45, 0x42, 0x50, 0xb3, 0xda,
|
|
0x84, 0xb0, 0x04, 0x57, 0x66, 0xad, 0x46, 0x82, 0x71, 0x61, 0x48, 0xc6, 0x97, 0x24, 0x9f, 0x55,
|
|
0xc1, 0x66, 0xab, 0x6f, 0x26, 0x56, 0x3c, 0x4e, 0x26, 0x16, 0x49, 0xb4, 0xa7, 0xe2, 0x89, 0xf6,
|
|
0x07, 0x30, 0xef, 0x4b, 0x6d, 0x50, 0xd7, 0xb0, 0x1a, 0xae, 0x87, 0x82, 0xa3, 0xa7, 0xe9, 0xe1,
|
|
0x8e, 0x9e, 0xe6, 0x7c, 0x0e, 0xdb, 0xee, 0x3a, 0xa3, 0xf7, 0x4f, 0x9f, 0xb6, 0x61, 0x8e, 0x0b,
|
|
0xd1, 0xcd, 0x78, 0x66, 0xc8, 0x33, 0x2d, 0x4e, 0x9e, 0xe0, 0xfa, 0x4e, 0xd4, 0x1e, 0x7c, 0x86,
|
|
0xa5, 0xe1, 0x18, 0x86, 0xe6, 0xe0, 0x73, 0x4b, 0x9e, 0x3f, 0x95, 0x8f, 0x77, 0xfe, 0xa4, 0xfd,
|
|
0xb5, 0x02, 0x9a, 0x8e, 0x2c, 0x97, 0xd8, 0x51, 0xc7, 0xf4, 0xc8, 0xef, 0x6e, 0xc8, 0x20, 0xb7,
|
|
0x02, 0x13, 0xbe, 0x85, 0x67, 0x86, 0xb4, 0x70, 0x9f, 0xa0, 0xaf, 0x4b, 0x8e, 0x45, 0x84, 0xb1,
|
|
0x64, 0xd4, 0xd9, 0x64, 0xd9, 0x6d, 0x1f, 0xd1, 0xa5, 0x5f, 0xbd, 0x0d, 0x25, 0xcb, 0x74, 0x2c,
|
|
0xd4, 0x30, 0xe4, 0x29, 0x21, 0x12, 0x87, 0x4c, 0x93, 0xfa, 0x8c, 0x80, 0xeb, 0x3e, 0x58, 0xfb,
|
|
0x0f, 0x05, 0x6e, 0xf6, 0x61, 0xb9, 0xd6, 0xd9, 0xb0, 0x4f, 0xe9, 0xc0, 0x3a, 0x3c, 0xef, 0xca,
|
|
0x46, 0xce, 0xbb, 0x92, 0x5e, 0x6c, 0xac, 0xcb, 0x8b, 0x45, 0x34, 0x9d, 0x3b, 0x89, 0xa6, 0xc7,
|
|
0xe3, 0x9a, 0xd6, 0xb6, 0xe1, 0xd6, 0xc0, 0x81, 0x8f, 0xae, 0xcf, 0xbf, 0x52, 0x82, 0x0d, 0x48,
|
|
0x94, 0xef, 0xa8, 0x1b, 0x90, 0xaf, 0xc1, 0xb8, 0xc8, 0x8b, 0x87, 0xb6, 0x2e, 0x89, 0x7f, 0x02,
|
|
0xe3, 0xba, 0x19, 0x24, 0xa2, 0x3d, 0x24, 0x97, 0x59, 0xcd, 0xbf, 0x2b, 0x4c, 0x73, 0xbd, 0x11,
|
|
0xcf, 0x80, 0xcd, 0x84, 0xea, 0xcb, 0x9d, 0x40, 0x7d, 0x49, 0x8b, 0x79, 0x05, 0x96, 0x06, 0x8f,
|
|
0x5b, 0x2a, 0xe9, 0x2f, 0x95, 0x20, 0x91, 0x8e, 0x22, 0x8f, 0x94, 0x48, 0x47, 0x52, 0xe0, 0xcc,
|
|
0x49, 0x52, 0xe0, 0xd1, 0xcc, 0x20, 0xcc, 0x6c, 0xd3, 0x04, 0x97, 0xc3, 0xfb, 0x37, 0x25, 0xd5,
|
|
0x58, 0x04, 0xd6, 0xd9, 0x70, 0x1a, 0xbe, 0xea, 0x72, 0x27, 0x51, 0x5d, 0xd2, 0x04, 0x6e, 0xc1,
|
|
0x8d, 0x01, 0xc3, 0x96, 0x0a, 0x12, 0x51, 0xa6, 0xdb, 0x58, 0xb8, 0xbb, 0x18, 0xc5, 0x02, 0x5e,
|
|
0x42, 0x94, 0xb9, 0x91, 0xee, 0xc2, 0x02, 0xd1, 0xe5, 0x10, 0x45, 0xe8, 0xe8, 0x89, 0xf7, 0x63,
|
|
0x1c, 0x3a, 0x6e, 0xa7, 0x3b, 0xc0, 0xd8, 0xc0, 0xa5, 0x92, 0x7e, 0x3b, 0xc3, 0x2c, 0x86, 0x6b,
|
|
0x41, 0xb4, 0x1f, 0xf3, 0x3e, 0xf8, 0x47, 0x77, 0x14, 0xdd, 0xcf, 0x4e, 0xe2, 0x37, 0x8f, 0x63,
|
|
0xc9, 0x9b, 0xc7, 0xd7, 0x61, 0x6e, 0x17, 0x13, 0x8f, 0x46, 0x2b, 0x0d, 0xc5, 0x3c, 0x89, 0x2d,
|
|
0xf5, 0x79, 0xde, 0x1a, 0xf6, 0xce, 0x2f, 0xb8, 0x96, 0x98, 0xd5, 0xf4, 0x57, 0x88, 0xd4, 0xdd,
|
|
0x7f, 0x67, 0xa0, 0xb6, 0x85, 0xf7, 0x1c, 0xf3, 0xec, 0x29, 0x6d, 0x01, 0x0a, 0x1e, 0x97, 0x4c,
|
|
0xd4, 0x26, 0xca, 0x3a, 0x4c, 0x01, 0xe2, 0x45, 0x89, 0xc1, 0x1e, 0x6a, 0x6c, 0xb4, 0x3d, 0x54,
|
|
0x74, 0x36, 0x72, 0x7d, 0x67, 0x63, 0x3c, 0x39, 0x1b, 0x15, 0x98, 0xb0, 0x5c, 0x87, 0x12, 0xb7,
|
|
0x21, 0x8f, 0xdc, 0xfc, 0xcf, 0xc8, 0x46, 0x70, 0x72, 0xa4, 0x4b, 0xcc, 0xab, 0xb0, 0xd0, 0x53,
|
|
0xff, 0x72, 0x8e, 0x7e, 0x23, 0x0f, 0xb7, 0x24, 0x0e, 0xa6, 0xfb, 0x5f, 0x56, 0x3c, 0x7c, 0x59,
|
|
0xf1, 0xf0, 0xe3, 0x53, 0xf1, 0x90, 0x58, 0xe4, 0xc5, 0xae, 0x45, 0xce, 0x76, 0xfc, 0x02, 0x41,
|
|
0x18, 0xc2, 0xd4, 0x90, 0x86, 0x20, 0xd9, 0x6e, 0x70, 0x73, 0x88, 0x2c, 0xdb, 0xe9, 0xf8, 0xb2,
|
|
0x4d, 0xee, 0x78, 0x67, 0x4e, 0xab, 0xe2, 0xa2, 0xd4, 0xa7, 0xe2, 0xa2, 0x7c, 0xb2, 0x8a, 0x0b,
|
|
0xf5, 0x14, 0x2b, 0x2e, 0xce, 0x8f, 0xe4, 0xac, 0x56, 0x61, 0x69, 0xb0, 0x23, 0xea, 0x5f, 0x7b,
|
|
0xf1, 0x4f, 0x19, 0xb8, 0xa2, 0x23, 0x0f, 0xd1, 0x33, 0x17, 0x6f, 0xe6, 0xd8, 0x86, 0xc6, 0xf4,
|
|
0x5c, 0x47, 0x86, 0x1a, 0xf9, 0xa5, 0x7e, 0x23, 0x72, 0x5f, 0xc9, 0x57, 0xe6, 0x2e, 0x76, 0xb0,
|
|
0xb7, 0x9f, 0xbc, 0x00, 0x9e, 0x8f, 0x2e, 0xc0, 0x07, 0x1c, 0xc5, 0xbf, 0xd9, 0x8d, 0x2f, 0xb5,
|
|
0x5c, 0x72, 0xa9, 0x3d, 0x05, 0x95, 0x3f, 0x8d, 0x31, 0x08, 0x32, 0x5b, 0xad, 0x46, 0x27, 0x5a,
|
|
0x7f, 0x71, 0xab, 0xc7, 0x22, 0xe3, 0x2a, 0xd4, 0x05, 0x3e, 0x77, 0xbe, 0x25, 0x92, 0x80, 0x68,
|
|
0xf7, 0xa0, 0xd6, 0x4b, 0xd1, 0xfd, 0xa7, 0xe8, 0x6f, 0x32, 0x70, 0x75, 0x1b, 0x91, 0x26, 0x76,
|
|
0x4c, 0x8a, 0xfe, 0xdf, 0x4c, 0x53, 0x24, 0x11, 0x1d, 0x3b, 0x49, 0x22, 0x9a, 0xcc, 0x08, 0x7a,
|
|
0x27, 0x60, 0xe3, 0xbd, 0x13, 0xb0, 0xeb, 0xa0, 0xf5, 0xd3, 0xa0, 0x0c, 0xec, 0x7f, 0x94, 0x85,
|
|
0xab, 0xef, 0x60, 0x8f, 0xbe, 0xd7, 0x42, 0x4e, 0x17, 0x96, 0x37, 0x9c, 0xa2, 0x53, 0xab, 0x87,
|
|
0x32, 0x43, 0x57, 0x0f, 0xa5, 0x56, 0xae, 0x6c, 0x41, 0x59, 0x1e, 0x55, 0xe2, 0x26, 0x92, 0x45,
|
|
0x41, 0x52, 0xa9, 0x09, 0x7b, 0x14, 0x6d, 0xe2, 0xf6, 0xd4, 0x24, 0xfc, 0x1c, 0x51, 0x54, 0xfd,
|
|
0xe8, 0x33, 0x5e, 0x1c, 0xa0, 0x7e, 0x08, 0xa5, 0x50, 0x83, 0x92, 0xa7, 0x88, 0xea, 0xcb, 0xbd,
|
|
0x78, 0x76, 0xe9, 0x44, 0xb0, 0x7a, 0x74, 0x4e, 0x9f, 0x41, 0x71, 0x90, 0xfa, 0x18, 0x0a, 0x6c,
|
|
0xd5, 0xf8, 0x8c, 0xc7, 0xd3, 0xae, 0x0b, 0xbb, 0x19, 0xb3, 0x75, 0x12, 0xf0, 0x04, 0x1a, 0x7c,
|
|
0xad, 0xe5, 0x61, 0x42, 0x60, 0x7b, 0xda, 0xef, 0x2a, 0xa0, 0xf5, 0x9b, 0xa4, 0xa0, 0xc8, 0x18,
|
|
0x02, 0x99, 0xfc, 0xa7, 0x07, 0xcb, 0xe9, 0xf7, 0x86, 0xa9, 0x43, 0x13, 0xd5, 0xdf, 0x21, 0x8b,
|
|
0xa1, 0xdf, 0x1b, 0xfc, 0x30, 0x0b, 0xd7, 0x98, 0x7c, 0xfc, 0x58, 0xd8, 0xfe, 0xd2, 0x8c, 0xce,
|
|
0x90, 0x19, 0xa9, 0x6f, 0xc3, 0x94, 0x47, 0x4d, 0xda, 0xf6, 0x7c, 0x86, 0x13, 0x69, 0x69, 0x70,
|
|
0x6c, 0xf4, 0xb4, 0xed, 0x05, 0xac, 0x8a, 0x5e, 0xe4, 0x3b, 0x6a, 0x93, 0xbf, 0xaf, 0xc0, 0xf5,
|
|
0xfe, 0x73, 0xfe, 0xb2, 0xad, 0xf2, 0xdb, 0x0a, 0x5c, 0x61, 0x12, 0x1e, 0xd7, 0x1e, 0x63, 0x2f,
|
|
0x85, 0x32, 0x83, 0x5f, 0x0a, 0xa5, 0x1a, 0xe0, 0x05, 0xbf, 0x4a, 0x49, 0xec, 0xaa, 0xc5, 0x87,
|
|
0xf6, 0x1d, 0x05, 0x6a, 0xbd, 0x44, 0x7b, 0xd9, 0x6a, 0xfb, 0x03, 0x05, 0x6e, 0x30, 0xd9, 0x56,
|
|
0x65, 0xa1, 0xe0, 0x19, 0x54, 0xdf, 0x1f, 0x2a, 0x70, 0x73, 0x90, 0x88, 0x67, 0xc1, 0xfa, 0xb6,
|
|
0x2c, 0xd3, 0x39, 0xa3, 0xd6, 0xd7, 0x4b, 0xb4, 0x97, 0xad, 0xb6, 0x6d, 0xa8, 0xf1, 0x32, 0xc2,
|
|
0xe3, 0xaa, 0x2d, 0x18, 0x71, 0x26, 0x3a, 0xe2, 0x7b, 0xb0, 0xd0, 0x93, 0xab, 0x1c, 0xf1, 0x05,
|
|
0xc8, 0xf1, 0xc2, 0x46, 0xce, 0x32, 0xab, 0x8b, 0x0f, 0xed, 0x32, 0x54, 0x1f, 0x22, 0xda, 0xb5,
|
|
0x9d, 0x11, 0xa2, 0x68, 0x7f, 0xaf, 0xc0, 0xa5, 0xd4, 0xe6, 0xe0, 0x2d, 0xe0, 0xd8, 0x01, 0xea,
|
|
0xf8, 0xfa, 0x7b, 0x30, 0xb0, 0x84, 0xa7, 0x0f, 0xaf, 0xfa, 0xdb, 0xa8, 0x23, 0x6b, 0x9c, 0x38,
|
|
0xcf, 0xea, 0x47, 0x90, 0x0f, 0x40, 0x29, 0x55, 0x4b, 0x3f, 0x1d, 0xad, 0x5a, 0xea, 0x9d, 0xc3,
|
|
0x6f, 0x38, 0x36, 0xfa, 0x18, 0xd9, 0xcf, 0x18, 0x2a, 0xcf, 0xe1, 0x23, 0x25, 0x4b, 0xbf, 0x17,
|
|
0x16, 0x09, 0xf1, 0xa2, 0xa6, 0xe3, 0x5c, 0x70, 0x3d, 0x86, 0x69, 0xcb, 0x27, 0x11, 0x7b, 0x0a,
|
|
0x21, 0xcf, 0xcd, 0x1e, 0xf2, 0x44, 0xaa, 0xa7, 0xb8, 0x38, 0x53, 0x01, 0xb5, 0x3c, 0xd0, 0x29,
|
|
0x46, 0xab, 0xc9, 0xd2, 0x4b, 0x86, 0xd2, 0x76, 0xe2, 0x91, 0xb2, 0x30, 0xb6, 0x4f, 0x46, 0x84,
|
|
0xb8, 0xc4, 0x90, 0x8f, 0xc6, 0xe5, 0xe2, 0x28, 0x72, 0xe0, 0x63, 0x01, 0xeb, 0x5f, 0x16, 0xf4,
|
|
0x73, 0x63, 0x93, 0xb9, 0xd2, 0x78, 0xe4, 0x0a, 0x25, 0x4d, 0x3f, 0x32, 0xc1, 0xfe, 0x35, 0x05,
|
|
0x2e, 0xf1, 0x3d, 0x90, 0xa8, 0xed, 0x1b, 0xb1, 0x36, 0xe8, 0xb4, 0x2a, 0xfc, 0xb5, 0x1a, 0x5c,
|
|
0x4e, 0x97, 0x42, 0x8a, 0xf9, 0xdd, 0x0c, 0x5c, 0xe0, 0xa3, 0xf0, 0xb9, 0xfc, 0x1f, 0xbf, 0x40,
|
|
0x08, 0xaa, 0x79, 0xb3, 0xa3, 0x57, 0xf3, 0x9a, 0x30, 0xe7, 0x5b, 0xc5, 0x2f, 0x21, 0x8b, 0x1a,
|
|
0x96, 0xeb, 0xd8, 0x38, 0x28, 0xe5, 0x99, 0xbe, 0xfb, 0x95, 0xfe, 0xc6, 0xc6, 0x68, 0xd6, 0x7d,
|
|
0x12, 0xfd, 0xc2, 0xf3, 0x14, 0xa8, 0xf6, 0x27, 0x0a, 0xcc, 0x26, 0xd4, 0x23, 0xd7, 0x78, 0xd2,
|
|
0x24, 0x95, 0xe3, 0x98, 0xe4, 0xdb, 0x30, 0x1d, 0x1d, 0x01, 0xb2, 0x07, 0x14, 0xc6, 0x46, 0x24,
|
|
0x47, 0xb6, 0x3e, 0xf5, 0x3c, 0xfa, 0xa9, 0xfd, 0xa6, 0x02, 0x8b, 0xfe, 0x9b, 0xdd, 0x63, 0x6e,
|
|
0x9d, 0x4f, 0xcd, 0xec, 0xbe, 0x97, 0x85, 0xab, 0x7d, 0x64, 0x91, 0x3a, 0x8c, 0x25, 0xd4, 0xf2,
|
|
0x19, 0xa2, 0xd0, 0xe3, 0x9d, 0x11, 0x62, 0x8e, 0x7c, 0x80, 0x18, 0x26, 0xd4, 0xf2, 0xf9, 0xe1,
|
|
0x1e, 0x5c, 0x4c, 0x39, 0x88, 0x8d, 0x3c, 0x90, 0x1d, 0x39, 0xb0, 0xcd, 0x1e, 0xa5, 0x81, 0xd5,
|
|
0x0f, 0x41, 0x6d, 0x21, 0xc7, 0xc6, 0xce, 0x9e, 0x21, 0x6f, 0xa7, 0x30, 0xf2, 0x2a, 0x59, 0xee,
|
|
0xfc, 0x5f, 0xeb, 0xdd, 0xc7, 0xa6, 0xa0, 0xf1, 0xef, 0x98, 0x78, 0x0f, 0xe5, 0x56, 0x0c, 0x88,
|
|
0x91, 0xa7, 0xfe, 0x22, 0x94, 0x7c, 0xee, 0xd6, 0x3e, 0x6e, 0xd8, 0x84, 0x3f, 0xbc, 0x61, 0xbc,
|
|
0x5f, 0x1f, 0xc8, 0x7b, 0x9d, 0x11, 0xc4, 0xc7, 0x30, 0xd3, 0x8a, 0x34, 0x11, 0xe4, 0x68, 0xbf,
|
|
0x9e, 0x09, 0x5f, 0x8d, 0xbf, 0x8c, 0x0a, 0xc6, 0x77, 0x60, 0x26, 0x52, 0xa5, 0x18, 0x9c, 0xfc,
|
|
0xf7, 0xfe, 0x5f, 0x82, 0x80, 0x8b, 0x88, 0x14, 0x34, 0xfa, 0xa9, 0x7e, 0x1d, 0xe6, 0xb1, 0x63,
|
|
0x35, 0xda, 0x36, 0x8a, 0x94, 0xf5, 0x1b, 0x62, 0x33, 0x23, 0x9f, 0xc2, 0xcc, 0x49, 0x84, 0x80,
|
|
0x8f, 0xd8, 0xfa, 0x68, 0x7f, 0xa1, 0x84, 0x6f, 0xde, 0xbb, 0x8b, 0x19, 0x7f, 0x16, 0x26, 0x5a,
|
|
0x6e, 0xa3, 0x81, 0x88, 0x1f, 0xd6, 0x6f, 0xf4, 0x19, 0xe8, 0x26, 0xc7, 0xe4, 0xfa, 0xf6, 0xa9,
|
|
0xd4, 0x67, 0x50, 0xee, 0x96, 0x28, 0xb5, 0xb6, 0x38, 0x5d, 0x67, 0x42, 0x4a, 0x7d, 0x86, 0x26,
|
|
0xc4, 0xbe, 0x08, 0xb3, 0x0f, 0x11, 0x95, 0xff, 0x98, 0xc1, 0xbb, 0x94, 0x59, 0xca, 0xef, 0x8c,
|
|
0xc1, 0x5c, 0xb2, 0x45, 0x0e, 0xe6, 0x13, 0x28, 0x7b, 0xed, 0x56, 0xcb, 0xe5, 0xd5, 0x6c, 0x56,
|
|
0x03, 0x23, 0x87, 0xfa, 0xc3, 0x7a, 0x3c, 0x4c, 0xb6, 0x92, 0xc2, 0xb3, 0xbe, 0xe5, 0x33, 0x5c,
|
|
0x17, 0xfc, 0x44, 0xd2, 0x52, 0xf2, 0x12, 0x60, 0xf1, 0xfe, 0x96, 0x44, 0xdf, 0x04, 0x07, 0xef,
|
|
0x6f, 0x49, 0xe4, 0x45, 0xf0, 0x15, 0x00, 0xff, 0xff, 0x41, 0x82, 0x8b, 0xe1, 0xbc, 0x84, 0x6c,
|
|
0xd8, 0xea, 0x43, 0x28, 0x4a, 0x72, 0xb1, 0xa2, 0x53, 0x2f, 0x79, 0x24, 0x06, 0x13, 0x5a, 0xb2,
|
|
0xe5, 0x12, 0x17, 0x0e, 0xc3, 0x0f, 0xf5, 0x2a, 0x14, 0x63, 0xff, 0x43, 0x22, 0xce, 0xe0, 0x0a,
|
|
0x56, 0xe4, 0x1f, 0x48, 0xea, 0x70, 0xde, 0x7f, 0xab, 0xe6, 0xed, 0x9b, 0xc4, 0x16, 0x2f, 0x61,
|
|
0xe4, 0x4b, 0x99, 0xb2, 0x6c, 0xda, 0x62, 0x2d, 0x3c, 0xd9, 0xe4, 0xaf, 0xc7, 0x59, 0x0f, 0x1e,
|
|
0x45, 0x8e, 0xc5, 0xa6, 0xda, 0x25, 0x48, 0xde, 0xd9, 0x95, 0x22, 0x0d, 0x5b, 0x0c, 0xae, 0xde,
|
|
0x86, 0x52, 0xe4, 0xef, 0x33, 0x04, 0xae, 0xf8, 0x1f, 0x92, 0x99, 0x10, 0xce, 0x51, 0xab, 0xeb,
|
|
0x30, 0x9b, 0xaa, 0xe4, 0x91, 0xfe, 0x3d, 0xe3, 0x57, 0xe5, 0x16, 0x34, 0xb0, 0xab, 0x4d, 0x93,
|
|
0x50, 0x3c, 0x42, 0xa6, 0x7d, 0x1a, 0x8b, 0x5e, 0xfb, 0x4e, 0x06, 0x16, 0x7a, 0x4a, 0x11, 0x18,
|
|
0x69, 0x2d, 0xac, 0xa5, 0x0d, 0x57, 0x4e, 0x2b, 0xc0, 0x94, 0x16, 0xfb, 0xc6, 0x30, 0x9d, 0x07,
|
|
0xfc, 0x83, 0x92, 0xe6, 0x4b, 0x66, 0xb2, 0x70, 0x39, 0x94, 0x81, 0xf5, 0x1d, 0x3f, 0x78, 0xef,
|
|
0xea, 0x3b, 0x73, 0xa2, 0xbe, 0x8f, 0x92, 0x05, 0xfb, 0x61, 0xdf, 0x6b, 0xff, 0xa2, 0x7c, 0xfa,
|
|
0x59, 0xed, 0xdc, 0xf7, 0x3f, 0xab, 0x9d, 0xfb, 0xe2, 0xb3, 0x9a, 0xf2, 0x2b, 0x2f, 0x6a, 0xca,
|
|
0xf7, 0x5e, 0xd4, 0x94, 0xbf, 0x7b, 0x51, 0x53, 0x3e, 0x7d, 0x51, 0x53, 0xfe, 0xf1, 0x45, 0x4d,
|
|
0xf9, 0xc1, 0x8b, 0xda, 0xb9, 0x2f, 0x5e, 0xd4, 0x94, 0x6f, 0x7e, 0x5e, 0x3b, 0xf7, 0xe9, 0xe7,
|
|
0xb5, 0x73, 0xdf, 0xff, 0xbc, 0x76, 0x0e, 0x34, 0xec, 0x0e, 0x5a, 0xba, 0x6b, 0x17, 0xe4, 0x14,
|
|
0xfb, 0x3a, 0xde, 0x24, 0x2e, 0x75, 0x37, 0x95, 0x0f, 0xde, 0xd8, 0x8b, 0xd0, 0x62, 0xb7, 0xc7,
|
|
0x5f, 0x8a, 0xfd, 0x64, 0x02, 0xf4, 0xa7, 0x99, 0x85, 0x6d, 0x9f, 0x68, 0xb5, 0x85, 0x83, 0xa0,
|
|
0xb9, 0x25, 0x3b, 0x7c, 0x76, 0xe7, 0x9f, 0x33, 0x9a, 0x8f, 0xb1, 0xb2, 0xb2, 0xda, 0xc2, 0x2b,
|
|
0x2b, 0x09, 0x9c, 0x95, 0x95, 0x67, 0x77, 0x76, 0xc6, 0xf9, 0xc5, 0xe2, 0xeb, 0xff, 0x1b, 0x00,
|
|
0x00, 0xff, 0xff, 0xff, 0x1e, 0x2f, 0xeb, 0xd3, 0x4c, 0x00, 0x00,
|
|
}
|
|
|
|
func (this *RegisterNamespaceRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RegisterNamespaceRequest)
|
|
if !ok {
|
|
that2, ok := that.(RegisterNamespaceRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.Description != that1.Description {
|
|
return false
|
|
}
|
|
if this.OwnerEmail != that1.OwnerEmail {
|
|
return false
|
|
}
|
|
if this.WorkflowExecutionRetentionPeriod != nil && that1.WorkflowExecutionRetentionPeriod != nil {
|
|
if *this.WorkflowExecutionRetentionPeriod != *that1.WorkflowExecutionRetentionPeriod {
|
|
return false
|
|
}
|
|
} else if this.WorkflowExecutionRetentionPeriod != nil {
|
|
return false
|
|
} else if that1.WorkflowExecutionRetentionPeriod != nil {
|
|
return false
|
|
}
|
|
if len(this.Clusters) != len(that1.Clusters) {
|
|
return false
|
|
}
|
|
for i := range this.Clusters {
|
|
if !this.Clusters[i].Equal(that1.Clusters[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if this.ActiveClusterName != that1.ActiveClusterName {
|
|
return false
|
|
}
|
|
if len(this.Data) != len(that1.Data) {
|
|
return false
|
|
}
|
|
for i := range this.Data {
|
|
if this.Data[i] != that1.Data[i] {
|
|
return false
|
|
}
|
|
}
|
|
if this.SecurityToken != that1.SecurityToken {
|
|
return false
|
|
}
|
|
if this.IsGlobalNamespace != that1.IsGlobalNamespace {
|
|
return false
|
|
}
|
|
if this.HistoryArchivalState != that1.HistoryArchivalState {
|
|
return false
|
|
}
|
|
if this.HistoryArchivalUri != that1.HistoryArchivalUri {
|
|
return false
|
|
}
|
|
if this.VisibilityArchivalState != that1.VisibilityArchivalState {
|
|
return false
|
|
}
|
|
if this.VisibilityArchivalUri != that1.VisibilityArchivalUri {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RegisterNamespaceResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RegisterNamespaceResponse)
|
|
if !ok {
|
|
that2, ok := that.(RegisterNamespaceResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListNamespacesRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListNamespacesRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListNamespacesRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.PageSize != that1.PageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListNamespacesResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListNamespacesResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListNamespacesResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Namespaces) != len(that1.Namespaces) {
|
|
return false
|
|
}
|
|
for i := range this.Namespaces {
|
|
if !this.Namespaces[i].Equal(that1.Namespaces[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeNamespaceRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeNamespaceRequest)
|
|
if !ok {
|
|
that2, ok := that.(DescribeNamespaceRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.Id != that1.Id {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeNamespaceResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeNamespaceResponse)
|
|
if !ok {
|
|
that2, ok := that.(DescribeNamespaceResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.NamespaceInfo.Equal(that1.NamespaceInfo) {
|
|
return false
|
|
}
|
|
if !this.Config.Equal(that1.Config) {
|
|
return false
|
|
}
|
|
if !this.ReplicationConfig.Equal(that1.ReplicationConfig) {
|
|
return false
|
|
}
|
|
if this.FailoverVersion != that1.FailoverVersion {
|
|
return false
|
|
}
|
|
if this.IsGlobalNamespace != that1.IsGlobalNamespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *UpdateNamespaceRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*UpdateNamespaceRequest)
|
|
if !ok {
|
|
that2, ok := that.(UpdateNamespaceRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.UpdateInfo.Equal(that1.UpdateInfo) {
|
|
return false
|
|
}
|
|
if !this.Config.Equal(that1.Config) {
|
|
return false
|
|
}
|
|
if !this.ReplicationConfig.Equal(that1.ReplicationConfig) {
|
|
return false
|
|
}
|
|
if this.SecurityToken != that1.SecurityToken {
|
|
return false
|
|
}
|
|
if this.DeleteBadBinary != that1.DeleteBadBinary {
|
|
return false
|
|
}
|
|
if this.PromoteNamespace != that1.PromoteNamespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *UpdateNamespaceResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*UpdateNamespaceResponse)
|
|
if !ok {
|
|
that2, ok := that.(UpdateNamespaceResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.NamespaceInfo.Equal(that1.NamespaceInfo) {
|
|
return false
|
|
}
|
|
if !this.Config.Equal(that1.Config) {
|
|
return false
|
|
}
|
|
if !this.ReplicationConfig.Equal(that1.ReplicationConfig) {
|
|
return false
|
|
}
|
|
if this.FailoverVersion != that1.FailoverVersion {
|
|
return false
|
|
}
|
|
if this.IsGlobalNamespace != that1.IsGlobalNamespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DeprecateNamespaceRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DeprecateNamespaceRequest)
|
|
if !ok {
|
|
that2, ok := that.(DeprecateNamespaceRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.SecurityToken != that1.SecurityToken {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DeprecateNamespaceResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DeprecateNamespaceResponse)
|
|
if !ok {
|
|
that2, ok := that.(DeprecateNamespaceResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *StartWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*StartWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(StartWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.WorkflowExecutionTimeout != nil && that1.WorkflowExecutionTimeout != nil {
|
|
if *this.WorkflowExecutionTimeout != *that1.WorkflowExecutionTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowRunTimeout != nil && that1.WorkflowRunTimeout != nil {
|
|
if *this.WorkflowRunTimeout != *that1.WorkflowRunTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowRunTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowRunTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskTimeout != nil && that1.WorkflowTaskTimeout != nil {
|
|
if *this.WorkflowTaskTimeout != *that1.WorkflowTaskTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowTaskTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowTaskTimeout != nil {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.WorkflowIdReusePolicy != that1.WorkflowIdReusePolicy {
|
|
return false
|
|
}
|
|
if !this.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
if this.CronSchedule != that1.CronSchedule {
|
|
return false
|
|
}
|
|
if !this.Memo.Equal(that1.Memo) {
|
|
return false
|
|
}
|
|
if !this.SearchAttributes.Equal(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *StartWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*StartWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(StartWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetWorkflowExecutionHistoryRequest)
|
|
if !ok {
|
|
that2, ok := that.(GetWorkflowExecutionHistoryRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.Execution.Equal(that1.Execution) {
|
|
return false
|
|
}
|
|
if this.MaximumPageSize != that1.MaximumPageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if this.WaitNewEvent != that1.WaitNewEvent {
|
|
return false
|
|
}
|
|
if this.HistoryEventFilterType != that1.HistoryEventFilterType {
|
|
return false
|
|
}
|
|
if this.SkipArchival != that1.SkipArchival {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetWorkflowExecutionHistoryResponse)
|
|
if !ok {
|
|
that2, ok := that.(GetWorkflowExecutionHistoryResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.History.Equal(that1.History) {
|
|
return false
|
|
}
|
|
if len(this.RawHistory) != len(that1.RawHistory) {
|
|
return false
|
|
}
|
|
for i := range this.RawHistory {
|
|
if !this.RawHistory[i].Equal(that1.RawHistory[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if this.Archived != that1.Archived {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *PollWorkflowTaskQueueRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*PollWorkflowTaskQueueRequest)
|
|
if !ok {
|
|
that2, ok := that.(PollWorkflowTaskQueueRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.BinaryChecksum != that1.BinaryChecksum {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *PollWorkflowTaskQueueResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*PollWorkflowTaskQueueResponse)
|
|
if !ok {
|
|
that2, ok := that.(PollWorkflowTaskQueueResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if this.PreviousStartedEventId != that1.PreviousStartedEventId {
|
|
return false
|
|
}
|
|
if this.StartedEventId != that1.StartedEventId {
|
|
return false
|
|
}
|
|
if this.Attempt != that1.Attempt {
|
|
return false
|
|
}
|
|
if this.BacklogCountHint != that1.BacklogCountHint {
|
|
return false
|
|
}
|
|
if !this.History.Equal(that1.History) {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if !this.Query.Equal(that1.Query) {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecutionTaskQueue.Equal(that1.WorkflowExecutionTaskQueue) {
|
|
return false
|
|
}
|
|
if that1.ScheduledTime == nil {
|
|
if this.ScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.ScheduledTime.Equal(*that1.ScheduledTime) {
|
|
return false
|
|
}
|
|
if that1.StartedTime == nil {
|
|
if this.StartedTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.StartedTime.Equal(*that1.StartedTime) {
|
|
return false
|
|
}
|
|
if len(this.Queries) != len(that1.Queries) {
|
|
return false
|
|
}
|
|
for i := range this.Queries {
|
|
if !this.Queries[i].Equal(that1.Queries[i]) {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondWorkflowTaskCompletedRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondWorkflowTaskCompletedRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if len(this.Commands) != len(that1.Commands) {
|
|
return false
|
|
}
|
|
for i := range this.Commands {
|
|
if !this.Commands[i].Equal(that1.Commands[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if !this.StickyAttributes.Equal(that1.StickyAttributes) {
|
|
return false
|
|
}
|
|
if this.ReturnNewWorkflowTask != that1.ReturnNewWorkflowTask {
|
|
return false
|
|
}
|
|
if this.ForceCreateNewWorkflowTask != that1.ForceCreateNewWorkflowTask {
|
|
return false
|
|
}
|
|
if this.BinaryChecksum != that1.BinaryChecksum {
|
|
return false
|
|
}
|
|
if len(this.QueryResults) != len(that1.QueryResults) {
|
|
return false
|
|
}
|
|
for i := range this.QueryResults {
|
|
if !this.QueryResults[i].Equal(that1.QueryResults[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondWorkflowTaskCompletedResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondWorkflowTaskCompletedResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.WorkflowTask.Equal(that1.WorkflowTask) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondWorkflowTaskFailedRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondWorkflowTaskFailedRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondWorkflowTaskFailedRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if this.Cause != that1.Cause {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.BinaryChecksum != that1.BinaryChecksum {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondWorkflowTaskFailedResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondWorkflowTaskFailedResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondWorkflowTaskFailedResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *PollActivityTaskQueueRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*PollActivityTaskQueueRequest)
|
|
if !ok {
|
|
that2, ok := that.(PollActivityTaskQueueRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if !this.TaskQueueMetadata.Equal(that1.TaskQueueMetadata) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *PollActivityTaskQueueResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*PollActivityTaskQueueResponse)
|
|
if !ok {
|
|
that2, ok := that.(PollActivityTaskQueueResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if this.WorkflowNamespace != that1.WorkflowNamespace {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if !this.ActivityType.Equal(that1.ActivityType) {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if !this.HeartbeatDetails.Equal(that1.HeartbeatDetails) {
|
|
return false
|
|
}
|
|
if that1.ScheduledTime == nil {
|
|
if this.ScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.ScheduledTime.Equal(*that1.ScheduledTime) {
|
|
return false
|
|
}
|
|
if that1.CurrentAttemptScheduledTime == nil {
|
|
if this.CurrentAttemptScheduledTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.CurrentAttemptScheduledTime.Equal(*that1.CurrentAttemptScheduledTime) {
|
|
return false
|
|
}
|
|
if that1.StartedTime == nil {
|
|
if this.StartedTime != nil {
|
|
return false
|
|
}
|
|
} else if !this.StartedTime.Equal(*that1.StartedTime) {
|
|
return false
|
|
}
|
|
if this.Attempt != that1.Attempt {
|
|
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.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RecordActivityTaskHeartbeatRequest)
|
|
if !ok {
|
|
that2, ok := that.(RecordActivityTaskHeartbeatRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RecordActivityTaskHeartbeatResponse)
|
|
if !ok {
|
|
that2, ok := that.(RecordActivityTaskHeartbeatResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.CancelRequested != that1.CancelRequested {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RecordActivityTaskHeartbeatByIdRequest)
|
|
if !ok {
|
|
that2, ok := that.(RecordActivityTaskHeartbeatByIdRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RecordActivityTaskHeartbeatByIdResponse)
|
|
if !ok {
|
|
that2, ok := that.(RecordActivityTaskHeartbeatByIdResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.CancelRequested != that1.CancelRequested {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCompletedRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCompletedRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCompletedRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if !this.Result.Equal(that1.Result) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCompletedResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCompletedResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCompletedResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCompletedByIdRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCompletedByIdRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.Result.Equal(that1.Result) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCompletedByIdResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCompletedByIdResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskFailedRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskFailedRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskFailedRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskFailedResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskFailedResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskFailedResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskFailedByIdRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskFailedByIdRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.Failure.Equal(that1.Failure) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskFailedByIdResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskFailedByIdResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCanceledRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCanceledRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCanceledRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCanceledResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCanceledResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCanceledResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCanceledByIdRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCanceledByIdRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
if this.ActivityId != that1.ActivityId {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondActivityTaskCanceledByIdResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondActivityTaskCanceledByIdResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RequestCancelWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(RequestCancelWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.FirstExecutionRunId != that1.FirstExecutionRunId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RequestCancelWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(RequestCancelWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(SignalWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if this.SignalName != that1.SignalName {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.Control != that1.Control {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(SignalWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalWithStartWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(SignalWithStartWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.WorkflowId != that1.WorkflowId {
|
|
return false
|
|
}
|
|
if !this.WorkflowType.Equal(that1.WorkflowType) {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if !this.Input.Equal(that1.Input) {
|
|
return false
|
|
}
|
|
if this.WorkflowExecutionTimeout != nil && that1.WorkflowExecutionTimeout != nil {
|
|
if *this.WorkflowExecutionTimeout != *that1.WorkflowExecutionTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowExecutionTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowRunTimeout != nil && that1.WorkflowRunTimeout != nil {
|
|
if *this.WorkflowRunTimeout != *that1.WorkflowRunTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowRunTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowRunTimeout != nil {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskTimeout != nil && that1.WorkflowTaskTimeout != nil {
|
|
if *this.WorkflowTaskTimeout != *that1.WorkflowTaskTimeout {
|
|
return false
|
|
}
|
|
} else if this.WorkflowTaskTimeout != nil {
|
|
return false
|
|
} else if that1.WorkflowTaskTimeout != nil {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.WorkflowIdReusePolicy != that1.WorkflowIdReusePolicy {
|
|
return false
|
|
}
|
|
if this.SignalName != that1.SignalName {
|
|
return false
|
|
}
|
|
if !this.SignalInput.Equal(that1.SignalInput) {
|
|
return false
|
|
}
|
|
if this.Control != that1.Control {
|
|
return false
|
|
}
|
|
if !this.RetryPolicy.Equal(that1.RetryPolicy) {
|
|
return false
|
|
}
|
|
if this.CronSchedule != that1.CronSchedule {
|
|
return false
|
|
}
|
|
if !this.Memo.Equal(that1.Memo) {
|
|
return false
|
|
}
|
|
if !this.SearchAttributes.Equal(that1.SearchAttributes) {
|
|
return false
|
|
}
|
|
if !this.Header.Equal(that1.Header) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*SignalWithStartWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(SignalWithStartWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ResetWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ResetWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(ResetWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if this.Reason != that1.Reason {
|
|
return false
|
|
}
|
|
if this.WorkflowTaskFinishEventId != that1.WorkflowTaskFinishEventId {
|
|
return false
|
|
}
|
|
if this.RequestId != that1.RequestId {
|
|
return false
|
|
}
|
|
if this.ResetReapplyType != that1.ResetReapplyType {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ResetWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ResetWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(ResetWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.RunId != that1.RunId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *TerminateWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*TerminateWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(TerminateWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecution.Equal(that1.WorkflowExecution) {
|
|
return false
|
|
}
|
|
if this.Reason != that1.Reason {
|
|
return false
|
|
}
|
|
if !this.Details.Equal(that1.Details) {
|
|
return false
|
|
}
|
|
if this.Identity != that1.Identity {
|
|
return false
|
|
}
|
|
if this.FirstExecutionRunId != that1.FirstExecutionRunId {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *TerminateWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*TerminateWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(TerminateWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListOpenWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListOpenWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.MaximumPageSize != that1.MaximumPageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if !this.StartTimeFilter.Equal(that1.StartTimeFilter) {
|
|
return false
|
|
}
|
|
if that1.Filters == nil {
|
|
if this.Filters != nil {
|
|
return false
|
|
}
|
|
} else if this.Filters == nil {
|
|
return false
|
|
} else if !this.Filters.Equal(that1.Filters) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_ExecutionFilter) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListOpenWorkflowExecutionsRequest_ExecutionFilter)
|
|
if !ok {
|
|
that2, ok := that.(ListOpenWorkflowExecutionsRequest_ExecutionFilter)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.ExecutionFilter.Equal(that1.ExecutionFilter) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_TypeFilter) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListOpenWorkflowExecutionsRequest_TypeFilter)
|
|
if !ok {
|
|
that2, ok := that.(ListOpenWorkflowExecutionsRequest_TypeFilter)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.TypeFilter.Equal(that1.TypeFilter) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListOpenWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListOpenWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Executions) != len(that1.Executions) {
|
|
return false
|
|
}
|
|
for i := range this.Executions {
|
|
if !this.Executions[i].Equal(that1.Executions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListClosedWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListClosedWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.MaximumPageSize != that1.MaximumPageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if !this.StartTimeFilter.Equal(that1.StartTimeFilter) {
|
|
return false
|
|
}
|
|
if that1.Filters == nil {
|
|
if this.Filters != nil {
|
|
return false
|
|
}
|
|
} else if this.Filters == nil {
|
|
return false
|
|
} else if !this.Filters.Equal(that1.Filters) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_ExecutionFilter) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListClosedWorkflowExecutionsRequest_ExecutionFilter)
|
|
if !ok {
|
|
that2, ok := that.(ListClosedWorkflowExecutionsRequest_ExecutionFilter)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.ExecutionFilter.Equal(that1.ExecutionFilter) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_TypeFilter) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListClosedWorkflowExecutionsRequest_TypeFilter)
|
|
if !ok {
|
|
that2, ok := that.(ListClosedWorkflowExecutionsRequest_TypeFilter)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.TypeFilter.Equal(that1.TypeFilter) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_StatusFilter) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListClosedWorkflowExecutionsRequest_StatusFilter)
|
|
if !ok {
|
|
that2, ok := that.(ListClosedWorkflowExecutionsRequest_StatusFilter)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.StatusFilter.Equal(that1.StatusFilter) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListClosedWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListClosedWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Executions) != len(that1.Executions) {
|
|
return false
|
|
}
|
|
for i := range this.Executions {
|
|
if !this.Executions[i].Equal(that1.Executions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.PageSize != that1.PageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if this.Query != that1.Query {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Executions) != len(that1.Executions) {
|
|
return false
|
|
}
|
|
for i := range this.Executions {
|
|
if !this.Executions[i].Equal(that1.Executions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListArchivedWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListArchivedWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.PageSize != that1.PageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if this.Query != that1.Query {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListArchivedWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListArchivedWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Executions) != len(that1.Executions) {
|
|
return false
|
|
}
|
|
for i := range this.Executions {
|
|
if !this.Executions[i].Equal(that1.Executions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ScanWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ScanWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ScanWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.PageSize != that1.PageSize {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
if this.Query != that1.Query {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ScanWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ScanWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ScanWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Executions) != len(that1.Executions) {
|
|
return false
|
|
}
|
|
for i := range this.Executions {
|
|
if !this.Executions[i].Equal(that1.Executions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.NextPageToken, that1.NextPageToken) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CountWorkflowExecutionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*CountWorkflowExecutionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(CountWorkflowExecutionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if this.Query != that1.Query {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CountWorkflowExecutionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*CountWorkflowExecutionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(CountWorkflowExecutionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Count != that1.Count {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetSearchAttributesRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetSearchAttributesRequest)
|
|
if !ok {
|
|
that2, ok := that.(GetSearchAttributesRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetSearchAttributesResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetSearchAttributesResponse)
|
|
if !ok {
|
|
that2, ok := that.(GetSearchAttributesResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Keys) != len(that1.Keys) {
|
|
return false
|
|
}
|
|
for i := range this.Keys {
|
|
if this.Keys[i] != that1.Keys[i] {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondQueryTaskCompletedRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondQueryTaskCompletedRequest)
|
|
if !ok {
|
|
that2, ok := that.(RespondQueryTaskCompletedRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.TaskToken, that1.TaskToken) {
|
|
return false
|
|
}
|
|
if this.CompletedType != that1.CompletedType {
|
|
return false
|
|
}
|
|
if !this.QueryResult.Equal(that1.QueryResult) {
|
|
return false
|
|
}
|
|
if this.ErrorMessage != that1.ErrorMessage {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *RespondQueryTaskCompletedResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*RespondQueryTaskCompletedResponse)
|
|
if !ok {
|
|
that2, ok := that.(RespondQueryTaskCompletedResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ResetStickyTaskQueueRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ResetStickyTaskQueueRequest)
|
|
if !ok {
|
|
that2, ok := that.(ResetStickyTaskQueueRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.Execution.Equal(that1.Execution) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ResetStickyTaskQueueResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ResetStickyTaskQueueResponse)
|
|
if !ok {
|
|
that2, ok := that.(ResetStickyTaskQueueResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *QueryWorkflowRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*QueryWorkflowRequest)
|
|
if !ok {
|
|
that2, ok := that.(QueryWorkflowRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.Execution.Equal(that1.Execution) {
|
|
return false
|
|
}
|
|
if !this.Query.Equal(that1.Query) {
|
|
return false
|
|
}
|
|
if this.QueryRejectCondition != that1.QueryRejectCondition {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *QueryWorkflowResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*QueryWorkflowResponse)
|
|
if !ok {
|
|
that2, ok := that.(QueryWorkflowResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.QueryResult.Equal(that1.QueryResult) {
|
|
return false
|
|
}
|
|
if !this.QueryRejected.Equal(that1.QueryRejected) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeWorkflowExecutionRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeWorkflowExecutionRequest)
|
|
if !ok {
|
|
that2, ok := that.(DescribeWorkflowExecutionRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.Execution.Equal(that1.Execution) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeWorkflowExecutionResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeWorkflowExecutionResponse)
|
|
if !ok {
|
|
that2, ok := that.(DescribeWorkflowExecutionResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if !this.ExecutionConfig.Equal(that1.ExecutionConfig) {
|
|
return false
|
|
}
|
|
if !this.WorkflowExecutionInfo.Equal(that1.WorkflowExecutionInfo) {
|
|
return false
|
|
}
|
|
if len(this.PendingActivities) != len(that1.PendingActivities) {
|
|
return false
|
|
}
|
|
for i := range this.PendingActivities {
|
|
if !this.PendingActivities[i].Equal(that1.PendingActivities[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.PendingChildren) != len(that1.PendingChildren) {
|
|
return false
|
|
}
|
|
for i := range this.PendingChildren {
|
|
if !this.PendingChildren[i].Equal(that1.PendingChildren[i]) {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeTaskQueueRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeTaskQueueRequest)
|
|
if !ok {
|
|
that2, ok := that.(DescribeTaskQueueRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
if this.TaskQueueType != that1.TaskQueueType {
|
|
return false
|
|
}
|
|
if this.IncludeTaskQueueStatus != that1.IncludeTaskQueueStatus {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *DescribeTaskQueueResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*DescribeTaskQueueResponse)
|
|
if !ok {
|
|
that2, ok := that.(DescribeTaskQueueResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Pollers) != len(that1.Pollers) {
|
|
return false
|
|
}
|
|
for i := range this.Pollers {
|
|
if !this.Pollers[i].Equal(that1.Pollers[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !this.TaskQueueStatus.Equal(that1.TaskQueueStatus) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetClusterInfoRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetClusterInfoRequest)
|
|
if !ok {
|
|
that2, ok := that.(GetClusterInfoRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *GetClusterInfoResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*GetClusterInfoResponse)
|
|
if !ok {
|
|
that2, ok := that.(GetClusterInfoResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.SupportedClients) != len(that1.SupportedClients) {
|
|
return false
|
|
}
|
|
for i := range this.SupportedClients {
|
|
if this.SupportedClients[i] != that1.SupportedClients[i] {
|
|
return false
|
|
}
|
|
}
|
|
if this.ServerVersion != that1.ServerVersion {
|
|
return false
|
|
}
|
|
if this.ClusterId != that1.ClusterId {
|
|
return false
|
|
}
|
|
if !this.VersionInfo.Equal(that1.VersionInfo) {
|
|
return false
|
|
}
|
|
if this.ClusterName != that1.ClusterName {
|
|
return false
|
|
}
|
|
if this.HistoryShardCount != that1.HistoryShardCount {
|
|
return false
|
|
}
|
|
if this.PersistenceStore != that1.PersistenceStore {
|
|
return false
|
|
}
|
|
if this.VisibilityStore != that1.VisibilityStore {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListTaskQueuePartitionsRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListTaskQueuePartitionsRequest)
|
|
if !ok {
|
|
that2, ok := that.(ListTaskQueuePartitionsRequest)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Namespace != that1.Namespace {
|
|
return false
|
|
}
|
|
if !this.TaskQueue.Equal(that1.TaskQueue) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *ListTaskQueuePartitionsResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*ListTaskQueuePartitionsResponse)
|
|
if !ok {
|
|
that2, ok := that.(ListTaskQueuePartitionsResponse)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.ActivityTaskQueuePartitions) != len(that1.ActivityTaskQueuePartitions) {
|
|
return false
|
|
}
|
|
for i := range this.ActivityTaskQueuePartitions {
|
|
if !this.ActivityTaskQueuePartitions[i].Equal(that1.ActivityTaskQueuePartitions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.WorkflowTaskQueuePartitions) != len(that1.WorkflowTaskQueuePartitions) {
|
|
return false
|
|
}
|
|
for i := range this.WorkflowTaskQueuePartitions {
|
|
if !this.WorkflowTaskQueuePartitions[i].Equal(that1.WorkflowTaskQueuePartitions[i]) {
|
|
return false
|
|
}
|
|
}
|
|
return true
|
|
}
|
|
func (this *RegisterNamespaceRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 17)
|
|
s = append(s, "&workflowservice.RegisterNamespaceRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
|
s = append(s, "OwnerEmail: "+fmt.Sprintf("%#v", this.OwnerEmail)+",\n")
|
|
s = append(s, "WorkflowExecutionRetentionPeriod: "+fmt.Sprintf("%#v", this.WorkflowExecutionRetentionPeriod)+",\n")
|
|
if this.Clusters != nil {
|
|
s = append(s, "Clusters: "+fmt.Sprintf("%#v", this.Clusters)+",\n")
|
|
}
|
|
s = append(s, "ActiveClusterName: "+fmt.Sprintf("%#v", this.ActiveClusterName)+",\n")
|
|
keysForData := make([]string, 0, len(this.Data))
|
|
for k, _ := range this.Data {
|
|
keysForData = append(keysForData, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForData)
|
|
mapStringForData := "map[string]string{"
|
|
for _, k := range keysForData {
|
|
mapStringForData += fmt.Sprintf("%#v: %#v,", k, this.Data[k])
|
|
}
|
|
mapStringForData += "}"
|
|
if this.Data != nil {
|
|
s = append(s, "Data: "+mapStringForData+",\n")
|
|
}
|
|
s = append(s, "SecurityToken: "+fmt.Sprintf("%#v", this.SecurityToken)+",\n")
|
|
s = append(s, "IsGlobalNamespace: "+fmt.Sprintf("%#v", this.IsGlobalNamespace)+",\n")
|
|
s = append(s, "HistoryArchivalState: "+fmt.Sprintf("%#v", this.HistoryArchivalState)+",\n")
|
|
s = append(s, "HistoryArchivalUri: "+fmt.Sprintf("%#v", this.HistoryArchivalUri)+",\n")
|
|
s = append(s, "VisibilityArchivalState: "+fmt.Sprintf("%#v", this.VisibilityArchivalState)+",\n")
|
|
s = append(s, "VisibilityArchivalUri: "+fmt.Sprintf("%#v", this.VisibilityArchivalUri)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RegisterNamespaceResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RegisterNamespaceResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListNamespacesRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListNamespacesRequest{")
|
|
s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListNamespacesResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListNamespacesResponse{")
|
|
if this.Namespaces != nil {
|
|
s = append(s, "Namespaces: "+fmt.Sprintf("%#v", this.Namespaces)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeNamespaceRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.DescribeNamespaceRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeNamespaceResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&workflowservice.DescribeNamespaceResponse{")
|
|
if this.NamespaceInfo != nil {
|
|
s = append(s, "NamespaceInfo: "+fmt.Sprintf("%#v", this.NamespaceInfo)+",\n")
|
|
}
|
|
if this.Config != nil {
|
|
s = append(s, "Config: "+fmt.Sprintf("%#v", this.Config)+",\n")
|
|
}
|
|
if this.ReplicationConfig != nil {
|
|
s = append(s, "ReplicationConfig: "+fmt.Sprintf("%#v", this.ReplicationConfig)+",\n")
|
|
}
|
|
s = append(s, "FailoverVersion: "+fmt.Sprintf("%#v", this.FailoverVersion)+",\n")
|
|
s = append(s, "IsGlobalNamespace: "+fmt.Sprintf("%#v", this.IsGlobalNamespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *UpdateNamespaceRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 11)
|
|
s = append(s, "&workflowservice.UpdateNamespaceRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.UpdateInfo != nil {
|
|
s = append(s, "UpdateInfo: "+fmt.Sprintf("%#v", this.UpdateInfo)+",\n")
|
|
}
|
|
if this.Config != nil {
|
|
s = append(s, "Config: "+fmt.Sprintf("%#v", this.Config)+",\n")
|
|
}
|
|
if this.ReplicationConfig != nil {
|
|
s = append(s, "ReplicationConfig: "+fmt.Sprintf("%#v", this.ReplicationConfig)+",\n")
|
|
}
|
|
s = append(s, "SecurityToken: "+fmt.Sprintf("%#v", this.SecurityToken)+",\n")
|
|
s = append(s, "DeleteBadBinary: "+fmt.Sprintf("%#v", this.DeleteBadBinary)+",\n")
|
|
s = append(s, "PromoteNamespace: "+fmt.Sprintf("%#v", this.PromoteNamespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *UpdateNamespaceResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&workflowservice.UpdateNamespaceResponse{")
|
|
if this.NamespaceInfo != nil {
|
|
s = append(s, "NamespaceInfo: "+fmt.Sprintf("%#v", this.NamespaceInfo)+",\n")
|
|
}
|
|
if this.Config != nil {
|
|
s = append(s, "Config: "+fmt.Sprintf("%#v", this.Config)+",\n")
|
|
}
|
|
if this.ReplicationConfig != nil {
|
|
s = append(s, "ReplicationConfig: "+fmt.Sprintf("%#v", this.ReplicationConfig)+",\n")
|
|
}
|
|
s = append(s, "FailoverVersion: "+fmt.Sprintf("%#v", this.FailoverVersion)+",\n")
|
|
s = append(s, "IsGlobalNamespace: "+fmt.Sprintf("%#v", this.IsGlobalNamespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DeprecateNamespaceRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.DeprecateNamespaceRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "SecurityToken: "+fmt.Sprintf("%#v", this.SecurityToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DeprecateNamespaceResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.DeprecateNamespaceResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *StartWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 20)
|
|
s = append(s, "&workflowservice.StartWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "WorkflowExecutionTimeout: "+fmt.Sprintf("%#v", this.WorkflowExecutionTimeout)+",\n")
|
|
s = append(s, "WorkflowRunTimeout: "+fmt.Sprintf("%#v", this.WorkflowRunTimeout)+",\n")
|
|
s = append(s, "WorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.WorkflowTaskTimeout)+",\n")
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "WorkflowIdReusePolicy: "+fmt.Sprintf("%#v", this.WorkflowIdReusePolicy)+",\n")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "CronSchedule: "+fmt.Sprintf("%#v", this.CronSchedule)+",\n")
|
|
if this.Memo != nil {
|
|
s = append(s, "Memo: "+fmt.Sprintf("%#v", this.Memo)+",\n")
|
|
}
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+fmt.Sprintf("%#v", this.SearchAttributes)+",\n")
|
|
}
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *StartWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.StartWorkflowExecutionResponse{")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 11)
|
|
s = append(s, "&workflowservice.GetWorkflowExecutionHistoryRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.Execution != nil {
|
|
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
|
|
}
|
|
s = append(s, "MaximumPageSize: "+fmt.Sprintf("%#v", this.MaximumPageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "WaitNewEvent: "+fmt.Sprintf("%#v", this.WaitNewEvent)+",\n")
|
|
s = append(s, "HistoryEventFilterType: "+fmt.Sprintf("%#v", this.HistoryEventFilterType)+",\n")
|
|
s = append(s, "SkipArchival: "+fmt.Sprintf("%#v", this.SkipArchival)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.GetWorkflowExecutionHistoryResponse{")
|
|
if this.History != nil {
|
|
s = append(s, "History: "+fmt.Sprintf("%#v", this.History)+",\n")
|
|
}
|
|
if this.RawHistory != nil {
|
|
s = append(s, "RawHistory: "+fmt.Sprintf("%#v", this.RawHistory)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "Archived: "+fmt.Sprintf("%#v", this.Archived)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *PollWorkflowTaskQueueRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.PollWorkflowTaskQueueRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "BinaryChecksum: "+fmt.Sprintf("%#v", this.BinaryChecksum)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *PollWorkflowTaskQueueResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 18)
|
|
s = append(s, "&workflowservice.PollWorkflowTaskQueueResponse{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
s = append(s, "PreviousStartedEventId: "+fmt.Sprintf("%#v", this.PreviousStartedEventId)+",\n")
|
|
s = append(s, "StartedEventId: "+fmt.Sprintf("%#v", this.StartedEventId)+",\n")
|
|
s = append(s, "Attempt: "+fmt.Sprintf("%#v", this.Attempt)+",\n")
|
|
s = append(s, "BacklogCountHint: "+fmt.Sprintf("%#v", this.BacklogCountHint)+",\n")
|
|
if this.History != nil {
|
|
s = append(s, "History: "+fmt.Sprintf("%#v", this.History)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
if this.Query != nil {
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
}
|
|
if this.WorkflowExecutionTaskQueue != nil {
|
|
s = append(s, "WorkflowExecutionTaskQueue: "+fmt.Sprintf("%#v", this.WorkflowExecutionTaskQueue)+",\n")
|
|
}
|
|
s = append(s, "ScheduledTime: "+fmt.Sprintf("%#v", this.ScheduledTime)+",\n")
|
|
s = append(s, "StartedTime: "+fmt.Sprintf("%#v", this.StartedTime)+",\n")
|
|
keysForQueries := make([]string, 0, len(this.Queries))
|
|
for k, _ := range this.Queries {
|
|
keysForQueries = append(keysForQueries, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForQueries)
|
|
mapStringForQueries := "map[string]*v16.WorkflowQuery{"
|
|
for _, k := range keysForQueries {
|
|
mapStringForQueries += fmt.Sprintf("%#v: %#v,", k, this.Queries[k])
|
|
}
|
|
mapStringForQueries += "}"
|
|
if this.Queries != nil {
|
|
s = append(s, "Queries: "+mapStringForQueries+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 13)
|
|
s = append(s, "&workflowservice.RespondWorkflowTaskCompletedRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.Commands != nil {
|
|
s = append(s, "Commands: "+fmt.Sprintf("%#v", this.Commands)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
if this.StickyAttributes != nil {
|
|
s = append(s, "StickyAttributes: "+fmt.Sprintf("%#v", this.StickyAttributes)+",\n")
|
|
}
|
|
s = append(s, "ReturnNewWorkflowTask: "+fmt.Sprintf("%#v", this.ReturnNewWorkflowTask)+",\n")
|
|
s = append(s, "ForceCreateNewWorkflowTask: "+fmt.Sprintf("%#v", this.ForceCreateNewWorkflowTask)+",\n")
|
|
s = append(s, "BinaryChecksum: "+fmt.Sprintf("%#v", this.BinaryChecksum)+",\n")
|
|
keysForQueryResults := make([]string, 0, len(this.QueryResults))
|
|
for k, _ := range this.QueryResults {
|
|
keysForQueryResults = append(keysForQueryResults, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForQueryResults)
|
|
mapStringForQueryResults := "map[string]*v16.WorkflowQueryResult{"
|
|
for _, k := range keysForQueryResults {
|
|
mapStringForQueryResults += fmt.Sprintf("%#v: %#v,", k, this.QueryResults[k])
|
|
}
|
|
mapStringForQueryResults += "}"
|
|
if this.QueryResults != nil {
|
|
s = append(s, "QueryResults: "+mapStringForQueryResults+",\n")
|
|
}
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.RespondWorkflowTaskCompletedResponse{")
|
|
if this.WorkflowTask != nil {
|
|
s = append(s, "WorkflowTask: "+fmt.Sprintf("%#v", this.WorkflowTask)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondWorkflowTaskFailedRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.RespondWorkflowTaskFailedRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
s = append(s, "Cause: "+fmt.Sprintf("%#v", this.Cause)+",\n")
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "BinaryChecksum: "+fmt.Sprintf("%#v", this.BinaryChecksum)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondWorkflowTaskFailedResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondWorkflowTaskFailedResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *PollActivityTaskQueueRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.PollActivityTaskQueueRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
if this.TaskQueueMetadata != nil {
|
|
s = append(s, "TaskQueueMetadata: "+fmt.Sprintf("%#v", this.TaskQueueMetadata)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *PollActivityTaskQueueResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 21)
|
|
s = append(s, "&workflowservice.PollActivityTaskQueueResponse{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
s = append(s, "WorkflowNamespace: "+fmt.Sprintf("%#v", this.WorkflowNamespace)+",\n")
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
if this.ActivityType != nil {
|
|
s = append(s, "ActivityType: "+fmt.Sprintf("%#v", this.ActivityType)+",\n")
|
|
}
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
if this.HeartbeatDetails != nil {
|
|
s = append(s, "HeartbeatDetails: "+fmt.Sprintf("%#v", this.HeartbeatDetails)+",\n")
|
|
}
|
|
s = append(s, "ScheduledTime: "+fmt.Sprintf("%#v", this.ScheduledTime)+",\n")
|
|
s = append(s, "CurrentAttemptScheduledTime: "+fmt.Sprintf("%#v", this.CurrentAttemptScheduledTime)+",\n")
|
|
s = append(s, "StartedTime: "+fmt.Sprintf("%#v", this.StartedTime)+",\n")
|
|
s = append(s, "Attempt: "+fmt.Sprintf("%#v", this.Attempt)+",\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")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.RecordActivityTaskHeartbeatRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.RecordActivityTaskHeartbeatResponse{")
|
|
s = append(s, "CancelRequested: "+fmt.Sprintf("%#v", this.CancelRequested)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.RecordActivityTaskHeartbeatByIdRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.RecordActivityTaskHeartbeatByIdResponse{")
|
|
s = append(s, "CancelRequested: "+fmt.Sprintf("%#v", this.CancelRequested)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCompletedRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCompletedRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.Result != nil {
|
|
s = append(s, "Result: "+fmt.Sprintf("%#v", this.Result)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCompletedResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCompletedResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCompletedByIdRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.Result != nil {
|
|
s = append(s, "Result: "+fmt.Sprintf("%#v", this.Result)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCompletedByIdResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskFailedRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.RespondActivityTaskFailedRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskFailedResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskFailedResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.RespondActivityTaskFailedByIdRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.Failure != nil {
|
|
s = append(s, "Failure: "+fmt.Sprintf("%#v", this.Failure)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskFailedByIdResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCanceledRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCanceledRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCanceledResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCanceledResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCanceledByIdRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondActivityTaskCanceledByIdResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&workflowservice.RequestCancelWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "FirstExecutionRunId: "+fmt.Sprintf("%#v", this.FirstExecutionRunId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RequestCancelWorkflowExecutionResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 12)
|
|
s = append(s, "&workflowservice.SignalWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
s = append(s, "SignalName: "+fmt.Sprintf("%#v", this.SignalName)+",\n")
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.SignalWorkflowExecutionResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 23)
|
|
s = append(s, "&workflowservice.SignalWithStartWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n")
|
|
if this.WorkflowType != nil {
|
|
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
|
|
}
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
if this.Input != nil {
|
|
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
|
|
}
|
|
s = append(s, "WorkflowExecutionTimeout: "+fmt.Sprintf("%#v", this.WorkflowExecutionTimeout)+",\n")
|
|
s = append(s, "WorkflowRunTimeout: "+fmt.Sprintf("%#v", this.WorkflowRunTimeout)+",\n")
|
|
s = append(s, "WorkflowTaskTimeout: "+fmt.Sprintf("%#v", this.WorkflowTaskTimeout)+",\n")
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "WorkflowIdReusePolicy: "+fmt.Sprintf("%#v", this.WorkflowIdReusePolicy)+",\n")
|
|
s = append(s, "SignalName: "+fmt.Sprintf("%#v", this.SignalName)+",\n")
|
|
if this.SignalInput != nil {
|
|
s = append(s, "SignalInput: "+fmt.Sprintf("%#v", this.SignalInput)+",\n")
|
|
}
|
|
s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
|
|
if this.RetryPolicy != nil {
|
|
s = append(s, "RetryPolicy: "+fmt.Sprintf("%#v", this.RetryPolicy)+",\n")
|
|
}
|
|
s = append(s, "CronSchedule: "+fmt.Sprintf("%#v", this.CronSchedule)+",\n")
|
|
if this.Memo != nil {
|
|
s = append(s, "Memo: "+fmt.Sprintf("%#v", this.Memo)+",\n")
|
|
}
|
|
if this.SearchAttributes != nil {
|
|
s = append(s, "SearchAttributes: "+fmt.Sprintf("%#v", this.SearchAttributes)+",\n")
|
|
}
|
|
if this.Header != nil {
|
|
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.SignalWithStartWorkflowExecutionResponse{")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ResetWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.ResetWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
s = append(s, "Reason: "+fmt.Sprintf("%#v", this.Reason)+",\n")
|
|
s = append(s, "WorkflowTaskFinishEventId: "+fmt.Sprintf("%#v", this.WorkflowTaskFinishEventId)+",\n")
|
|
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
|
s = append(s, "ResetReapplyType: "+fmt.Sprintf("%#v", this.ResetReapplyType)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ResetWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.ResetWorkflowExecutionResponse{")
|
|
s = append(s, "RunId: "+fmt.Sprintf("%#v", this.RunId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *TerminateWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.TerminateWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.WorkflowExecution != nil {
|
|
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
|
|
}
|
|
s = append(s, "Reason: "+fmt.Sprintf("%#v", this.Reason)+",\n")
|
|
if this.Details != nil {
|
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
|
}
|
|
s = append(s, "Identity: "+fmt.Sprintf("%#v", this.Identity)+",\n")
|
|
s = append(s, "FirstExecutionRunId: "+fmt.Sprintf("%#v", this.FirstExecutionRunId)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *TerminateWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.TerminateWorkflowExecutionResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 10)
|
|
s = append(s, "&workflowservice.ListOpenWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "MaximumPageSize: "+fmt.Sprintf("%#v", this.MaximumPageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
if this.StartTimeFilter != nil {
|
|
s = append(s, "StartTimeFilter: "+fmt.Sprintf("%#v", this.StartTimeFilter)+",\n")
|
|
}
|
|
if this.Filters != nil {
|
|
s = append(s, "Filters: "+fmt.Sprintf("%#v", this.Filters)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_ExecutionFilter) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&workflowservice.ListOpenWorkflowExecutionsRequest_ExecutionFilter{` +
|
|
`ExecutionFilter:` + fmt.Sprintf("%#v", this.ExecutionFilter) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_TypeFilter) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&workflowservice.ListOpenWorkflowExecutionsRequest_TypeFilter{` +
|
|
`TypeFilter:` + fmt.Sprintf("%#v", this.TypeFilter) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListOpenWorkflowExecutionsResponse{")
|
|
if this.Executions != nil {
|
|
s = append(s, "Executions: "+fmt.Sprintf("%#v", this.Executions)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 11)
|
|
s = append(s, "&workflowservice.ListClosedWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "MaximumPageSize: "+fmt.Sprintf("%#v", this.MaximumPageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
if this.StartTimeFilter != nil {
|
|
s = append(s, "StartTimeFilter: "+fmt.Sprintf("%#v", this.StartTimeFilter)+",\n")
|
|
}
|
|
if this.Filters != nil {
|
|
s = append(s, "Filters: "+fmt.Sprintf("%#v", this.Filters)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_ExecutionFilter) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&workflowservice.ListClosedWorkflowExecutionsRequest_ExecutionFilter{` +
|
|
`ExecutionFilter:` + fmt.Sprintf("%#v", this.ExecutionFilter) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_TypeFilter) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&workflowservice.ListClosedWorkflowExecutionsRequest_TypeFilter{` +
|
|
`TypeFilter:` + fmt.Sprintf("%#v", this.TypeFilter) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_StatusFilter) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&workflowservice.ListClosedWorkflowExecutionsRequest_StatusFilter{` +
|
|
`StatusFilter:` + fmt.Sprintf("%#v", this.StatusFilter) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListClosedWorkflowExecutionsResponse{")
|
|
if this.Executions != nil {
|
|
s = append(s, "Executions: "+fmt.Sprintf("%#v", this.Executions)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.ListWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListWorkflowExecutionsResponse{")
|
|
if this.Executions != nil {
|
|
s = append(s, "Executions: "+fmt.Sprintf("%#v", this.Executions)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.ListArchivedWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListArchivedWorkflowExecutionsResponse{")
|
|
if this.Executions != nil {
|
|
s = append(s, "Executions: "+fmt.Sprintf("%#v", this.Executions)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ScanWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.ScanWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n")
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ScanWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ScanWorkflowExecutionsResponse{")
|
|
if this.Executions != nil {
|
|
s = append(s, "Executions: "+fmt.Sprintf("%#v", this.Executions)+",\n")
|
|
}
|
|
s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *CountWorkflowExecutionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.CountWorkflowExecutionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *CountWorkflowExecutionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.CountWorkflowExecutionsResponse{")
|
|
s = append(s, "Count: "+fmt.Sprintf("%#v", this.Count)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetSearchAttributesRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.GetSearchAttributesRequest{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetSearchAttributesResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&workflowservice.GetSearchAttributesResponse{")
|
|
keysForKeys := make([]string, 0, len(this.Keys))
|
|
for k, _ := range this.Keys {
|
|
keysForKeys = append(keysForKeys, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForKeys)
|
|
mapStringForKeys := "map[string]v11.IndexedValueType{"
|
|
for _, k := range keysForKeys {
|
|
mapStringForKeys += fmt.Sprintf("%#v: %#v,", k, this.Keys[k])
|
|
}
|
|
mapStringForKeys += "}"
|
|
if this.Keys != nil {
|
|
s = append(s, "Keys: "+mapStringForKeys+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondQueryTaskCompletedRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 9)
|
|
s = append(s, "&workflowservice.RespondQueryTaskCompletedRequest{")
|
|
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
|
|
s = append(s, "CompletedType: "+fmt.Sprintf("%#v", this.CompletedType)+",\n")
|
|
if this.QueryResult != nil {
|
|
s = append(s, "QueryResult: "+fmt.Sprintf("%#v", this.QueryResult)+",\n")
|
|
}
|
|
s = append(s, "ErrorMessage: "+fmt.Sprintf("%#v", this.ErrorMessage)+",\n")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *RespondQueryTaskCompletedResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.RespondQueryTaskCompletedResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ResetStickyTaskQueueRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ResetStickyTaskQueueRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.Execution != nil {
|
|
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ResetStickyTaskQueueResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.ResetStickyTaskQueueResponse{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *QueryWorkflowRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.QueryWorkflowRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.Execution != nil {
|
|
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
|
|
}
|
|
if this.Query != nil {
|
|
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
|
|
}
|
|
s = append(s, "QueryRejectCondition: "+fmt.Sprintf("%#v", this.QueryRejectCondition)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *QueryWorkflowResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.QueryWorkflowResponse{")
|
|
if this.QueryResult != nil {
|
|
s = append(s, "QueryResult: "+fmt.Sprintf("%#v", this.QueryResult)+",\n")
|
|
}
|
|
if this.QueryRejected != nil {
|
|
s = append(s, "QueryRejected: "+fmt.Sprintf("%#v", this.QueryRejected)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeWorkflowExecutionRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.DescribeWorkflowExecutionRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.Execution != nil {
|
|
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeWorkflowExecutionResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.DescribeWorkflowExecutionResponse{")
|
|
if this.ExecutionConfig != nil {
|
|
s = append(s, "ExecutionConfig: "+fmt.Sprintf("%#v", this.ExecutionConfig)+",\n")
|
|
}
|
|
if this.WorkflowExecutionInfo != nil {
|
|
s = append(s, "WorkflowExecutionInfo: "+fmt.Sprintf("%#v", this.WorkflowExecutionInfo)+",\n")
|
|
}
|
|
if this.PendingActivities != nil {
|
|
s = append(s, "PendingActivities: "+fmt.Sprintf("%#v", this.PendingActivities)+",\n")
|
|
}
|
|
if this.PendingChildren != nil {
|
|
s = append(s, "PendingChildren: "+fmt.Sprintf("%#v", this.PendingChildren)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeTaskQueueRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&workflowservice.DescribeTaskQueueRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
s = append(s, "TaskQueueType: "+fmt.Sprintf("%#v", this.TaskQueueType)+",\n")
|
|
s = append(s, "IncludeTaskQueueStatus: "+fmt.Sprintf("%#v", this.IncludeTaskQueueStatus)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *DescribeTaskQueueResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.DescribeTaskQueueResponse{")
|
|
if this.Pollers != nil {
|
|
s = append(s, "Pollers: "+fmt.Sprintf("%#v", this.Pollers)+",\n")
|
|
}
|
|
if this.TaskQueueStatus != nil {
|
|
s = append(s, "TaskQueueStatus: "+fmt.Sprintf("%#v", this.TaskQueueStatus)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetClusterInfoRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 4)
|
|
s = append(s, "&workflowservice.GetClusterInfoRequest{")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *GetClusterInfoResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 12)
|
|
s = append(s, "&workflowservice.GetClusterInfoResponse{")
|
|
keysForSupportedClients := make([]string, 0, len(this.SupportedClients))
|
|
for k, _ := range this.SupportedClients {
|
|
keysForSupportedClients = append(keysForSupportedClients, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSupportedClients)
|
|
mapStringForSupportedClients := "map[string]string{"
|
|
for _, k := range keysForSupportedClients {
|
|
mapStringForSupportedClients += fmt.Sprintf("%#v: %#v,", k, this.SupportedClients[k])
|
|
}
|
|
mapStringForSupportedClients += "}"
|
|
if this.SupportedClients != nil {
|
|
s = append(s, "SupportedClients: "+mapStringForSupportedClients+",\n")
|
|
}
|
|
s = append(s, "ServerVersion: "+fmt.Sprintf("%#v", this.ServerVersion)+",\n")
|
|
s = append(s, "ClusterId: "+fmt.Sprintf("%#v", this.ClusterId)+",\n")
|
|
if this.VersionInfo != nil {
|
|
s = append(s, "VersionInfo: "+fmt.Sprintf("%#v", this.VersionInfo)+",\n")
|
|
}
|
|
s = append(s, "ClusterName: "+fmt.Sprintf("%#v", this.ClusterName)+",\n")
|
|
s = append(s, "HistoryShardCount: "+fmt.Sprintf("%#v", this.HistoryShardCount)+",\n")
|
|
s = append(s, "PersistenceStore: "+fmt.Sprintf("%#v", this.PersistenceStore)+",\n")
|
|
s = append(s, "VisibilityStore: "+fmt.Sprintf("%#v", this.VisibilityStore)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListTaskQueuePartitionsRequest) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListTaskQueuePartitionsRequest{")
|
|
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
|
|
if this.TaskQueue != nil {
|
|
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *ListTaskQueuePartitionsResponse) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 6)
|
|
s = append(s, "&workflowservice.ListTaskQueuePartitionsResponse{")
|
|
if this.ActivityTaskQueuePartitions != nil {
|
|
s = append(s, "ActivityTaskQueuePartitions: "+fmt.Sprintf("%#v", this.ActivityTaskQueuePartitions)+",\n")
|
|
}
|
|
if this.WorkflowTaskQueuePartitions != nil {
|
|
s = append(s, "WorkflowTaskQueuePartitions: "+fmt.Sprintf("%#v", this.WorkflowTaskQueuePartitions)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func valueToGoStringRequestResponse(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 *RegisterNamespaceRequest) 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 *RegisterNamespaceRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RegisterNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.VisibilityArchivalUri) > 0 {
|
|
i -= len(m.VisibilityArchivalUri)
|
|
copy(dAtA[i:], m.VisibilityArchivalUri)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.VisibilityArchivalUri)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.VisibilityArchivalState != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.VisibilityArchivalState))
|
|
i--
|
|
dAtA[i] = 0x60
|
|
}
|
|
if len(m.HistoryArchivalUri) > 0 {
|
|
i -= len(m.HistoryArchivalUri)
|
|
copy(dAtA[i:], m.HistoryArchivalUri)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.HistoryArchivalUri)))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.HistoryArchivalState != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.HistoryArchivalState))
|
|
i--
|
|
dAtA[i] = 0x50
|
|
}
|
|
if m.IsGlobalNamespace {
|
|
i--
|
|
if m.IsGlobalNamespace {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x48
|
|
}
|
|
if len(m.SecurityToken) > 0 {
|
|
i -= len(m.SecurityToken)
|
|
copy(dAtA[i:], m.SecurityToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SecurityToken)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if len(m.Data) > 0 {
|
|
for k := range m.Data {
|
|
v := m.Data[k]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
}
|
|
if len(m.ActiveClusterName) > 0 {
|
|
i -= len(m.ActiveClusterName)
|
|
copy(dAtA[i:], m.ActiveClusterName)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActiveClusterName)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.Clusters) > 0 {
|
|
for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Clusters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
}
|
|
if m.WorkflowExecutionRetentionPeriod != nil {
|
|
n1, err1 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowExecutionRetentionPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionRetentionPeriod):])
|
|
if err1 != nil {
|
|
return 0, err1
|
|
}
|
|
i -= n1
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n1))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.OwnerEmail) > 0 {
|
|
i -= len(m.OwnerEmail)
|
|
copy(dAtA[i:], m.OwnerEmail)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.OwnerEmail)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.Description) > 0 {
|
|
i -= len(m.Description)
|
|
copy(dAtA[i:], m.Description)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Description)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RegisterNamespaceResponse) 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 *RegisterNamespaceResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RegisterNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListNamespacesRequest) 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 *ListNamespacesRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.PageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListNamespacesResponse) 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 *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespaces) > 0 {
|
|
for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeNamespaceRequest) 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 *DescribeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Id) > 0 {
|
|
i -= len(m.Id)
|
|
copy(dAtA[i:], m.Id)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Id)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) 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 *DescribeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.IsGlobalNamespace {
|
|
i--
|
|
if m.IsGlobalNamespace {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.FailoverVersion != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.FailoverVersion))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
{
|
|
size, err := m.ReplicationConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Config != nil {
|
|
{
|
|
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.NamespaceInfo != nil {
|
|
{
|
|
size, err := m.NamespaceInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) 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 *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.PromoteNamespace {
|
|
i--
|
|
if m.PromoteNamespace {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if len(m.DeleteBadBinary) > 0 {
|
|
i -= len(m.DeleteBadBinary)
|
|
copy(dAtA[i:], m.DeleteBadBinary)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.DeleteBadBinary)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.SecurityToken) > 0 {
|
|
i -= len(m.SecurityToken)
|
|
copy(dAtA[i:], m.SecurityToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SecurityToken)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
{
|
|
size, err := m.ReplicationConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Config != nil {
|
|
{
|
|
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.UpdateInfo != nil {
|
|
{
|
|
size, err := m.UpdateInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) 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 *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.IsGlobalNamespace {
|
|
i--
|
|
if m.IsGlobalNamespace {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.FailoverVersion != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.FailoverVersion))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
{
|
|
size, err := m.ReplicationConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Config != nil {
|
|
{
|
|
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.NamespaceInfo != nil {
|
|
{
|
|
size, err := m.NamespaceInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DeprecateNamespaceRequest) 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 *DeprecateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DeprecateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.SecurityToken) > 0 {
|
|
i -= len(m.SecurityToken)
|
|
copy(dAtA[i:], m.SecurityToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SecurityToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DeprecateNamespaceResponse) 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 *DeprecateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DeprecateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) 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 *StartWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
{
|
|
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
}
|
|
if m.Memo != nil {
|
|
{
|
|
size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
if len(m.CronSchedule) > 0 {
|
|
i -= len(m.CronSchedule)
|
|
copy(dAtA[i:], m.CronSchedule)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.CronSchedule)))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
{
|
|
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.WorkflowIdReusePolicy))
|
|
i--
|
|
dAtA[i] = 0x58
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
n15, err15 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout):])
|
|
if err15 != nil {
|
|
return 0, err15
|
|
}
|
|
i -= n15
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n15))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
n16, err16 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowRunTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout):])
|
|
if err16 != nil {
|
|
return 0, err16
|
|
}
|
|
i -= n16
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n16))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
n17, err17 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowExecutionTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout):])
|
|
if err17 != nil {
|
|
return 0, err17
|
|
}
|
|
i -= n17
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n17))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.WorkflowType != nil {
|
|
{
|
|
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowId) > 0 {
|
|
i -= len(m.WorkflowId)
|
|
copy(dAtA[i:], m.WorkflowId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionResponse) 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 *StartWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RunId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) 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 *GetWorkflowExecutionHistoryRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SkipArchival {
|
|
i--
|
|
if m.SkipArchival {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if m.HistoryEventFilterType != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.HistoryEventFilterType))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.WaitNewEvent {
|
|
i--
|
|
if m.WaitNewEvent {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.MaximumPageSize))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if m.Execution != nil {
|
|
{
|
|
size, err := m.Execution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) 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 *GetWorkflowExecutionHistoryResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Archived {
|
|
i--
|
|
if m.Archived {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.RawHistory) > 0 {
|
|
for iNdEx := len(m.RawHistory) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.RawHistory[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.History != nil {
|
|
{
|
|
size, err := m.History.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) 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 *PollWorkflowTaskQueueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.BinaryChecksum) > 0 {
|
|
i -= len(m.BinaryChecksum)
|
|
copy(dAtA[i:], m.BinaryChecksum)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BinaryChecksum)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) 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 *PollWorkflowTaskQueueResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Queries) > 0 {
|
|
for k := range m.Queries {
|
|
v := m.Queries[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
}
|
|
if m.StartedTime != nil {
|
|
n25, err25 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime):])
|
|
if err25 != nil {
|
|
return 0, err25
|
|
}
|
|
i -= n25
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n25))
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
n26, err26 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime):])
|
|
if err26 != nil {
|
|
return 0, err26
|
|
}
|
|
i -= n26
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n26))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.WorkflowExecutionTaskQueue != nil {
|
|
{
|
|
size, err := m.WorkflowExecutionTaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.Query != nil {
|
|
{
|
|
size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.History != nil {
|
|
{
|
|
size, err := m.History.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.BacklogCountHint != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.BacklogCountHint))
|
|
i--
|
|
dAtA[i] = 0x38
|
|
}
|
|
if m.Attempt != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Attempt))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.StartedEventId))
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.PreviousStartedEventId != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.PreviousStartedEventId))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.WorkflowType != nil {
|
|
{
|
|
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) 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 *RespondWorkflowTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if len(m.QueryResults) > 0 {
|
|
for k := range m.QueryResults {
|
|
v := m.QueryResults[k]
|
|
baseI := i
|
|
if v != nil {
|
|
{
|
|
size, err := v.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
}
|
|
if len(m.BinaryChecksum) > 0 {
|
|
i -= len(m.BinaryChecksum)
|
|
copy(dAtA[i:], m.BinaryChecksum)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BinaryChecksum)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.ForceCreateNewWorkflowTask {
|
|
i--
|
|
if m.ForceCreateNewWorkflowTask {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if m.ReturnNewWorkflowTask {
|
|
i--
|
|
if m.ReturnNewWorkflowTask {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x28
|
|
}
|
|
if m.StickyAttributes != nil {
|
|
{
|
|
size, err := m.StickyAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.Commands) > 0 {
|
|
for iNdEx := len(m.Commands) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Commands[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedResponse) 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 *RespondWorkflowTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.WorkflowTask != nil {
|
|
{
|
|
size, err := m.WorkflowTask.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) 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 *RespondWorkflowTaskFailedRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.BinaryChecksum) > 0 {
|
|
i -= len(m.BinaryChecksum)
|
|
copy(dAtA[i:], m.BinaryChecksum)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BinaryChecksum)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Failure != nil {
|
|
{
|
|
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Cause != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Cause))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedResponse) 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 *RespondWorkflowTaskFailedResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) 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 *PollActivityTaskQueueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TaskQueueMetadata != nil {
|
|
{
|
|
size, err := m.TaskQueueMetadata.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) 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 *PollActivityTaskQueueResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.RetryPolicy != nil {
|
|
{
|
|
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x8a
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
n39, err39 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.HeartbeatTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout):])
|
|
if err39 != nil {
|
|
return 0, err39
|
|
}
|
|
i -= n39
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n39))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
n40, err40 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StartToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout):])
|
|
if err40 != nil {
|
|
return 0, err40
|
|
}
|
|
i -= n40
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n40))
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
n41, err41 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout):])
|
|
if err41 != nil {
|
|
return 0, err41
|
|
}
|
|
i -= n41
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n41))
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
if m.Attempt != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Attempt))
|
|
i--
|
|
dAtA[i] = 0x68
|
|
}
|
|
if m.StartedTime != nil {
|
|
n42, err42 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime):])
|
|
if err42 != nil {
|
|
return 0, err42
|
|
}
|
|
i -= n42
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n42))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.CurrentAttemptScheduledTime != nil {
|
|
n43, err43 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CurrentAttemptScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CurrentAttemptScheduledTime):])
|
|
if err43 != nil {
|
|
return 0, err43
|
|
}
|
|
i -= n43
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n43))
|
|
i--
|
|
dAtA[i] = 0x5a
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
n44, err44 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime):])
|
|
if err44 != nil {
|
|
return 0, err44
|
|
}
|
|
i -= n44
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n44))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if m.HeartbeatDetails != nil {
|
|
{
|
|
size, err := m.HeartbeatDetails.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.ActivityType != nil {
|
|
{
|
|
size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.WorkflowType != nil {
|
|
{
|
|
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowNamespace) > 0 {
|
|
i -= len(m.WorkflowNamespace)
|
|
copy(dAtA[i:], m.WorkflowNamespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowNamespace)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) 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 *RecordActivityTaskHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatResponse) 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 *RecordActivityTaskHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CancelRequested {
|
|
i--
|
|
if m.CancelRequested {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) 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 *RecordActivityTaskHeartbeatByIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(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 = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) 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 *RecordActivityTaskHeartbeatByIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.CancelRequested {
|
|
i--
|
|
if m.CancelRequested {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) 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 *RespondActivityTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Result != nil {
|
|
{
|
|
size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedResponse) 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 *RespondActivityTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) 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 *RespondActivityTaskCompletedByIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Result != nil {
|
|
{
|
|
size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(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 = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdResponse) 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 *RespondActivityTaskCompletedByIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) 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 *RespondActivityTaskFailedRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Failure != nil {
|
|
{
|
|
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedResponse) 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 *RespondActivityTaskFailedResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) 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 *RespondActivityTaskFailedByIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Failure != nil {
|
|
{
|
|
size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(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 = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdResponse) 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 *RespondActivityTaskFailedByIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) 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 *RespondActivityTaskCanceledRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledResponse) 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 *RespondActivityTaskCanceledResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) 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 *RespondActivityTaskCanceledByIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.ActivityId) > 0 {
|
|
i -= len(m.ActivityId)
|
|
copy(dAtA[i:], m.ActivityId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ActivityId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(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 = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdResponse) 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 *RespondActivityTaskCanceledByIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) 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 *RequestCancelWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.FirstExecutionRunId) > 0 {
|
|
i -= len(m.FirstExecutionRunId)
|
|
copy(dAtA[i:], m.FirstExecutionRunId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.FirstExecutionRunId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionResponse) 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 *RequestCancelWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) 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 *SignalWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if len(m.Control) > 0 {
|
|
i -= len(m.Control)
|
|
copy(dAtA[i:], m.Control)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Control)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.SignalName) > 0 {
|
|
i -= len(m.SignalName)
|
|
copy(dAtA[i:], m.SignalName)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SignalName)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionResponse) 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 *SignalWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) 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 *SignalWithStartWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Header != nil {
|
|
{
|
|
size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x9a
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
{
|
|
size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x92
|
|
}
|
|
if m.Memo != nil {
|
|
{
|
|
size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x8a
|
|
}
|
|
if len(m.CronSchedule) > 0 {
|
|
i -= len(m.CronSchedule)
|
|
copy(dAtA[i:], m.CronSchedule)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.CronSchedule)))
|
|
i--
|
|
dAtA[i] = 0x1
|
|
i--
|
|
dAtA[i] = 0x82
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
{
|
|
size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x7a
|
|
}
|
|
if len(m.Control) > 0 {
|
|
i -= len(m.Control)
|
|
copy(dAtA[i:], m.Control)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Control)))
|
|
i--
|
|
dAtA[i] = 0x72
|
|
}
|
|
if m.SignalInput != nil {
|
|
{
|
|
size, err := m.SignalInput.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x6a
|
|
}
|
|
if len(m.SignalName) > 0 {
|
|
i -= len(m.SignalName)
|
|
copy(dAtA[i:], m.SignalName)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SignalName)))
|
|
i--
|
|
dAtA[i] = 0x62
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.WorkflowIdReusePolicy))
|
|
i--
|
|
dAtA[i] = 0x58
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x52
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x4a
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
n68, err68 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowTaskTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout):])
|
|
if err68 != nil {
|
|
return 0, err68
|
|
}
|
|
i -= n68
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n68))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
n69, err69 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowRunTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout):])
|
|
if err69 != nil {
|
|
return 0, err69
|
|
}
|
|
i -= n69
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n69))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
n70, err70 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.WorkflowExecutionTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout):])
|
|
if err70 != nil {
|
|
return 0, err70
|
|
}
|
|
i -= n70
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(n70))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.Input != nil {
|
|
{
|
|
size, err := m.Input.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.WorkflowType != nil {
|
|
{
|
|
size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.WorkflowId) > 0 {
|
|
i -= len(m.WorkflowId)
|
|
copy(dAtA[i:], m.WorkflowId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowId)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionResponse) 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 *SignalWithStartWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RunId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) 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 *ResetWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.ResetReapplyType != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.ResetReapplyType))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if len(m.RequestId) > 0 {
|
|
i -= len(m.RequestId)
|
|
copy(dAtA[i:], m.RequestId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.WorkflowTaskFinishEventId != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.WorkflowTaskFinishEventId))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.Reason) > 0 {
|
|
i -= len(m.Reason)
|
|
copy(dAtA[i:], m.Reason)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Reason)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionResponse) 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 *ResetWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.RunId) > 0 {
|
|
i -= len(m.RunId)
|
|
copy(dAtA[i:], m.RunId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RunId)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) 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 *TerminateWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.FirstExecutionRunId) > 0 {
|
|
i -= len(m.FirstExecutionRunId)
|
|
copy(dAtA[i:], m.FirstExecutionRunId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.FirstExecutionRunId)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.Identity) > 0 {
|
|
i -= len(m.Identity)
|
|
copy(dAtA[i:], m.Identity)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Identity)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.Details != nil {
|
|
{
|
|
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.Reason) > 0 {
|
|
i -= len(m.Reason)
|
|
copy(dAtA[i:], m.Reason)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Reason)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
{
|
|
size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionResponse) 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 *TerminateWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) 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 *ListOpenWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Filters != nil {
|
|
{
|
|
size := m.Filters.Size()
|
|
i -= size
|
|
if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil {
|
|
return 0, err
|
|
}
|
|
}
|
|
}
|
|
if m.StartTimeFilter != nil {
|
|
{
|
|
size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.MaximumPageSize))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.ExecutionFilter != nil {
|
|
{
|
|
size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.TypeFilter != nil {
|
|
{
|
|
size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) 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 *ListOpenWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Executions) > 0 {
|
|
for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) 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 *ListClosedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Filters != nil {
|
|
{
|
|
size := m.Filters.Size()
|
|
i -= size
|
|
if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil {
|
|
return 0, err
|
|
}
|
|
}
|
|
}
|
|
if m.StartTimeFilter != nil {
|
|
{
|
|
size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.MaximumPageSize))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.ExecutionFilter != nil {
|
|
{
|
|
size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.TypeFilter != nil {
|
|
{
|
|
size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
if m.StatusFilter != nil {
|
|
{
|
|
size, err := m.StatusFilter.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) 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 *ListClosedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Executions) > 0 {
|
|
for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) 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 *ListWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Query) > 0 {
|
|
i -= len(m.Query)
|
|
copy(dAtA[i:], m.Query)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Query)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.PageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsResponse) 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 *ListWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Executions) > 0 {
|
|
for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) 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 *ListArchivedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Query) > 0 {
|
|
i -= len(m.Query)
|
|
copy(dAtA[i:], m.Query)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Query)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.PageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) 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 *ListArchivedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Executions) > 0 {
|
|
for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) 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 *ScanWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Query) > 0 {
|
|
i -= len(m.Query)
|
|
copy(dAtA[i:], m.Query)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Query)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.PageSize != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) 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 *ScanWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NextPageToken) > 0 {
|
|
i -= len(m.NextPageToken)
|
|
copy(dAtA[i:], m.NextPageToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Executions) > 0 {
|
|
for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsRequest) 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 *CountWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Query) > 0 {
|
|
i -= len(m.Query)
|
|
copy(dAtA[i:], m.Query)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Query)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsResponse) 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 *CountWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Count != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Count))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetSearchAttributesRequest) 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 *GetSearchAttributesRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetSearchAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetSearchAttributesResponse) 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 *GetSearchAttributesResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetSearchAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Keys) > 0 {
|
|
for k := range m.Keys {
|
|
v := m.Keys[k]
|
|
baseI := i
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(v))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) 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 *RespondQueryTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if len(m.ErrorMessage) > 0 {
|
|
i -= len(m.ErrorMessage)
|
|
copy(dAtA[i:], m.ErrorMessage)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ErrorMessage)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.QueryResult != nil {
|
|
{
|
|
size, err := m.QueryResult.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.CompletedType != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.CompletedType))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.TaskToken) > 0 {
|
|
i -= len(m.TaskToken)
|
|
copy(dAtA[i:], m.TaskToken)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskToken)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedResponse) 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 *RespondQueryTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueRequest) 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 *ResetStickyTaskQueueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Execution != nil {
|
|
{
|
|
size, err := m.Execution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueResponse) 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 *ResetStickyTaskQueueResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) 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 *QueryWorkflowRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.QueryRejectCondition != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.QueryRejectCondition))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.Query != nil {
|
|
{
|
|
size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if m.Execution != nil {
|
|
{
|
|
size, err := m.Execution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *QueryWorkflowResponse) 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 *QueryWorkflowResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *QueryWorkflowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.QueryRejected != nil {
|
|
{
|
|
size, err := m.QueryRejected.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.QueryResult != nil {
|
|
{
|
|
size, err := m.QueryResult.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) 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 *DescribeWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Execution != nil {
|
|
{
|
|
size, err := m.Execution.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) 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 *DescribeWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.PendingChildren) > 0 {
|
|
for iNdEx := len(m.PendingChildren) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.PendingChildren[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
}
|
|
if len(m.PendingActivities) > 0 {
|
|
for iNdEx := len(m.PendingActivities) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.PendingActivities[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if m.WorkflowExecutionInfo != nil {
|
|
{
|
|
size, err := m.WorkflowExecutionInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.ExecutionConfig != nil {
|
|
{
|
|
size, err := m.ExecutionConfig.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) 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 *DescribeTaskQueueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.IncludeTaskQueueStatus {
|
|
i--
|
|
if m.IncludeTaskQueueStatus {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if m.TaskQueueType != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.TaskQueueType))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DescribeTaskQueueResponse) 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 *DescribeTaskQueueResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DescribeTaskQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TaskQueueStatus != nil {
|
|
{
|
|
size, err := m.TaskQueueStatus.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Pollers) > 0 {
|
|
for iNdEx := len(m.Pollers) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Pollers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetClusterInfoRequest) 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 *GetClusterInfoRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) 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 *GetClusterInfoResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.VisibilityStore) > 0 {
|
|
i -= len(m.VisibilityStore)
|
|
copy(dAtA[i:], m.VisibilityStore)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.VisibilityStore)))
|
|
i--
|
|
dAtA[i] = 0x42
|
|
}
|
|
if len(m.PersistenceStore) > 0 {
|
|
i -= len(m.PersistenceStore)
|
|
copy(dAtA[i:], m.PersistenceStore)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PersistenceStore)))
|
|
i--
|
|
dAtA[i] = 0x3a
|
|
}
|
|
if m.HistoryShardCount != 0 {
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(m.HistoryShardCount))
|
|
i--
|
|
dAtA[i] = 0x30
|
|
}
|
|
if len(m.ClusterName) > 0 {
|
|
i -= len(m.ClusterName)
|
|
copy(dAtA[i:], m.ClusterName)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ClusterName)))
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.VersionInfo != nil {
|
|
{
|
|
size, err := m.VersionInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.ClusterId) > 0 {
|
|
i -= len(m.ClusterId)
|
|
copy(dAtA[i:], m.ClusterId)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ClusterId)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.ServerVersion) > 0 {
|
|
i -= len(m.ServerVersion)
|
|
copy(dAtA[i:], m.ServerVersion)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServerVersion)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.SupportedClients) > 0 {
|
|
for k := range m.SupportedClients {
|
|
v := m.SupportedClients[k]
|
|
baseI := i
|
|
i -= len(v)
|
|
copy(dAtA[i:], v)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(v)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
i -= len(k)
|
|
copy(dAtA[i:], k)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(k)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) 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 *ListTaskQueuePartitionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.TaskQueue != nil {
|
|
{
|
|
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.Namespace) > 0 {
|
|
i -= len(m.Namespace)
|
|
copy(dAtA[i:], m.Namespace)
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) 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 *ListTaskQueuePartitionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.WorkflowTaskQueuePartitions) > 0 {
|
|
for iNdEx := len(m.WorkflowTaskQueuePartitions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.WorkflowTaskQueuePartitions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.ActivityTaskQueuePartitions) > 0 {
|
|
for iNdEx := len(m.ActivityTaskQueuePartitions) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.ActivityTaskQueuePartitions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int {
|
|
offset -= sovRequestResponse(v)
|
|
base := offset
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return base
|
|
}
|
|
func (m *RegisterNamespaceRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Description)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.OwnerEmail)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionRetentionPeriod != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionRetentionPeriod)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.Clusters) > 0 {
|
|
for _, e := range m.Clusters {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.ActiveClusterName)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.Data) > 0 {
|
|
for k, v := range m.Data {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + len(v) + sovRequestResponse(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
l = len(m.SecurityToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.IsGlobalNamespace {
|
|
n += 2
|
|
}
|
|
if m.HistoryArchivalState != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.HistoryArchivalState))
|
|
}
|
|
l = len(m.HistoryArchivalUri)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.VisibilityArchivalState != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.VisibilityArchivalState))
|
|
}
|
|
l = len(m.VisibilityArchivalUri)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RegisterNamespaceResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *ListNamespacesRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.PageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.PageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListNamespacesResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Namespaces) > 0 {
|
|
for _, e := range m.Namespaces {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeNamespaceRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Id)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeNamespaceResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.NamespaceInfo != nil {
|
|
l = m.NamespaceInfo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Config != nil {
|
|
l = m.Config.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
l = m.ReplicationConfig.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.FailoverVersion != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.FailoverVersion))
|
|
}
|
|
if m.IsGlobalNamespace {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *UpdateNamespaceRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.UpdateInfo != nil {
|
|
l = m.UpdateInfo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Config != nil {
|
|
l = m.Config.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
l = m.ReplicationConfig.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.SecurityToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.DeleteBadBinary)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.PromoteNamespace {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *UpdateNamespaceResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.NamespaceInfo != nil {
|
|
l = m.NamespaceInfo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Config != nil {
|
|
l = m.Config.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ReplicationConfig != nil {
|
|
l = m.ReplicationConfig.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.FailoverVersion != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.FailoverVersion))
|
|
}
|
|
if m.IsGlobalNamespace {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DeprecateNamespaceRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.SecurityToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DeprecateNamespaceResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.WorkflowIdReusePolicy))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.CronSchedule)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Memo != nil {
|
|
l = m.Memo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
l = m.SearchAttributes.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *StartWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Execution != nil {
|
|
l = m.Execution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.MaximumPageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WaitNewEvent {
|
|
n += 2
|
|
}
|
|
if m.HistoryEventFilterType != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.HistoryEventFilterType))
|
|
}
|
|
if m.SkipArchival {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetWorkflowExecutionHistoryResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.History != nil {
|
|
l = m.History.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.RawHistory) > 0 {
|
|
for _, e := range m.RawHistory {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Archived {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.BinaryChecksum)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PollWorkflowTaskQueueResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.PreviousStartedEventId != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.PreviousStartedEventId))
|
|
}
|
|
if m.StartedEventId != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.StartedEventId))
|
|
}
|
|
if m.Attempt != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.Attempt))
|
|
}
|
|
if m.BacklogCountHint != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.BacklogCountHint))
|
|
}
|
|
if m.History != nil {
|
|
l = m.History.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Query != nil {
|
|
l = m.Query.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionTaskQueue != nil {
|
|
l = m.WorkflowExecutionTaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StartedTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.Queries) > 0 {
|
|
for k, v := range m.Queries {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovRequestResponse(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.Commands) > 0 {
|
|
for _, e := range m.Commands {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StickyAttributes != nil {
|
|
l = m.StickyAttributes.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ReturnNewWorkflowTask {
|
|
n += 2
|
|
}
|
|
if m.ForceCreateNewWorkflowTask {
|
|
n += 2
|
|
}
|
|
l = len(m.BinaryChecksum)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.QueryResults) > 0 {
|
|
for k, v := range m.QueryResults {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovRequestResponse(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskCompletedResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.WorkflowTask != nil {
|
|
l = m.WorkflowTask.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Cause != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.Cause))
|
|
}
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.BinaryChecksum)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondWorkflowTaskFailedResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueueMetadata != nil {
|
|
l = m.TaskQueueMetadata.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PollActivityTaskQueueResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowNamespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ActivityType != nil {
|
|
l = m.ActivityType.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.HeartbeatDetails != nil {
|
|
l = m.HeartbeatDetails.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.CurrentAttemptScheduledTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CurrentAttemptScheduledTime)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StartedTime != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Attempt != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.Attempt))
|
|
}
|
|
if m.ScheduleToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StartToCloseTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.HeartbeatTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout)
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CancelRequested {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.CancelRequested {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Result != nil {
|
|
l = m.Result.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Result != nil {
|
|
l = m.Result.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCompletedByIdResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Failure != nil {
|
|
l = m.Failure.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskFailedByIdResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ActivityId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondActivityTaskCanceledByIdResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.FirstExecutionRunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RequestCancelWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.SignalName)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Control)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SignalWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.WorkflowId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowType != nil {
|
|
l = m.WorkflowType.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Input != nil {
|
|
l = m.Input.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowExecutionTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowRunTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowRunTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowTaskTimeout != nil {
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.WorkflowTaskTimeout)
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowIdReusePolicy != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.WorkflowIdReusePolicy))
|
|
}
|
|
l = len(m.SignalName)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.SignalInput != nil {
|
|
l = m.SignalInput.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Control)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.RetryPolicy != nil {
|
|
l = m.RetryPolicy.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.CronSchedule)
|
|
if l > 0 {
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Memo != nil {
|
|
l = m.Memo.Size()
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.SearchAttributes != nil {
|
|
l = m.SearchAttributes.Size()
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Header != nil {
|
|
l = m.Header.Size()
|
|
n += 2 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SignalWithStartWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Reason)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowTaskFinishEventId != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.WorkflowTaskFinishEventId))
|
|
}
|
|
l = len(m.RequestId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.ResetReapplyType != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.ResetReapplyType))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResetWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.RunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecution != nil {
|
|
l = m.WorkflowExecution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Reason)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Details != nil {
|
|
l = m.Details.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Identity)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.FirstExecutionRunId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TerminateWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.MaximumPageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StartTimeFilter != nil {
|
|
l = m.StartTimeFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Filters != nil {
|
|
n += m.Filters.Size()
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ExecutionFilter != nil {
|
|
l = m.ExecutionFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.TypeFilter != nil {
|
|
l = m.TypeFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Executions) > 0 {
|
|
for _, e := range m.Executions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.MaximumPageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.MaximumPageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.StartTimeFilter != nil {
|
|
l = m.StartTimeFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Filters != nil {
|
|
n += m.Filters.Size()
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ExecutionFilter != nil {
|
|
l = m.ExecutionFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.TypeFilter != nil {
|
|
l = m.TypeFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.StatusFilter != nil {
|
|
l = m.StatusFilter.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Executions) > 0 {
|
|
for _, e := range m.Executions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.PageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.PageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Query)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Executions) > 0 {
|
|
for _, e := range m.Executions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.PageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.PageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Query)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListArchivedWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Executions) > 0 {
|
|
for _, e := range m.Executions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.PageSize != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.PageSize))
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Query)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ScanWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Executions) > 0 {
|
|
for _, e := range m.Executions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.NextPageToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Query)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CountWorkflowExecutionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Count != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.Count))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetSearchAttributesRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetSearchAttributesResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Keys) > 0 {
|
|
for k, v := range m.Keys {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + sovRequestResponse(uint64(v))
|
|
n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.TaskToken)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.CompletedType != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.CompletedType))
|
|
}
|
|
if m.QueryResult != nil {
|
|
l = m.QueryResult.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ErrorMessage)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *RespondQueryTaskCompletedResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Execution != nil {
|
|
l = m.Execution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResetStickyTaskQueueResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *QueryWorkflowRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Execution != nil {
|
|
l = m.Execution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Query != nil {
|
|
l = m.Query.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.QueryRejectCondition != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.QueryRejectCondition))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *QueryWorkflowResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.QueryResult != nil {
|
|
l = m.QueryResult.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.QueryRejected != nil {
|
|
l = m.QueryRejected.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.Execution != nil {
|
|
l = m.Execution.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeWorkflowExecutionResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.ExecutionConfig != nil {
|
|
l = m.ExecutionConfig.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.WorkflowExecutionInfo != nil {
|
|
l = m.WorkflowExecutionInfo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if len(m.PendingActivities) > 0 {
|
|
for _, e := range m.PendingActivities {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
if len(m.PendingChildren) > 0 {
|
|
for _, e := range m.PendingChildren {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeTaskQueueRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueueType != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.TaskQueueType))
|
|
}
|
|
if m.IncludeTaskQueueStatus {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DescribeTaskQueueResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Pollers) > 0 {
|
|
for _, e := range m.Pollers {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
if m.TaskQueueStatus != nil {
|
|
l = m.TaskQueueStatus.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetClusterInfoRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetClusterInfoResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.SupportedClients) > 0 {
|
|
for k, v := range m.SupportedClients {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + len(v) + sovRequestResponse(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
l = len(m.ServerVersion)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ClusterId)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.VersionInfo != nil {
|
|
l = m.VersionInfo.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.ClusterName)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.HistoryShardCount != 0 {
|
|
n += 1 + sovRequestResponse(uint64(m.HistoryShardCount))
|
|
}
|
|
l = len(m.PersistenceStore)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
l = len(m.VisibilityStore)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.Namespace)
|
|
if l > 0 {
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
if m.TaskQueue != nil {
|
|
l = m.TaskQueue.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListTaskQueuePartitionsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.ActivityTaskQueuePartitions) > 0 {
|
|
for _, e := range m.ActivityTaskQueuePartitions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
if len(m.WorkflowTaskQueuePartitions) > 0 {
|
|
for _, e := range m.WorkflowTaskQueuePartitions {
|
|
l = e.Size()
|
|
n += 1 + l + sovRequestResponse(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovRequestResponse(x uint64) (n int) {
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
}
|
|
func sozRequestResponse(x uint64) (n int) {
|
|
return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *RegisterNamespaceRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForClusters := "[]*ClusterReplicationConfig{"
|
|
for _, f := range this.Clusters {
|
|
repeatedStringForClusters += strings.Replace(fmt.Sprintf("%v", f), "ClusterReplicationConfig", "v1.ClusterReplicationConfig", 1) + ","
|
|
}
|
|
repeatedStringForClusters += "}"
|
|
keysForData := make([]string, 0, len(this.Data))
|
|
for k, _ := range this.Data {
|
|
keysForData = append(keysForData, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForData)
|
|
mapStringForData := "map[string]string{"
|
|
for _, k := range keysForData {
|
|
mapStringForData += fmt.Sprintf("%v: %v,", k, this.Data[k])
|
|
}
|
|
mapStringForData += "}"
|
|
s := strings.Join([]string{`&RegisterNamespaceRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
|
`OwnerEmail:` + fmt.Sprintf("%v", this.OwnerEmail) + `,`,
|
|
`WorkflowExecutionRetentionPeriod:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionRetentionPeriod), "Duration", "types.Duration", 1) + `,`,
|
|
`Clusters:` + repeatedStringForClusters + `,`,
|
|
`ActiveClusterName:` + fmt.Sprintf("%v", this.ActiveClusterName) + `,`,
|
|
`Data:` + mapStringForData + `,`,
|
|
`SecurityToken:` + fmt.Sprintf("%v", this.SecurityToken) + `,`,
|
|
`IsGlobalNamespace:` + fmt.Sprintf("%v", this.IsGlobalNamespace) + `,`,
|
|
`HistoryArchivalState:` + fmt.Sprintf("%v", this.HistoryArchivalState) + `,`,
|
|
`HistoryArchivalUri:` + fmt.Sprintf("%v", this.HistoryArchivalUri) + `,`,
|
|
`VisibilityArchivalState:` + fmt.Sprintf("%v", this.VisibilityArchivalState) + `,`,
|
|
`VisibilityArchivalUri:` + fmt.Sprintf("%v", this.VisibilityArchivalUri) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RegisterNamespaceResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RegisterNamespaceResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListNamespacesRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListNamespacesRequest{`,
|
|
`PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListNamespacesResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForNamespaces := "[]*DescribeNamespaceResponse{"
|
|
for _, f := range this.Namespaces {
|
|
repeatedStringForNamespaces += strings.Replace(f.String(), "DescribeNamespaceResponse", "DescribeNamespaceResponse", 1) + ","
|
|
}
|
|
repeatedStringForNamespaces += "}"
|
|
s := strings.Join([]string{`&ListNamespacesResponse{`,
|
|
`Namespaces:` + repeatedStringForNamespaces + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeNamespaceRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DescribeNamespaceRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Id:` + fmt.Sprintf("%v", this.Id) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeNamespaceResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DescribeNamespaceResponse{`,
|
|
`NamespaceInfo:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceInfo), "NamespaceInfo", "v12.NamespaceInfo", 1) + `,`,
|
|
`Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "NamespaceConfig", "v12.NamespaceConfig", 1) + `,`,
|
|
`ReplicationConfig:` + strings.Replace(fmt.Sprintf("%v", this.ReplicationConfig), "NamespaceReplicationConfig", "v1.NamespaceReplicationConfig", 1) + `,`,
|
|
`FailoverVersion:` + fmt.Sprintf("%v", this.FailoverVersion) + `,`,
|
|
`IsGlobalNamespace:` + fmt.Sprintf("%v", this.IsGlobalNamespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *UpdateNamespaceRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&UpdateNamespaceRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`UpdateInfo:` + strings.Replace(fmt.Sprintf("%v", this.UpdateInfo), "UpdateNamespaceInfo", "v12.UpdateNamespaceInfo", 1) + `,`,
|
|
`Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "NamespaceConfig", "v12.NamespaceConfig", 1) + `,`,
|
|
`ReplicationConfig:` + strings.Replace(fmt.Sprintf("%v", this.ReplicationConfig), "NamespaceReplicationConfig", "v1.NamespaceReplicationConfig", 1) + `,`,
|
|
`SecurityToken:` + fmt.Sprintf("%v", this.SecurityToken) + `,`,
|
|
`DeleteBadBinary:` + fmt.Sprintf("%v", this.DeleteBadBinary) + `,`,
|
|
`PromoteNamespace:` + fmt.Sprintf("%v", this.PromoteNamespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *UpdateNamespaceResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&UpdateNamespaceResponse{`,
|
|
`NamespaceInfo:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceInfo), "NamespaceInfo", "v12.NamespaceInfo", 1) + `,`,
|
|
`Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "NamespaceConfig", "v12.NamespaceConfig", 1) + `,`,
|
|
`ReplicationConfig:` + strings.Replace(fmt.Sprintf("%v", this.ReplicationConfig), "NamespaceReplicationConfig", "v1.NamespaceReplicationConfig", 1) + `,`,
|
|
`FailoverVersion:` + fmt.Sprintf("%v", this.FailoverVersion) + `,`,
|
|
`IsGlobalNamespace:` + fmt.Sprintf("%v", this.IsGlobalNamespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DeprecateNamespaceRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DeprecateNamespaceRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`SecurityToken:` + fmt.Sprintf("%v", this.SecurityToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DeprecateNamespaceResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DeprecateNamespaceResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *StartWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&StartWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v13.WorkflowType", 1) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`WorkflowExecutionTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowRunTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`WorkflowIdReusePolicy:` + fmt.Sprintf("%v", this.WorkflowIdReusePolicy) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v13.RetryPolicy", 1) + `,`,
|
|
`CronSchedule:` + fmt.Sprintf("%v", this.CronSchedule) + `,`,
|
|
`Memo:` + strings.Replace(fmt.Sprintf("%v", this.Memo), "Memo", "v13.Memo", 1) + `,`,
|
|
`SearchAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SearchAttributes), "SearchAttributes", "v13.SearchAttributes", 1) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v13.Header", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *StartWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&StartWorkflowExecutionResponse{`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GetWorkflowExecutionHistoryRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`MaximumPageSize:` + fmt.Sprintf("%v", this.MaximumPageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`WaitNewEvent:` + fmt.Sprintf("%v", this.WaitNewEvent) + `,`,
|
|
`HistoryEventFilterType:` + fmt.Sprintf("%v", this.HistoryEventFilterType) + `,`,
|
|
`SkipArchival:` + fmt.Sprintf("%v", this.SkipArchival) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetWorkflowExecutionHistoryResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForRawHistory := "[]*DataBlob{"
|
|
for _, f := range this.RawHistory {
|
|
repeatedStringForRawHistory += strings.Replace(fmt.Sprintf("%v", f), "DataBlob", "v13.DataBlob", 1) + ","
|
|
}
|
|
repeatedStringForRawHistory += "}"
|
|
s := strings.Join([]string{`&GetWorkflowExecutionHistoryResponse{`,
|
|
`History:` + strings.Replace(fmt.Sprintf("%v", this.History), "History", "v15.History", 1) + `,`,
|
|
`RawHistory:` + repeatedStringForRawHistory + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`Archived:` + fmt.Sprintf("%v", this.Archived) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PollWorkflowTaskQueueRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PollWorkflowTaskQueueRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`BinaryChecksum:` + fmt.Sprintf("%v", this.BinaryChecksum) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PollWorkflowTaskQueueResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForQueries := make([]string, 0, len(this.Queries))
|
|
for k, _ := range this.Queries {
|
|
keysForQueries = append(keysForQueries, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForQueries)
|
|
mapStringForQueries := "map[string]*v16.WorkflowQuery{"
|
|
for _, k := range keysForQueries {
|
|
mapStringForQueries += fmt.Sprintf("%v: %v,", k, this.Queries[k])
|
|
}
|
|
mapStringForQueries += "}"
|
|
s := strings.Join([]string{`&PollWorkflowTaskQueueResponse{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v13.WorkflowType", 1) + `,`,
|
|
`PreviousStartedEventId:` + fmt.Sprintf("%v", this.PreviousStartedEventId) + `,`,
|
|
`StartedEventId:` + fmt.Sprintf("%v", this.StartedEventId) + `,`,
|
|
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
|
|
`BacklogCountHint:` + fmt.Sprintf("%v", this.BacklogCountHint) + `,`,
|
|
`History:` + strings.Replace(fmt.Sprintf("%v", this.History), "History", "v15.History", 1) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`Query:` + strings.Replace(fmt.Sprintf("%v", this.Query), "WorkflowQuery", "v16.WorkflowQuery", 1) + `,`,
|
|
`WorkflowExecutionTaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`ScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.ScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`StartedTime:` + strings.Replace(fmt.Sprintf("%v", this.StartedTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`Queries:` + mapStringForQueries + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForCommands := "[]*Command{"
|
|
for _, f := range this.Commands {
|
|
repeatedStringForCommands += strings.Replace(fmt.Sprintf("%v", f), "Command", "v17.Command", 1) + ","
|
|
}
|
|
repeatedStringForCommands += "}"
|
|
keysForQueryResults := make([]string, 0, len(this.QueryResults))
|
|
for k, _ := range this.QueryResults {
|
|
keysForQueryResults = append(keysForQueryResults, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForQueryResults)
|
|
mapStringForQueryResults := "map[string]*v16.WorkflowQueryResult{"
|
|
for _, k := range keysForQueryResults {
|
|
mapStringForQueryResults += fmt.Sprintf("%v: %v,", k, this.QueryResults[k])
|
|
}
|
|
mapStringForQueryResults += "}"
|
|
s := strings.Join([]string{`&RespondWorkflowTaskCompletedRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Commands:` + repeatedStringForCommands + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`StickyAttributes:` + strings.Replace(fmt.Sprintf("%v", this.StickyAttributes), "StickyExecutionAttributes", "v14.StickyExecutionAttributes", 1) + `,`,
|
|
`ReturnNewWorkflowTask:` + fmt.Sprintf("%v", this.ReturnNewWorkflowTask) + `,`,
|
|
`ForceCreateNewWorkflowTask:` + fmt.Sprintf("%v", this.ForceCreateNewWorkflowTask) + `,`,
|
|
`BinaryChecksum:` + fmt.Sprintf("%v", this.BinaryChecksum) + `,`,
|
|
`QueryResults:` + mapStringForQueryResults + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondWorkflowTaskCompletedResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondWorkflowTaskCompletedResponse{`,
|
|
`WorkflowTask:` + strings.Replace(this.WorkflowTask.String(), "PollWorkflowTaskQueueResponse", "PollWorkflowTaskQueueResponse", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondWorkflowTaskFailedRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondWorkflowTaskFailedRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Cause:` + fmt.Sprintf("%v", this.Cause) + `,`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v18.Failure", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`BinaryChecksum:` + fmt.Sprintf("%v", this.BinaryChecksum) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondWorkflowTaskFailedResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondWorkflowTaskFailedResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PollActivityTaskQueueRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PollActivityTaskQueueRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`TaskQueueMetadata:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueueMetadata), "TaskQueueMetadata", "v14.TaskQueueMetadata", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PollActivityTaskQueueResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PollActivityTaskQueueResponse{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`WorkflowNamespace:` + fmt.Sprintf("%v", this.WorkflowNamespace) + `,`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v13.WorkflowType", 1) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`ActivityType:` + strings.Replace(fmt.Sprintf("%v", this.ActivityType), "ActivityType", "v13.ActivityType", 1) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v13.Header", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`HeartbeatDetails:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatDetails), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`ScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.ScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`CurrentAttemptScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.CurrentAttemptScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`StartedTime:` + strings.Replace(fmt.Sprintf("%v", this.StartedTime), "Timestamp", "types.Timestamp", 1) + `,`,
|
|
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
|
|
`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) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v13.RetryPolicy", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RecordActivityTaskHeartbeatRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RecordActivityTaskHeartbeatResponse{`,
|
|
`CancelRequested:` + fmt.Sprintf("%v", this.CancelRequested) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RecordActivityTaskHeartbeatByIdRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RecordActivityTaskHeartbeatByIdResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RecordActivityTaskHeartbeatByIdResponse{`,
|
|
`CancelRequested:` + fmt.Sprintf("%v", this.CancelRequested) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCompletedRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCompletedRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCompletedResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCompletedResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCompletedByIdRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCompletedByIdResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCompletedByIdResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskFailedRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskFailedRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v18.Failure", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskFailedResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskFailedResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskFailedByIdRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`Failure:` + strings.Replace(fmt.Sprintf("%v", this.Failure), "Failure", "v18.Failure", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskFailedByIdResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskFailedByIdResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCanceledRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCanceledRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCanceledResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCanceledResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCanceledByIdRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondActivityTaskCanceledByIdResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondActivityTaskCanceledByIdResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RequestCancelWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`FirstExecutionRunId:` + fmt.Sprintf("%v", this.FirstExecutionRunId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RequestCancelWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RequestCancelWorkflowExecutionResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`SignalName:` + fmt.Sprintf("%v", this.SignalName) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`Control:` + fmt.Sprintf("%v", this.Control) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v13.Header", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalWorkflowExecutionResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalWithStartWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowId:` + fmt.Sprintf("%v", this.WorkflowId) + `,`,
|
|
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v13.WorkflowType", 1) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`WorkflowExecutionTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowRunTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`WorkflowTaskTimeout:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowTaskTimeout), "Duration", "types.Duration", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`WorkflowIdReusePolicy:` + fmt.Sprintf("%v", this.WorkflowIdReusePolicy) + `,`,
|
|
`SignalName:` + fmt.Sprintf("%v", this.SignalName) + `,`,
|
|
`SignalInput:` + strings.Replace(fmt.Sprintf("%v", this.SignalInput), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Control:` + fmt.Sprintf("%v", this.Control) + `,`,
|
|
`RetryPolicy:` + strings.Replace(fmt.Sprintf("%v", this.RetryPolicy), "RetryPolicy", "v13.RetryPolicy", 1) + `,`,
|
|
`CronSchedule:` + fmt.Sprintf("%v", this.CronSchedule) + `,`,
|
|
`Memo:` + strings.Replace(fmt.Sprintf("%v", this.Memo), "Memo", "v13.Memo", 1) + `,`,
|
|
`SearchAttributes:` + strings.Replace(fmt.Sprintf("%v", this.SearchAttributes), "SearchAttributes", "v13.SearchAttributes", 1) + `,`,
|
|
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v13.Header", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SignalWithStartWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SignalWithStartWorkflowExecutionResponse{`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResetWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResetWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
`WorkflowTaskFinishEventId:` + fmt.Sprintf("%v", this.WorkflowTaskFinishEventId) + `,`,
|
|
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
|
`ResetReapplyType:` + fmt.Sprintf("%v", this.ResetReapplyType) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResetWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResetWorkflowExecutionResponse{`,
|
|
`RunId:` + fmt.Sprintf("%v", this.RunId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TerminateWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TerminateWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`Identity:` + fmt.Sprintf("%v", this.Identity) + `,`,
|
|
`FirstExecutionRunId:` + fmt.Sprintf("%v", this.FirstExecutionRunId) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *TerminateWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&TerminateWorkflowExecutionResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListOpenWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`MaximumPageSize:` + fmt.Sprintf("%v", this.MaximumPageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`StartTimeFilter:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeFilter), "StartTimeFilter", "v19.StartTimeFilter", 1) + `,`,
|
|
`Filters:` + fmt.Sprintf("%v", this.Filters) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_ExecutionFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListOpenWorkflowExecutionsRequest_ExecutionFilter{`,
|
|
`ExecutionFilter:` + strings.Replace(fmt.Sprintf("%v", this.ExecutionFilter), "WorkflowExecutionFilter", "v19.WorkflowExecutionFilter", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsRequest_TypeFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListOpenWorkflowExecutionsRequest_TypeFilter{`,
|
|
`TypeFilter:` + strings.Replace(fmt.Sprintf("%v", this.TypeFilter), "WorkflowTypeFilter", "v19.WorkflowTypeFilter", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListOpenWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExecutions := "[]*WorkflowExecutionInfo{"
|
|
for _, f := range this.Executions {
|
|
repeatedStringForExecutions += strings.Replace(fmt.Sprintf("%v", f), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForExecutions += "}"
|
|
s := strings.Join([]string{`&ListOpenWorkflowExecutionsResponse{`,
|
|
`Executions:` + repeatedStringForExecutions + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListClosedWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`MaximumPageSize:` + fmt.Sprintf("%v", this.MaximumPageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`StartTimeFilter:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeFilter), "StartTimeFilter", "v19.StartTimeFilter", 1) + `,`,
|
|
`Filters:` + fmt.Sprintf("%v", this.Filters) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_ExecutionFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListClosedWorkflowExecutionsRequest_ExecutionFilter{`,
|
|
`ExecutionFilter:` + strings.Replace(fmt.Sprintf("%v", this.ExecutionFilter), "WorkflowExecutionFilter", "v19.WorkflowExecutionFilter", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_TypeFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListClosedWorkflowExecutionsRequest_TypeFilter{`,
|
|
`TypeFilter:` + strings.Replace(fmt.Sprintf("%v", this.TypeFilter), "WorkflowTypeFilter", "v19.WorkflowTypeFilter", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsRequest_StatusFilter) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListClosedWorkflowExecutionsRequest_StatusFilter{`,
|
|
`StatusFilter:` + strings.Replace(fmt.Sprintf("%v", this.StatusFilter), "StatusFilter", "v19.StatusFilter", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListClosedWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExecutions := "[]*WorkflowExecutionInfo{"
|
|
for _, f := range this.Executions {
|
|
repeatedStringForExecutions += strings.Replace(fmt.Sprintf("%v", f), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForExecutions += "}"
|
|
s := strings.Join([]string{`&ListClosedWorkflowExecutionsResponse{`,
|
|
`Executions:` + repeatedStringForExecutions + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`Query:` + fmt.Sprintf("%v", this.Query) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExecutions := "[]*WorkflowExecutionInfo{"
|
|
for _, f := range this.Executions {
|
|
repeatedStringForExecutions += strings.Replace(fmt.Sprintf("%v", f), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForExecutions += "}"
|
|
s := strings.Join([]string{`&ListWorkflowExecutionsResponse{`,
|
|
`Executions:` + repeatedStringForExecutions + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListArchivedWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`Query:` + fmt.Sprintf("%v", this.Query) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListArchivedWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExecutions := "[]*WorkflowExecutionInfo{"
|
|
for _, f := range this.Executions {
|
|
repeatedStringForExecutions += strings.Replace(fmt.Sprintf("%v", f), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForExecutions += "}"
|
|
s := strings.Join([]string{`&ListArchivedWorkflowExecutionsResponse{`,
|
|
`Executions:` + repeatedStringForExecutions + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ScanWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ScanWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`Query:` + fmt.Sprintf("%v", this.Query) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ScanWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForExecutions := "[]*WorkflowExecutionInfo{"
|
|
for _, f := range this.Executions {
|
|
repeatedStringForExecutions += strings.Replace(fmt.Sprintf("%v", f), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForExecutions += "}"
|
|
s := strings.Join([]string{`&ScanWorkflowExecutionsResponse{`,
|
|
`Executions:` + repeatedStringForExecutions + `,`,
|
|
`NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CountWorkflowExecutionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CountWorkflowExecutionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Query:` + fmt.Sprintf("%v", this.Query) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CountWorkflowExecutionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CountWorkflowExecutionsResponse{`,
|
|
`Count:` + fmt.Sprintf("%v", this.Count) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetSearchAttributesRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GetSearchAttributesRequest{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetSearchAttributesResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForKeys := make([]string, 0, len(this.Keys))
|
|
for k, _ := range this.Keys {
|
|
keysForKeys = append(keysForKeys, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForKeys)
|
|
mapStringForKeys := "map[string]v11.IndexedValueType{"
|
|
for _, k := range keysForKeys {
|
|
mapStringForKeys += fmt.Sprintf("%v: %v,", k, this.Keys[k])
|
|
}
|
|
mapStringForKeys += "}"
|
|
s := strings.Join([]string{`&GetSearchAttributesResponse{`,
|
|
`Keys:` + mapStringForKeys + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondQueryTaskCompletedRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondQueryTaskCompletedRequest{`,
|
|
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
|
|
`CompletedType:` + fmt.Sprintf("%v", this.CompletedType) + `,`,
|
|
`QueryResult:` + strings.Replace(fmt.Sprintf("%v", this.QueryResult), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`ErrorMessage:` + fmt.Sprintf("%v", this.ErrorMessage) + `,`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *RespondQueryTaskCompletedResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&RespondQueryTaskCompletedResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResetStickyTaskQueueRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResetStickyTaskQueueRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResetStickyTaskQueueResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResetStickyTaskQueueResponse{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *QueryWorkflowRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&QueryWorkflowRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`Query:` + strings.Replace(fmt.Sprintf("%v", this.Query), "WorkflowQuery", "v16.WorkflowQuery", 1) + `,`,
|
|
`QueryRejectCondition:` + fmt.Sprintf("%v", this.QueryRejectCondition) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *QueryWorkflowResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&QueryWorkflowResponse{`,
|
|
`QueryResult:` + strings.Replace(fmt.Sprintf("%v", this.QueryResult), "Payloads", "v13.Payloads", 1) + `,`,
|
|
`QueryRejected:` + strings.Replace(fmt.Sprintf("%v", this.QueryRejected), "QueryRejected", "v16.QueryRejected", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeWorkflowExecutionRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DescribeWorkflowExecutionRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v13.WorkflowExecution", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeWorkflowExecutionResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForPendingActivities := "[]*PendingActivityInfo{"
|
|
for _, f := range this.PendingActivities {
|
|
repeatedStringForPendingActivities += strings.Replace(fmt.Sprintf("%v", f), "PendingActivityInfo", "v110.PendingActivityInfo", 1) + ","
|
|
}
|
|
repeatedStringForPendingActivities += "}"
|
|
repeatedStringForPendingChildren := "[]*PendingChildExecutionInfo{"
|
|
for _, f := range this.PendingChildren {
|
|
repeatedStringForPendingChildren += strings.Replace(fmt.Sprintf("%v", f), "PendingChildExecutionInfo", "v110.PendingChildExecutionInfo", 1) + ","
|
|
}
|
|
repeatedStringForPendingChildren += "}"
|
|
s := strings.Join([]string{`&DescribeWorkflowExecutionResponse{`,
|
|
`ExecutionConfig:` + strings.Replace(fmt.Sprintf("%v", this.ExecutionConfig), "WorkflowExecutionConfig", "v110.WorkflowExecutionConfig", 1) + `,`,
|
|
`WorkflowExecutionInfo:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionInfo), "WorkflowExecutionInfo", "v110.WorkflowExecutionInfo", 1) + `,`,
|
|
`PendingActivities:` + repeatedStringForPendingActivities + `,`,
|
|
`PendingChildren:` + repeatedStringForPendingChildren + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeTaskQueueRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DescribeTaskQueueRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`TaskQueueType:` + fmt.Sprintf("%v", this.TaskQueueType) + `,`,
|
|
`IncludeTaskQueueStatus:` + fmt.Sprintf("%v", this.IncludeTaskQueueStatus) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DescribeTaskQueueResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForPollers := "[]*PollerInfo{"
|
|
for _, f := range this.Pollers {
|
|
repeatedStringForPollers += strings.Replace(fmt.Sprintf("%v", f), "PollerInfo", "v14.PollerInfo", 1) + ","
|
|
}
|
|
repeatedStringForPollers += "}"
|
|
s := strings.Join([]string{`&DescribeTaskQueueResponse{`,
|
|
`Pollers:` + repeatedStringForPollers + `,`,
|
|
`TaskQueueStatus:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueueStatus), "TaskQueueStatus", "v14.TaskQueueStatus", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetClusterInfoRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GetClusterInfoRequest{`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetClusterInfoResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForSupportedClients := make([]string, 0, len(this.SupportedClients))
|
|
for k, _ := range this.SupportedClients {
|
|
keysForSupportedClients = append(keysForSupportedClients, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSupportedClients)
|
|
mapStringForSupportedClients := "map[string]string{"
|
|
for _, k := range keysForSupportedClients {
|
|
mapStringForSupportedClients += fmt.Sprintf("%v: %v,", k, this.SupportedClients[k])
|
|
}
|
|
mapStringForSupportedClients += "}"
|
|
s := strings.Join([]string{`&GetClusterInfoResponse{`,
|
|
`SupportedClients:` + mapStringForSupportedClients + `,`,
|
|
`ServerVersion:` + fmt.Sprintf("%v", this.ServerVersion) + `,`,
|
|
`ClusterId:` + fmt.Sprintf("%v", this.ClusterId) + `,`,
|
|
`VersionInfo:` + strings.Replace(fmt.Sprintf("%v", this.VersionInfo), "VersionInfo", "v111.VersionInfo", 1) + `,`,
|
|
`ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
|
|
`HistoryShardCount:` + fmt.Sprintf("%v", this.HistoryShardCount) + `,`,
|
|
`PersistenceStore:` + fmt.Sprintf("%v", this.PersistenceStore) + `,`,
|
|
`VisibilityStore:` + fmt.Sprintf("%v", this.VisibilityStore) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListTaskQueuePartitionsRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListTaskQueuePartitionsRequest{`,
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListTaskQueuePartitionsResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
repeatedStringForActivityTaskQueuePartitions := "[]*TaskQueuePartitionMetadata{"
|
|
for _, f := range this.ActivityTaskQueuePartitions {
|
|
repeatedStringForActivityTaskQueuePartitions += strings.Replace(fmt.Sprintf("%v", f), "TaskQueuePartitionMetadata", "v14.TaskQueuePartitionMetadata", 1) + ","
|
|
}
|
|
repeatedStringForActivityTaskQueuePartitions += "}"
|
|
repeatedStringForWorkflowTaskQueuePartitions := "[]*TaskQueuePartitionMetadata{"
|
|
for _, f := range this.WorkflowTaskQueuePartitions {
|
|
repeatedStringForWorkflowTaskQueuePartitions += strings.Replace(fmt.Sprintf("%v", f), "TaskQueuePartitionMetadata", "v14.TaskQueuePartitionMetadata", 1) + ","
|
|
}
|
|
repeatedStringForWorkflowTaskQueuePartitions += "}"
|
|
s := strings.Join([]string{`&ListTaskQueuePartitionsResponse{`,
|
|
`ActivityTaskQueuePartitions:` + repeatedStringForActivityTaskQueuePartitions + `,`,
|
|
`WorkflowTaskQueuePartitions:` + repeatedStringForWorkflowTaskQueuePartitions + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringRequestResponse(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *RegisterNamespaceRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RegisterNamespaceRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RegisterNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Description = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OwnerEmail", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.OwnerEmail = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionRetentionPeriod", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionRetentionPeriod == nil {
|
|
m.WorkflowExecutionRetentionPeriod = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowExecutionRetentionPeriod, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Clusters = append(m.Clusters, &v1.ClusterReplicationConfig{})
|
|
if err := m.Clusters[len(m.Clusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActiveClusterName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActiveClusterName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Data == nil {
|
|
m.Data = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Data[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SecurityToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IsGlobalNamespace", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IsGlobalNamespace = bool(v != 0)
|
|
case 10:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalState", wireType)
|
|
}
|
|
m.HistoryArchivalState = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.HistoryArchivalState |= v11.ArchivalState(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalUri", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HistoryArchivalUri = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalState", wireType)
|
|
}
|
|
m.VisibilityArchivalState = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.VisibilityArchivalState |= v11.ArchivalState(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalUri", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.VisibilityArchivalUri = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RegisterNamespaceResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RegisterNamespaceResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RegisterNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListNamespacesRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListNamespacesRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
|
|
}
|
|
m.PageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.PageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListNamespacesResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListNamespacesResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespaces = append(m.Namespaces, &DescribeNamespaceResponse{})
|
|
if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeNamespaceRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeNamespaceRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Id = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeNamespaceResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeNamespaceResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.NamespaceInfo == nil {
|
|
m.NamespaceInfo = &v12.NamespaceInfo{}
|
|
}
|
|
if err := m.NamespaceInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Config == nil {
|
|
m.Config = &v12.NamespaceConfig{}
|
|
}
|
|
if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReplicationConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ReplicationConfig == nil {
|
|
m.ReplicationConfig = &v1.NamespaceReplicationConfig{}
|
|
}
|
|
if err := m.ReplicationConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FailoverVersion", wireType)
|
|
}
|
|
m.FailoverVersion = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.FailoverVersion |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IsGlobalNamespace", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IsGlobalNamespace = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *UpdateNamespaceRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: UpdateNamespaceRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdateInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.UpdateInfo == nil {
|
|
m.UpdateInfo = &v12.UpdateNamespaceInfo{}
|
|
}
|
|
if err := m.UpdateInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Config == nil {
|
|
m.Config = &v12.NamespaceConfig{}
|
|
}
|
|
if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReplicationConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ReplicationConfig == nil {
|
|
m.ReplicationConfig = &v1.NamespaceReplicationConfig{}
|
|
}
|
|
if err := m.ReplicationConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SecurityToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeleteBadBinary", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.DeleteBadBinary = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PromoteNamespace", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.PromoteNamespace = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *UpdateNamespaceResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: UpdateNamespaceResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.NamespaceInfo == nil {
|
|
m.NamespaceInfo = &v12.NamespaceInfo{}
|
|
}
|
|
if err := m.NamespaceInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Config == nil {
|
|
m.Config = &v12.NamespaceConfig{}
|
|
}
|
|
if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReplicationConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ReplicationConfig == nil {
|
|
m.ReplicationConfig = &v1.NamespaceReplicationConfig{}
|
|
}
|
|
if err := m.ReplicationConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FailoverVersion", wireType)
|
|
}
|
|
m.FailoverVersion = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.FailoverVersion |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IsGlobalNamespace", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IsGlobalNamespace = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DeprecateNamespaceRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DeprecateNamespaceRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DeprecateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SecurityToken = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DeprecateNamespaceResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DeprecateNamespaceResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DeprecateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StartWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: StartWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StartWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v13.WorkflowType{}
|
|
}
|
|
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v13.Payloads{}
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionTimeout == nil {
|
|
m.WorkflowExecutionTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowExecutionTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowRunTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowRunTimeout == nil {
|
|
m.WorkflowRunTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowRunTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskTimeout == nil {
|
|
m.WorkflowTaskTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowTaskTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType)
|
|
}
|
|
m.WorkflowIdReusePolicy = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowIdReusePolicy |= v11.WorkflowIdReusePolicy(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v13.RetryPolicy{}
|
|
}
|
|
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CronSchedule = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Memo == nil {
|
|
m.Memo = &v13.Memo{}
|
|
}
|
|
if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = &v13.SearchAttributes{}
|
|
}
|
|
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v13.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StartWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: StartWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StartWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetWorkflowExecutionHistoryRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetWorkflowExecutionHistoryRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Execution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Execution == nil {
|
|
m.Execution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.Execution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MaximumPageSize", wireType)
|
|
}
|
|
m.MaximumPageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.MaximumPageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WaitNewEvent", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.WaitNewEvent = bool(v != 0)
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HistoryEventFilterType", wireType)
|
|
}
|
|
m.HistoryEventFilterType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.HistoryEventFilterType |= v11.HistoryEventFilterType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SkipArchival", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.SkipArchival = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetWorkflowExecutionHistoryResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetWorkflowExecutionHistoryResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetWorkflowExecutionHistoryResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field History", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.History == nil {
|
|
m.History = &v15.History{}
|
|
}
|
|
if err := m.History.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RawHistory", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RawHistory = append(m.RawHistory, &v13.DataBlob{})
|
|
if err := m.RawHistory[len(m.RawHistory)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Archived", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Archived = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PollWorkflowTaskQueueRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: PollWorkflowTaskQueueRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PollWorkflowTaskQueueRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BinaryChecksum = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PollWorkflowTaskQueueResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: PollWorkflowTaskQueueResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PollWorkflowTaskQueueResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v13.WorkflowType{}
|
|
}
|
|
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PreviousStartedEventId", wireType)
|
|
}
|
|
m.PreviousStartedEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.PreviousStartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.StartedEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Attempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BacklogCountHint", wireType)
|
|
}
|
|
m.BacklogCountHint = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.BacklogCountHint |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field History", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.History == nil {
|
|
m.History = &v15.History{}
|
|
}
|
|
if err := m.History.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Query == nil {
|
|
m.Query = &v16.WorkflowQuery{}
|
|
}
|
|
if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionTaskQueue == nil {
|
|
m.WorkflowExecutionTaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.WorkflowExecutionTaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 13:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Queries", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Queries == nil {
|
|
m.Queries = make(map[string]*v16.WorkflowQuery)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *v16.WorkflowQuery
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v16.WorkflowQuery{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Queries[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondWorkflowTaskCompletedRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondWorkflowTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Commands", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Commands = append(m.Commands, &v17.Command{})
|
|
if err := m.Commands[len(m.Commands)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StickyAttributes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StickyAttributes == nil {
|
|
m.StickyAttributes = &v14.StickyExecutionAttributes{}
|
|
}
|
|
if err := m.StickyAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReturnNewWorkflowTask", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ReturnNewWorkflowTask = bool(v != 0)
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ForceCreateNewWorkflowTask", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.ForceCreateNewWorkflowTask = bool(v != 0)
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BinaryChecksum = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueryResults", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.QueryResults == nil {
|
|
m.QueryResults = make(map[string]*v16.WorkflowQueryResult)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *v16.WorkflowQueryResult
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if postmsgIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &v16.WorkflowQueryResult{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.QueryResults[mapkey] = mapvalue
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondWorkflowTaskCompletedResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondWorkflowTaskCompletedResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondWorkflowTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTask", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTask == nil {
|
|
m.WorkflowTask = &PollWorkflowTaskQueueResponse{}
|
|
}
|
|
if err := m.WorkflowTask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondWorkflowTaskFailedRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondWorkflowTaskFailedRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondWorkflowTaskFailedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType)
|
|
}
|
|
m.Cause = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Cause |= v11.WorkflowTaskFailedCause(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v18.Failure{}
|
|
}
|
|
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BinaryChecksum = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondWorkflowTaskFailedResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondWorkflowTaskFailedResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondWorkflowTaskFailedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PollActivityTaskQueueRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: PollActivityTaskQueueRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PollActivityTaskQueueRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueueMetadata", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueueMetadata == nil {
|
|
m.TaskQueueMetadata = &v14.TaskQueueMetadata{}
|
|
}
|
|
if err := m.TaskQueueMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PollActivityTaskQueueResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: PollActivityTaskQueueResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PollActivityTaskQueueResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowNamespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowNamespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v13.WorkflowType{}
|
|
}
|
|
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ActivityType == nil {
|
|
m.ActivityType = &v13.ActivityType{}
|
|
}
|
|
if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v13.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v13.Payloads{}
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatDetails", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.HeartbeatDetails == nil {
|
|
m.HeartbeatDetails = &v13.Payloads{}
|
|
}
|
|
if err := m.HeartbeatDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CurrentAttemptScheduledTime", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.CurrentAttemptScheduledTime == nil {
|
|
m.CurrentAttemptScheduledTime = new(time.Time)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.CurrentAttemptScheduledTime, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 12:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 13:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Attempt |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 14:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 15:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 16:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 17:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v13.RetryPolicy{}
|
|
}
|
|
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RecordActivityTaskHeartbeatRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RecordActivityTaskHeartbeatRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v13.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RecordActivityTaskHeartbeatResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RecordActivityTaskHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.CancelRequested = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RecordActivityTaskHeartbeatByIdRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v13.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RecordActivityTaskHeartbeatByIdResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RecordActivityTaskHeartbeatByIdResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.CancelRequested = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCompletedRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCompletedRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Result == nil {
|
|
m.Result = &v13.Payloads{}
|
|
}
|
|
if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCompletedResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCompletedResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCompletedByIdRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCompletedByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Result == nil {
|
|
m.Result = &v13.Payloads{}
|
|
}
|
|
if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCompletedByIdResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCompletedByIdResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCompletedByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskFailedRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskFailedRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskFailedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v18.Failure{}
|
|
}
|
|
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskFailedResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskFailedResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskFailedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskFailedByIdRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskFailedByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Failure == nil {
|
|
m.Failure = &v18.Failure{}
|
|
}
|
|
if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskFailedByIdResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskFailedByIdResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskFailedByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCanceledRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCanceledRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCanceledRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v13.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCanceledResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCanceledResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCanceledResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCanceledByIdRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCanceledByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v13.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondActivityTaskCanceledByIdResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondActivityTaskCanceledByIdResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondActivityTaskCanceledByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RequestCancelWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RequestCancelWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FirstExecutionRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RequestCancelWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RequestCancelWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RequestCancelWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: SignalWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SignalName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v13.Payloads{}
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Control = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v13.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: SignalWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: SignalWithStartWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalWithStartWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowType == nil {
|
|
m.WorkflowType = &v13.WorkflowType{}
|
|
}
|
|
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Input == nil {
|
|
m.Input = &v13.Payloads{}
|
|
}
|
|
if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionTimeout == nil {
|
|
m.WorkflowExecutionTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowExecutionTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowRunTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowRunTimeout == nil {
|
|
m.WorkflowRunTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowRunTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskTimeout", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowTaskTimeout == nil {
|
|
m.WorkflowTaskTimeout = new(time.Duration)
|
|
}
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.WorkflowTaskTimeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 10:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType)
|
|
}
|
|
m.WorkflowIdReusePolicy = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowIdReusePolicy |= v11.WorkflowIdReusePolicy(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.SignalName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SignalInput", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SignalInput == nil {
|
|
m.SignalInput = &v13.Payloads{}
|
|
}
|
|
if err := m.SignalInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Control = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RetryPolicy == nil {
|
|
m.RetryPolicy = &v13.RetryPolicy{}
|
|
}
|
|
if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 16:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.CronSchedule = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 17:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Memo == nil {
|
|
m.Memo = &v13.Memo{}
|
|
}
|
|
if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 18:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SearchAttributes == nil {
|
|
m.SearchAttributes = &v13.SearchAttributes{}
|
|
}
|
|
if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 19:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Header == nil {
|
|
m.Header = &v13.Header{}
|
|
}
|
|
if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SignalWithStartWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: SignalWithStartWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SignalWithStartWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResetWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ResetWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResetWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskFinishEventId", wireType)
|
|
}
|
|
m.WorkflowTaskFinishEventId = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.WorkflowTaskFinishEventId |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RequestId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResetReapplyType", wireType)
|
|
}
|
|
m.ResetReapplyType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ResetReapplyType |= v11.ResetReapplyType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResetWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ResetWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResetWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TerminateWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: TerminateWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TerminateWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecution == nil {
|
|
m.WorkflowExecution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Details == nil {
|
|
m.Details = &v13.Payloads{}
|
|
}
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Identity = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FirstExecutionRunId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TerminateWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: TerminateWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TerminateWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListOpenWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListOpenWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MaximumPageSize", wireType)
|
|
}
|
|
m.MaximumPageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.MaximumPageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartTimeFilter == nil {
|
|
m.StartTimeFilter = &v19.StartTimeFilter{}
|
|
}
|
|
if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &v19.WorkflowExecutionFilter{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Filters = &ListOpenWorkflowExecutionsRequest_ExecutionFilter{v}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &v19.WorkflowTypeFilter{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Filters = &ListOpenWorkflowExecutionsRequest_TypeFilter{v}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListOpenWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListOpenWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListOpenWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Executions = append(m.Executions, &v110.WorkflowExecutionInfo{})
|
|
if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListClosedWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListClosedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MaximumPageSize", wireType)
|
|
}
|
|
m.MaximumPageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.MaximumPageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StartTimeFilter == nil {
|
|
m.StartTimeFilter = &v19.StartTimeFilter{}
|
|
}
|
|
if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &v19.WorkflowExecutionFilter{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Filters = &ListClosedWorkflowExecutionsRequest_ExecutionFilter{v}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &v19.WorkflowTypeFilter{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Filters = &ListClosedWorkflowExecutionsRequest_TypeFilter{v}
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StatusFilter", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &v19.StatusFilter{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.Filters = &ListClosedWorkflowExecutionsRequest_StatusFilter{v}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListClosedWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListClosedWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListClosedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Executions = append(m.Executions, &v110.WorkflowExecutionInfo{})
|
|
if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
|
|
}
|
|
m.PageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.PageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Query = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Executions = append(m.Executions, &v110.WorkflowExecutionInfo{})
|
|
if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListArchivedWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListArchivedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
|
|
}
|
|
m.PageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.PageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Query = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListArchivedWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListArchivedWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListArchivedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Executions = append(m.Executions, &v110.WorkflowExecutionInfo{})
|
|
if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ScanWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ScanWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ScanWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
|
|
}
|
|
m.PageSize = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.PageSize |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Query = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ScanWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ScanWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ScanWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Executions = append(m.Executions, &v110.WorkflowExecutionInfo{})
|
|
if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NextPageToken == nil {
|
|
m.NextPageToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CountWorkflowExecutionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: CountWorkflowExecutionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CountWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Query = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CountWorkflowExecutionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: CountWorkflowExecutionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CountWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
|
|
}
|
|
m.Count = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Count |= int64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetSearchAttributesRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetSearchAttributesRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetSearchAttributesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetSearchAttributesResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetSearchAttributesResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetSearchAttributesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Keys == nil {
|
|
m.Keys = make(map[string]v11.IndexedValueType)
|
|
}
|
|
var mapkey string
|
|
var mapvalue v11.IndexedValueType
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= v11.IndexedValueType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Keys[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondQueryTaskCompletedRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondQueryTaskCompletedRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondQueryTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.TaskToken == nil {
|
|
m.TaskToken = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CompletedType", wireType)
|
|
}
|
|
m.CompletedType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.CompletedType |= v11.QueryResultType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueryResult", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.QueryResult == nil {
|
|
m.QueryResult = &v13.Payloads{}
|
|
}
|
|
if err := m.QueryResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ErrorMessage = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *RespondQueryTaskCompletedResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: RespondQueryTaskCompletedResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: RespondQueryTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResetStickyTaskQueueRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ResetStickyTaskQueueRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResetStickyTaskQueueRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Execution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Execution == nil {
|
|
m.Execution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.Execution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResetStickyTaskQueueResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ResetStickyTaskQueueResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResetStickyTaskQueueResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *QueryWorkflowRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: QueryWorkflowRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: QueryWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Execution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Execution == nil {
|
|
m.Execution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.Execution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Query == nil {
|
|
m.Query = &v16.WorkflowQuery{}
|
|
}
|
|
if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueryRejectCondition", wireType)
|
|
}
|
|
m.QueryRejectCondition = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.QueryRejectCondition |= v11.QueryRejectCondition(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *QueryWorkflowResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: QueryWorkflowResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: QueryWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueryResult", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.QueryResult == nil {
|
|
m.QueryResult = &v13.Payloads{}
|
|
}
|
|
if err := m.QueryResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field QueryRejected", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.QueryRejected == nil {
|
|
m.QueryRejected = &v16.QueryRejected{}
|
|
}
|
|
if err := m.QueryRejected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeWorkflowExecutionRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeWorkflowExecutionRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Execution", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Execution == nil {
|
|
m.Execution = &v13.WorkflowExecution{}
|
|
}
|
|
if err := m.Execution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeWorkflowExecutionResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeWorkflowExecutionResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExecutionConfig", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.ExecutionConfig == nil {
|
|
m.ExecutionConfig = &v110.WorkflowExecutionConfig{}
|
|
}
|
|
if err := m.ExecutionConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.WorkflowExecutionInfo == nil {
|
|
m.WorkflowExecutionInfo = &v110.WorkflowExecutionInfo{}
|
|
}
|
|
if err := m.WorkflowExecutionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PendingActivities", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PendingActivities = append(m.PendingActivities, &v110.PendingActivityInfo{})
|
|
if err := m.PendingActivities[len(m.PendingActivities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PendingChildren", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PendingChildren = append(m.PendingChildren, &v110.PendingChildExecutionInfo{})
|
|
if err := m.PendingChildren[len(m.PendingChildren)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeTaskQueueRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeTaskQueueRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeTaskQueueRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueueType", wireType)
|
|
}
|
|
m.TaskQueueType = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.TaskQueueType |= v11.TaskQueueType(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeTaskQueueStatus", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IncludeTaskQueueStatus = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DescribeTaskQueueResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: DescribeTaskQueueResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DescribeTaskQueueResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pollers", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Pollers = append(m.Pollers, &v14.PollerInfo{})
|
|
if err := m.Pollers[len(m.Pollers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueueStatus", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueueStatus == nil {
|
|
m.TaskQueueStatus = &v14.TaskQueueStatus{}
|
|
}
|
|
if err := m.TaskQueueStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetClusterInfoRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetClusterInfoRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetClusterInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetClusterInfoResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: GetClusterInfoResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetClusterInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SupportedClients", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.SupportedClients == nil {
|
|
m.SupportedClients = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.SupportedClients[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerVersion", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ServerVersion = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ClusterId = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VersionInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.VersionInfo == nil {
|
|
m.VersionInfo = &v111.VersionInfo{}
|
|
}
|
|
if err := m.VersionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ClusterName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HistoryShardCount", wireType)
|
|
}
|
|
m.HistoryShardCount = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.HistoryShardCount |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PersistenceStore", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PersistenceStore = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VisibilityStore", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.VisibilityStore = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListTaskQueuePartitionsRequest) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListTaskQueuePartitionsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListTaskQueuePartitionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
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 ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.TaskQueue == nil {
|
|
m.TaskQueue = &v14.TaskQueue{}
|
|
}
|
|
if err := m.TaskQueue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListTaskQueuePartitionsResponse) 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 ErrIntOverflowRequestResponse
|
|
}
|
|
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: ListTaskQueuePartitionsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListTaskQueuePartitionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskQueuePartitions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ActivityTaskQueuePartitions = append(m.ActivityTaskQueuePartitions, &v14.TaskQueuePartitionMetadata{})
|
|
if err := m.ActivityTaskQueuePartitions[len(m.ActivityTaskQueuePartitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTaskQueuePartitions", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowRequestResponse
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.WorkflowTaskQueuePartitions = append(m.WorkflowTaskQueuePartitions, &v14.TaskQueuePartitionMetadata{})
|
|
if err := m.WorkflowTaskQueuePartitions[len(m.WorkflowTaskQueuePartitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipRequestResponse(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) < 0 {
|
|
return ErrInvalidLengthRequestResponse
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipRequestResponse(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, ErrIntOverflowRequestResponse
|
|
}
|
|
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, ErrIntOverflowRequestResponse
|
|
}
|
|
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, ErrIntOverflowRequestResponse
|
|
}
|
|
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, ErrInvalidLengthRequestResponse
|
|
}
|
|
iNdEx += length
|
|
case 3:
|
|
depth++
|
|
case 4:
|
|
if depth == 0 {
|
|
return 0, ErrUnexpectedEndOfGroupRequestResponse
|
|
}
|
|
depth--
|
|
case 5:
|
|
iNdEx += 4
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
if iNdEx < 0 {
|
|
return 0, ErrInvalidLengthRequestResponse
|
|
}
|
|
if depth == 0 {
|
|
return iNdEx, nil
|
|
}
|
|
}
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow")
|
|
ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group")
|
|
)
|