Files
tasks/api/matchingservice/v1/request_response.pb.go
David ReissandGitHub cf3c52d52a Persist unknown build ids (#4667)
**What changed?**
- Persist unknown build ids in versioning data when tasks are added
- Add metrics for unknown build ids for add and poll

**Why?**
This (combined with future PRs) will fix a few situations with
replication lag, propagation lag, and will also enable cross-task-queue
activities, child workflows, and CAN that are versioned as a bundle.

**How did you test it?**
new unit + integration tests
2023-07-27 20:58:56 -07:00

13640 lines
364 KiB
Go

// The MIT License
//
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
//
// Copyright (c) 2020 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: temporal/server/api/matchingservice/v1/request_response.proto
package matchingservice
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"
v11 "go.temporal.io/api/common/v1"
v19 "go.temporal.io/api/enums/v1"
v15 "go.temporal.io/api/protocol/v1"
v12 "go.temporal.io/api/query/v1"
v14 "go.temporal.io/api/taskqueue/v1"
v1 "go.temporal.io/api/workflowservice/v1"
v17 "go.temporal.io/server/api/clock/v1"
v16 "go.temporal.io/server/api/enums/v1"
v13 "go.temporal.io/server/api/history/v1"
v110 "go.temporal.io/server/api/persistence/v1"
v18 "go.temporal.io/server/api/taskqueue/v1"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var _ = time.Kitchen
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type PollWorkflowTaskQueueRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
PollerId string `protobuf:"bytes,2,opt,name=poller_id,json=pollerId,proto3" json:"poller_id,omitempty"`
PollRequest *v1.PollWorkflowTaskQueueRequest `protobuf:"bytes,3,opt,name=poll_request,json=pollRequest,proto3" json:"poll_request,omitempty"`
ForwardedSource string `protobuf:"bytes,4,opt,name=forwarded_source,json=forwardedSource,proto3" json:"forwarded_source,omitempty"`
}
func (m *PollWorkflowTaskQueueRequest) Reset() { *m = PollWorkflowTaskQueueRequest{} }
func (*PollWorkflowTaskQueueRequest) ProtoMessage() {}
func (*PollWorkflowTaskQueueRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{0}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *PollWorkflowTaskQueueRequest) GetPollerId() string {
if m != nil {
return m.PollerId
}
return ""
}
func (m *PollWorkflowTaskQueueRequest) GetPollRequest() *v1.PollWorkflowTaskQueueRequest {
if m != nil {
return m.PollRequest
}
return nil
}
func (m *PollWorkflowTaskQueueRequest) GetForwardedSource() string {
if m != nil {
return m.ForwardedSource
}
return ""
}
type PollWorkflowTaskQueueResponse struct {
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
WorkflowType *v11.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"`
NextEventId int64 `protobuf:"varint,7,opt,name=next_event_id,json=nextEventId,proto3" json:"next_event_id,omitempty"`
BacklogCountHint int64 `protobuf:"varint,8,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"`
StickyExecutionEnabled bool `protobuf:"varint,9,opt,name=sticky_execution_enabled,json=stickyExecutionEnabled,proto3" json:"sticky_execution_enabled,omitempty"`
Query *v12.WorkflowQuery `protobuf:"bytes,10,opt,name=query,proto3" json:"query,omitempty"`
TransientWorkflowTask *v13.TransientWorkflowTaskInfo `protobuf:"bytes,11,opt,name=transient_workflow_task,json=transientWorkflowTask,proto3" json:"transient_workflow_task,omitempty"`
WorkflowExecutionTaskQueue *v14.TaskQueue `protobuf:"bytes,12,opt,name=workflow_execution_task_queue,json=workflowExecutionTaskQueue,proto3" json:"workflow_execution_task_queue,omitempty"`
BranchToken []byte `protobuf:"bytes,14,opt,name=branch_token,json=branchToken,proto3" json:"branch_token,omitempty"`
ScheduledTime *time.Time `protobuf:"bytes,15,opt,name=scheduled_time,json=scheduledTime,proto3,stdtime" json:"scheduled_time,omitempty"`
StartedTime *time.Time `protobuf:"bytes,16,opt,name=started_time,json=startedTime,proto3,stdtime" json:"started_time,omitempty"`
Queries map[string]*v12.WorkflowQuery `protobuf:"bytes,17,rep,name=queries,proto3" json:"queries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Messages []*v15.Message `protobuf:"bytes,18,rep,name=messages,proto3" json:"messages,omitempty"`
}
func (m *PollWorkflowTaskQueueResponse) Reset() { *m = PollWorkflowTaskQueueResponse{} }
func (*PollWorkflowTaskQueueResponse) ProtoMessage() {}
func (*PollWorkflowTaskQueueResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{1}
}
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() *v11.WorkflowExecution {
if m != nil {
return m.WorkflowExecution
}
return nil
}
func (m *PollWorkflowTaskQueueResponse) GetWorkflowType() *v11.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) GetNextEventId() int64 {
if m != nil {
return m.NextEventId
}
return 0
}
func (m *PollWorkflowTaskQueueResponse) GetBacklogCountHint() int64 {
if m != nil {
return m.BacklogCountHint
}
return 0
}
func (m *PollWorkflowTaskQueueResponse) GetStickyExecutionEnabled() bool {
if m != nil {
return m.StickyExecutionEnabled
}
return false
}
func (m *PollWorkflowTaskQueueResponse) GetQuery() *v12.WorkflowQuery {
if m != nil {
return m.Query
}
return nil
}
func (m *PollWorkflowTaskQueueResponse) GetTransientWorkflowTask() *v13.TransientWorkflowTaskInfo {
if m != nil {
return m.TransientWorkflowTask
}
return nil
}
func (m *PollWorkflowTaskQueueResponse) GetWorkflowExecutionTaskQueue() *v14.TaskQueue {
if m != nil {
return m.WorkflowExecutionTaskQueue
}
return nil
}
func (m *PollWorkflowTaskQueueResponse) GetBranchToken() []byte {
if m != nil {
return m.BranchToken
}
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]*v12.WorkflowQuery {
if m != nil {
return m.Queries
}
return nil
}
func (m *PollWorkflowTaskQueueResponse) GetMessages() []*v15.Message {
if m != nil {
return m.Messages
}
return nil
}
type PollActivityTaskQueueRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
PollerId string `protobuf:"bytes,2,opt,name=poller_id,json=pollerId,proto3" json:"poller_id,omitempty"`
PollRequest *v1.PollActivityTaskQueueRequest `protobuf:"bytes,3,opt,name=poll_request,json=pollRequest,proto3" json:"poll_request,omitempty"`
ForwardedSource string `protobuf:"bytes,4,opt,name=forwarded_source,json=forwardedSource,proto3" json:"forwarded_source,omitempty"`
}
func (m *PollActivityTaskQueueRequest) Reset() { *m = PollActivityTaskQueueRequest{} }
func (*PollActivityTaskQueueRequest) ProtoMessage() {}
func (*PollActivityTaskQueueRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{2}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *PollActivityTaskQueueRequest) GetPollerId() string {
if m != nil {
return m.PollerId
}
return ""
}
func (m *PollActivityTaskQueueRequest) GetPollRequest() *v1.PollActivityTaskQueueRequest {
if m != nil {
return m.PollRequest
}
return nil
}
func (m *PollActivityTaskQueueRequest) GetForwardedSource() string {
if m != nil {
return m.ForwardedSource
}
return ""
}
type PollActivityTaskQueueResponse struct {
TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"`
WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
ActivityType *v11.ActivityType `protobuf:"bytes,4,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
Input *v11.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
ScheduledTime *time.Time `protobuf:"bytes,6,opt,name=scheduled_time,json=scheduledTime,proto3,stdtime" json:"scheduled_time,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToCloseTimeout *time.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3,stdduration" json:"schedule_to_close_timeout,omitempty"`
StartedTime *time.Time `protobuf:"bytes,8,opt,name=started_time,json=startedTime,proto3,stdtime" json:"started_time,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StartToCloseTimeout *time.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3,stdduration" json:"start_to_close_timeout,omitempty"`
HeartbeatTimeout *time.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3,stdduration" json:"heartbeat_timeout,omitempty"`
Attempt int32 `protobuf:"varint,11,opt,name=attempt,proto3" json:"attempt,omitempty"`
CurrentAttemptScheduledTime *time.Time `protobuf:"bytes,12,opt,name=current_attempt_scheduled_time,json=currentAttemptScheduledTime,proto3,stdtime" json:"current_attempt_scheduled_time,omitempty"`
HeartbeatDetails *v11.Payloads `protobuf:"bytes,13,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"`
WorkflowType *v11.WorkflowType `protobuf:"bytes,14,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"`
WorkflowNamespace string `protobuf:"bytes,15,opt,name=workflow_namespace,json=workflowNamespace,proto3" json:"workflow_namespace,omitempty"`
Header *v11.Header `protobuf:"bytes,16,opt,name=header,proto3" json:"header,omitempty"`
}
func (m *PollActivityTaskQueueResponse) Reset() { *m = PollActivityTaskQueueResponse{} }
func (*PollActivityTaskQueueResponse) ProtoMessage() {}
func (*PollActivityTaskQueueResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{3}
}
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) GetWorkflowExecution() *v11.WorkflowExecution {
if m != nil {
return m.WorkflowExecution
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetActivityId() string {
if m != nil {
return m.ActivityId
}
return ""
}
func (m *PollActivityTaskQueueResponse) GetActivityType() *v11.ActivityType {
if m != nil {
return m.ActivityType
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetInput() *v11.Payloads {
if m != nil {
return m.Input
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetScheduledTime() *time.Time {
if m != nil {
return m.ScheduledTime
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetScheduleToCloseTimeout() *time.Duration {
if m != nil {
return m.ScheduleToCloseTimeout
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetStartedTime() *time.Time {
if m != nil {
return m.StartedTime
}
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) GetAttempt() int32 {
if m != nil {
return m.Attempt
}
return 0
}
func (m *PollActivityTaskQueueResponse) GetCurrentAttemptScheduledTime() *time.Time {
if m != nil {
return m.CurrentAttemptScheduledTime
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetHeartbeatDetails() *v11.Payloads {
if m != nil {
return m.HeartbeatDetails
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetWorkflowType() *v11.WorkflowType {
if m != nil {
return m.WorkflowType
}
return nil
}
func (m *PollActivityTaskQueueResponse) GetWorkflowNamespace() string {
if m != nil {
return m.WorkflowNamespace
}
return ""
}
func (m *PollActivityTaskQueueResponse) GetHeader() *v11.Header {
if m != nil {
return m.Header
}
return nil
}
type AddWorkflowTaskRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
Execution *v11.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
TaskQueue *v14.TaskQueue `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
ScheduledEventId int64 `protobuf:"varint,4,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *time.Duration `protobuf:"bytes,5,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3,stdduration" json:"schedule_to_start_timeout,omitempty"`
ForwardedSource string `protobuf:"bytes,6,opt,name=forwarded_source,json=forwardedSource,proto3" json:"forwarded_source,omitempty"`
Source v16.TaskSource `protobuf:"varint,7,opt,name=source,proto3,enum=temporal.server.api.enums.v1.TaskSource" json:"source,omitempty"`
Clock *v17.VectorClock `protobuf:"bytes,9,opt,name=clock,proto3" json:"clock,omitempty"`
// How this task should be directed by matching. (Missing means the default
// for TaskVersionDirective, which is unversioned.)
VersionDirective *v18.TaskVersionDirective `protobuf:"bytes,10,opt,name=version_directive,json=versionDirective,proto3" json:"version_directive,omitempty"`
}
func (m *AddWorkflowTaskRequest) Reset() { *m = AddWorkflowTaskRequest{} }
func (*AddWorkflowTaskRequest) ProtoMessage() {}
func (*AddWorkflowTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{4}
}
func (m *AddWorkflowTaskRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *AddWorkflowTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_AddWorkflowTaskRequest.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 *AddWorkflowTaskRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddWorkflowTaskRequest.Merge(m, src)
}
func (m *AddWorkflowTaskRequest) XXX_Size() int {
return m.Size()
}
func (m *AddWorkflowTaskRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AddWorkflowTaskRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AddWorkflowTaskRequest proto.InternalMessageInfo
func (m *AddWorkflowTaskRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *AddWorkflowTaskRequest) GetExecution() *v11.WorkflowExecution {
if m != nil {
return m.Execution
}
return nil
}
func (m *AddWorkflowTaskRequest) GetTaskQueue() *v14.TaskQueue {
if m != nil {
return m.TaskQueue
}
return nil
}
func (m *AddWorkflowTaskRequest) GetScheduledEventId() int64 {
if m != nil {
return m.ScheduledEventId
}
return 0
}
func (m *AddWorkflowTaskRequest) GetScheduleToStartTimeout() *time.Duration {
if m != nil {
return m.ScheduleToStartTimeout
}
return nil
}
func (m *AddWorkflowTaskRequest) GetForwardedSource() string {
if m != nil {
return m.ForwardedSource
}
return ""
}
func (m *AddWorkflowTaskRequest) GetSource() v16.TaskSource {
if m != nil {
return m.Source
}
return v16.TASK_SOURCE_UNSPECIFIED
}
func (m *AddWorkflowTaskRequest) GetClock() *v17.VectorClock {
if m != nil {
return m.Clock
}
return nil
}
func (m *AddWorkflowTaskRequest) GetVersionDirective() *v18.TaskVersionDirective {
if m != nil {
return m.VersionDirective
}
return nil
}
type AddWorkflowTaskResponse struct {
}
func (m *AddWorkflowTaskResponse) Reset() { *m = AddWorkflowTaskResponse{} }
func (*AddWorkflowTaskResponse) ProtoMessage() {}
func (*AddWorkflowTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{5}
}
func (m *AddWorkflowTaskResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *AddWorkflowTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_AddWorkflowTaskResponse.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 *AddWorkflowTaskResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddWorkflowTaskResponse.Merge(m, src)
}
func (m *AddWorkflowTaskResponse) XXX_Size() int {
return m.Size()
}
func (m *AddWorkflowTaskResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AddWorkflowTaskResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AddWorkflowTaskResponse proto.InternalMessageInfo
type AddActivityTaskRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
Execution *v11.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
TaskQueue *v14.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
ScheduledEventId int64 `protobuf:"varint,5,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *time.Duration `protobuf:"bytes,6,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3,stdduration" json:"schedule_to_start_timeout,omitempty"`
ForwardedSource string `protobuf:"bytes,7,opt,name=forwarded_source,json=forwardedSource,proto3" json:"forwarded_source,omitempty"`
Source v16.TaskSource `protobuf:"varint,8,opt,name=source,proto3,enum=temporal.server.api.enums.v1.TaskSource" json:"source,omitempty"`
Clock *v17.VectorClock `protobuf:"bytes,9,opt,name=clock,proto3" json:"clock,omitempty"`
// How this task should be directed by matching. (Missing means the default
// for TaskVersionDirective, which is unversioned.)
VersionDirective *v18.TaskVersionDirective `protobuf:"bytes,10,opt,name=version_directive,json=versionDirective,proto3" json:"version_directive,omitempty"`
}
func (m *AddActivityTaskRequest) Reset() { *m = AddActivityTaskRequest{} }
func (*AddActivityTaskRequest) ProtoMessage() {}
func (*AddActivityTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{6}
}
func (m *AddActivityTaskRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *AddActivityTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_AddActivityTaskRequest.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 *AddActivityTaskRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddActivityTaskRequest.Merge(m, src)
}
func (m *AddActivityTaskRequest) XXX_Size() int {
return m.Size()
}
func (m *AddActivityTaskRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AddActivityTaskRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AddActivityTaskRequest proto.InternalMessageInfo
func (m *AddActivityTaskRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *AddActivityTaskRequest) GetExecution() *v11.WorkflowExecution {
if m != nil {
return m.Execution
}
return nil
}
func (m *AddActivityTaskRequest) GetTaskQueue() *v14.TaskQueue {
if m != nil {
return m.TaskQueue
}
return nil
}
func (m *AddActivityTaskRequest) GetScheduledEventId() int64 {
if m != nil {
return m.ScheduledEventId
}
return 0
}
func (m *AddActivityTaskRequest) GetScheduleToStartTimeout() *time.Duration {
if m != nil {
return m.ScheduleToStartTimeout
}
return nil
}
func (m *AddActivityTaskRequest) GetForwardedSource() string {
if m != nil {
return m.ForwardedSource
}
return ""
}
func (m *AddActivityTaskRequest) GetSource() v16.TaskSource {
if m != nil {
return m.Source
}
return v16.TASK_SOURCE_UNSPECIFIED
}
func (m *AddActivityTaskRequest) GetClock() *v17.VectorClock {
if m != nil {
return m.Clock
}
return nil
}
func (m *AddActivityTaskRequest) GetVersionDirective() *v18.TaskVersionDirective {
if m != nil {
return m.VersionDirective
}
return nil
}
type AddActivityTaskResponse struct {
}
func (m *AddActivityTaskResponse) Reset() { *m = AddActivityTaskResponse{} }
func (*AddActivityTaskResponse) ProtoMessage() {}
func (*AddActivityTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{7}
}
func (m *AddActivityTaskResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *AddActivityTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_AddActivityTaskResponse.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 *AddActivityTaskResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddActivityTaskResponse.Merge(m, src)
}
func (m *AddActivityTaskResponse) XXX_Size() int {
return m.Size()
}
func (m *AddActivityTaskResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AddActivityTaskResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AddActivityTaskResponse proto.InternalMessageInfo
type QueryWorkflowRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
QueryRequest *v1.QueryWorkflowRequest `protobuf:"bytes,3,opt,name=query_request,json=queryRequest,proto3" json:"query_request,omitempty"`
ForwardedSource string `protobuf:"bytes,4,opt,name=forwarded_source,json=forwardedSource,proto3" json:"forwarded_source,omitempty"`
// How this task should be directed by matching. (Missing means the default
// for TaskVersionDirective, which is unversioned.)
VersionDirective *v18.TaskVersionDirective `protobuf:"bytes,5,opt,name=version_directive,json=versionDirective,proto3" json:"version_directive,omitempty"`
}
func (m *QueryWorkflowRequest) Reset() { *m = QueryWorkflowRequest{} }
func (*QueryWorkflowRequest) ProtoMessage() {}
func (*QueryWorkflowRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{8}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *QueryWorkflowRequest) GetTaskQueue() *v14.TaskQueue {
if m != nil {
return m.TaskQueue
}
return nil
}
func (m *QueryWorkflowRequest) GetQueryRequest() *v1.QueryWorkflowRequest {
if m != nil {
return m.QueryRequest
}
return nil
}
func (m *QueryWorkflowRequest) GetForwardedSource() string {
if m != nil {
return m.ForwardedSource
}
return ""
}
func (m *QueryWorkflowRequest) GetVersionDirective() *v18.TaskVersionDirective {
if m != nil {
return m.VersionDirective
}
return nil
}
type QueryWorkflowResponse struct {
QueryResult *v11.Payloads `protobuf:"bytes,1,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
QueryRejected *v12.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_a429a3813476c583, []int{9}
}
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() *v11.Payloads {
if m != nil {
return m.QueryResult
}
return nil
}
func (m *QueryWorkflowResponse) GetQueryRejected() *v12.QueryRejected {
if m != nil {
return m.QueryRejected
}
return nil
}
type RespondQueryTaskCompletedRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
CompletedRequest *v1.RespondQueryTaskCompletedRequest `protobuf:"bytes,4,opt,name=completed_request,json=completedRequest,proto3" json:"completed_request,omitempty"`
}
func (m *RespondQueryTaskCompletedRequest) Reset() { *m = RespondQueryTaskCompletedRequest{} }
func (*RespondQueryTaskCompletedRequest) ProtoMessage() {}
func (*RespondQueryTaskCompletedRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{10}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *RespondQueryTaskCompletedRequest) GetTaskQueue() *v14.TaskQueue {
if m != nil {
return m.TaskQueue
}
return nil
}
func (m *RespondQueryTaskCompletedRequest) GetTaskId() string {
if m != nil {
return m.TaskId
}
return ""
}
func (m *RespondQueryTaskCompletedRequest) GetCompletedRequest() *v1.RespondQueryTaskCompletedRequest {
if m != nil {
return m.CompletedRequest
}
return nil
}
type RespondQueryTaskCompletedResponse struct {
}
func (m *RespondQueryTaskCompletedResponse) Reset() { *m = RespondQueryTaskCompletedResponse{} }
func (*RespondQueryTaskCompletedResponse) ProtoMessage() {}
func (*RespondQueryTaskCompletedResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{11}
}
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 CancelOutstandingPollRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueueType v19.TaskQueueType `protobuf:"varint,2,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"`
TaskQueue *v14.TaskQueue `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
PollerId string `protobuf:"bytes,4,opt,name=poller_id,json=pollerId,proto3" json:"poller_id,omitempty"`
}
func (m *CancelOutstandingPollRequest) Reset() { *m = CancelOutstandingPollRequest{} }
func (*CancelOutstandingPollRequest) ProtoMessage() {}
func (*CancelOutstandingPollRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{12}
}
func (m *CancelOutstandingPollRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CancelOutstandingPollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CancelOutstandingPollRequest.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 *CancelOutstandingPollRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CancelOutstandingPollRequest.Merge(m, src)
}
func (m *CancelOutstandingPollRequest) XXX_Size() int {
return m.Size()
}
func (m *CancelOutstandingPollRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CancelOutstandingPollRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CancelOutstandingPollRequest proto.InternalMessageInfo
func (m *CancelOutstandingPollRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *CancelOutstandingPollRequest) GetTaskQueueType() v19.TaskQueueType {
if m != nil {
return m.TaskQueueType
}
return v19.TASK_QUEUE_TYPE_UNSPECIFIED
}
func (m *CancelOutstandingPollRequest) GetTaskQueue() *v14.TaskQueue {
if m != nil {
return m.TaskQueue
}
return nil
}
func (m *CancelOutstandingPollRequest) GetPollerId() string {
if m != nil {
return m.PollerId
}
return ""
}
type CancelOutstandingPollResponse struct {
}
func (m *CancelOutstandingPollResponse) Reset() { *m = CancelOutstandingPollResponse{} }
func (*CancelOutstandingPollResponse) ProtoMessage() {}
func (*CancelOutstandingPollResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{13}
}
func (m *CancelOutstandingPollResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CancelOutstandingPollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CancelOutstandingPollResponse.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 *CancelOutstandingPollResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CancelOutstandingPollResponse.Merge(m, src)
}
func (m *CancelOutstandingPollResponse) XXX_Size() int {
return m.Size()
}
func (m *CancelOutstandingPollResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CancelOutstandingPollResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CancelOutstandingPollResponse proto.InternalMessageInfo
type DescribeTaskQueueRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
DescRequest *v1.DescribeTaskQueueRequest `protobuf:"bytes,2,opt,name=desc_request,json=descRequest,proto3" json:"desc_request,omitempty"`
}
func (m *DescribeTaskQueueRequest) Reset() { *m = DescribeTaskQueueRequest{} }
func (*DescribeTaskQueueRequest) ProtoMessage() {}
func (*DescribeTaskQueueRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{14}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *DescribeTaskQueueRequest) GetDescRequest() *v1.DescribeTaskQueueRequest {
if m != nil {
return m.DescRequest
}
return nil
}
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_a429a3813476c583, []int{15}
}
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 ListTaskQueuePartitionsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
NamespaceId string `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,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_a429a3813476c583, []int{16}
}
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) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
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_a429a3813476c583, []int{17}
}
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
}
// (-- api-linter: core::0134::request-mask-required=disabled
//
// aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest doesn't follow Google API format --)
//
// (-- api-linter: core::0134::request-resource-required=disabled
//
// aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest RPC doesn't follow Google API format. --)
type UpdateWorkerBuildIdCompatibilityRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Types that are valid to be assigned to Operation:
// *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_
// *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_
// *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId
Operation isUpdateWorkerBuildIdCompatibilityRequest_Operation `protobuf_oneof:"operation"`
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) Reset() {
*m = UpdateWorkerBuildIdCompatibilityRequest{}
}
func (*UpdateWorkerBuildIdCompatibilityRequest) ProtoMessage() {}
func (*UpdateWorkerBuildIdCompatibilityRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{18}
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest.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 *UpdateWorkerBuildIdCompatibilityRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest.Merge(m, src)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) XXX_Size() int {
return m.Size()
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest proto.InternalMessageInfo
type isUpdateWorkerBuildIdCompatibilityRequest_Operation interface {
isUpdateWorkerBuildIdCompatibilityRequest_Operation()
Equal(interface{}) bool
MarshalTo([]byte) (int, error)
Size() int
}
type UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_ struct {
ApplyPublicRequest *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest `protobuf:"bytes,3,opt,name=apply_public_request,json=applyPublicRequest,proto3,oneof" json:"apply_public_request,omitempty"`
}
type UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_ struct {
RemoveBuildIds *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds `protobuf:"bytes,4,opt,name=remove_build_ids,json=removeBuildIds,proto3,oneof" json:"remove_build_ids,omitempty"`
}
type UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId struct {
PersistUnknownBuildId string `protobuf:"bytes,5,opt,name=persist_unknown_build_id,json=persistUnknownBuildId,proto3,oneof" json:"persist_unknown_build_id,omitempty"`
}
func (*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) isUpdateWorkerBuildIdCompatibilityRequest_Operation() {
}
func (*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) isUpdateWorkerBuildIdCompatibilityRequest_Operation() {
}
func (*UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) isUpdateWorkerBuildIdCompatibilityRequest_Operation() {
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetOperation() isUpdateWorkerBuildIdCompatibilityRequest_Operation {
if m != nil {
return m.Operation
}
return nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetApplyPublicRequest() *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest {
if x, ok := m.GetOperation().(*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_); ok {
return x.ApplyPublicRequest
}
return nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetRemoveBuildIds() *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds {
if x, ok := m.GetOperation().(*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_); ok {
return x.RemoveBuildIds
}
return nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) GetPersistUnknownBuildId() string {
if x, ok := m.GetOperation().(*UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId); ok {
return x.PersistUnknownBuildId
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*UpdateWorkerBuildIdCompatibilityRequest) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_)(nil),
(*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_)(nil),
(*UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId)(nil),
}
}
// Apply request from public API.
type UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest struct {
Request *v1.UpdateWorkerBuildIdCompatibilityRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) Reset() {
*m = UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest{}
}
func (*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) ProtoMessage() {}
func (*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{18, 0}
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest.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 *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest.Merge(m, src)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) XXX_Size() int {
return m.Size()
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest proto.InternalMessageInfo
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) GetRequest() *v1.UpdateWorkerBuildIdCompatibilityRequest {
if m != nil {
return m.Request
}
return nil
}
// Remove build ids (internal only)
type UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds struct {
// The last known user data version, used to prevent concurrent updates.
KnownUserDataVersion int64 `protobuf:"varint,1,opt,name=known_user_data_version,json=knownUserDataVersion,proto3" json:"known_user_data_version,omitempty"`
// List of build ids to remove.
BuildIds []string `protobuf:"bytes,2,rep,name=build_ids,json=buildIds,proto3" json:"build_ids,omitempty"`
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) Reset() {
*m = UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds{}
}
func (*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) ProtoMessage() {}
func (*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{18, 1}
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds.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 *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds.Merge(m, src)
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) XXX_Size() int {
return m.Size()
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds proto.InternalMessageInfo
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) GetKnownUserDataVersion() int64 {
if m != nil {
return m.KnownUserDataVersion
}
return 0
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) GetBuildIds() []string {
if m != nil {
return m.BuildIds
}
return nil
}
type UpdateWorkerBuildIdCompatibilityResponse struct {
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) Reset() {
*m = UpdateWorkerBuildIdCompatibilityResponse{}
}
func (*UpdateWorkerBuildIdCompatibilityResponse) ProtoMessage() {}
func (*UpdateWorkerBuildIdCompatibilityResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{19}
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateWorkerBuildIdCompatibilityResponse.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 *UpdateWorkerBuildIdCompatibilityResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityResponse.Merge(m, src)
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) XXX_Size() int {
return m.Size()
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateWorkerBuildIdCompatibilityResponse.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateWorkerBuildIdCompatibilityResponse proto.InternalMessageInfo
type GetWorkerBuildIdCompatibilityRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
Request *v1.GetWorkerBuildIdCompatibilityRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
}
func (m *GetWorkerBuildIdCompatibilityRequest) Reset() { *m = GetWorkerBuildIdCompatibilityRequest{} }
func (*GetWorkerBuildIdCompatibilityRequest) ProtoMessage() {}
func (*GetWorkerBuildIdCompatibilityRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{20}
}
func (m *GetWorkerBuildIdCompatibilityRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetWorkerBuildIdCompatibilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetWorkerBuildIdCompatibilityRequest.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 *GetWorkerBuildIdCompatibilityRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkerBuildIdCompatibilityRequest.Merge(m, src)
}
func (m *GetWorkerBuildIdCompatibilityRequest) XXX_Size() int {
return m.Size()
}
func (m *GetWorkerBuildIdCompatibilityRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkerBuildIdCompatibilityRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkerBuildIdCompatibilityRequest proto.InternalMessageInfo
func (m *GetWorkerBuildIdCompatibilityRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *GetWorkerBuildIdCompatibilityRequest) GetRequest() *v1.GetWorkerBuildIdCompatibilityRequest {
if m != nil {
return m.Request
}
return nil
}
type GetWorkerBuildIdCompatibilityResponse struct {
Response *v1.GetWorkerBuildIdCompatibilityResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (m *GetWorkerBuildIdCompatibilityResponse) Reset() { *m = GetWorkerBuildIdCompatibilityResponse{} }
func (*GetWorkerBuildIdCompatibilityResponse) ProtoMessage() {}
func (*GetWorkerBuildIdCompatibilityResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{21}
}
func (m *GetWorkerBuildIdCompatibilityResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetWorkerBuildIdCompatibilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetWorkerBuildIdCompatibilityResponse.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 *GetWorkerBuildIdCompatibilityResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkerBuildIdCompatibilityResponse.Merge(m, src)
}
func (m *GetWorkerBuildIdCompatibilityResponse) XXX_Size() int {
return m.Size()
}
func (m *GetWorkerBuildIdCompatibilityResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkerBuildIdCompatibilityResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkerBuildIdCompatibilityResponse proto.InternalMessageInfo
func (m *GetWorkerBuildIdCompatibilityResponse) GetResponse() *v1.GetWorkerBuildIdCompatibilityResponse {
if m != nil {
return m.Response
}
return nil
}
type GetTaskQueueUserDataRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
// The task queue to fetch data from. The task queue is always considered as a normal
// queue, since sticky queues have no user data.
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Normally task queue type should always be TASK_QUEUE_TYPE_WORKFLOW here, but querying
// activity task queues is useful for testing.
TaskQueueType v19.TaskQueueType `protobuf:"varint,5,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"`
// The value of the last known user data version.
// If the requester has no data, it should set this to 0.
// This value must not be set to a negative number (note that our linter suggests avoiding uint64).
LastKnownUserDataVersion int64 `protobuf:"varint,3,opt,name=last_known_user_data_version,json=lastKnownUserDataVersion,proto3" json:"last_known_user_data_version,omitempty"`
// If set and last_known_user_data_version is the current version, block until new data is
// available (or timeout).
WaitNewData bool `protobuf:"varint,4,opt,name=wait_new_data,json=waitNewData,proto3" json:"wait_new_data,omitempty"`
}
func (m *GetTaskQueueUserDataRequest) Reset() { *m = GetTaskQueueUserDataRequest{} }
func (*GetTaskQueueUserDataRequest) ProtoMessage() {}
func (*GetTaskQueueUserDataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{22}
}
func (m *GetTaskQueueUserDataRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetTaskQueueUserDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetTaskQueueUserDataRequest.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 *GetTaskQueueUserDataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetTaskQueueUserDataRequest.Merge(m, src)
}
func (m *GetTaskQueueUserDataRequest) XXX_Size() int {
return m.Size()
}
func (m *GetTaskQueueUserDataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetTaskQueueUserDataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetTaskQueueUserDataRequest proto.InternalMessageInfo
func (m *GetTaskQueueUserDataRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *GetTaskQueueUserDataRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *GetTaskQueueUserDataRequest) GetTaskQueueType() v19.TaskQueueType {
if m != nil {
return m.TaskQueueType
}
return v19.TASK_QUEUE_TYPE_UNSPECIFIED
}
func (m *GetTaskQueueUserDataRequest) GetLastKnownUserDataVersion() int64 {
if m != nil {
return m.LastKnownUserDataVersion
}
return 0
}
func (m *GetTaskQueueUserDataRequest) GetWaitNewData() bool {
if m != nil {
return m.WaitNewData
}
return false
}
type GetTaskQueueUserDataResponse struct {
// Whether this task queue has any stored user data
TaskQueueHasUserData bool `protobuf:"varint,1,opt,name=task_queue_has_user_data,json=taskQueueHasUserData,proto3" json:"task_queue_has_user_data,omitempty"`
// Versioned user data, set if the task queue has user data and the request's last_known_user_data_version is less
// than the version cached in the root partition.
UserData *v110.VersionedTaskQueueUserData `protobuf:"bytes,2,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
}
func (m *GetTaskQueueUserDataResponse) Reset() { *m = GetTaskQueueUserDataResponse{} }
func (*GetTaskQueueUserDataResponse) ProtoMessage() {}
func (*GetTaskQueueUserDataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{23}
}
func (m *GetTaskQueueUserDataResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetTaskQueueUserDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetTaskQueueUserDataResponse.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 *GetTaskQueueUserDataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetTaskQueueUserDataResponse.Merge(m, src)
}
func (m *GetTaskQueueUserDataResponse) XXX_Size() int {
return m.Size()
}
func (m *GetTaskQueueUserDataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetTaskQueueUserDataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetTaskQueueUserDataResponse proto.InternalMessageInfo
func (m *GetTaskQueueUserDataResponse) GetTaskQueueHasUserData() bool {
if m != nil {
return m.TaskQueueHasUserData
}
return false
}
func (m *GetTaskQueueUserDataResponse) GetUserData() *v110.VersionedTaskQueueUserData {
if m != nil {
return m.UserData
}
return nil
}
type ApplyTaskQueueUserDataReplicationEventRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
UserData *v110.TaskQueueUserData `protobuf:"bytes,3,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) Reset() {
*m = ApplyTaskQueueUserDataReplicationEventRequest{}
}
func (*ApplyTaskQueueUserDataReplicationEventRequest) ProtoMessage() {}
func (*ApplyTaskQueueUserDataReplicationEventRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{24}
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventRequest.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 *ApplyTaskQueueUserDataReplicationEventRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventRequest.Merge(m, src)
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) XXX_Size() int {
return m.Size()
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventRequest proto.InternalMessageInfo
func (m *ApplyTaskQueueUserDataReplicationEventRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) GetUserData() *v110.TaskQueueUserData {
if m != nil {
return m.UserData
}
return nil
}
type ApplyTaskQueueUserDataReplicationEventResponse struct {
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) Reset() {
*m = ApplyTaskQueueUserDataReplicationEventResponse{}
}
func (*ApplyTaskQueueUserDataReplicationEventResponse) ProtoMessage() {}
func (*ApplyTaskQueueUserDataReplicationEventResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{25}
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventResponse.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 *ApplyTaskQueueUserDataReplicationEventResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventResponse.Merge(m, src)
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) XXX_Size() int {
return m.Size()
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ApplyTaskQueueUserDataReplicationEventResponse proto.InternalMessageInfo
type GetBuildIdTaskQueueMappingRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
}
func (m *GetBuildIdTaskQueueMappingRequest) Reset() { *m = GetBuildIdTaskQueueMappingRequest{} }
func (*GetBuildIdTaskQueueMappingRequest) ProtoMessage() {}
func (*GetBuildIdTaskQueueMappingRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{26}
}
func (m *GetBuildIdTaskQueueMappingRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetBuildIdTaskQueueMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetBuildIdTaskQueueMappingRequest.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 *GetBuildIdTaskQueueMappingRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetBuildIdTaskQueueMappingRequest.Merge(m, src)
}
func (m *GetBuildIdTaskQueueMappingRequest) XXX_Size() int {
return m.Size()
}
func (m *GetBuildIdTaskQueueMappingRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetBuildIdTaskQueueMappingRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetBuildIdTaskQueueMappingRequest proto.InternalMessageInfo
func (m *GetBuildIdTaskQueueMappingRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *GetBuildIdTaskQueueMappingRequest) GetBuildId() string {
if m != nil {
return m.BuildId
}
return ""
}
type GetBuildIdTaskQueueMappingResponse struct {
TaskQueues []string `protobuf:"bytes,1,rep,name=task_queues,json=taskQueues,proto3" json:"task_queues,omitempty"`
}
func (m *GetBuildIdTaskQueueMappingResponse) Reset() { *m = GetBuildIdTaskQueueMappingResponse{} }
func (*GetBuildIdTaskQueueMappingResponse) ProtoMessage() {}
func (*GetBuildIdTaskQueueMappingResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{27}
}
func (m *GetBuildIdTaskQueueMappingResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetBuildIdTaskQueueMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetBuildIdTaskQueueMappingResponse.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 *GetBuildIdTaskQueueMappingResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetBuildIdTaskQueueMappingResponse.Merge(m, src)
}
func (m *GetBuildIdTaskQueueMappingResponse) XXX_Size() int {
return m.Size()
}
func (m *GetBuildIdTaskQueueMappingResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetBuildIdTaskQueueMappingResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetBuildIdTaskQueueMappingResponse proto.InternalMessageInfo
func (m *GetBuildIdTaskQueueMappingResponse) GetTaskQueues() []string {
if m != nil {
return m.TaskQueues
}
return nil
}
type ForceUnloadTaskQueueRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
TaskQueueType v19.TaskQueueType `protobuf:"varint,3,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"`
}
func (m *ForceUnloadTaskQueueRequest) Reset() { *m = ForceUnloadTaskQueueRequest{} }
func (*ForceUnloadTaskQueueRequest) ProtoMessage() {}
func (*ForceUnloadTaskQueueRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{28}
}
func (m *ForceUnloadTaskQueueRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ForceUnloadTaskQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ForceUnloadTaskQueueRequest.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 *ForceUnloadTaskQueueRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ForceUnloadTaskQueueRequest.Merge(m, src)
}
func (m *ForceUnloadTaskQueueRequest) XXX_Size() int {
return m.Size()
}
func (m *ForceUnloadTaskQueueRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ForceUnloadTaskQueueRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ForceUnloadTaskQueueRequest proto.InternalMessageInfo
func (m *ForceUnloadTaskQueueRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *ForceUnloadTaskQueueRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *ForceUnloadTaskQueueRequest) GetTaskQueueType() v19.TaskQueueType {
if m != nil {
return m.TaskQueueType
}
return v19.TASK_QUEUE_TYPE_UNSPECIFIED
}
type ForceUnloadTaskQueueResponse struct {
WasLoaded bool `protobuf:"varint,1,opt,name=was_loaded,json=wasLoaded,proto3" json:"was_loaded,omitempty"`
}
func (m *ForceUnloadTaskQueueResponse) Reset() { *m = ForceUnloadTaskQueueResponse{} }
func (*ForceUnloadTaskQueueResponse) ProtoMessage() {}
func (*ForceUnloadTaskQueueResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{29}
}
func (m *ForceUnloadTaskQueueResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ForceUnloadTaskQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ForceUnloadTaskQueueResponse.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 *ForceUnloadTaskQueueResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ForceUnloadTaskQueueResponse.Merge(m, src)
}
func (m *ForceUnloadTaskQueueResponse) XXX_Size() int {
return m.Size()
}
func (m *ForceUnloadTaskQueueResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ForceUnloadTaskQueueResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ForceUnloadTaskQueueResponse proto.InternalMessageInfo
func (m *ForceUnloadTaskQueueResponse) GetWasLoaded() bool {
if m != nil {
return m.WasLoaded
}
return false
}
// (-- api-linter: core::0134::request-mask-required=disabled
//
// aip.dev/not-precedent: UpdateTaskQueueUserDataRequest doesn't follow Google API format --)
//
// (-- api-linter: core::0134::request-resource-required=disabled
//
// aip.dev/not-precedent: UpdateTaskQueueUserDataRequest RPC doesn't follow Google API format. --)
type UpdateTaskQueueUserDataRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Versioned user data, set if the task queue has user data and the request's last_known_user_data_version is less
// than the version cached in the root partition.
UserData *v110.VersionedTaskQueueUserData `protobuf:"bytes,3,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
// List of added build ids
BuildIdsAdded []string `protobuf:"bytes,4,rep,name=build_ids_added,json=buildIdsAdded,proto3" json:"build_ids_added,omitempty"`
// List of removed build ids
BuildIdsRemoved []string `protobuf:"bytes,5,rep,name=build_ids_removed,json=buildIdsRemoved,proto3" json:"build_ids_removed,omitempty"`
}
func (m *UpdateTaskQueueUserDataRequest) Reset() { *m = UpdateTaskQueueUserDataRequest{} }
func (*UpdateTaskQueueUserDataRequest) ProtoMessage() {}
func (*UpdateTaskQueueUserDataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{30}
}
func (m *UpdateTaskQueueUserDataRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateTaskQueueUserDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateTaskQueueUserDataRequest.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 *UpdateTaskQueueUserDataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateTaskQueueUserDataRequest.Merge(m, src)
}
func (m *UpdateTaskQueueUserDataRequest) XXX_Size() int {
return m.Size()
}
func (m *UpdateTaskQueueUserDataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateTaskQueueUserDataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateTaskQueueUserDataRequest proto.InternalMessageInfo
func (m *UpdateTaskQueueUserDataRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *UpdateTaskQueueUserDataRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *UpdateTaskQueueUserDataRequest) GetUserData() *v110.VersionedTaskQueueUserData {
if m != nil {
return m.UserData
}
return nil
}
func (m *UpdateTaskQueueUserDataRequest) GetBuildIdsAdded() []string {
if m != nil {
return m.BuildIdsAdded
}
return nil
}
func (m *UpdateTaskQueueUserDataRequest) GetBuildIdsRemoved() []string {
if m != nil {
return m.BuildIdsRemoved
}
return nil
}
type UpdateTaskQueueUserDataResponse struct {
}
func (m *UpdateTaskQueueUserDataResponse) Reset() { *m = UpdateTaskQueueUserDataResponse{} }
func (*UpdateTaskQueueUserDataResponse) ProtoMessage() {}
func (*UpdateTaskQueueUserDataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{31}
}
func (m *UpdateTaskQueueUserDataResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateTaskQueueUserDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateTaskQueueUserDataResponse.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 *UpdateTaskQueueUserDataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateTaskQueueUserDataResponse.Merge(m, src)
}
func (m *UpdateTaskQueueUserDataResponse) XXX_Size() int {
return m.Size()
}
func (m *UpdateTaskQueueUserDataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateTaskQueueUserDataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateTaskQueueUserDataResponse proto.InternalMessageInfo
type ReplicateTaskQueueUserDataRequest struct {
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
UserData *v110.TaskQueueUserData `protobuf:"bytes,3,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
}
func (m *ReplicateTaskQueueUserDataRequest) Reset() { *m = ReplicateTaskQueueUserDataRequest{} }
func (*ReplicateTaskQueueUserDataRequest) ProtoMessage() {}
func (*ReplicateTaskQueueUserDataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{32}
}
func (m *ReplicateTaskQueueUserDataRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ReplicateTaskQueueUserDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ReplicateTaskQueueUserDataRequest.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 *ReplicateTaskQueueUserDataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplicateTaskQueueUserDataRequest.Merge(m, src)
}
func (m *ReplicateTaskQueueUserDataRequest) XXX_Size() int {
return m.Size()
}
func (m *ReplicateTaskQueueUserDataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ReplicateTaskQueueUserDataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ReplicateTaskQueueUserDataRequest proto.InternalMessageInfo
func (m *ReplicateTaskQueueUserDataRequest) GetNamespaceId() string {
if m != nil {
return m.NamespaceId
}
return ""
}
func (m *ReplicateTaskQueueUserDataRequest) GetTaskQueue() string {
if m != nil {
return m.TaskQueue
}
return ""
}
func (m *ReplicateTaskQueueUserDataRequest) GetUserData() *v110.TaskQueueUserData {
if m != nil {
return m.UserData
}
return nil
}
type ReplicateTaskQueueUserDataResponse struct {
}
func (m *ReplicateTaskQueueUserDataResponse) Reset() { *m = ReplicateTaskQueueUserDataResponse{} }
func (*ReplicateTaskQueueUserDataResponse) ProtoMessage() {}
func (*ReplicateTaskQueueUserDataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a429a3813476c583, []int{33}
}
func (m *ReplicateTaskQueueUserDataResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ReplicateTaskQueueUserDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ReplicateTaskQueueUserDataResponse.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 *ReplicateTaskQueueUserDataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplicateTaskQueueUserDataResponse.Merge(m, src)
}
func (m *ReplicateTaskQueueUserDataResponse) XXX_Size() int {
return m.Size()
}
func (m *ReplicateTaskQueueUserDataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ReplicateTaskQueueUserDataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ReplicateTaskQueueUserDataResponse proto.InternalMessageInfo
func init() {
proto.RegisterType((*PollWorkflowTaskQueueRequest)(nil), "temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueRequest")
proto.RegisterType((*PollWorkflowTaskQueueResponse)(nil), "temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueResponse")
proto.RegisterMapType((map[string]*v12.WorkflowQuery)(nil), "temporal.server.api.matchingservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry")
proto.RegisterType((*PollActivityTaskQueueRequest)(nil), "temporal.server.api.matchingservice.v1.PollActivityTaskQueueRequest")
proto.RegisterType((*PollActivityTaskQueueResponse)(nil), "temporal.server.api.matchingservice.v1.PollActivityTaskQueueResponse")
proto.RegisterType((*AddWorkflowTaskRequest)(nil), "temporal.server.api.matchingservice.v1.AddWorkflowTaskRequest")
proto.RegisterType((*AddWorkflowTaskResponse)(nil), "temporal.server.api.matchingservice.v1.AddWorkflowTaskResponse")
proto.RegisterType((*AddActivityTaskRequest)(nil), "temporal.server.api.matchingservice.v1.AddActivityTaskRequest")
proto.RegisterType((*AddActivityTaskResponse)(nil), "temporal.server.api.matchingservice.v1.AddActivityTaskResponse")
proto.RegisterType((*QueryWorkflowRequest)(nil), "temporal.server.api.matchingservice.v1.QueryWorkflowRequest")
proto.RegisterType((*QueryWorkflowResponse)(nil), "temporal.server.api.matchingservice.v1.QueryWorkflowResponse")
proto.RegisterType((*RespondQueryTaskCompletedRequest)(nil), "temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedRequest")
proto.RegisterType((*RespondQueryTaskCompletedResponse)(nil), "temporal.server.api.matchingservice.v1.RespondQueryTaskCompletedResponse")
proto.RegisterType((*CancelOutstandingPollRequest)(nil), "temporal.server.api.matchingservice.v1.CancelOutstandingPollRequest")
proto.RegisterType((*CancelOutstandingPollResponse)(nil), "temporal.server.api.matchingservice.v1.CancelOutstandingPollResponse")
proto.RegisterType((*DescribeTaskQueueRequest)(nil), "temporal.server.api.matchingservice.v1.DescribeTaskQueueRequest")
proto.RegisterType((*DescribeTaskQueueResponse)(nil), "temporal.server.api.matchingservice.v1.DescribeTaskQueueResponse")
proto.RegisterType((*ListTaskQueuePartitionsRequest)(nil), "temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsRequest")
proto.RegisterType((*ListTaskQueuePartitionsResponse)(nil), "temporal.server.api.matchingservice.v1.ListTaskQueuePartitionsResponse")
proto.RegisterType((*UpdateWorkerBuildIdCompatibilityRequest)(nil), "temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest")
proto.RegisterType((*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest)(nil), "temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest.ApplyPublicRequest")
proto.RegisterType((*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds)(nil), "temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityRequest.RemoveBuildIds")
proto.RegisterType((*UpdateWorkerBuildIdCompatibilityResponse)(nil), "temporal.server.api.matchingservice.v1.UpdateWorkerBuildIdCompatibilityResponse")
proto.RegisterType((*GetWorkerBuildIdCompatibilityRequest)(nil), "temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityRequest")
proto.RegisterType((*GetWorkerBuildIdCompatibilityResponse)(nil), "temporal.server.api.matchingservice.v1.GetWorkerBuildIdCompatibilityResponse")
proto.RegisterType((*GetTaskQueueUserDataRequest)(nil), "temporal.server.api.matchingservice.v1.GetTaskQueueUserDataRequest")
proto.RegisterType((*GetTaskQueueUserDataResponse)(nil), "temporal.server.api.matchingservice.v1.GetTaskQueueUserDataResponse")
proto.RegisterType((*ApplyTaskQueueUserDataReplicationEventRequest)(nil), "temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventRequest")
proto.RegisterType((*ApplyTaskQueueUserDataReplicationEventResponse)(nil), "temporal.server.api.matchingservice.v1.ApplyTaskQueueUserDataReplicationEventResponse")
proto.RegisterType((*GetBuildIdTaskQueueMappingRequest)(nil), "temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingRequest")
proto.RegisterType((*GetBuildIdTaskQueueMappingResponse)(nil), "temporal.server.api.matchingservice.v1.GetBuildIdTaskQueueMappingResponse")
proto.RegisterType((*ForceUnloadTaskQueueRequest)(nil), "temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueRequest")
proto.RegisterType((*ForceUnloadTaskQueueResponse)(nil), "temporal.server.api.matchingservice.v1.ForceUnloadTaskQueueResponse")
proto.RegisterType((*UpdateTaskQueueUserDataRequest)(nil), "temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataRequest")
proto.RegisterType((*UpdateTaskQueueUserDataResponse)(nil), "temporal.server.api.matchingservice.v1.UpdateTaskQueueUserDataResponse")
proto.RegisterType((*ReplicateTaskQueueUserDataRequest)(nil), "temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataRequest")
proto.RegisterType((*ReplicateTaskQueueUserDataResponse)(nil), "temporal.server.api.matchingservice.v1.ReplicateTaskQueueUserDataResponse")
}
func init() {
proto.RegisterFile("temporal/server/api/matchingservice/v1/request_response.proto", fileDescriptor_a429a3813476c583)
}
var fileDescriptor_a429a3813476c583 = []byte{
// 2442 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcf, 0x73, 0x1b, 0x49,
0xf5, 0xf7, 0x58, 0xb2, 0x2d, 0x3d, 0xc9, 0xb6, 0x3c, 0xdf, 0x6c, 0x22, 0x3b, 0x8e, 0x6c, 0xcf,
0x66, 0x37, 0x4e, 0x2a, 0x2b, 0x7f, 0x63, 0x48, 0x6a, 0xb3, 0x90, 0x5d, 0x1c, 0xc7, 0x1b, 0x7b,
0x37, 0x59, 0x9c, 0x89, 0x13, 0xa8, 0x2c, 0xc5, 0x6c, 0x6b, 0xa6, 0x23, 0x0f, 0x1e, 0xcd, 0x4c,
0xa6, 0x7b, 0xa4, 0x98, 0x13, 0x67, 0xb8, 0x2c, 0x45, 0x15, 0x05, 0xc5, 0x9d, 0x02, 0xaa, 0x38,
0xc1, 0x65, 0xff, 0x00, 0xaa, 0x38, 0x70, 0xc8, 0x71, 0x6f, 0x10, 0xa7, 0x8a, 0xa2, 0x80, 0xc3,
0xf2, 0x1f, 0x50, 0xfd, 0x63, 0x66, 0xf4, 0x63, 0x64, 0xc9, 0x8e, 0xc3, 0x52, 0xdc, 0xac, 0xd7,
0xef, 0xbd, 0x7e, 0xef, 0xf5, 0xa7, 0x3f, 0xef, 0xb5, 0x64, 0xb8, 0x41, 0x71, 0xc3, 0xf7, 0x02,
0xe4, 0xac, 0x10, 0x1c, 0x34, 0x71, 0xb0, 0x82, 0x7c, 0x7b, 0xa5, 0x81, 0xa8, 0xb9, 0x6b, 0xbb,
0x75, 0x26, 0xb2, 0x4d, 0xbc, 0xd2, 0xbc, 0xb2, 0x12, 0xe0, 0x27, 0x21, 0x26, 0xd4, 0x08, 0x30,
0xf1, 0x3d, 0x97, 0xe0, 0xaa, 0x1f, 0x78, 0xd4, 0x53, 0xdf, 0x8c, 0xcc, 0xab, 0xc2, 0xbc, 0x8a,
0x7c, 0xbb, 0xda, 0x65, 0x5e, 0x6d, 0x5e, 0x99, 0xab, 0xd4, 0x3d, 0xaf, 0xee, 0xe0, 0x15, 0x6e,
0x55, 0x0b, 0x1f, 0xaf, 0x58, 0x61, 0x80, 0xa8, 0xed, 0xb9, 0xc2, 0xcf, 0xdc, 0x42, 0xf7, 0x3a,
0xb5, 0x1b, 0x98, 0x50, 0xd4, 0xf0, 0xa5, 0xc2, 0x92, 0x85, 0x7d, 0xec, 0x5a, 0xd8, 0x35, 0x6d,
0x4c, 0x56, 0xea, 0x5e, 0xdd, 0xe3, 0x72, 0xfe, 0x97, 0x54, 0x39, 0x1f, 0xa7, 0xc2, 0x72, 0x30,
0xbd, 0x46, 0xc3, 0x73, 0x59, 0xe8, 0x0d, 0x4c, 0x08, 0xaa, 0xcb, 0x88, 0xe7, 0xde, 0xec, 0xd0,
0xc2, 0x6e, 0xd8, 0x20, 0x4c, 0x89, 0x22, 0xb2, 0x67, 0x3c, 0x09, 0x71, 0x18, 0xe9, 0x5d, 0xe8,
0xd0, 0x63, 0xcb, 0x7c, 0xb5, 0xd7, 0xe1, 0xeb, 0x1d, 0x8a, 0x4f, 0x42, 0x1c, 0xec, 0x0f, 0xda,
0x95, 0xcb, 0x4c, 0xcf, 0xe9, 0xd5, 0xbb, 0x94, 0x76, 0x1c, 0xa6, 0xe3, 0x99, 0x7b, 0xbd, 0xba,
0x17, 0xd2, 0x74, 0x3b, 0x12, 0x92, 0x8a, 0x97, 0xd3, 0x14, 0x77, 0x6d, 0x42, 0xbd, 0xb4, 0x50,
0xbf, 0x9a, 0xa6, 0xed, 0xe3, 0x80, 0xd8, 0x84, 0x62, 0x57, 0xa0, 0x21, 0xa9, 0x16, 0x91, 0x56,
0xd5, 0x34, 0xab, 0x43, 0xaa, 0x76, 0xad, 0xa3, 0x20, 0x2d, 0x2f, 0xd8, 0x7b, 0xec, 0x78, 0xad,
0x81, 0x80, 0xd3, 0xfe, 0xa1, 0xc0, 0xfc, 0xb6, 0xe7, 0x38, 0xdf, 0x92, 0x16, 0x3b, 0x88, 0xec,
0xdd, 0x63, 0x5b, 0xe8, 0x42, 0x5f, 0x5d, 0x82, 0xa2, 0x8b, 0x1a, 0x98, 0xf8, 0xc8, 0xc4, 0x86,
0x6d, 0x95, 0x95, 0x45, 0x65, 0x39, 0xaf, 0x17, 0x62, 0xd9, 0x96, 0xa5, 0x9e, 0x85, 0xbc, 0xef,
0x39, 0x0e, 0x0e, 0xd8, 0xfa, 0x28, 0x5f, 0xcf, 0x09, 0xc1, 0x96, 0xa5, 0x7e, 0x02, 0x45, 0xf6,
0xb7, 0x21, 0xf7, 0x2f, 0x67, 0x16, 0x95, 0xe5, 0xc2, 0xea, 0x8d, 0x38, 0x3f, 0x8e, 0xf0, 0xae,
0x78, 0xab, 0xcd, 0x2b, 0xd5, 0xc3, 0x82, 0xd2, 0x0b, 0xcc, 0x65, 0x14, 0xe1, 0x45, 0x28, 0x3d,
0xf6, 0x82, 0x16, 0x0a, 0x2c, 0x6c, 0x19, 0xc4, 0x0b, 0x03, 0x13, 0x97, 0xb3, 0x3c, 0x8a, 0xe9,
0x58, 0x7e, 0x9f, 0x8b, 0xb5, 0x3f, 0xe5, 0xe1, 0x5c, 0x1f, 0xc7, 0xa2, 0x2a, 0xea, 0x39, 0x00,
0x7e, 0x18, 0xd4, 0xdb, 0xc3, 0x2e, 0x4f, 0xb6, 0xa8, 0xe7, 0x99, 0x64, 0x87, 0x09, 0xd4, 0x6f,
0x83, 0x1a, 0xc5, 0x6a, 0xe0, 0xa7, 0xd8, 0x0c, 0xd9, 0x9d, 0xe3, 0x39, 0x17, 0x56, 0x2f, 0x76,
0xe6, 0x24, 0x2e, 0x0c, 0x4b, 0x25, 0xda, 0x6d, 0x23, 0x32, 0xd0, 0x67, 0x5a, 0xdd, 0x22, 0x75,
0x0b, 0x26, 0x63, 0xcf, 0x74, 0xdf, 0xc7, 0xb2, 0x50, 0xe7, 0x07, 0x39, 0xdd, 0xd9, 0xf7, 0xb1,
0x5e, 0x6c, 0xb5, 0x7d, 0x52, 0xaf, 0xc3, 0xac, 0x1f, 0xe0, 0xa6, 0xed, 0x85, 0xc4, 0x20, 0x14,
0x05, 0x14, 0x5b, 0x06, 0x6e, 0x62, 0x97, 0xb2, 0xf3, 0x61, 0x95, 0xc9, 0xe8, 0xa7, 0x23, 0x85,
0xfb, 0x62, 0x7d, 0x83, 0x2d, 0x6f, 0x59, 0xea, 0x32, 0x94, 0x7a, 0x2c, 0xc6, 0xb8, 0xc5, 0x14,
0xe9, 0xd4, 0x2c, 0xc3, 0x04, 0xa2, 0x2c, 0x36, 0x5a, 0x1e, 0x5f, 0x54, 0x96, 0xc7, 0xf4, 0xe8,
0xa3, 0xaa, 0xc1, 0xa4, 0x8b, 0x9f, 0xd2, 0xc4, 0xc1, 0x04, 0x77, 0x50, 0x60, 0xc2, 0xc8, 0xfa,
0x32, 0xa8, 0x35, 0x64, 0xee, 0x39, 0x5e, 0xdd, 0x30, 0xbd, 0xd0, 0xa5, 0xc6, 0xae, 0xed, 0xd2,
0x72, 0x8e, 0x2b, 0x96, 0xe4, 0xca, 0x3a, 0x5b, 0xd8, 0xb4, 0x5d, 0xaa, 0xbe, 0x0d, 0x65, 0x42,
0x6d, 0x73, 0x6f, 0x3f, 0xa9, 0xb9, 0x81, 0x5d, 0x54, 0x73, 0xb0, 0x55, 0xce, 0x2f, 0x2a, 0xcb,
0x39, 0xfd, 0xb4, 0x58, 0x8f, 0xcb, 0xb9, 0x21, 0x56, 0xd5, 0x77, 0x60, 0x8c, 0x33, 0x48, 0x19,
0xd2, 0xaa, 0xc9, 0x97, 0xda, 0x8b, 0x79, 0x8f, 0x09, 0x74, 0x61, 0xa2, 0x3e, 0x81, 0x33, 0x34,
0x40, 0x2e, 0xb1, 0x59, 0x1a, 0xc9, 0xd9, 0x20, 0xb2, 0x57, 0x2e, 0x70, 0x6f, 0xd7, 0xab, 0x69,
0x6c, 0x2d, 0x89, 0x80, 0xb9, 0xdd, 0x89, 0xcc, 0xdb, 0xf1, 0xb6, 0xe5, 0x3e, 0xf6, 0xf4, 0xd7,
0x68, 0xda, 0x92, 0x5a, 0x87, 0x73, 0xbd, 0xf0, 0x32, 0x12, 0x76, 0x28, 0x17, 0xd3, 0xd2, 0x88,
0x69, 0x81, 0xef, 0x19, 0x43, 0x7a, 0xae, 0x07, 0x64, 0xf1, 0x1a, 0xbb, 0xd5, 0xb5, 0x00, 0xb9,
0xe6, 0xae, 0x04, 0xfa, 0x14, 0x07, 0x7a, 0x41, 0xc8, 0x04, 0xd4, 0x6f, 0xc3, 0x14, 0x31, 0x77,
0xb1, 0x15, 0x3a, 0xd8, 0x32, 0x58, 0xfb, 0x28, 0x4f, 0xf3, 0xcd, 0xe7, 0xaa, 0xa2, 0xb7, 0x54,
0xa3, 0xde, 0x52, 0xdd, 0x89, 0x7a, 0xcb, 0xcd, 0xec, 0xa7, 0x7f, 0x5e, 0x50, 0xf4, 0xc9, 0xd8,
0x8e, 0xad, 0xa8, 0xeb, 0x50, 0x8c, 0x30, 0xc5, 0xdd, 0x94, 0x86, 0x74, 0x53, 0x90, 0x56, 0xdc,
0x89, 0x03, 0x13, 0xec, 0x54, 0x6c, 0x4c, 0xca, 0x33, 0x8b, 0x99, 0xe5, 0xc2, 0xaa, 0x5e, 0x1d,
0xae, 0x55, 0x56, 0x0f, 0xbd, 0xef, 0xd5, 0x7b, 0xc2, 0xe9, 0x86, 0x4b, 0x83, 0x7d, 0x3d, 0xda,
0x42, 0xbd, 0x01, 0x39, 0x49, 0xaf, 0xa4, 0xac, 0xf2, 0xed, 0x96, 0x3a, 0x4b, 0x1e, 0x75, 0x1c,
0xb6, 0xc1, 0x5d, 0xa1, 0xa9, 0xc7, 0x26, 0x73, 0x9f, 0x40, 0xb1, 0xdd, 0xaf, 0x5a, 0x82, 0xcc,
0x1e, 0xde, 0x97, 0xd4, 0xc9, 0xfe, 0x64, 0xb8, 0x6c, 0x22, 0x27, 0xc4, 0x92, 0x3a, 0x86, 0xc4,
0x25, 0x37, 0x79, 0x67, 0xf4, 0x6d, 0xe5, 0x83, 0x6c, 0x6e, 0xb2, 0x34, 0x15, 0x93, 0xf7, 0x9a,
0x49, 0xed, 0xa6, 0x4d, 0xf7, 0xff, 0xab, 0xc8, 0xbb, 0x5f, 0x50, 0xc7, 0x27, 0xef, 0x9c, 0x20,
0xef, 0x14, 0xc7, 0x5f, 0x36, 0x79, 0x2f, 0x40, 0x01, 0xc9, 0xa8, 0x58, 0x19, 0x33, 0x3c, 0x01,
0x88, 0x44, 0x5b, 0x16, 0x63, 0xf7, 0x58, 0x81, 0xb3, 0x7b, 0xf6, 0x70, 0x76, 0x8f, 0x73, 0xe4,
0xec, 0x8e, 0xda, 0x3e, 0xa9, 0xd7, 0x60, 0xcc, 0x76, 0xfd, 0x90, 0x72, 0x5e, 0x2e, 0xac, 0x2e,
0xf6, 0x73, 0xb1, 0x8d, 0xf6, 0x1d, 0x0f, 0x59, 0x44, 0x17, 0xea, 0x29, 0xf7, 0x79, 0xfc, 0x78,
0xf7, 0xf9, 0x11, 0xcc, 0x46, 0x02, 0x83, 0x7a, 0x86, 0xe9, 0x78, 0x04, 0x73, 0x87, 0x5e, 0x48,
0x39, 0xd7, 0x17, 0x56, 0x67, 0x7b, 0x7c, 0xde, 0x92, 0xf3, 0xe9, 0xcd, 0xec, 0xcf, 0x98, 0xcb,
0xd3, 0x91, 0x87, 0x1d, 0x6f, 0x9d, 0xd9, 0xef, 0x08, 0xf3, 0x1e, 0xae, 0xc8, 0x1d, 0x87, 0x2b,
0x76, 0xe0, 0x34, 0xff, 0xd8, 0x1b, 0x5d, 0x7e, 0xb8, 0xe8, 0xfe, 0x8f, 0x9b, 0x77, 0x85, 0x76,
0x07, 0x66, 0x76, 0x31, 0x0a, 0x68, 0x0d, 0x23, 0x1a, 0x3b, 0x84, 0xe1, 0x1c, 0x96, 0x62, 0xcb,
0xc8, 0x5b, 0x5b, 0xfb, 0x2c, 0x74, 0xb6, 0x4f, 0x0c, 0x15, 0x33, 0x0c, 0x02, 0xd6, 0x74, 0xa4,
0xc8, 0xe8, 0x3a, 0xb7, 0xe2, 0x90, 0x45, 0x39, 0x2b, 0xfd, 0xac, 0x09, 0x37, 0xf7, 0x3b, 0x4e,
0xf1, 0x6e, 0x7b, 0x3a, 0x16, 0xa6, 0xc8, 0x76, 0x48, 0x79, 0x72, 0x48, 0x48, 0x25, 0xf9, 0xdc,
0x12, 0x96, 0xbd, 0xe3, 0xcb, 0xd4, 0xb1, 0xc7, 0x97, 0xb7, 0xda, 0xae, 0x69, 0xcc, 0x54, 0xbc,
0xf9, 0xe4, 0x93, 0xbb, 0xf7, 0x51, 0xb4, 0xa0, 0x5e, 0x83, 0xf1, 0x5d, 0x8c, 0x2c, 0x1c, 0xc8,
0xc6, 0x52, 0xe9, 0xb7, 0xe5, 0x26, 0xd7, 0xd2, 0xa5, 0xb6, 0xf6, 0xd7, 0x2c, 0x9c, 0x5e, 0xb3,
0xac, 0xf6, 0xd6, 0x70, 0x04, 0xda, 0xbc, 0x0d, 0xf9, 0x97, 0xa0, 0x90, 0xc4, 0x56, 0x5d, 0x97,
0x9c, 0x25, 0xfa, 0x7b, 0xe6, 0x08, 0xfd, 0x9d, 0x33, 0x9b, 0x68, 0xe7, 0x97, 0x41, 0x4d, 0x30,
0xd2, 0x35, 0xea, 0x95, 0xe2, 0x95, 0x68, 0xf8, 0xea, 0xba, 0xc0, 0xf2, 0xae, 0x48, 0x44, 0x8f,
0x1d, 0xf9, 0x02, 0xf3, 0x11, 0x32, 0xc2, 0x75, 0x1a, 0x9f, 0x8f, 0xa7, 0xf2, 0xb9, 0xfa, 0x0d,
0x18, 0x97, 0x0a, 0x8c, 0x34, 0xa6, 0x56, 0x97, 0x53, 0x3b, 0x3a, 0x7f, 0x80, 0x45, 0x89, 0x0b,
0x4b, 0x5d, 0xda, 0xa9, 0xef, 0xc1, 0x18, 0x7f, 0xcb, 0xc9, 0x7b, 0x7d, 0x31, 0xd5, 0x01, 0xd7,
0x60, 0x0e, 0x1e, 0x62, 0x93, 0x7a, 0xc1, 0x3a, 0xfb, 0xa8, 0x0b, 0x3b, 0xd5, 0x84, 0x99, 0x26,
0x7b, 0x89, 0x79, 0xae, 0x61, 0xd9, 0x01, 0x66, 0x34, 0x8b, 0xe5, 0x9d, 0xbe, 0x96, 0xea, 0xac,
0xe7, 0x28, 0x1e, 0x0a, 0xf3, 0x5b, 0x91, 0xb5, 0x5e, 0x6a, 0x76, 0x49, 0xb4, 0x59, 0x38, 0xd3,
0x83, 0x33, 0xd1, 0xb0, 0xb4, 0x7f, 0x0a, 0x0c, 0xb6, 0x77, 0xb4, 0x2f, 0x1f, 0x83, 0xd9, 0x93,
0xc4, 0xe0, 0xd8, 0x71, 0x30, 0x38, 0x7e, 0xf2, 0x18, 0x9c, 0x18, 0x84, 0xc1, 0xdc, 0xff, 0x32,
0x06, 0x3f, 0xc8, 0xe6, 0x32, 0xa5, 0xac, 0x44, 0x62, 0x27, 0xda, 0x24, 0x12, 0xff, 0x3e, 0x0a,
0xa7, 0xf8, 0x94, 0x19, 0x01, 0xe5, 0x08, 0x38, 0xec, 0x84, 0xcf, 0xe8, 0xf1, 0xe0, 0xf3, 0x08,
0x26, 0xf9, 0xd8, 0xdb, 0x35, 0x6b, 0x5e, 0x1d, 0x38, 0x6b, 0xa6, 0x45, 0xad, 0x17, 0xb9, 0xaf,
0xa3, 0x0f, 0x99, 0xe9, 0xa7, 0x31, 0x76, 0xc2, 0x8c, 0xf0, 0x6b, 0x05, 0x5e, 0xeb, 0x0a, 0x5b,
0x4e, 0xb0, 0xeb, 0x50, 0x8c, 0xaa, 0x40, 0x42, 0x87, 0xf2, 0x6a, 0x0f, 0xd3, 0x90, 0x0b, 0x32,
0x5f, 0x66, 0xa4, 0x7e, 0x08, 0x53, 0x91, 0x93, 0xef, 0x61, 0x93, 0x62, 0x6b, 0xc0, 0x2b, 0x43,
0xbc, 0x2e, 0xa4, 0xae, 0x3e, 0xf9, 0xa4, 0xfd, 0xa3, 0xf6, 0x93, 0x51, 0x58, 0x14, 0xe1, 0x59,
0x5c, 0x8f, 0xa5, 0xb8, 0xee, 0x35, 0x7c, 0x07, 0x33, 0xe5, 0xff, 0x30, 0x48, 0xce, 0xc0, 0x04,
0x77, 0x12, 0xcf, 0xd8, 0xe3, 0xec, 0xe3, 0x96, 0xa5, 0xba, 0x30, 0x63, 0x46, 0x41, 0xc5, 0x08,
0x12, 0x44, 0xb6, 0x36, 0x10, 0x41, 0x83, 0xd2, 0xd3, 0x4b, 0x66, 0x97, 0x44, 0x7b, 0x1d, 0x96,
0x0e, 0xb1, 0x92, 0x77, 0xea, 0x5f, 0x0a, 0xcc, 0xaf, 0x23, 0xd7, 0xc4, 0xce, 0x37, 0x43, 0x4a,
0x28, 0x72, 0x2d, 0xdb, 0xad, 0x6f, 0xb7, 0x3d, 0x7e, 0x86, 0x28, 0xdb, 0x1d, 0x98, 0x4e, 0xca,
0x26, 0x26, 0xab, 0x51, 0xce, 0x54, 0x5d, 0xb5, 0xeb, 0xa0, 0x28, 0x5e, 0x2c, 0x3e, 0x59, 0x4d,
0xd2, 0xf6, 0x8f, 0x27, 0x33, 0x6c, 0x74, 0xbc, 0x18, 0xb3, 0x9d, 0x2f, 0x46, 0x6d, 0x01, 0xce,
0xf5, 0x49, 0x59, 0x16, 0xe5, 0x17, 0x0a, 0x94, 0x6f, 0x61, 0x62, 0x06, 0x76, 0x0d, 0x1f, 0xe7,
0xbd, 0xfa, 0x1d, 0x28, 0x5a, 0x98, 0x98, 0xf1, 0x21, 0x8f, 0x76, 0x7f, 0x15, 0xd3, 0xe7, 0x90,
0xfb, 0xed, 0xa9, 0x17, 0x98, 0xbb, 0xe8, 0x5c, 0x7f, 0xaf, 0xc0, 0x6c, 0x8a, 0xa6, 0xbc, 0x9d,
0xef, 0xc1, 0x84, 0x48, 0x94, 0x94, 0x15, 0xfe, 0xad, 0xc0, 0x1b, 0x87, 0xd4, 0x6e, 0x5b, 0x94,
0xc4, 0x7d, 0xec, 0xe9, 0x91, 0x95, 0xfa, 0x10, 0x66, 0xda, 0x4e, 0x93, 0x50, 0x44, 0x43, 0x22,
0x33, 0xb8, 0x34, 0xcc, 0x31, 0xdc, 0xe7, 0x16, 0xfa, 0x34, 0xed, 0x14, 0x68, 0xbf, 0x54, 0xa0,
0x72, 0xc7, 0x26, 0x34, 0x56, 0xdc, 0x46, 0x01, 0xb5, 0x59, 0xab, 0x24, 0x51, 0x69, 0xe7, 0x21,
0x9f, 0x0c, 0xd3, 0xa2, 0xae, 0x89, 0xa0, 0xa7, 0xf0, 0x99, 0x57, 0x73, 0x81, 0xb5, 0x9f, 0x8f,
0xc2, 0x42, 0xdf, 0x40, 0x65, 0x95, 0xbf, 0x0f, 0x95, 0xe4, 0xad, 0x9c, 0x54, 0xcb, 0x8f, 0x35,
0x65, 0xf1, 0xaf, 0x0e, 0xb3, 0x79, 0xec, 0xff, 0x2e, 0xa6, 0xc8, 0x42, 0x14, 0xe9, 0x67, 0x51,
0xf7, 0xf7, 0x07, 0x49, 0x0c, 0x6c, 0xef, 0x8e, 0x6f, 0xfa, 0x7a, 0xf7, 0x1e, 0x7d, 0xa9, 0xbd,
0x5b, 0xdd, 0x5f, 0x44, 0x25, 0x7b, 0x6b, 0x9f, 0x8d, 0xc1, 0x85, 0x07, 0xbe, 0x85, 0x28, 0x66,
0x6d, 0x01, 0x07, 0x37, 0x43, 0xdb, 0xb1, 0xb6, 0x2c, 0xc6, 0x2b, 0x88, 0xda, 0x35, 0xdb, 0xb1,
0xe9, 0xfe, 0x11, 0x2e, 0xca, 0xb9, 0x9e, 0xf3, 0xca, 0xb7, 0xdf, 0xe2, 0x9f, 0x2a, 0x70, 0x0a,
0xf9, 0xbe, 0xb3, 0x6f, 0xf8, 0x61, 0xcd, 0xb1, 0xcd, 0xae, 0xbe, 0x5b, 0x1b, 0xf6, 0xeb, 0xb5,
0x21, 0x23, 0xae, 0xae, 0xb1, 0xbd, 0xb6, 0xf9, 0x56, 0x52, 0xb4, 0x39, 0xa2, 0xab, 0xa8, 0x47,
0xaa, 0xfe, 0x50, 0x81, 0x52, 0x80, 0x1b, 0x5e, 0x13, 0x1b, 0x35, 0xe6, 0xcf, 0xb0, 0x2d, 0x22,
0xa9, 0xfc, 0xbb, 0x27, 0x1d, 0x94, 0xce, 0xf7, 0x91, 0x1a, 0x64, 0x73, 0x44, 0x9f, 0x0a, 0x3a,
0x24, 0xea, 0x75, 0x28, 0xcb, 0x9f, 0x6a, 0x8c, 0xd0, 0xdd, 0x73, 0xbd, 0x96, 0x1b, 0x07, 0xc5,
0xa7, 0x82, 0xfc, 0xe6, 0x88, 0xfe, 0x9a, 0xd4, 0x78, 0x20, 0x14, 0xa4, 0xed, 0xdc, 0x53, 0x50,
0x7b, 0x73, 0x56, 0x6b, 0x30, 0x11, 0x15, 0x5a, 0xf4, 0xf6, 0xcd, 0x81, 0xcc, 0x35, 0x64, 0x32,
0x7a, 0xe4, 0x78, 0xce, 0x82, 0xa9, 0xce, 0xc4, 0xd4, 0xab, 0x70, 0x46, 0x04, 0x1f, 0x12, 0x1c,
0x18, 0x0c, 0x8a, 0x86, 0x1c, 0x4a, 0x78, 0x14, 0x19, 0xfd, 0x14, 0x5f, 0x7e, 0x40, 0x70, 0x70,
0x0b, 0x51, 0x24, 0x47, 0x18, 0xc6, 0xf4, 0xc9, 0x11, 0x30, 0xe0, 0xe7, 0xf5, 0x5c, 0x4d, 0xfa,
0xbc, 0x59, 0x80, 0xbc, 0xe7, 0x63, 0x31, 0x90, 0x6b, 0x97, 0x60, 0x79, 0x70, 0x98, 0xb2, 0x03,
0xfc, 0x46, 0x81, 0xf3, 0xb7, 0x31, 0x3d, 0x11, 0x90, 0x1b, 0x49, 0x39, 0x05, 0x23, 0x6d, 0x0c,
0x2c, 0xe7, 0x30, 0x5b, 0xc7, 0xb5, 0xd4, 0x7e, 0xa4, 0xc0, 0x1b, 0x03, 0x2c, 0x24, 0x6d, 0xd5,
0x20, 0x17, 0xfd, 0xb6, 0x26, 0x8f, 0xf6, 0xfd, 0x97, 0x8d, 0x45, 0x78, 0xd3, 0x63, 0xbf, 0xda,
0x8f, 0x47, 0xe1, 0xec, 0x6d, 0x9c, 0xb0, 0x67, 0x74, 0x60, 0x27, 0x47, 0x0b, 0x29, 0xf3, 0xc6,
0xd8, 0xf1, 0xe7, 0x8d, 0x77, 0x61, 0xde, 0x41, 0x84, 0x1a, 0xfd, 0xc0, 0x97, 0xe1, 0xe0, 0x2b,
0x33, 0x9d, 0x0f, 0xd3, 0x00, 0xa8, 0xc1, 0x64, 0x0b, 0xd9, 0xd4, 0x70, 0x71, 0x8b, 0x1b, 0x72,
0x1e, 0xc8, 0xe9, 0x05, 0x26, 0xfc, 0x08, 0xb7, 0x98, 0xaa, 0xf6, 0x3b, 0x05, 0xe6, 0xd3, 0x6b,
0x22, 0x0f, 0xe6, 0x1a, 0x94, 0xdb, 0x52, 0xda, 0x45, 0x24, 0x09, 0x84, 0x17, 0x28, 0xa7, 0x9f,
0x8a, 0xa3, 0xde, 0x44, 0x24, 0xb2, 0x57, 0x3f, 0x86, 0x7c, 0xa2, 0x28, 0xd0, 0xf5, 0x6e, 0x2a,
0x01, 0xb5, 0xfd, 0x98, 0x2b, 0xde, 0x78, 0x3c, 0x78, 0x6c, 0xf5, 0x86, 0x94, 0x0b, 0xe5, 0x5f,
0xda, 0x1f, 0x14, 0x78, 0x8b, 0xd3, 0x43, 0x4a, 0xdc, 0xbe, 0x63, 0x9b, 0xfc, 0x5a, 0xf1, 0xc7,
0xf2, 0xc9, 0x9d, 0xad, 0xde, 0x9e, 0x50, 0xcf, 0xf3, 0xaa, 0x7f, 0x42, 0x87, 0xe5, 0xf1, 0xff,
0x50, 0x1d, 0x36, 0x0d, 0x89, 0x61, 0x04, 0x4b, 0xb7, 0x31, 0x95, 0x80, 0x8f, 0xcd, 0xee, 0x22,
0xdf, 0xb7, 0xdd, 0xfa, 0x11, 0x92, 0x9d, 0x85, 0x5c, 0x4c, 0xc5, 0x22, 0xd5, 0x09, 0xc9, 0x4d,
0xda, 0x06, 0x68, 0x87, 0x6d, 0x21, 0x71, 0xb1, 0x00, 0x85, 0xb6, 0xdf, 0xdd, 0xf9, 0x50, 0x91,
0xd7, 0x21, 0x2e, 0x17, 0xd1, 0x7e, 0xab, 0xc0, 0xd9, 0xf7, 0xbd, 0xc0, 0xc4, 0x0f, 0x5c, 0xf6,
0xca, 0x3a, 0xce, 0xb4, 0x7a, 0xf4, 0xdb, 0x96, 0x39, 0xf6, 0x6d, 0xd3, 0x6e, 0xc0, 0x7c, 0x7a,
0xb8, 0xc9, 0xcf, 0x23, 0x2d, 0x44, 0x0c, 0xb6, 0x88, 0x2d, 0x09, 0xfd, 0x7c, 0x0b, 0x91, 0x3b,
0x5c, 0xc0, 0x5e, 0x7a, 0x15, 0x41, 0xe2, 0xaf, 0x90, 0x5f, 0x3e, 0xee, 0xc5, 0xe0, 0x89, 0x5d,
0x2a, 0xf5, 0x4d, 0x98, 0x8e, 0xfb, 0x95, 0x81, 0x2c, 0x96, 0x65, 0x96, 0x9f, 0xea, 0x64, 0xd4,
0xb5, 0xd6, 0x98, 0x50, 0xbd, 0x04, 0x33, 0x89, 0x9e, 0xe8, 0xf8, 0xac, 0x9d, 0x33, 0xcd, 0xe9,
0x48, 0x53, 0x74, 0x50, 0x4b, 0x5b, 0x82, 0x85, 0xbe, 0x45, 0x91, 0x88, 0xfe, 0x4c, 0x61, 0xaf,
0x41, 0x01, 0xf7, 0x57, 0x59, 0xbb, 0x57, 0x71, 0x7f, 0xcf, 0x83, 0x76, 0x58, 0xe8, 0x22, 0xc3,
0x9b, 0xc1, 0xb3, 0xe7, 0x95, 0x91, 0xcf, 0x9f, 0x57, 0x46, 0xbe, 0x78, 0x5e, 0x51, 0x7e, 0x70,
0x50, 0x51, 0x7e, 0x75, 0x50, 0x51, 0xfe, 0x78, 0x50, 0x51, 0x9e, 0x1d, 0x54, 0x94, 0xbf, 0x1c,
0x54, 0x94, 0xbf, 0x1d, 0x54, 0x46, 0xbe, 0x38, 0xa8, 0x28, 0x9f, 0xbe, 0xa8, 0x8c, 0x3c, 0x7b,
0x51, 0x19, 0xf9, 0xfc, 0x45, 0x65, 0xe4, 0xd1, 0xd7, 0xeb, 0x5e, 0x12, 0x9e, 0xed, 0x1d, 0xfe,
0x1f, 0x51, 0x5f, 0xeb, 0x12, 0xd5, 0xc6, 0xf9, 0xd7, 0x7e, 0x5f, 0xf9, 0x77, 0x00, 0x00, 0x00,
0xff, 0xff, 0xa5, 0xff, 0x36, 0x34, 0x52, 0x25, 0x00, 0x00,
}
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.NamespaceId != that1.NamespaceId {
return false
}
if this.PollerId != that1.PollerId {
return false
}
if !this.PollRequest.Equal(that1.PollRequest) {
return false
}
if this.ForwardedSource != that1.ForwardedSource {
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.NextEventId != that1.NextEventId {
return false
}
if this.BacklogCountHint != that1.BacklogCountHint {
return false
}
if this.StickyExecutionEnabled != that1.StickyExecutionEnabled {
return false
}
if !this.Query.Equal(that1.Query) {
return false
}
if !this.TransientWorkflowTask.Equal(that1.TransientWorkflowTask) {
return false
}
if !this.WorkflowExecutionTaskQueue.Equal(that1.WorkflowExecutionTaskQueue) {
return false
}
if !bytes.Equal(this.BranchToken, that1.BranchToken) {
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
}
}
if len(this.Messages) != len(that1.Messages) {
return false
}
for i := range this.Messages {
if !this.Messages[i].Equal(that1.Messages[i]) {
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.NamespaceId != that1.NamespaceId {
return false
}
if this.PollerId != that1.PollerId {
return false
}
if !this.PollRequest.Equal(that1.PollRequest) {
return false
}
if this.ForwardedSource != that1.ForwardedSource {
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.WorkflowExecution.Equal(that1.WorkflowExecution) {
return false
}
if this.ActivityId != that1.ActivityId {
return false
}
if !this.ActivityType.Equal(that1.ActivityType) {
return false
}
if !this.Input.Equal(that1.Input) {
return false
}
if that1.ScheduledTime == nil {
if this.ScheduledTime != nil {
return false
}
} else if !this.ScheduledTime.Equal(*that1.ScheduledTime) {
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 that1.StartedTime == nil {
if this.StartedTime != nil {
return false
}
} else if !this.StartedTime.Equal(*that1.StartedTime) {
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.Attempt != that1.Attempt {
return false
}
if that1.CurrentAttemptScheduledTime == nil {
if this.CurrentAttemptScheduledTime != nil {
return false
}
} else if !this.CurrentAttemptScheduledTime.Equal(*that1.CurrentAttemptScheduledTime) {
return false
}
if !this.HeartbeatDetails.Equal(that1.HeartbeatDetails) {
return false
}
if !this.WorkflowType.Equal(that1.WorkflowType) {
return false
}
if this.WorkflowNamespace != that1.WorkflowNamespace {
return false
}
if !this.Header.Equal(that1.Header) {
return false
}
return true
}
func (this *AddWorkflowTaskRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*AddWorkflowTaskRequest)
if !ok {
that2, ok := that.(AddWorkflowTaskRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if !this.Execution.Equal(that1.Execution) {
return false
}
if !this.TaskQueue.Equal(that1.TaskQueue) {
return false
}
if this.ScheduledEventId != that1.ScheduledEventId {
return false
}
if this.ScheduleToStartTimeout != nil && that1.ScheduleToStartTimeout != nil {
if *this.ScheduleToStartTimeout != *that1.ScheduleToStartTimeout {
return false
}
} else if this.ScheduleToStartTimeout != nil {
return false
} else if that1.ScheduleToStartTimeout != nil {
return false
}
if this.ForwardedSource != that1.ForwardedSource {
return false
}
if this.Source != that1.Source {
return false
}
if !this.Clock.Equal(that1.Clock) {
return false
}
if !this.VersionDirective.Equal(that1.VersionDirective) {
return false
}
return true
}
func (this *AddWorkflowTaskResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*AddWorkflowTaskResponse)
if !ok {
that2, ok := that.(AddWorkflowTaskResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
return true
}
func (this *AddActivityTaskRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*AddActivityTaskRequest)
if !ok {
that2, ok := that.(AddActivityTaskRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if !this.Execution.Equal(that1.Execution) {
return false
}
if !this.TaskQueue.Equal(that1.TaskQueue) {
return false
}
if this.ScheduledEventId != that1.ScheduledEventId {
return false
}
if this.ScheduleToStartTimeout != nil && that1.ScheduleToStartTimeout != nil {
if *this.ScheduleToStartTimeout != *that1.ScheduleToStartTimeout {
return false
}
} else if this.ScheduleToStartTimeout != nil {
return false
} else if that1.ScheduleToStartTimeout != nil {
return false
}
if this.ForwardedSource != that1.ForwardedSource {
return false
}
if this.Source != that1.Source {
return false
}
if !this.Clock.Equal(that1.Clock) {
return false
}
if !this.VersionDirective.Equal(that1.VersionDirective) {
return false
}
return true
}
func (this *AddActivityTaskResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*AddActivityTaskResponse)
if !ok {
that2, ok := that.(AddActivityTaskResponse)
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.NamespaceId != that1.NamespaceId {
return false
}
if !this.TaskQueue.Equal(that1.TaskQueue) {
return false
}
if !this.QueryRequest.Equal(that1.QueryRequest) {
return false
}
if this.ForwardedSource != that1.ForwardedSource {
return false
}
if !this.VersionDirective.Equal(that1.VersionDirective) {
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 *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 this.NamespaceId != that1.NamespaceId {
return false
}
if !this.TaskQueue.Equal(that1.TaskQueue) {
return false
}
if this.TaskId != that1.TaskId {
return false
}
if !this.CompletedRequest.Equal(that1.CompletedRequest) {
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 *CancelOutstandingPollRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*CancelOutstandingPollRequest)
if !ok {
that2, ok := that.(CancelOutstandingPollRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueueType != that1.TaskQueueType {
return false
}
if !this.TaskQueue.Equal(that1.TaskQueue) {
return false
}
if this.PollerId != that1.PollerId {
return false
}
return true
}
func (this *CancelOutstandingPollResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*CancelOutstandingPollResponse)
if !ok {
that2, ok := that.(CancelOutstandingPollResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
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.NamespaceId != that1.NamespaceId {
return false
}
if !this.DescRequest.Equal(that1.DescRequest) {
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 *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.NamespaceId != that1.NamespaceId {
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 *UpdateWorkerBuildIdCompatibilityRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if that1.Operation == nil {
if this.Operation != nil {
return false
}
} else if this.Operation == nil {
return false
} else if !this.Operation.Equal(that1.Operation) {
return false
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.ApplyPublicRequest.Equal(that1.ApplyPublicRequest) {
return false
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.RemoveBuildIds.Equal(that1.RemoveBuildIds) {
return false
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.PersistUnknownBuildId != that1.PersistUnknownBuildId {
return false
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.Request.Equal(that1.Request) {
return false
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.KnownUserDataVersion != that1.KnownUserDataVersion {
return false
}
if len(this.BuildIds) != len(that1.BuildIds) {
return false
}
for i := range this.BuildIds {
if this.BuildIds[i] != that1.BuildIds[i] {
return false
}
}
return true
}
func (this *UpdateWorkerBuildIdCompatibilityResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateWorkerBuildIdCompatibilityResponse)
if !ok {
that2, ok := that.(UpdateWorkerBuildIdCompatibilityResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
return true
}
func (this *GetWorkerBuildIdCompatibilityRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetWorkerBuildIdCompatibilityRequest)
if !ok {
that2, ok := that.(GetWorkerBuildIdCompatibilityRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if !this.Request.Equal(that1.Request) {
return false
}
return true
}
func (this *GetWorkerBuildIdCompatibilityResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetWorkerBuildIdCompatibilityResponse)
if !ok {
that2, ok := that.(GetWorkerBuildIdCompatibilityResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.Response.Equal(that1.Response) {
return false
}
return true
}
func (this *GetTaskQueueUserDataRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetTaskQueueUserDataRequest)
if !ok {
that2, ok := that.(GetTaskQueueUserDataRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if this.TaskQueueType != that1.TaskQueueType {
return false
}
if this.LastKnownUserDataVersion != that1.LastKnownUserDataVersion {
return false
}
if this.WaitNewData != that1.WaitNewData {
return false
}
return true
}
func (this *GetTaskQueueUserDataResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetTaskQueueUserDataResponse)
if !ok {
that2, ok := that.(GetTaskQueueUserDataResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.TaskQueueHasUserData != that1.TaskQueueHasUserData {
return false
}
if !this.UserData.Equal(that1.UserData) {
return false
}
return true
}
func (this *ApplyTaskQueueUserDataReplicationEventRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ApplyTaskQueueUserDataReplicationEventRequest)
if !ok {
that2, ok := that.(ApplyTaskQueueUserDataReplicationEventRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if !this.UserData.Equal(that1.UserData) {
return false
}
return true
}
func (this *ApplyTaskQueueUserDataReplicationEventResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ApplyTaskQueueUserDataReplicationEventResponse)
if !ok {
that2, ok := that.(ApplyTaskQueueUserDataReplicationEventResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
return true
}
func (this *GetBuildIdTaskQueueMappingRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetBuildIdTaskQueueMappingRequest)
if !ok {
that2, ok := that.(GetBuildIdTaskQueueMappingRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.BuildId != that1.BuildId {
return false
}
return true
}
func (this *GetBuildIdTaskQueueMappingResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetBuildIdTaskQueueMappingResponse)
if !ok {
that2, ok := that.(GetBuildIdTaskQueueMappingResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if len(this.TaskQueues) != len(that1.TaskQueues) {
return false
}
for i := range this.TaskQueues {
if this.TaskQueues[i] != that1.TaskQueues[i] {
return false
}
}
return true
}
func (this *ForceUnloadTaskQueueRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ForceUnloadTaskQueueRequest)
if !ok {
that2, ok := that.(ForceUnloadTaskQueueRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if this.TaskQueueType != that1.TaskQueueType {
return false
}
return true
}
func (this *ForceUnloadTaskQueueResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ForceUnloadTaskQueueResponse)
if !ok {
that2, ok := that.(ForceUnloadTaskQueueResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.WasLoaded != that1.WasLoaded {
return false
}
return true
}
func (this *UpdateTaskQueueUserDataRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateTaskQueueUserDataRequest)
if !ok {
that2, ok := that.(UpdateTaskQueueUserDataRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if !this.UserData.Equal(that1.UserData) {
return false
}
if len(this.BuildIdsAdded) != len(that1.BuildIdsAdded) {
return false
}
for i := range this.BuildIdsAdded {
if this.BuildIdsAdded[i] != that1.BuildIdsAdded[i] {
return false
}
}
if len(this.BuildIdsRemoved) != len(that1.BuildIdsRemoved) {
return false
}
for i := range this.BuildIdsRemoved {
if this.BuildIdsRemoved[i] != that1.BuildIdsRemoved[i] {
return false
}
}
return true
}
func (this *UpdateTaskQueueUserDataResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*UpdateTaskQueueUserDataResponse)
if !ok {
that2, ok := that.(UpdateTaskQueueUserDataResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
return true
}
func (this *ReplicateTaskQueueUserDataRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ReplicateTaskQueueUserDataRequest)
if !ok {
that2, ok := that.(ReplicateTaskQueueUserDataRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.NamespaceId != that1.NamespaceId {
return false
}
if this.TaskQueue != that1.TaskQueue {
return false
}
if !this.UserData.Equal(that1.UserData) {
return false
}
return true
}
func (this *ReplicateTaskQueueUserDataResponse) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ReplicateTaskQueueUserDataResponse)
if !ok {
that2, ok := that.(ReplicateTaskQueueUserDataResponse)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
return true
}
func (this *PollWorkflowTaskQueueRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 8)
s = append(s, "&matchingservice.PollWorkflowTaskQueueRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "PollerId: "+fmt.Sprintf("%#v", this.PollerId)+",\n")
if this.PollRequest != nil {
s = append(s, "PollRequest: "+fmt.Sprintf("%#v", this.PollRequest)+",\n")
}
s = append(s, "ForwardedSource: "+fmt.Sprintf("%#v", this.ForwardedSource)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *PollWorkflowTaskQueueResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 21)
s = append(s, "&matchingservice.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, "NextEventId: "+fmt.Sprintf("%#v", this.NextEventId)+",\n")
s = append(s, "BacklogCountHint: "+fmt.Sprintf("%#v", this.BacklogCountHint)+",\n")
s = append(s, "StickyExecutionEnabled: "+fmt.Sprintf("%#v", this.StickyExecutionEnabled)+",\n")
if this.Query != nil {
s = append(s, "Query: "+fmt.Sprintf("%#v", this.Query)+",\n")
}
if this.TransientWorkflowTask != nil {
s = append(s, "TransientWorkflowTask: "+fmt.Sprintf("%#v", this.TransientWorkflowTask)+",\n")
}
if this.WorkflowExecutionTaskQueue != nil {
s = append(s, "WorkflowExecutionTaskQueue: "+fmt.Sprintf("%#v", this.WorkflowExecutionTaskQueue)+",\n")
}
s = append(s, "BranchToken: "+fmt.Sprintf("%#v", this.BranchToken)+",\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]*v12.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")
}
if this.Messages != nil {
s = append(s, "Messages: "+fmt.Sprintf("%#v", this.Messages)+",\n")
}
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, "&matchingservice.PollActivityTaskQueueRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "PollerId: "+fmt.Sprintf("%#v", this.PollerId)+",\n")
if this.PollRequest != nil {
s = append(s, "PollRequest: "+fmt.Sprintf("%#v", this.PollRequest)+",\n")
}
s = append(s, "ForwardedSource: "+fmt.Sprintf("%#v", this.ForwardedSource)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *PollActivityTaskQueueResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 20)
s = append(s, "&matchingservice.PollActivityTaskQueueResponse{")
s = append(s, "TaskToken: "+fmt.Sprintf("%#v", this.TaskToken)+",\n")
if this.WorkflowExecution != nil {
s = append(s, "WorkflowExecution: "+fmt.Sprintf("%#v", this.WorkflowExecution)+",\n")
}
s = append(s, "ActivityId: "+fmt.Sprintf("%#v", this.ActivityId)+",\n")
if this.ActivityType != nil {
s = append(s, "ActivityType: "+fmt.Sprintf("%#v", this.ActivityType)+",\n")
}
if this.Input != nil {
s = append(s, "Input: "+fmt.Sprintf("%#v", this.Input)+",\n")
}
s = append(s, "ScheduledTime: "+fmt.Sprintf("%#v", this.ScheduledTime)+",\n")
s = append(s, "ScheduleToCloseTimeout: "+fmt.Sprintf("%#v", this.ScheduleToCloseTimeout)+",\n")
s = append(s, "StartedTime: "+fmt.Sprintf("%#v", this.StartedTime)+",\n")
s = append(s, "StartToCloseTimeout: "+fmt.Sprintf("%#v", this.StartToCloseTimeout)+",\n")
s = append(s, "HeartbeatTimeout: "+fmt.Sprintf("%#v", this.HeartbeatTimeout)+",\n")
s = append(s, "Attempt: "+fmt.Sprintf("%#v", this.Attempt)+",\n")
s = append(s, "CurrentAttemptScheduledTime: "+fmt.Sprintf("%#v", this.CurrentAttemptScheduledTime)+",\n")
if this.HeartbeatDetails != nil {
s = append(s, "HeartbeatDetails: "+fmt.Sprintf("%#v", this.HeartbeatDetails)+",\n")
}
if this.WorkflowType != nil {
s = append(s, "WorkflowType: "+fmt.Sprintf("%#v", this.WorkflowType)+",\n")
}
s = append(s, "WorkflowNamespace: "+fmt.Sprintf("%#v", this.WorkflowNamespace)+",\n")
if this.Header != nil {
s = append(s, "Header: "+fmt.Sprintf("%#v", this.Header)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *AddWorkflowTaskRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 13)
s = append(s, "&matchingservice.AddWorkflowTaskRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.Execution != nil {
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
}
if this.TaskQueue != nil {
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
}
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
s = append(s, "ScheduleToStartTimeout: "+fmt.Sprintf("%#v", this.ScheduleToStartTimeout)+",\n")
s = append(s, "ForwardedSource: "+fmt.Sprintf("%#v", this.ForwardedSource)+",\n")
s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n")
if this.Clock != nil {
s = append(s, "Clock: "+fmt.Sprintf("%#v", this.Clock)+",\n")
}
if this.VersionDirective != nil {
s = append(s, "VersionDirective: "+fmt.Sprintf("%#v", this.VersionDirective)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *AddWorkflowTaskResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.AddWorkflowTaskResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *AddActivityTaskRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 13)
s = append(s, "&matchingservice.AddActivityTaskRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.Execution != nil {
s = append(s, "Execution: "+fmt.Sprintf("%#v", this.Execution)+",\n")
}
if this.TaskQueue != nil {
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
}
s = append(s, "ScheduledEventId: "+fmt.Sprintf("%#v", this.ScheduledEventId)+",\n")
s = append(s, "ScheduleToStartTimeout: "+fmt.Sprintf("%#v", this.ScheduleToStartTimeout)+",\n")
s = append(s, "ForwardedSource: "+fmt.Sprintf("%#v", this.ForwardedSource)+",\n")
s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n")
if this.Clock != nil {
s = append(s, "Clock: "+fmt.Sprintf("%#v", this.Clock)+",\n")
}
if this.VersionDirective != nil {
s = append(s, "VersionDirective: "+fmt.Sprintf("%#v", this.VersionDirective)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *AddActivityTaskResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.AddActivityTaskResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *QueryWorkflowRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 9)
s = append(s, "&matchingservice.QueryWorkflowRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.TaskQueue != nil {
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
}
if this.QueryRequest != nil {
s = append(s, "QueryRequest: "+fmt.Sprintf("%#v", this.QueryRequest)+",\n")
}
s = append(s, "ForwardedSource: "+fmt.Sprintf("%#v", this.ForwardedSource)+",\n")
if this.VersionDirective != nil {
s = append(s, "VersionDirective: "+fmt.Sprintf("%#v", this.VersionDirective)+",\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, "&matchingservice.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 *RespondQueryTaskCompletedRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 8)
s = append(s, "&matchingservice.RespondQueryTaskCompletedRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.TaskQueue != nil {
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
}
s = append(s, "TaskId: "+fmt.Sprintf("%#v", this.TaskId)+",\n")
if this.CompletedRequest != nil {
s = append(s, "CompletedRequest: "+fmt.Sprintf("%#v", this.CompletedRequest)+",\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, "&matchingservice.RespondQueryTaskCompletedResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *CancelOutstandingPollRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 8)
s = append(s, "&matchingservice.CancelOutstandingPollRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueueType: "+fmt.Sprintf("%#v", this.TaskQueueType)+",\n")
if this.TaskQueue != nil {
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
}
s = append(s, "PollerId: "+fmt.Sprintf("%#v", this.PollerId)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *CancelOutstandingPollResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.CancelOutstandingPollResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *DescribeTaskQueueRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&matchingservice.DescribeTaskQueueRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.DescRequest != nil {
s = append(s, "DescRequest: "+fmt.Sprintf("%#v", this.DescRequest)+",\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, "&matchingservice.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 *ListTaskQueuePartitionsRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 7)
s = append(s, "&matchingservice.ListTaskQueuePartitionsRequest{")
s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\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, "&matchingservice.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 (this *UpdateWorkerBuildIdCompatibilityRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 9)
s = append(s, "&matchingservice.UpdateWorkerBuildIdCompatibilityRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
if this.Operation != nil {
s = append(s, "Operation: "+fmt.Sprintf("%#v", this.Operation)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) GoString() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&matchingservice.UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_{` +
`ApplyPublicRequest:` + fmt.Sprintf("%#v", this.ApplyPublicRequest) + `}`}, ", ")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) GoString() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&matchingservice.UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_{` +
`RemoveBuildIds:` + fmt.Sprintf("%#v", this.RemoveBuildIds) + `}`}, ", ")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) GoString() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&matchingservice.UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId{` +
`PersistUnknownBuildId:` + fmt.Sprintf("%#v", this.PersistUnknownBuildId) + `}`}, ", ")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 5)
s = append(s, "&matchingservice.UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest{")
if this.Request != nil {
s = append(s, "Request: "+fmt.Sprintf("%#v", this.Request)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&matchingservice.UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds{")
s = append(s, "KnownUserDataVersion: "+fmt.Sprintf("%#v", this.KnownUserDataVersion)+",\n")
s = append(s, "BuildIds: "+fmt.Sprintf("%#v", this.BuildIds)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *UpdateWorkerBuildIdCompatibilityResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.UpdateWorkerBuildIdCompatibilityResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetWorkerBuildIdCompatibilityRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&matchingservice.GetWorkerBuildIdCompatibilityRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
if this.Request != nil {
s = append(s, "Request: "+fmt.Sprintf("%#v", this.Request)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetWorkerBuildIdCompatibilityResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 5)
s = append(s, "&matchingservice.GetWorkerBuildIdCompatibilityResponse{")
if this.Response != nil {
s = append(s, "Response: "+fmt.Sprintf("%#v", this.Response)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetTaskQueueUserDataRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 9)
s = append(s, "&matchingservice.GetTaskQueueUserDataRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
s = append(s, "TaskQueueType: "+fmt.Sprintf("%#v", this.TaskQueueType)+",\n")
s = append(s, "LastKnownUserDataVersion: "+fmt.Sprintf("%#v", this.LastKnownUserDataVersion)+",\n")
s = append(s, "WaitNewData: "+fmt.Sprintf("%#v", this.WaitNewData)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetTaskQueueUserDataResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&matchingservice.GetTaskQueueUserDataResponse{")
s = append(s, "TaskQueueHasUserData: "+fmt.Sprintf("%#v", this.TaskQueueHasUserData)+",\n")
if this.UserData != nil {
s = append(s, "UserData: "+fmt.Sprintf("%#v", this.UserData)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ApplyTaskQueueUserDataReplicationEventRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 7)
s = append(s, "&matchingservice.ApplyTaskQueueUserDataReplicationEventRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
if this.UserData != nil {
s = append(s, "UserData: "+fmt.Sprintf("%#v", this.UserData)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ApplyTaskQueueUserDataReplicationEventResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.ApplyTaskQueueUserDataReplicationEventResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetBuildIdTaskQueueMappingRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&matchingservice.GetBuildIdTaskQueueMappingRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "BuildId: "+fmt.Sprintf("%#v", this.BuildId)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *GetBuildIdTaskQueueMappingResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 5)
s = append(s, "&matchingservice.GetBuildIdTaskQueueMappingResponse{")
s = append(s, "TaskQueues: "+fmt.Sprintf("%#v", this.TaskQueues)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ForceUnloadTaskQueueRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 7)
s = append(s, "&matchingservice.ForceUnloadTaskQueueRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
s = append(s, "TaskQueueType: "+fmt.Sprintf("%#v", this.TaskQueueType)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ForceUnloadTaskQueueResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 5)
s = append(s, "&matchingservice.ForceUnloadTaskQueueResponse{")
s = append(s, "WasLoaded: "+fmt.Sprintf("%#v", this.WasLoaded)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *UpdateTaskQueueUserDataRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 9)
s = append(s, "&matchingservice.UpdateTaskQueueUserDataRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
if this.UserData != nil {
s = append(s, "UserData: "+fmt.Sprintf("%#v", this.UserData)+",\n")
}
s = append(s, "BuildIdsAdded: "+fmt.Sprintf("%#v", this.BuildIdsAdded)+",\n")
s = append(s, "BuildIdsRemoved: "+fmt.Sprintf("%#v", this.BuildIdsRemoved)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *UpdateTaskQueueUserDataResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.UpdateTaskQueueUserDataResponse{")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ReplicateTaskQueueUserDataRequest) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 7)
s = append(s, "&matchingservice.ReplicateTaskQueueUserDataRequest{")
s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n")
s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n")
if this.UserData != nil {
s = append(s, "UserData: "+fmt.Sprintf("%#v", this.UserData)+",\n")
}
s = append(s, "}")
return strings.Join(s, "")
}
func (this *ReplicateTaskQueueUserDataResponse) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 4)
s = append(s, "&matchingservice.ReplicateTaskQueueUserDataResponse{")
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 *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.ForwardedSource) > 0 {
i -= len(m.ForwardedSource)
copy(dAtA[i:], m.ForwardedSource)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ForwardedSource)))
i--
dAtA[i] = 0x22
}
if m.PollRequest != nil {
{
size, err := m.PollRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.PollerId) > 0 {
i -= len(m.PollerId)
copy(dAtA[i:], m.PollerId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PollerId)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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.Messages) > 0 {
for iNdEx := len(m.Messages) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Messages[iNdEx].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 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] = 0x1
i--
dAtA[i] = 0x8a
}
}
if m.StartedTime != nil {
n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime):])
if err3 != nil {
return 0, err3
}
i -= n3
i = encodeVarintRequestResponse(dAtA, i, uint64(n3))
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x82
}
if m.ScheduledTime != nil {
n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime):])
if err4 != nil {
return 0, err4
}
i -= n4
i = encodeVarintRequestResponse(dAtA, i, uint64(n4))
i--
dAtA[i] = 0x7a
}
if len(m.BranchToken) > 0 {
i -= len(m.BranchToken)
copy(dAtA[i:], m.BranchToken)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BranchToken)))
i--
dAtA[i] = 0x72
}
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] = 0x62
}
if m.TransientWorkflowTask != nil {
{
size, err := m.TransientWorkflowTask.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 m.StickyExecutionEnabled {
i--
if m.StickyExecutionEnabled {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x48
}
if m.BacklogCountHint != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.BacklogCountHint))
i--
dAtA[i] = 0x40
}
if m.NextEventId != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.NextEventId))
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 *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 len(m.ForwardedSource) > 0 {
i -= len(m.ForwardedSource)
copy(dAtA[i:], m.ForwardedSource)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ForwardedSource)))
i--
dAtA[i] = 0x22
}
if m.PollRequest != nil {
{
size, err := m.PollRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.PollerId) > 0 {
i -= len(m.PollerId)
copy(dAtA[i:], m.PollerId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PollerId)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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.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 len(m.WorkflowNamespace) > 0 {
i -= len(m.WorkflowNamespace)
copy(dAtA[i:], m.WorkflowNamespace)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.WorkflowNamespace)))
i--
dAtA[i] = 0x7a
}
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] = 0x72
}
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] = 0x6a
}
if m.CurrentAttemptScheduledTime != nil {
n14, err14 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CurrentAttemptScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CurrentAttemptScheduledTime):])
if err14 != nil {
return 0, err14
}
i -= n14
i = encodeVarintRequestResponse(dAtA, i, uint64(n14))
i--
dAtA[i] = 0x62
}
if m.Attempt != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Attempt))
i--
dAtA[i] = 0x58
}
if m.HeartbeatTimeout != nil {
n15, err15 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.HeartbeatTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.HeartbeatTimeout):])
if err15 != nil {
return 0, err15
}
i -= n15
i = encodeVarintRequestResponse(dAtA, i, uint64(n15))
i--
dAtA[i] = 0x52
}
if m.StartToCloseTimeout != nil {
n16, err16 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.StartToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.StartToCloseTimeout):])
if err16 != nil {
return 0, err16
}
i -= n16
i = encodeVarintRequestResponse(dAtA, i, uint64(n16))
i--
dAtA[i] = 0x4a
}
if m.StartedTime != nil {
n17, err17 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedTime):])
if err17 != nil {
return 0, err17
}
i -= n17
i = encodeVarintRequestResponse(dAtA, i, uint64(n17))
i--
dAtA[i] = 0x42
}
if m.ScheduleToCloseTimeout != nil {
n18, err18 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToCloseTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout):])
if err18 != nil {
return 0, err18
}
i -= n18
i = encodeVarintRequestResponse(dAtA, i, uint64(n18))
i--
dAtA[i] = 0x3a
}
if m.ScheduledTime != nil {
n19, err19 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.ScheduledTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.ScheduledTime):])
if err19 != nil {
return 0, err19
}
i -= n19
i = encodeVarintRequestResponse(dAtA, i, uint64(n19))
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.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] = 0x22
}
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] = 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 *AddWorkflowTaskRequest) 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 *AddWorkflowTaskRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *AddWorkflowTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.VersionDirective != nil {
{
size, err := m.VersionDirective.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x52
}
if m.Clock != nil {
{
size, err := m.Clock.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x4a
}
if m.Source != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Source))
i--
dAtA[i] = 0x38
}
if len(m.ForwardedSource) > 0 {
i -= len(m.ForwardedSource)
copy(dAtA[i:], m.ForwardedSource)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ForwardedSource)))
i--
dAtA[i] = 0x32
}
if m.ScheduleToStartTimeout != nil {
n25, err25 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToStartTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout):])
if err25 != nil {
return 0, err25
}
i -= n25
i = encodeVarintRequestResponse(dAtA, i, uint64(n25))
i--
dAtA[i] = 0x2a
}
if m.ScheduledEventId != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.ScheduledEventId))
i--
dAtA[i] = 0x20
}
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] = 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.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *AddWorkflowTaskResponse) 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 *AddWorkflowTaskResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *AddWorkflowTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
return len(dAtA) - i, nil
}
func (m *AddActivityTaskRequest) 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 *AddActivityTaskRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *AddActivityTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.VersionDirective != nil {
{
size, err := m.VersionDirective.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x52
}
if m.Clock != nil {
{
size, err := m.Clock.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x4a
}
if m.Source != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.Source))
i--
dAtA[i] = 0x40
}
if len(m.ForwardedSource) > 0 {
i -= len(m.ForwardedSource)
copy(dAtA[i:], m.ForwardedSource)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ForwardedSource)))
i--
dAtA[i] = 0x3a
}
if m.ScheduleToStartTimeout != nil {
n30, err30 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.ScheduleToStartTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout):])
if err30 != nil {
return 0, err30
}
i -= n30
i = encodeVarintRequestResponse(dAtA, i, uint64(n30))
i--
dAtA[i] = 0x32
}
if m.ScheduledEventId != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.ScheduledEventId))
i--
dAtA[i] = 0x28
}
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.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.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *AddActivityTaskResponse) 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 *AddActivityTaskResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *AddActivityTaskResponse) 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.VersionDirective != nil {
{
size, err := m.VersionDirective.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x2a
}
if len(m.ForwardedSource) > 0 {
i -= len(m.ForwardedSource)
copy(dAtA[i:], m.ForwardedSource)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ForwardedSource)))
i--
dAtA[i] = 0x22
}
if m.QueryRequest != nil {
{
size, err := m.QueryRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if m.TaskQueue != nil {
{
size, err := m.TaskQueue.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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 *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 m.CompletedRequest != nil {
{
size, err := m.CompletedRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
if len(m.TaskId) > 0 {
i -= len(m.TaskId)
copy(dAtA[i:], m.TaskId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskId)))
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.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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 *CancelOutstandingPollRequest) 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 *CancelOutstandingPollRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *CancelOutstandingPollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.PollerId) > 0 {
i -= len(m.PollerId)
copy(dAtA[i:], m.PollerId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PollerId)))
i--
dAtA[i] = 0x22
}
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] = 0x1a
}
if m.TaskQueueType != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.TaskQueueType))
i--
dAtA[i] = 0x10
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *CancelOutstandingPollResponse) 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 *CancelOutstandingPollResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *CancelOutstandingPollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
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.DescRequest != nil {
{
size, err := m.DescRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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 *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 len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
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 *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 (m *UpdateWorkerBuildIdCompatibilityRequest) 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 *UpdateWorkerBuildIdCompatibilityRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Operation != nil {
{
size := m.Operation.Size()
i -= size
if _, err := m.Operation.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
}
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.ApplyPublicRequest != nil {
{
size, err := m.ApplyPublicRequest.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
return len(dAtA) - i, nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
if m.RemoveBuildIds != nil {
{
size, err := m.RemoveBuildIds.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
}
return len(dAtA) - i, nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
i -= len(m.PersistUnknownBuildId)
copy(dAtA[i:], m.PersistUnknownBuildId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PersistUnknownBuildId)))
i--
dAtA[i] = 0x2a
return len(dAtA) - i, nil
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) 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 *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Request != nil {
{
size, err := m.Request.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 *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) 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 *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.BuildIds) > 0 {
for iNdEx := len(m.BuildIds) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.BuildIds[iNdEx])
copy(dAtA[i:], m.BuildIds[iNdEx])
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BuildIds[iNdEx])))
i--
dAtA[i] = 0x12
}
}
if m.KnownUserDataVersion != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.KnownUserDataVersion))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) 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 *UpdateWorkerBuildIdCompatibilityResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
return len(dAtA) - i, nil
}
func (m *GetWorkerBuildIdCompatibilityRequest) 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 *GetWorkerBuildIdCompatibilityRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetWorkerBuildIdCompatibilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Request != nil {
{
size, err := m.Request.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *GetWorkerBuildIdCompatibilityResponse) 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 *GetWorkerBuildIdCompatibilityResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetWorkerBuildIdCompatibilityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Response != nil {
{
size, err := m.Response.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 *GetTaskQueueUserDataRequest) 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 *GetTaskQueueUserDataRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetTaskQueueUserDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.TaskQueueType != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.TaskQueueType))
i--
dAtA[i] = 0x28
}
if m.WaitNewData {
i--
if m.WaitNewData {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x20
}
if m.LastKnownUserDataVersion != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.LastKnownUserDataVersion))
i--
dAtA[i] = 0x18
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *GetTaskQueueUserDataResponse) 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 *GetTaskQueueUserDataResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetTaskQueueUserDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.UserData != nil {
{
size, err := m.UserData.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if m.TaskQueueHasUserData {
i--
if m.TaskQueueHasUserData {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) 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 *ApplyTaskQueueUserDataReplicationEventRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.UserData != nil {
{
size, err := m.UserData.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) 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 *ApplyTaskQueueUserDataReplicationEventResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
return len(dAtA) - i, nil
}
func (m *GetBuildIdTaskQueueMappingRequest) 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 *GetBuildIdTaskQueueMappingRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetBuildIdTaskQueueMappingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.BuildId) > 0 {
i -= len(m.BuildId)
copy(dAtA[i:], m.BuildId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BuildId)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *GetBuildIdTaskQueueMappingResponse) 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 *GetBuildIdTaskQueueMappingResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *GetBuildIdTaskQueueMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.TaskQueues) > 0 {
for iNdEx := len(m.TaskQueues) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.TaskQueues[iNdEx])
copy(dAtA[i:], m.TaskQueues[iNdEx])
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueues[iNdEx])))
i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
func (m *ForceUnloadTaskQueueRequest) 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 *ForceUnloadTaskQueueRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ForceUnloadTaskQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.TaskQueueType != 0 {
i = encodeVarintRequestResponse(dAtA, i, uint64(m.TaskQueueType))
i--
dAtA[i] = 0x18
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *ForceUnloadTaskQueueResponse) 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 *ForceUnloadTaskQueueResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ForceUnloadTaskQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.WasLoaded {
i--
if m.WasLoaded {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *UpdateTaskQueueUserDataRequest) 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 *UpdateTaskQueueUserDataRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateTaskQueueUserDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.BuildIdsRemoved) > 0 {
for iNdEx := len(m.BuildIdsRemoved) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.BuildIdsRemoved[iNdEx])
copy(dAtA[i:], m.BuildIdsRemoved[iNdEx])
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BuildIdsRemoved[iNdEx])))
i--
dAtA[i] = 0x2a
}
}
if len(m.BuildIdsAdded) > 0 {
for iNdEx := len(m.BuildIdsAdded) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.BuildIdsAdded[iNdEx])
copy(dAtA[i:], m.BuildIdsAdded[iNdEx])
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BuildIdsAdded[iNdEx])))
i--
dAtA[i] = 0x22
}
}
if m.UserData != nil {
{
size, err := m.UserData.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *UpdateTaskQueueUserDataResponse) 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 *UpdateTaskQueueUserDataResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *UpdateTaskQueueUserDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
return len(dAtA) - i, nil
}
func (m *ReplicateTaskQueueUserDataRequest) 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 *ReplicateTaskQueueUserDataRequest) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ReplicateTaskQueueUserDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.UserData != nil {
{
size, err := m.UserData.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintRequestResponse(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if len(m.TaskQueue) > 0 {
i -= len(m.TaskQueue)
copy(dAtA[i:], m.TaskQueue)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TaskQueue)))
i--
dAtA[i] = 0x12
}
if len(m.NamespaceId) > 0 {
i -= len(m.NamespaceId)
copy(dAtA[i:], m.NamespaceId)
i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceId)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *ReplicateTaskQueueUserDataResponse) 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 *ReplicateTaskQueueUserDataResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ReplicateTaskQueueUserDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
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 *PollWorkflowTaskQueueRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.PollerId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.PollRequest != nil {
l = m.PollRequest.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ForwardedSource)
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.NextEventId != 0 {
n += 1 + sovRequestResponse(uint64(m.NextEventId))
}
if m.BacklogCountHint != 0 {
n += 1 + sovRequestResponse(uint64(m.BacklogCountHint))
}
if m.StickyExecutionEnabled {
n += 2
}
if m.Query != nil {
l = m.Query.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.TransientWorkflowTask != nil {
l = m.TransientWorkflowTask.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.WorkflowExecutionTaskQueue != nil {
l = m.WorkflowExecutionTaskQueue.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.BranchToken)
if l > 0 {
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 += 2 + 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 + 2 + sovRequestResponse(uint64(mapEntrySize))
}
}
if len(m.Messages) > 0 {
for _, e := range m.Messages {
l = e.Size()
n += 2 + l + sovRequestResponse(uint64(l))
}
}
return n
}
func (m *PollActivityTaskQueueRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.PollerId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.PollRequest != nil {
l = m.PollRequest.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ForwardedSource)
if l > 0 {
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))
}
if m.WorkflowExecution != nil {
l = m.WorkflowExecution.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ActivityId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.ActivityType != nil {
l = m.ActivityType.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Input != nil {
l = m.Input.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.ScheduleToCloseTimeout != nil {
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToCloseTimeout)
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.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 += 1 + l + sovRequestResponse(uint64(l))
}
if m.Attempt != 0 {
n += 1 + sovRequestResponse(uint64(m.Attempt))
}
if m.CurrentAttemptScheduledTime != nil {
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CurrentAttemptScheduledTime)
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.HeartbeatDetails != nil {
l = m.HeartbeatDetails.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.WorkflowType != nil {
l = m.WorkflowType.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.WorkflowNamespace)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Header != nil {
l = m.Header.Size()
n += 2 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *AddWorkflowTaskRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
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.TaskQueue != nil {
l = m.TaskQueue.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.ScheduledEventId != 0 {
n += 1 + sovRequestResponse(uint64(m.ScheduledEventId))
}
if m.ScheduleToStartTimeout != nil {
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout)
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ForwardedSource)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Source != 0 {
n += 1 + sovRequestResponse(uint64(m.Source))
}
if m.Clock != nil {
l = m.Clock.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.VersionDirective != nil {
l = m.VersionDirective.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *AddWorkflowTaskResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
return n
}
func (m *AddActivityTaskRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
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.TaskQueue != nil {
l = m.TaskQueue.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.ScheduledEventId != 0 {
n += 1 + sovRequestResponse(uint64(m.ScheduledEventId))
}
if m.ScheduleToStartTimeout != nil {
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.ScheduleToStartTimeout)
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ForwardedSource)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Source != 0 {
n += 1 + sovRequestResponse(uint64(m.Source))
}
if m.Clock != nil {
l = m.Clock.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.VersionDirective != nil {
l = m.VersionDirective.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *AddActivityTaskResponse) 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.NamespaceId)
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.QueryRequest != nil {
l = m.QueryRequest.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.ForwardedSource)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.VersionDirective != nil {
l = m.VersionDirective.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
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 *RespondQueryTaskCompletedRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
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.TaskId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.CompletedRequest != nil {
l = m.CompletedRequest.Size()
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 *CancelOutstandingPollRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.TaskQueueType != 0 {
n += 1 + sovRequestResponse(uint64(m.TaskQueueType))
}
if m.TaskQueue != nil {
l = m.TaskQueue.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.PollerId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *CancelOutstandingPollResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
return n
}
func (m *DescribeTaskQueueRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.DescRequest != nil {
l = m.DescRequest.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
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 *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))
}
l = len(m.NamespaceId)
if l > 0 {
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 (m *UpdateWorkerBuildIdCompatibilityRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Operation != nil {
n += m.Operation.Size()
}
return n
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.ApplyPublicRequest != nil {
l = m.ApplyPublicRequest.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.RemoveBuildIds != nil {
l = m.RemoveBuildIds.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.PersistUnknownBuildId)
n += 1 + l + sovRequestResponse(uint64(l))
return n
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Request != nil {
l = m.Request.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.KnownUserDataVersion != 0 {
n += 1 + sovRequestResponse(uint64(m.KnownUserDataVersion))
}
if len(m.BuildIds) > 0 {
for _, s := range m.BuildIds {
l = len(s)
n += 1 + l + sovRequestResponse(uint64(l))
}
}
return n
}
func (m *UpdateWorkerBuildIdCompatibilityResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
return n
}
func (m *GetWorkerBuildIdCompatibilityRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.Request != nil {
l = m.Request.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *GetWorkerBuildIdCompatibilityResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Response != nil {
l = m.Response.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *GetTaskQueueUserDataRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.LastKnownUserDataVersion != 0 {
n += 1 + sovRequestResponse(uint64(m.LastKnownUserDataVersion))
}
if m.WaitNewData {
n += 2
}
if m.TaskQueueType != 0 {
n += 1 + sovRequestResponse(uint64(m.TaskQueueType))
}
return n
}
func (m *GetTaskQueueUserDataResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.TaskQueueHasUserData {
n += 2
}
if m.UserData != nil {
l = m.UserData.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *ApplyTaskQueueUserDataReplicationEventRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.UserData != nil {
l = m.UserData.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *ApplyTaskQueueUserDataReplicationEventResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
return n
}
func (m *GetBuildIdTaskQueueMappingRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.BuildId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *GetBuildIdTaskQueueMappingResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.TaskQueues) > 0 {
for _, s := range m.TaskQueues {
l = len(s)
n += 1 + l + sovRequestResponse(uint64(l))
}
}
return n
}
func (m *ForceUnloadTaskQueueRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.TaskQueueType != 0 {
n += 1 + sovRequestResponse(uint64(m.TaskQueueType))
}
return n
}
func (m *ForceUnloadTaskQueueResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.WasLoaded {
n += 2
}
return n
}
func (m *UpdateTaskQueueUserDataRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.UserData != nil {
l = m.UserData.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
if len(m.BuildIdsAdded) > 0 {
for _, s := range m.BuildIdsAdded {
l = len(s)
n += 1 + l + sovRequestResponse(uint64(l))
}
}
if len(m.BuildIdsRemoved) > 0 {
for _, s := range m.BuildIdsRemoved {
l = len(s)
n += 1 + l + sovRequestResponse(uint64(l))
}
}
return n
}
func (m *UpdateTaskQueueUserDataResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
return n
}
func (m *ReplicateTaskQueueUserDataRequest) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.NamespaceId)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
l = len(m.TaskQueue)
if l > 0 {
n += 1 + l + sovRequestResponse(uint64(l))
}
if m.UserData != nil {
l = m.UserData.Size()
n += 1 + l + sovRequestResponse(uint64(l))
}
return n
}
func (m *ReplicateTaskQueueUserDataResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = 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 *PollWorkflowTaskQueueRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PollWorkflowTaskQueueRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`PollerId:` + fmt.Sprintf("%v", this.PollerId) + `,`,
`PollRequest:` + strings.Replace(fmt.Sprintf("%v", this.PollRequest), "PollWorkflowTaskQueueRequest", "v1.PollWorkflowTaskQueueRequest", 1) + `,`,
`ForwardedSource:` + fmt.Sprintf("%v", this.ForwardedSource) + `,`,
`}`,
}, "")
return s
}
func (this *PollWorkflowTaskQueueResponse) String() string {
if this == nil {
return "nil"
}
repeatedStringForMessages := "[]*Message{"
for _, f := range this.Messages {
repeatedStringForMessages += strings.Replace(fmt.Sprintf("%v", f), "Message", "v15.Message", 1) + ","
}
repeatedStringForMessages += "}"
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]*v12.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", "v11.WorkflowExecution", 1) + `,`,
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v11.WorkflowType", 1) + `,`,
`PreviousStartedEventId:` + fmt.Sprintf("%v", this.PreviousStartedEventId) + `,`,
`StartedEventId:` + fmt.Sprintf("%v", this.StartedEventId) + `,`,
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
`NextEventId:` + fmt.Sprintf("%v", this.NextEventId) + `,`,
`BacklogCountHint:` + fmt.Sprintf("%v", this.BacklogCountHint) + `,`,
`StickyExecutionEnabled:` + fmt.Sprintf("%v", this.StickyExecutionEnabled) + `,`,
`Query:` + strings.Replace(fmt.Sprintf("%v", this.Query), "WorkflowQuery", "v12.WorkflowQuery", 1) + `,`,
`TransientWorkflowTask:` + strings.Replace(fmt.Sprintf("%v", this.TransientWorkflowTask), "TransientWorkflowTaskInfo", "v13.TransientWorkflowTaskInfo", 1) + `,`,
`WorkflowExecutionTaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecutionTaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`BranchToken:` + fmt.Sprintf("%v", this.BranchToken) + `,`,
`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 + `,`,
`Messages:` + repeatedStringForMessages + `,`,
`}`,
}, "")
return s
}
func (this *PollActivityTaskQueueRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PollActivityTaskQueueRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`PollerId:` + fmt.Sprintf("%v", this.PollerId) + `,`,
`PollRequest:` + strings.Replace(fmt.Sprintf("%v", this.PollRequest), "PollActivityTaskQueueRequest", "v1.PollActivityTaskQueueRequest", 1) + `,`,
`ForwardedSource:` + fmt.Sprintf("%v", this.ForwardedSource) + `,`,
`}`,
}, "")
return s
}
func (this *PollActivityTaskQueueResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PollActivityTaskQueueResponse{`,
`TaskToken:` + fmt.Sprintf("%v", this.TaskToken) + `,`,
`WorkflowExecution:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowExecution), "WorkflowExecution", "v11.WorkflowExecution", 1) + `,`,
`ActivityId:` + fmt.Sprintf("%v", this.ActivityId) + `,`,
`ActivityType:` + strings.Replace(fmt.Sprintf("%v", this.ActivityType), "ActivityType", "v11.ActivityType", 1) + `,`,
`Input:` + strings.Replace(fmt.Sprintf("%v", this.Input), "Payloads", "v11.Payloads", 1) + `,`,
`ScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.ScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
`ScheduleToCloseTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToCloseTimeout), "Duration", "types.Duration", 1) + `,`,
`StartedTime:` + strings.Replace(fmt.Sprintf("%v", this.StartedTime), "Timestamp", "types.Timestamp", 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) + `,`,
`Attempt:` + fmt.Sprintf("%v", this.Attempt) + `,`,
`CurrentAttemptScheduledTime:` + strings.Replace(fmt.Sprintf("%v", this.CurrentAttemptScheduledTime), "Timestamp", "types.Timestamp", 1) + `,`,
`HeartbeatDetails:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatDetails), "Payloads", "v11.Payloads", 1) + `,`,
`WorkflowType:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowType), "WorkflowType", "v11.WorkflowType", 1) + `,`,
`WorkflowNamespace:` + fmt.Sprintf("%v", this.WorkflowNamespace) + `,`,
`Header:` + strings.Replace(fmt.Sprintf("%v", this.Header), "Header", "v11.Header", 1) + `,`,
`}`,
}, "")
return s
}
func (this *AddWorkflowTaskRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AddWorkflowTaskRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v11.WorkflowExecution", 1) + `,`,
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
`ScheduleToStartTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToStartTimeout), "Duration", "types.Duration", 1) + `,`,
`ForwardedSource:` + fmt.Sprintf("%v", this.ForwardedSource) + `,`,
`Source:` + fmt.Sprintf("%v", this.Source) + `,`,
`Clock:` + strings.Replace(fmt.Sprintf("%v", this.Clock), "VectorClock", "v17.VectorClock", 1) + `,`,
`VersionDirective:` + strings.Replace(fmt.Sprintf("%v", this.VersionDirective), "TaskVersionDirective", "v18.TaskVersionDirective", 1) + `,`,
`}`,
}, "")
return s
}
func (this *AddWorkflowTaskResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AddWorkflowTaskResponse{`,
`}`,
}, "")
return s
}
func (this *AddActivityTaskRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AddActivityTaskRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`Execution:` + strings.Replace(fmt.Sprintf("%v", this.Execution), "WorkflowExecution", "v11.WorkflowExecution", 1) + `,`,
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`ScheduledEventId:` + fmt.Sprintf("%v", this.ScheduledEventId) + `,`,
`ScheduleToStartTimeout:` + strings.Replace(fmt.Sprintf("%v", this.ScheduleToStartTimeout), "Duration", "types.Duration", 1) + `,`,
`ForwardedSource:` + fmt.Sprintf("%v", this.ForwardedSource) + `,`,
`Source:` + fmt.Sprintf("%v", this.Source) + `,`,
`Clock:` + strings.Replace(fmt.Sprintf("%v", this.Clock), "VectorClock", "v17.VectorClock", 1) + `,`,
`VersionDirective:` + strings.Replace(fmt.Sprintf("%v", this.VersionDirective), "TaskVersionDirective", "v18.TaskVersionDirective", 1) + `,`,
`}`,
}, "")
return s
}
func (this *AddActivityTaskResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AddActivityTaskResponse{`,
`}`,
}, "")
return s
}
func (this *QueryWorkflowRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&QueryWorkflowRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`QueryRequest:` + strings.Replace(fmt.Sprintf("%v", this.QueryRequest), "QueryWorkflowRequest", "v1.QueryWorkflowRequest", 1) + `,`,
`ForwardedSource:` + fmt.Sprintf("%v", this.ForwardedSource) + `,`,
`VersionDirective:` + strings.Replace(fmt.Sprintf("%v", this.VersionDirective), "TaskVersionDirective", "v18.TaskVersionDirective", 1) + `,`,
`}`,
}, "")
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", "v11.Payloads", 1) + `,`,
`QueryRejected:` + strings.Replace(fmt.Sprintf("%v", this.QueryRejected), "QueryRejected", "v12.QueryRejected", 1) + `,`,
`}`,
}, "")
return s
}
func (this *RespondQueryTaskCompletedRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RespondQueryTaskCompletedRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`TaskId:` + fmt.Sprintf("%v", this.TaskId) + `,`,
`CompletedRequest:` + strings.Replace(fmt.Sprintf("%v", this.CompletedRequest), "RespondQueryTaskCompletedRequest", "v1.RespondQueryTaskCompletedRequest", 1) + `,`,
`}`,
}, "")
return s
}
func (this *RespondQueryTaskCompletedResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RespondQueryTaskCompletedResponse{`,
`}`,
}, "")
return s
}
func (this *CancelOutstandingPollRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CancelOutstandingPollRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueueType:` + fmt.Sprintf("%v", this.TaskQueueType) + `,`,
`TaskQueue:` + strings.Replace(fmt.Sprintf("%v", this.TaskQueue), "TaskQueue", "v14.TaskQueue", 1) + `,`,
`PollerId:` + fmt.Sprintf("%v", this.PollerId) + `,`,
`}`,
}, "")
return s
}
func (this *CancelOutstandingPollResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CancelOutstandingPollResponse{`,
`}`,
}, "")
return s
}
func (this *DescribeTaskQueueRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DescribeTaskQueueRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`DescRequest:` + strings.Replace(fmt.Sprintf("%v", this.DescRequest), "DescribeTaskQueueRequest", "v1.DescribeTaskQueueRequest", 1) + `,`,
`}`,
}, "")
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 *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) + `,`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`}`,
}, "")
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 (this *UpdateWorkerBuildIdCompatibilityRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`Operation:` + fmt.Sprintf("%v", this.Operation) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_{`,
`ApplyPublicRequest:` + strings.Replace(fmt.Sprintf("%v", this.ApplyPublicRequest), "UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest", "UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest", 1) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_{`,
`RemoveBuildIds:` + strings.Replace(fmt.Sprintf("%v", this.RemoveBuildIds), "UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds", "UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds", 1) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId{`,
`PersistUnknownBuildId:` + fmt.Sprintf("%v", this.PersistUnknownBuildId) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest{`,
`Request:` + strings.Replace(fmt.Sprintf("%v", this.Request), "UpdateWorkerBuildIdCompatibilityRequest", "v1.UpdateWorkerBuildIdCompatibilityRequest", 1) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds{`,
`KnownUserDataVersion:` + fmt.Sprintf("%v", this.KnownUserDataVersion) + `,`,
`BuildIds:` + fmt.Sprintf("%v", this.BuildIds) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateWorkerBuildIdCompatibilityResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateWorkerBuildIdCompatibilityResponse{`,
`}`,
}, "")
return s
}
func (this *GetWorkerBuildIdCompatibilityRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetWorkerBuildIdCompatibilityRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`Request:` + strings.Replace(fmt.Sprintf("%v", this.Request), "GetWorkerBuildIdCompatibilityRequest", "v1.GetWorkerBuildIdCompatibilityRequest", 1) + `,`,
`}`,
}, "")
return s
}
func (this *GetWorkerBuildIdCompatibilityResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetWorkerBuildIdCompatibilityResponse{`,
`Response:` + strings.Replace(fmt.Sprintf("%v", this.Response), "GetWorkerBuildIdCompatibilityResponse", "v1.GetWorkerBuildIdCompatibilityResponse", 1) + `,`,
`}`,
}, "")
return s
}
func (this *GetTaskQueueUserDataRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetTaskQueueUserDataRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`LastKnownUserDataVersion:` + fmt.Sprintf("%v", this.LastKnownUserDataVersion) + `,`,
`WaitNewData:` + fmt.Sprintf("%v", this.WaitNewData) + `,`,
`TaskQueueType:` + fmt.Sprintf("%v", this.TaskQueueType) + `,`,
`}`,
}, "")
return s
}
func (this *GetTaskQueueUserDataResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetTaskQueueUserDataResponse{`,
`TaskQueueHasUserData:` + fmt.Sprintf("%v", this.TaskQueueHasUserData) + `,`,
`UserData:` + strings.Replace(fmt.Sprintf("%v", this.UserData), "VersionedTaskQueueUserData", "v110.VersionedTaskQueueUserData", 1) + `,`,
`}`,
}, "")
return s
}
func (this *ApplyTaskQueueUserDataReplicationEventRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ApplyTaskQueueUserDataReplicationEventRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`UserData:` + strings.Replace(fmt.Sprintf("%v", this.UserData), "TaskQueueUserData", "v110.TaskQueueUserData", 1) + `,`,
`}`,
}, "")
return s
}
func (this *ApplyTaskQueueUserDataReplicationEventResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ApplyTaskQueueUserDataReplicationEventResponse{`,
`}`,
}, "")
return s
}
func (this *GetBuildIdTaskQueueMappingRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetBuildIdTaskQueueMappingRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`BuildId:` + fmt.Sprintf("%v", this.BuildId) + `,`,
`}`,
}, "")
return s
}
func (this *GetBuildIdTaskQueueMappingResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&GetBuildIdTaskQueueMappingResponse{`,
`TaskQueues:` + fmt.Sprintf("%v", this.TaskQueues) + `,`,
`}`,
}, "")
return s
}
func (this *ForceUnloadTaskQueueRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ForceUnloadTaskQueueRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`TaskQueueType:` + fmt.Sprintf("%v", this.TaskQueueType) + `,`,
`}`,
}, "")
return s
}
func (this *ForceUnloadTaskQueueResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ForceUnloadTaskQueueResponse{`,
`WasLoaded:` + fmt.Sprintf("%v", this.WasLoaded) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateTaskQueueUserDataRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateTaskQueueUserDataRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`UserData:` + strings.Replace(fmt.Sprintf("%v", this.UserData), "VersionedTaskQueueUserData", "v110.VersionedTaskQueueUserData", 1) + `,`,
`BuildIdsAdded:` + fmt.Sprintf("%v", this.BuildIdsAdded) + `,`,
`BuildIdsRemoved:` + fmt.Sprintf("%v", this.BuildIdsRemoved) + `,`,
`}`,
}, "")
return s
}
func (this *UpdateTaskQueueUserDataResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&UpdateTaskQueueUserDataResponse{`,
`}`,
}, "")
return s
}
func (this *ReplicateTaskQueueUserDataRequest) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicateTaskQueueUserDataRequest{`,
`NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`,
`TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`,
`UserData:` + strings.Replace(fmt.Sprintf("%v", this.UserData), "TaskQueueUserData", "v110.TaskQueueUserData", 1) + `,`,
`}`,
}, "")
return s
}
func (this *ReplicateTaskQueueUserDataResponse) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicateTaskQueueUserDataResponse{`,
`}`,
}, "")
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 *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 NamespaceId", 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PollerId", 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.PollerId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PollRequest", 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.PollRequest == nil {
m.PollRequest = &v1.PollWorkflowTaskQueueRequest{}
}
if err := m.PollRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForwardedSource", 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.ForwardedSource = 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 = &v11.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 = &v11.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 NextEventId", wireType)
}
m.NextEventId = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.NextEventId |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field 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 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field StickyExecutionEnabled", 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.StickyExecutionEnabled = bool(v != 0)
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 = &v12.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 TransientWorkflowTask", 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.TransientWorkflowTask == nil {
m.TransientWorkflowTask = &v13.TransientWorkflowTaskInfo{}
}
if err := m.TransientWorkflowTask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 12:
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 14:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BranchToken", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.BranchToken = append(m.BranchToken[:0], dAtA[iNdEx:postIndex]...)
if m.BranchToken == nil {
m.BranchToken = []byte{}
}
iNdEx = postIndex
case 15:
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 16:
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 17:
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]*v12.WorkflowQuery)
}
var mapkey string
var mapvalue *v12.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 = &v12.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
case 18:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Messages", 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.Messages = append(m.Messages, &v15.Message{})
if err := m.Messages[len(m.Messages)-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 *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 NamespaceId", 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PollerId", 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.PollerId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PollRequest", 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.PollRequest == nil {
m.PollRequest = &v1.PollActivityTaskQueueRequest{}
}
if err := m.PollRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForwardedSource", 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.ForwardedSource = 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 *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 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 = &v11.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 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 4:
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 = &v11.ActivityType{}
}
if err := m.ActivityType.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 = &v11.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 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 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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 8:
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 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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 11:
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 12:
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 13:
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 = &v11.Payloads{}
}
if err := m.HeartbeatDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 14:
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 = &v11.WorkflowType{}
}
if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 15:
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 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 = &v11.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 *AddWorkflowTaskRequest) 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: AddWorkflowTaskRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AddWorkflowTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = 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 = &v11.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 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 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType)
}
m.ScheduledEventId = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ScheduledEventId |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.ScheduleToStartTimeout == nil {
m.ScheduleToStartTimeout = new(time.Duration)
}
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.ScheduleToStartTimeout, dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForwardedSource", 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.ForwardedSource = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
}
m.Source = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Source |= v16.TaskSource(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Clock", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.Clock == nil {
m.Clock = &v17.VectorClock{}
}
if err := m.Clock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field VersionDirective", 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.VersionDirective == nil {
m.VersionDirective = &v18.TaskVersionDirective{}
}
if err := m.VersionDirective.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 *AddWorkflowTaskResponse) 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: AddWorkflowTaskResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AddWorkflowTaskResponse: 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 *AddActivityTaskRequest) 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: AddActivityTaskRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AddActivityTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = 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 = &v11.WorkflowExecution{}
}
if err := m.Execution.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 != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType)
}
m.ScheduledEventId = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ScheduledEventId |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.ScheduleToStartTimeout == nil {
m.ScheduleToStartTimeout = new(time.Duration)
}
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.ScheduleToStartTimeout, dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForwardedSource", 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.ForwardedSource = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
}
m.Source = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Source |= v16.TaskSource(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Clock", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.Clock == nil {
m.Clock = &v17.VectorClock{}
}
if err := m.Clock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field VersionDirective", 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.VersionDirective == nil {
m.VersionDirective = &v18.TaskVersionDirective{}
}
if err := m.VersionDirective.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 *AddActivityTaskResponse) 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: AddActivityTaskResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AddActivityTaskResponse: 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 NamespaceId", 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.NamespaceId = 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 QueryRequest", 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.QueryRequest == nil {
m.QueryRequest = &v1.QueryWorkflowRequest{}
}
if err := m.QueryRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForwardedSource", 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.ForwardedSource = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field VersionDirective", 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.VersionDirective == nil {
m.VersionDirective = &v18.TaskVersionDirective{}
}
if err := m.VersionDirective.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 *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 = &v11.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 = &v12.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 *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 NamespaceId", 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.NamespaceId = 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 TaskId", 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.TaskId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CompletedRequest", 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.CompletedRequest == nil {
m.CompletedRequest = &v1.RespondQueryTaskCompletedRequest{}
}
if err := m.CompletedRequest.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 *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 *CancelOutstandingPollRequest) 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: CancelOutstandingPollRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CancelOutstandingPollRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
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 |= v19.TaskQueueType(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
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 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PollerId", 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.PollerId = 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 *CancelOutstandingPollResponse) 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: CancelOutstandingPollResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CancelOutstandingPollResponse: 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 *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 NamespaceId", 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DescRequest", 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.DescRequest == nil {
m.DescRequest = &v1.DescribeTaskQueueRequest{}
}
if err := m.DescRequest.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 *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 *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
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = 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 *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 (m *UpdateWorkerBuildIdCompatibilityRequest) 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: UpdateWorkerBuildIdCompatibilityRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: UpdateWorkerBuildIdCompatibilityRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ApplyPublicRequest", 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 := &UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Operation = &UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest_{v}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RemoveBuildIds", 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 := &UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
m.Operation = &UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds_{v}
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PersistUnknownBuildId", 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.Operation = &UpdateWorkerBuildIdCompatibilityRequest_PersistUnknownBuildId{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 *UpdateWorkerBuildIdCompatibilityRequest_ApplyPublicRequest) 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: ApplyPublicRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ApplyPublicRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil {
m.Request = &v1.UpdateWorkerBuildIdCompatibilityRequest{}
}
if err := m.Request.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 *UpdateWorkerBuildIdCompatibilityRequest_RemoveBuildIds) 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: RemoveBuildIds: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RemoveBuildIds: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field KnownUserDataVersion", wireType)
}
m.KnownUserDataVersion = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.KnownUserDataVersion |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BuildIds", 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.BuildIds = append(m.BuildIds, 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 *UpdateWorkerBuildIdCompatibilityResponse) 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: UpdateWorkerBuildIdCompatibilityResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: UpdateWorkerBuildIdCompatibilityResponse: 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 *GetWorkerBuildIdCompatibilityRequest) 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: GetWorkerBuildIdCompatibilityRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetWorkerBuildIdCompatibilityRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil {
m.Request = &v1.GetWorkerBuildIdCompatibilityRequest{}
}
if err := m.Request.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 *GetWorkerBuildIdCompatibilityResponse) 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: GetWorkerBuildIdCompatibilityResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetWorkerBuildIdCompatibilityResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Response", 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.Response == nil {
m.Response = &v1.GetWorkerBuildIdCompatibilityResponse{}
}
if err := m.Response.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 *GetTaskQueueUserDataRequest) 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: GetTaskQueueUserDataRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetTaskQueueUserDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field LastKnownUserDataVersion", wireType)
}
m.LastKnownUserDataVersion = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRequestResponse
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.LastKnownUserDataVersion |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field WaitNewData", 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.WaitNewData = bool(v != 0)
case 5:
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 |= v19.TaskQueueType(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 *GetTaskQueueUserDataResponse) 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: GetTaskQueueUserDataResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetTaskQueueUserDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueueHasUserData", 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.TaskQueueHasUserData = bool(v != 0)
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UserData", 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.UserData == nil {
m.UserData = &v110.VersionedTaskQueueUserData{}
}
if err := m.UserData.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 *ApplyTaskQueueUserDataReplicationEventRequest) 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: ApplyTaskQueueUserDataReplicationEventRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ApplyTaskQueueUserDataReplicationEventRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UserData", 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.UserData == nil {
m.UserData = &v110.TaskQueueUserData{}
}
if err := m.UserData.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 *ApplyTaskQueueUserDataReplicationEventResponse) 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: ApplyTaskQueueUserDataReplicationEventResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ApplyTaskQueueUserDataReplicationEventResponse: 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 *GetBuildIdTaskQueueMappingRequest) 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: GetBuildIdTaskQueueMappingRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetBuildIdTaskQueueMappingRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BuildId", 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.BuildId = 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 *GetBuildIdTaskQueueMappingResponse) 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: GetBuildIdTaskQueueMappingResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: GetBuildIdTaskQueueMappingResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueues", 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.TaskQueues = append(m.TaskQueues, 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 *ForceUnloadTaskQueueRequest) 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: ForceUnloadTaskQueueRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ForceUnloadTaskQueueRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
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 |= v19.TaskQueueType(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 *ForceUnloadTaskQueueResponse) 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: ForceUnloadTaskQueueResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ForceUnloadTaskQueueResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field WasLoaded", 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.WasLoaded = 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 *UpdateTaskQueueUserDataRequest) 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: UpdateTaskQueueUserDataRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: UpdateTaskQueueUserDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UserData", 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.UserData == nil {
m.UserData = &v110.VersionedTaskQueueUserData{}
}
if err := m.UserData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BuildIdsAdded", 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.BuildIdsAdded = append(m.BuildIdsAdded, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BuildIdsRemoved", 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.BuildIdsRemoved = append(m.BuildIdsRemoved, 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 *UpdateTaskQueueUserDataResponse) 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: UpdateTaskQueueUserDataResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: UpdateTaskQueueUserDataResponse: 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 *ReplicateTaskQueueUserDataRequest) 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: ReplicateTaskQueueUserDataRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicateTaskQueueUserDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.NamespaceId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 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.TaskQueue = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UserData", 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.UserData == nil {
m.UserData = &v110.TaskQueueUserData{}
}
if err := m.UserData.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 *ReplicateTaskQueueUserDataResponse) 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: ReplicateTaskQueueUserDataResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicateTaskQueueUserDataResponse: 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 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")
)