go/proto/api/v1/service_visibility.pb.go (4,124 lines of code) (raw):

// The MIT License (MIT) // // Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: uber/cadence/api/v1/service_visibility.proto package apiv1 import ( fmt "fmt" proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type ListWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListWorkflowExecutionsRequest) Reset() { *m = ListWorkflowExecutionsRequest{} } func (m *ListWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*ListWorkflowExecutionsRequest) ProtoMessage() {} func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{0} } func (m *ListWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListWorkflowExecutionsRequest.Merge(m, src) } func (m *ListWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *ListWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListWorkflowExecutionsRequest proto.InternalMessageInfo func (m *ListWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *ListWorkflowExecutionsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListWorkflowExecutionsRequest) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } func (m *ListWorkflowExecutionsRequest) GetQuery() string { if m != nil { return m.Query } return "" } type ListWorkflowExecutionsResponse struct { Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListWorkflowExecutionsResponse) Reset() { *m = ListWorkflowExecutionsResponse{} } func (m *ListWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*ListWorkflowExecutionsResponse) ProtoMessage() {} func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{1} } func (m *ListWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListWorkflowExecutionsResponse.Merge(m, src) } func (m *ListWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *ListWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListWorkflowExecutionsResponse proto.InternalMessageInfo func (m *ListWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { if m != nil { return m.Executions } return nil } func (m *ListWorkflowExecutionsResponse) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } type ListOpenWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` StartTimeFilter *StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"` // Types that are valid to be assigned to Filters: // *ListOpenWorkflowExecutionsRequest_ExecutionFilter // *ListOpenWorkflowExecutionsRequest_TypeFilter Filters isListOpenWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListOpenWorkflowExecutionsRequest) Reset() { *m = ListOpenWorkflowExecutionsRequest{} } func (m *ListOpenWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*ListOpenWorkflowExecutionsRequest) ProtoMessage() {} func (*ListOpenWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{2} } func (m *ListOpenWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListOpenWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListOpenWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListOpenWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListOpenWorkflowExecutionsRequest.Merge(m, src) } func (m *ListOpenWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *ListOpenWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListOpenWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListOpenWorkflowExecutionsRequest proto.InternalMessageInfo type isListOpenWorkflowExecutionsRequest_Filters interface { isListOpenWorkflowExecutionsRequest_Filters() MarshalTo([]byte) (int, error) Size() int } type ListOpenWorkflowExecutionsRequest_ExecutionFilter struct { ExecutionFilter *WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"` } type ListOpenWorkflowExecutionsRequest_TypeFilter struct { TypeFilter *WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"` } func (*ListOpenWorkflowExecutionsRequest_ExecutionFilter) isListOpenWorkflowExecutionsRequest_Filters() { } func (*ListOpenWorkflowExecutionsRequest_TypeFilter) isListOpenWorkflowExecutionsRequest_Filters() {} func (m *ListOpenWorkflowExecutionsRequest) GetFilters() isListOpenWorkflowExecutionsRequest_Filters { if m != nil { return m.Filters } return nil } func (m *ListOpenWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *ListOpenWorkflowExecutionsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListOpenWorkflowExecutionsRequest) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } func (m *ListOpenWorkflowExecutionsRequest) GetStartTimeFilter() *StartTimeFilter { if m != nil { return m.StartTimeFilter } return nil } func (m *ListOpenWorkflowExecutionsRequest) GetExecutionFilter() *WorkflowExecutionFilter { if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_ExecutionFilter); ok { return x.ExecutionFilter } return nil } func (m *ListOpenWorkflowExecutionsRequest) GetTypeFilter() *WorkflowTypeFilter { if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_TypeFilter); ok { return x.TypeFilter } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*ListOpenWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} { return []interface{}{ (*ListOpenWorkflowExecutionsRequest_ExecutionFilter)(nil), (*ListOpenWorkflowExecutionsRequest_TypeFilter)(nil), } } type ListOpenWorkflowExecutionsResponse struct { Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListOpenWorkflowExecutionsResponse) Reset() { *m = ListOpenWorkflowExecutionsResponse{} } func (m *ListOpenWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*ListOpenWorkflowExecutionsResponse) ProtoMessage() {} func (*ListOpenWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{3} } func (m *ListOpenWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListOpenWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListOpenWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListOpenWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListOpenWorkflowExecutionsResponse.Merge(m, src) } func (m *ListOpenWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *ListOpenWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListOpenWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListOpenWorkflowExecutionsResponse proto.InternalMessageInfo func (m *ListOpenWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { if m != nil { return m.Executions } return nil } func (m *ListOpenWorkflowExecutionsResponse) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } type ListClosedWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` StartTimeFilter *StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"` // Types that are valid to be assigned to Filters: // *ListClosedWorkflowExecutionsRequest_ExecutionFilter // *ListClosedWorkflowExecutionsRequest_TypeFilter // *ListClosedWorkflowExecutionsRequest_StatusFilter Filters isListClosedWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListClosedWorkflowExecutionsRequest) Reset() { *m = ListClosedWorkflowExecutionsRequest{} } func (m *ListClosedWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*ListClosedWorkflowExecutionsRequest) ProtoMessage() {} func (*ListClosedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{4} } func (m *ListClosedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListClosedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListClosedWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListClosedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListClosedWorkflowExecutionsRequest.Merge(m, src) } func (m *ListClosedWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *ListClosedWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListClosedWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListClosedWorkflowExecutionsRequest proto.InternalMessageInfo type isListClosedWorkflowExecutionsRequest_Filters interface { isListClosedWorkflowExecutionsRequest_Filters() MarshalTo([]byte) (int, error) Size() int } type ListClosedWorkflowExecutionsRequest_ExecutionFilter struct { ExecutionFilter *WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"` } type ListClosedWorkflowExecutionsRequest_TypeFilter struct { TypeFilter *WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"` } type ListClosedWorkflowExecutionsRequest_StatusFilter struct { StatusFilter *StatusFilter `protobuf:"bytes,7,opt,name=status_filter,json=statusFilter,proto3,oneof" json:"status_filter,omitempty"` } func (*ListClosedWorkflowExecutionsRequest_ExecutionFilter) isListClosedWorkflowExecutionsRequest_Filters() { } func (*ListClosedWorkflowExecutionsRequest_TypeFilter) isListClosedWorkflowExecutionsRequest_Filters() { } func (*ListClosedWorkflowExecutionsRequest_StatusFilter) isListClosedWorkflowExecutionsRequest_Filters() { } func (m *ListClosedWorkflowExecutionsRequest) GetFilters() isListClosedWorkflowExecutionsRequest_Filters { if m != nil { return m.Filters } return nil } func (m *ListClosedWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *ListClosedWorkflowExecutionsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListClosedWorkflowExecutionsRequest) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } func (m *ListClosedWorkflowExecutionsRequest) GetStartTimeFilter() *StartTimeFilter { if m != nil { return m.StartTimeFilter } return nil } func (m *ListClosedWorkflowExecutionsRequest) GetExecutionFilter() *WorkflowExecutionFilter { if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_ExecutionFilter); ok { return x.ExecutionFilter } return nil } func (m *ListClosedWorkflowExecutionsRequest) GetTypeFilter() *WorkflowTypeFilter { if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_TypeFilter); ok { return x.TypeFilter } return nil } func (m *ListClosedWorkflowExecutionsRequest) GetStatusFilter() *StatusFilter { if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_StatusFilter); ok { return x.StatusFilter } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*ListClosedWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} { return []interface{}{ (*ListClosedWorkflowExecutionsRequest_ExecutionFilter)(nil), (*ListClosedWorkflowExecutionsRequest_TypeFilter)(nil), (*ListClosedWorkflowExecutionsRequest_StatusFilter)(nil), } } type ListClosedWorkflowExecutionsResponse struct { Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListClosedWorkflowExecutionsResponse) Reset() { *m = ListClosedWorkflowExecutionsResponse{} } func (m *ListClosedWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*ListClosedWorkflowExecutionsResponse) ProtoMessage() {} func (*ListClosedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{5} } func (m *ListClosedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListClosedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListClosedWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListClosedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListClosedWorkflowExecutionsResponse.Merge(m, src) } func (m *ListClosedWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *ListClosedWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListClosedWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListClosedWorkflowExecutionsResponse proto.InternalMessageInfo func (m *ListClosedWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { if m != nil { return m.Executions } return nil } func (m *ListClosedWorkflowExecutionsResponse) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } type ListArchivedWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListArchivedWorkflowExecutionsRequest) Reset() { *m = ListArchivedWorkflowExecutionsRequest{} } func (m *ListArchivedWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*ListArchivedWorkflowExecutionsRequest) ProtoMessage() {} func (*ListArchivedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{6} } func (m *ListArchivedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListArchivedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListArchivedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.Merge(m, src) } func (m *ListArchivedWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *ListArchivedWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListArchivedWorkflowExecutionsRequest proto.InternalMessageInfo func (m *ListArchivedWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *ListArchivedWorkflowExecutionsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListArchivedWorkflowExecutionsRequest) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } func (m *ListArchivedWorkflowExecutionsRequest) GetQuery() string { if m != nil { return m.Query } return "" } type ListArchivedWorkflowExecutionsResponse struct { Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListArchivedWorkflowExecutionsResponse) Reset() { *m = ListArchivedWorkflowExecutionsResponse{} } func (m *ListArchivedWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*ListArchivedWorkflowExecutionsResponse) ProtoMessage() {} func (*ListArchivedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{7} } func (m *ListArchivedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ListArchivedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ListArchivedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.Merge(m, src) } func (m *ListArchivedWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *ListArchivedWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListArchivedWorkflowExecutionsResponse proto.InternalMessageInfo func (m *ListArchivedWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { if m != nil { return m.Executions } return nil } func (m *ListArchivedWorkflowExecutionsResponse) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } type ScanWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ScanWorkflowExecutionsRequest) Reset() { *m = ScanWorkflowExecutionsRequest{} } func (m *ScanWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*ScanWorkflowExecutionsRequest) ProtoMessage() {} func (*ScanWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{8} } func (m *ScanWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ScanWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ScanWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ScanWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ScanWorkflowExecutionsRequest.Merge(m, src) } func (m *ScanWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *ScanWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ScanWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_ScanWorkflowExecutionsRequest proto.InternalMessageInfo func (m *ScanWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *ScanWorkflowExecutionsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ScanWorkflowExecutionsRequest) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } func (m *ScanWorkflowExecutionsRequest) GetQuery() string { if m != nil { return m.Query } return "" } type ScanWorkflowExecutionsResponse struct { Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ScanWorkflowExecutionsResponse) Reset() { *m = ScanWorkflowExecutionsResponse{} } func (m *ScanWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*ScanWorkflowExecutionsResponse) ProtoMessage() {} func (*ScanWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{9} } func (m *ScanWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ScanWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ScanWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *ScanWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ScanWorkflowExecutionsResponse.Merge(m, src) } func (m *ScanWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *ScanWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ScanWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_ScanWorkflowExecutionsResponse proto.InternalMessageInfo func (m *ScanWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { if m != nil { return m.Executions } return nil } func (m *ScanWorkflowExecutionsResponse) GetNextPageToken() []byte { if m != nil { return m.NextPageToken } return nil } type CountWorkflowExecutionsRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CountWorkflowExecutionsRequest) Reset() { *m = CountWorkflowExecutionsRequest{} } func (m *CountWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } func (*CountWorkflowExecutionsRequest) ProtoMessage() {} func (*CountWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{10} } func (m *CountWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *CountWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_CountWorkflowExecutionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *CountWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CountWorkflowExecutionsRequest.Merge(m, src) } func (m *CountWorkflowExecutionsRequest) XXX_Size() int { return m.Size() } func (m *CountWorkflowExecutionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_CountWorkflowExecutionsRequest.DiscardUnknown(m) } var xxx_messageInfo_CountWorkflowExecutionsRequest proto.InternalMessageInfo func (m *CountWorkflowExecutionsRequest) GetDomain() string { if m != nil { return m.Domain } return "" } func (m *CountWorkflowExecutionsRequest) GetQuery() string { if m != nil { return m.Query } return "" } type CountWorkflowExecutionsResponse struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CountWorkflowExecutionsResponse) Reset() { *m = CountWorkflowExecutionsResponse{} } func (m *CountWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } func (*CountWorkflowExecutionsResponse) ProtoMessage() {} func (*CountWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{11} } func (m *CountWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *CountWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_CountWorkflowExecutionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *CountWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_CountWorkflowExecutionsResponse.Merge(m, src) } func (m *CountWorkflowExecutionsResponse) XXX_Size() int { return m.Size() } func (m *CountWorkflowExecutionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_CountWorkflowExecutionsResponse.DiscardUnknown(m) } var xxx_messageInfo_CountWorkflowExecutionsResponse proto.InternalMessageInfo func (m *CountWorkflowExecutionsResponse) GetCount() int64 { if m != nil { return m.Count } return 0 } type GetSearchAttributesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetSearchAttributesRequest) Reset() { *m = GetSearchAttributesRequest{} } func (m *GetSearchAttributesRequest) String() string { return proto.CompactTextString(m) } func (*GetSearchAttributesRequest) ProtoMessage() {} func (*GetSearchAttributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{12} } func (m *GetSearchAttributesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *GetSearchAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GetSearchAttributesRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *GetSearchAttributesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetSearchAttributesRequest.Merge(m, src) } func (m *GetSearchAttributesRequest) XXX_Size() int { return m.Size() } func (m *GetSearchAttributesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetSearchAttributesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetSearchAttributesRequest proto.InternalMessageInfo type GetSearchAttributesResponse struct { Keys map[string]IndexedValueType `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=uber.cadence.api.v1.IndexedValueType"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetSearchAttributesResponse) Reset() { *m = GetSearchAttributesResponse{} } func (m *GetSearchAttributesResponse) String() string { return proto.CompactTextString(m) } func (*GetSearchAttributesResponse) ProtoMessage() {} func (*GetSearchAttributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_a7341dc69cef4364, []int{13} } func (m *GetSearchAttributesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *GetSearchAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GetSearchAttributesResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *GetSearchAttributesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetSearchAttributesResponse.Merge(m, src) } func (m *GetSearchAttributesResponse) XXX_Size() int { return m.Size() } func (m *GetSearchAttributesResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetSearchAttributesResponse.DiscardUnknown(m) } var xxx_messageInfo_GetSearchAttributesResponse proto.InternalMessageInfo func (m *GetSearchAttributesResponse) GetKeys() map[string]IndexedValueType { if m != nil { return m.Keys } return nil } func init() { proto.RegisterType((*ListWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListWorkflowExecutionsRequest") proto.RegisterType((*ListWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListWorkflowExecutionsResponse") proto.RegisterType((*ListOpenWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest") proto.RegisterType((*ListOpenWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse") proto.RegisterType((*ListClosedWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest") proto.RegisterType((*ListClosedWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse") proto.RegisterType((*ListArchivedWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest") proto.RegisterType((*ListArchivedWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse") proto.RegisterType((*ScanWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ScanWorkflowExecutionsRequest") proto.RegisterType((*ScanWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ScanWorkflowExecutionsResponse") proto.RegisterType((*CountWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.CountWorkflowExecutionsRequest") proto.RegisterType((*CountWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.CountWorkflowExecutionsResponse") proto.RegisterType((*GetSearchAttributesRequest)(nil), "uber.cadence.api.v1.GetSearchAttributesRequest") proto.RegisterType((*GetSearchAttributesResponse)(nil), "uber.cadence.api.v1.GetSearchAttributesResponse") proto.RegisterMapType((map[string]IndexedValueType)(nil), "uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry") } func init() { proto.RegisterFile("uber/cadence/api/v1/service_visibility.proto", fileDescriptor_a7341dc69cef4364) } var fileDescriptor_a7341dc69cef4364 = []byte{ // 832 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcf, 0x73, 0xdb, 0x54, 0x10, 0xe6, 0xd9, 0x75, 0x82, 0x37, 0x0d, 0x29, 0xaf, 0x9d, 0xd4, 0xa3, 0x16, 0xe3, 0x8a, 0xb4, 0x78, 0x98, 0x22, 0x61, 0x97, 0xa1, 0x25, 0x39, 0x25, 0x9d, 0x42, 0x53, 0x98, 0xe2, 0x91, 0x33, 0x65, 0xe0, 0x80, 0x47, 0x96, 0x37, 0xce, 0x1b, 0xdb, 0x92, 0xaa, 0xf7, 0xe4, 0x5a, 0xbd, 0x31, 0xd3, 0x2b, 0x17, 0xe0, 0x00, 0x19, 0xfe, 0x20, 0x2e, 0xcc, 0xe4, 0xcc, 0x89, 0xc9, 0x5f, 0xc2, 0xe8, 0x87, 0x85, 0x03, 0x4f, 0x72, 0x9c, 0x03, 0xe6, 0xc0, 0xcd, 0x6f, 0xbd, 0xfb, 0xe9, 0xdb, 0xd5, 0xea, 0x7b, 0xbb, 0x70, 0xd7, 0xef, 0xa2, 0xa7, 0x5b, 0x66, 0x0f, 0x6d, 0x0b, 0x75, 0xd3, 0x65, 0xfa, 0xb8, 0xa1, 0x73, 0xf4, 0xc6, 0xcc, 0xc2, 0xce, 0x98, 0x71, 0xd6, 0x65, 0x43, 0x26, 0x02, 0xcd, 0xf5, 0x1c, 0xe1, 0xd0, 0xab, 0xa1, 0xb7, 0x96, 0x78, 0x6b, 0xa6, 0xcb, 0xb4, 0x71, 0x43, 0xd9, 0x92, 0x41, 0xfc, 0x3d, 0x54, 0x51, 0x65, 0x5e, 0x2f, 0x1c, 0x6f, 0x70, 0x38, 0x74, 0x5e, 0xc4, 0x3e, 0xea, 0xf7, 0x04, 0xde, 0xfa, 0x9c, 0x71, 0xf1, 0x65, 0x62, 0x7e, 0x34, 0x41, 0xcb, 0x17, 0xcc, 0xb1, 0xb9, 0x81, 0xcf, 0x7d, 0xe4, 0x82, 0x6e, 0xc2, 0x4a, 0xcf, 0x19, 0x99, 0xcc, 0xae, 0x90, 0x1a, 0xa9, 0x97, 0x8d, 0xe4, 0x44, 0x6f, 0x40, 0xd9, 0x35, 0xfb, 0xd8, 0xe1, 0xec, 0x25, 0x56, 0x0a, 0x35, 0x52, 0x2f, 0x19, 0xaf, 0x87, 0x86, 0x36, 0x7b, 0x89, 0xf4, 0x0e, 0x6c, 0xd8, 0x38, 0x11, 0x9d, 0xc8, 0x43, 0x38, 0x03, 0xb4, 0x2b, 0xc5, 0x1a, 0xa9, 0x5f, 0x36, 0xd6, 0x43, 0x73, 0xcb, 0xec, 0xe3, 0x41, 0x68, 0xa4, 0xd7, 0xa0, 0xf4, 0xdc, 0x47, 0x2f, 0xa8, 0x5c, 0x8a, 0xb0, 0xe3, 0x83, 0xfa, 0x23, 0x81, 0x6a, 0x16, 0x29, 0xee, 0x3a, 0x36, 0x47, 0xfa, 0x04, 0x00, 0x53, 0x6b, 0x85, 0xd4, 0x8a, 0xf5, 0xb5, 0xe6, 0x7b, 0x9a, 0xa4, 0x56, 0xda, 0x3f, 0x40, 0xf6, 0xed, 0x43, 0xc7, 0x98, 0x89, 0x96, 0x91, 0x2d, 0x48, 0xc8, 0xaa, 0xaf, 0x8a, 0x70, 0x2b, 0xa4, 0xf5, 0x85, 0x8b, 0xf6, 0x92, 0xea, 0xd5, 0x82, 0x37, 0xb9, 0x30, 0x3d, 0xd1, 0x11, 0x6c, 0x84, 0x9d, 0x43, 0x36, 0x14, 0xe8, 0x45, 0xb5, 0x5b, 0x6b, 0x6e, 0x49, 0xb3, 0x6f, 0x87, 0xde, 0x07, 0x6c, 0x84, 0x9f, 0x44, 0xbe, 0xc6, 0x06, 0x3f, 0x6b, 0xa0, 0x5f, 0xc1, 0x95, 0xb4, 0x14, 0x53, 0xc0, 0x52, 0x04, 0x78, 0xf7, 0x7c, 0xe5, 0x8c, 0x71, 0x1e, 0xbf, 0x66, 0x6c, 0xe0, 0x59, 0x13, 0x7d, 0x02, 0x6b, 0x22, 0x70, 0x53, 0x9a, 0x2b, 0x11, 0xea, 0xbb, 0xb9, 0xa8, 0x07, 0x81, 0x8b, 0x29, 0x20, 0x88, 0xf4, 0xb4, 0x57, 0x86, 0xd5, 0x18, 0x86, 0xab, 0x3f, 0x11, 0x50, 0xf3, 0x5e, 0xc3, 0x12, 0x3b, 0xe4, 0xa4, 0x08, 0xef, 0x84, 0xd4, 0x1e, 0x0e, 0x1d, 0x8e, 0xbd, 0xff, 0x7b, 0xe4, 0x5f, 0xed, 0x11, 0xfa, 0x18, 0xd6, 0xb9, 0x30, 0x85, 0xcf, 0xa7, 0x68, 0xab, 0x11, 0xda, 0xad, 0xac, 0xa4, 0x85, 0xcf, 0x53, 0x9c, 0xcb, 0x7c, 0xe6, 0x3c, 0xdb, 0x6d, 0xc7, 0x04, 0xb6, 0xf2, 0x5f, 0xe9, 0x12, 0xfb, 0xed, 0x98, 0xc0, 0xed, 0x90, 0xdc, 0xae, 0x67, 0x1d, 0xb1, 0xf1, 0xd2, 0x3a, 0x4e, 0xae, 0xe2, 0xbf, 0x10, 0xb8, 0x33, 0x8f, 0xdc, 0x12, 0x6b, 0x17, 0xde, 0x7c, 0x6d, 0xcb, 0xb4, 0xff, 0x73, 0x37, 0x5f, 0x16, 0xa9, 0x25, 0xd6, 0xea, 0x29, 0x54, 0x1f, 0x3a, 0xbe, 0x7d, 0x81, 0x29, 0x21, 0x4d, 0xb3, 0x30, 0x9b, 0xe6, 0x7d, 0x78, 0x3b, 0x13, 0x2f, 0x49, 0xf3, 0x1a, 0x94, 0xac, 0xd0, 0x25, 0xc2, 0x2b, 0x1a, 0xf1, 0x41, 0xbd, 0x09, 0xca, 0xa7, 0x28, 0xda, 0x68, 0x7a, 0xd6, 0xd1, 0xae, 0x10, 0x1e, 0xeb, 0xfa, 0x02, 0xa7, 0x24, 0xd4, 0xdf, 0x08, 0xdc, 0x90, 0xfe, 0x9d, 0x60, 0x3e, 0x85, 0x4b, 0x03, 0x0c, 0xa6, 0x45, 0xdb, 0x96, 0x16, 0x2d, 0x27, 0x5e, 0xfb, 0x0c, 0x03, 0xfe, 0xc8, 0x16, 0x5e, 0x60, 0x44, 0x38, 0xca, 0x37, 0x50, 0x4e, 0x4d, 0xf4, 0x0a, 0x14, 0x07, 0x18, 0x24, 0xe9, 0x87, 0x3f, 0xe9, 0x0e, 0x94, 0xc6, 0xe6, 0xd0, 0x8f, 0x7b, 0xe4, 0x8d, 0xe6, 0x6d, 0xe9, 0xf3, 0xf6, 0xed, 0x1e, 0x4e, 0xb0, 0xf7, 0x2c, 0x74, 0x0c, 0x95, 0xcd, 0x88, 0x63, 0xb6, 0x0b, 0x0f, 0x48, 0xf3, 0xf7, 0x55, 0x58, 0x7f, 0x96, 0x4e, 0x75, 0xbb, 0xad, 0x7d, 0xfa, 0x2d, 0x81, 0x4d, 0xf9, 0x64, 0x44, 0x9b, 0x52, 0xf8, 0xdc, 0xd9, 0x4e, 0xb9, 0xb7, 0x50, 0x4c, 0x52, 0xc5, 0xef, 0x08, 0x28, 0xd9, 0xf7, 0x2f, 0xfd, 0x28, 0x13, 0x33, 0x77, 0x6e, 0x52, 0xee, 0x2f, 0x1c, 0x97, 0xf0, 0xf9, 0x81, 0xc0, 0xcd, 0x3c, 0x85, 0xa6, 0x0f, 0x32, 0x91, 0xe7, 0xdc, 0xd3, 0xca, 0xc7, 0x17, 0x88, 0x4c, 0x58, 0xfd, 0x9c, 0xcc, 0xb0, 0xd9, 0xea, 0x47, 0xb7, 0x33, 0xd1, 0xe7, 0xea, 0xb9, 0xb2, 0x73, 0xa1, 0xd8, 0x84, 0x5b, 0xd8, 0x45, 0x72, 0x95, 0xc9, 0xe8, 0xa2, 0x5c, 0x9d, 0xcc, 0xe8, 0xa2, 0x39, 0x32, 0xf6, 0x8a, 0xc0, 0xf5, 0x0c, 0x0d, 0xa0, 0x72, 0xc0, 0x7c, 0x05, 0x52, 0x3e, 0x5c, 0x2c, 0x28, 0xa1, 0x31, 0x81, 0xab, 0x92, 0x2f, 0x9e, 0xea, 0xe7, 0xd7, 0x86, 0xf8, 0xe9, 0x1f, 0x2c, 0x2a, 0x26, 0x7b, 0xde, 0xaf, 0xa7, 0x55, 0x72, 0x72, 0x5a, 0x25, 0x7f, 0x9c, 0x56, 0x09, 0x5c, 0xb7, 0x9c, 0x91, 0x0c, 0x62, 0x6f, 0xf3, 0x2f, 0x01, 0x68, 0xc7, 0x3b, 0x62, 0x2b, 0x5c, 0xdc, 0x5a, 0xe4, 0xeb, 0x46, 0x9f, 0x89, 0x23, 0xbf, 0xab, 0x59, 0xce, 0x48, 0x9f, 0xdd, 0xf4, 0xde, 0x67, 0xbd, 0xa1, 0xde, 0x77, 0xf4, 0x68, 0xc1, 0x4b, 0xd6, 0xbe, 0x1d, 0xd3, 0x65, 0xe3, 0x46, 0x77, 0x25, 0xb2, 0xdd, 0xfb, 0x33, 0x00, 0x00, 0xff, 0xff, 0x86, 0x06, 0x5c, 0x49, 0x83, 0x0e, 0x00, 0x00, } func (m *ListWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Query) > 0 { i -= len(m.Query) copy(dAtA[i:], m.Query) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) i-- dAtA[i] = 0x22 } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) i-- dAtA[i] = 0x10 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *ListWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x12 } if len(m.Executions) > 0 { for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { { size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func (m *ListOpenWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListOpenWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListOpenWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if m.Filters != nil { { size := m.Filters.Size() i -= size if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil { return 0, err } } } if m.StartTimeFilter != nil { { size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x22 } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) i-- dAtA[i] = 0x10 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.ExecutionFilter != nil { { size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x2a } return len(dAtA) - i, nil } func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.TypeFilter != nil { { size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x32 } return len(dAtA) - i, nil } func (m *ListOpenWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListOpenWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListOpenWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x12 } if len(m.Executions) > 0 { for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { { size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func (m *ListClosedWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListClosedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListClosedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if m.Filters != nil { { size := m.Filters.Size() i -= size if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil { return 0, err } } } if m.StartTimeFilter != nil { { size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x22 } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) i-- dAtA[i] = 0x10 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.ExecutionFilter != nil { { size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x2a } return len(dAtA) - i, nil } func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.TypeFilter != nil { { size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x32 } return len(dAtA) - i, nil } func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.StatusFilter != nil { { size, err := m.StatusFilter.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x3a } return len(dAtA) - i, nil } func (m *ListClosedWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListClosedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListClosedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x12 } if len(m.Executions) > 0 { for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { { size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func (m *ListArchivedWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListArchivedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListArchivedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Query) > 0 { i -= len(m.Query) copy(dAtA[i:], m.Query) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) i-- dAtA[i] = 0x22 } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) i-- dAtA[i] = 0x10 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *ListArchivedWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ListArchivedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ListArchivedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x12 } if len(m.Executions) > 0 { for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { { size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func (m *ScanWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ScanWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ScanWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Query) > 0 { i -= len(m.Query) copy(dAtA[i:], m.Query) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) i-- dAtA[i] = 0x22 } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) i-- dAtA[i] = 0x10 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *ScanWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ScanWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *ScanWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.NextPageToken) > 0 { i -= len(m.NextPageToken) copy(dAtA[i:], m.NextPageToken) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) i-- dAtA[i] = 0x12 } if len(m.Executions) > 0 { for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { { size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func (m *CountWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *CountWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *CountWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Query) > 0 { i -= len(m.Query) copy(dAtA[i:], m.Query) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) i-- dAtA[i] = 0x12 } if len(m.Domain) > 0 { i -= len(m.Domain) copy(dAtA[i:], m.Domain) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *CountWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *CountWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *CountWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if m.Count != 0 { i = encodeVarintServiceVisibility(dAtA, i, uint64(m.Count)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } func (m *GetSearchAttributesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *GetSearchAttributesRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *GetSearchAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } return len(dAtA) - i, nil } func (m *GetSearchAttributesResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *GetSearchAttributesResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *GetSearchAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Keys) > 0 { for k := range m.Keys { v := m.Keys[k] baseI := i i = encodeVarintServiceVisibility(dAtA, i, uint64(v)) i-- dAtA[i] = 0x10 i -= len(k) copy(dAtA[i:], k) i = encodeVarintServiceVisibility(dAtA, i, uint64(len(k))) i-- dAtA[i] = 0xa i = encodeVarintServiceVisibility(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0xa } } return len(dAtA) - i, nil } func encodeVarintServiceVisibility(dAtA []byte, offset int, v uint64) int { offset -= sovServiceVisibility(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return base } func (m *ListWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.PageSize != 0 { n += 1 + sovServiceVisibility(uint64(m.PageSize)) } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } l = len(m.Query) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Executions) > 0 { for _, e := range m.Executions { l = e.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListOpenWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.PageSize != 0 { n += 1 + sovServiceVisibility(uint64(m.PageSize)) } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.StartTimeFilter != nil { l = m.StartTimeFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } if m.Filters != nil { n += m.Filters.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.ExecutionFilter != nil { l = m.ExecutionFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } return n } func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.TypeFilter != nil { l = m.TypeFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } return n } func (m *ListOpenWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Executions) > 0 { for _, e := range m.Executions { l = e.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListClosedWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.PageSize != 0 { n += 1 + sovServiceVisibility(uint64(m.PageSize)) } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.StartTimeFilter != nil { l = m.StartTimeFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } if m.Filters != nil { n += m.Filters.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.ExecutionFilter != nil { l = m.ExecutionFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } return n } func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.TypeFilter != nil { l = m.TypeFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } return n } func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.StatusFilter != nil { l = m.StatusFilter.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } return n } func (m *ListClosedWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Executions) > 0 { for _, e := range m.Executions { l = e.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListArchivedWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.PageSize != 0 { n += 1 + sovServiceVisibility(uint64(m.PageSize)) } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } l = len(m.Query) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ListArchivedWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Executions) > 0 { for _, e := range m.Executions { l = e.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ScanWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.PageSize != 0 { n += 1 + sovServiceVisibility(uint64(m.PageSize)) } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } l = len(m.Query) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ScanWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Executions) > 0 { for _, e := range m.Executions { l = e.Size() n += 1 + l + sovServiceVisibility(uint64(l)) } } l = len(m.NextPageToken) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *CountWorkflowExecutionsRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Domain) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } l = len(m.Query) if l > 0 { n += 1 + l + sovServiceVisibility(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *CountWorkflowExecutionsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Count != 0 { n += 1 + sovServiceVisibility(uint64(m.Count)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *GetSearchAttributesRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *GetSearchAttributesResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.Keys) > 0 { for k, v := range m.Keys { _ = k _ = v mapEntrySize := 1 + len(k) + sovServiceVisibility(uint64(len(k))) + 1 + sovServiceVisibility(uint64(v)) n += mapEntrySize + 1 + sovServiceVisibility(uint64(mapEntrySize)) } } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func sovServiceVisibility(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozServiceVisibility(x uint64) (n int) { return sovServiceVisibility(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *ListWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListOpenWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListOpenWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListOpenWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartTimeFilter == nil { m.StartTimeFilter = &StartTimeFilter{} } if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } v := &WorkflowExecutionFilter{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.Filters = &ListOpenWorkflowExecutionsRequest_ExecutionFilter{v} iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } v := &WorkflowTypeFilter{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.Filters = &ListOpenWorkflowExecutionsRequest_TypeFilter{v} iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListOpenWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListOpenWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListOpenWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListClosedWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListClosedWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListClosedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartTimeFilter == nil { m.StartTimeFilter = &StartTimeFilter{} } if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } v := &WorkflowExecutionFilter{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.Filters = &ListClosedWorkflowExecutionsRequest_ExecutionFilter{v} iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } v := &WorkflowTypeFilter{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.Filters = &ListClosedWorkflowExecutionsRequest_TypeFilter{v} iNdEx = postIndex case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StatusFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } v := &StatusFilter{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.Filters = &ListClosedWorkflowExecutionsRequest_StatusFilter{v} iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListClosedWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListClosedWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListClosedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListArchivedWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListArchivedWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListArchivedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ListArchivedWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ListArchivedWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ListArchivedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ScanWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ScanWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ScanWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ScanWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ScanWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ScanWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) if m.NextPageToken == nil { m.NextPageToken = []byte{} } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *CountWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: CountWorkflowExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: CountWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Domain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *CountWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: CountWorkflowExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: CountWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) } m.Count = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.Count |= int64(b&0x7F) << shift if b < 0x80 { break } } default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *GetSearchAttributesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: GetSearchAttributesRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: GetSearchAttributesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *GetSearchAttributesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: GetSearchAttributesResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: GetSearchAttributesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthServiceVisibility } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthServiceVisibility } if postIndex > l { return io.ErrUnexpectedEOF } if m.Keys == nil { m.Keys = make(map[string]IndexedValueType) } var mapkey string var mapvalue IndexedValueType for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } 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 ErrIntOverflowServiceVisibility } 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 ErrInvalidLengthServiceVisibility } postStringIndexmapkey := iNdEx + intStringLenmapkey if postStringIndexmapkey < 0 { return ErrInvalidLengthServiceVisibility } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowServiceVisibility } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ mapvalue |= IndexedValueType(b&0x7F) << shift if b < 0x80 { break } } } else { iNdEx = entryPreIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > postIndex { return io.ErrUnexpectedEOF } iNdEx += skippy } } m.Keys[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipServiceVisibility(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthServiceVisibility } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func skipServiceVisibility(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, ErrIntOverflowServiceVisibility } 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, ErrIntOverflowServiceVisibility } 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, ErrIntOverflowServiceVisibility } 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, ErrInvalidLengthServiceVisibility } iNdEx += length case 3: depth++ case 4: if depth == 0 { return 0, ErrUnexpectedEndOfGroupServiceVisibility } depth-- case 5: iNdEx += 4 default: return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { return 0, ErrInvalidLengthServiceVisibility } if depth == 0 { return iNdEx, nil } } return 0, io.ErrUnexpectedEOF } var ( ErrInvalidLengthServiceVisibility = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowServiceVisibility = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupServiceVisibility = fmt.Errorf("proto: unexpected end of group") )