diff --git a/.github/workflows/trigger-api-go-update.yml b/.github/workflows/trigger-api-go-update.yml new file mode 100644 index 0000000..a1a728b --- /dev/null +++ b/.github/workflows/trigger-api-go-update.yml @@ -0,0 +1,61 @@ +name: 'Trigger api-go Update' + +on: + push: + branches: + - master + workflow_dispatch: + inputs: + branch: + description: "Branch in api-go repo to trigger update protos (default: master)" + required: true + default: master + +jobs: + notify: + name: 'Trigger api-go update' + runs-on: ubuntu-latest + defaults: + run: + shell: bash + steps: + - name: Generate token + id: generate_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.RR_CICD_APP_ID }} + private-key: ${{ secrets.RR_CICD_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} + repositories: api-go + + - name: Dispatch api-go Github Action + env: + GH_TOKEN: ${{ steps.generate_token.outputs.token }} + EVENT_PUSH_BRANCH: ${{ github.event.ref }} + EVENT_PUSH_COMMIT_AUTHOR: ${{ github.event.head_commit.author.name }} + EVENT_PUSH_COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} + EVENT_PUSH_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} + EVENT_WF_DISPATCH_BRANCH: ${{ github.event.inputs.branch }} + run: | + case "${{ github.event_name }}" in + "push") + BRANCH="${EVENT_PUSH_BRANCH#refs/heads/}" + COMMIT_AUTHOR="${EVENT_PUSH_COMMIT_AUTHOR}" + COMMIT_AUTHOR_EMAIL="${EVENT_PUSH_COMMIT_AUTHOR_EMAIL}" + COMMIT_MESSAGE="${EVENT_PUSH_COMMIT_MESSAGE}" + ;; + "workflow_dispatch") + BRANCH="${EVENT_WF_DISPATCH_BRANCH}" + COMMIT_AUTHOR="RoadRunner Bot" + COMMIT_AUTHOR_EMAIL="bot@roadrunner.dev" + COMMIT_MESSAGE="Update proto" + ;; + esac + + gh workflow run update-proto.yml \ + -R roadrunner-server/api-go \ + -r master \ + -f branch="${BRANCH}" \ + -f commit_author="${COMMIT_AUTHOR}" \ + -f commit_author_email="${COMMIT_AUTHOR_EMAIL}" \ + -f commit_message="${COMMIT_MESSAGE}" diff --git a/README.md b/README.md index 2c33b10..fe3517d 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,32 @@ # RoadRunner API -To install and use generated packages: +This repository contains the **Protocol Buffer definitions** for [RoadRunner](https://roadrunner.dev). These protos are used for external integrations (RPC) and internal communications between RoadRunner plugins. + +Generated Go code lives in a separate repository: [`roadrunner-server/api-go`](https://github.com/roadrunner-server/api-go). + +## Repository structure + +``` +roadrunner/api/ — RoadRunner proto definitions (jobs, kv, http, status, etc.) +third_party/api/ — Temporal API submodule (used as a proto dependency) +buf.yaml — Buf module configuration +buf.gen.yaml — Buf code generation configuration +``` + +## Using generated Go packages + +Install a package from the [`api-go`](https://github.com/roadrunner-server/api-go) repository: ```bash -go get github.com/roadrunner-server/api/v4/build//v1 +go get github.com/roadrunner-server/api-go/v5/build// ``` -The Proto API is used for external integrations, mostly for RPC or as internal communications. For example: +Example usage: ```go package foo import ( - jobsv1 "github.com/roadrunner-server/api/v4/build/jobs/v1" + jobsv1 "github.com/roadrunner-server/api-go/v5/build/jobs/v1" ) func Push(in *jobsv1.PushRequest, out *jobsv1.Empty) error { @@ -34,11 +49,32 @@ func Push(in *jobsv1.PushRequest, out *jobsv1.Empty) error { } ``` -# Centrifugal API -- [API](https://github.com/centrifugal/centrifugo/blob/master/internal/apiproto/api.proto) -- [Proxy](https://github.com/centrifugal/centrifugo/blob/master/internal/proxyproto/proxy.proto) +## Auto-generation + +Pushing to `master` in this repo triggers a GitHub Actions workflow in [`api-go`](https://github.com/roadrunner-server/api-go) that: +1. Pulls the latest proto definitions via a git submodule. +2. Runs `buf generate` to produce Go code. +3. Commits and pushes the result. + +You do not need to run code generation manually — CI handles it automatically. -# Building API +## Local development -- Install buf: `go install github.com/bufbuild/buf/cmd/buf@latest`. -- In the repository root run: `buf generate --debug` +Install [Buf](https://buf.build/docs/installation): +```bash +go install github.com/bufbuild/buf/cmd/buf@latest +``` + +Lint proto files: +```bash +buf lint +``` + +Generate code locally (output goes to `build/`): +```bash +buf generate +``` + +## Centrifugal API +- [API](https://github.com/centrifugal/centrifugo/blob/master/internal/apiproto/api.proto) +- [Proxy](https://github.com/centrifugal/centrifugo/blob/master/internal/proxyproto/proxy.proto) diff --git a/buf.yaml b/buf.yaml index 2f32c1a..a261df2 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,11 +1,10 @@ version: v2 modules: - - path: proto + - path: roadrunner/api - path: third_party/api lint: disallow_comment_ignores: true ignore: - # This is a third-party API, so we ignore them for linters. - third_party/api - - proto/centrifugo/api - - proto/centrifugo/proxy + - roadrunner/api/centrifugo/api + - roadrunner/api/centrifugo/proxy diff --git a/build/applogger/v1/applogger.pb.go b/build/applogger/v1/applogger.pb.go deleted file mode 100644 index 04c7e8f..0000000 --- a/build/applogger/v1/applogger.pb.go +++ /dev/null @@ -1,227 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: applogger/v1/applogger.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type LogEntry struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - LogAttrs []*LogAttrs `protobuf:"bytes,2,rep,name=log_attrs,json=logAttrs,proto3" json:"log_attrs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *LogEntry) Reset() { - *x = LogEntry{} - mi := &file_applogger_v1_applogger_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LogEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogEntry) ProtoMessage() {} - -func (x *LogEntry) ProtoReflect() protoreflect.Message { - mi := &file_applogger_v1_applogger_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead. -func (*LogEntry) Descriptor() ([]byte, []int) { - return file_applogger_v1_applogger_proto_rawDescGZIP(), []int{0} -} - -func (x *LogEntry) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *LogEntry) GetLogAttrs() []*LogAttrs { - if x != nil { - return x.LogAttrs - } - return nil -} - -type LogAttrs struct { - state protoimpl.MessageState `protogen:"open.v1"` - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *LogAttrs) Reset() { - *x = LogAttrs{} - mi := &file_applogger_v1_applogger_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LogAttrs) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogAttrs) ProtoMessage() {} - -func (x *LogAttrs) ProtoReflect() protoreflect.Message { - mi := &file_applogger_v1_applogger_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LogAttrs.ProtoReflect.Descriptor instead. -func (*LogAttrs) Descriptor() ([]byte, []int) { - return file_applogger_v1_applogger_proto_rawDescGZIP(), []int{1} -} - -func (x *LogAttrs) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *LogAttrs) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_applogger_v1_applogger_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_applogger_v1_applogger_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_applogger_v1_applogger_proto_rawDescGZIP(), []int{2} -} - -var File_applogger_v1_applogger_proto protoreflect.FileDescriptor - -const file_applogger_v1_applogger_proto_rawDesc = "" + - "\n" + - "\x1capplogger/v1/applogger.proto\x12\fapplogger.v1\"Y\n" + - "\bLogEntry\x12\x18\n" + - "\amessage\x18\x01 \x01(\tR\amessage\x123\n" + - "\tlog_attrs\x18\x02 \x03(\v2\x16.applogger.v1.LogAttrsR\blogAttrs\"2\n" + - "\bLogAttrs\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value\"\n" + - "\n" + - "\bResponseB\x80\x01Z6github.com/roadrunner-server/api/v4/build/applogger/v1\xca\x02\x1bRoadRunner\\AppLogger\\DTO\\V1\xe2\x02'RoadRunner\\AppLogger\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_applogger_v1_applogger_proto_rawDescOnce sync.Once - file_applogger_v1_applogger_proto_rawDescData []byte -) - -func file_applogger_v1_applogger_proto_rawDescGZIP() []byte { - file_applogger_v1_applogger_proto_rawDescOnce.Do(func() { - file_applogger_v1_applogger_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_applogger_v1_applogger_proto_rawDesc), len(file_applogger_v1_applogger_proto_rawDesc))) - }) - return file_applogger_v1_applogger_proto_rawDescData -} - -var file_applogger_v1_applogger_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_applogger_v1_applogger_proto_goTypes = []any{ - (*LogEntry)(nil), // 0: applogger.v1.LogEntry - (*LogAttrs)(nil), // 1: applogger.v1.LogAttrs - (*Response)(nil), // 2: applogger.v1.Response -} -var file_applogger_v1_applogger_proto_depIdxs = []int32{ - 1, // 0: applogger.v1.LogEntry.log_attrs:type_name -> applogger.v1.LogAttrs - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_applogger_v1_applogger_proto_init() } -func file_applogger_v1_applogger_proto_init() { - if File_applogger_v1_applogger_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_applogger_v1_applogger_proto_rawDesc), len(file_applogger_v1_applogger_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_applogger_v1_applogger_proto_goTypes, - DependencyIndexes: file_applogger_v1_applogger_proto_depIdxs, - MessageInfos: file_applogger_v1_applogger_proto_msgTypes, - }.Build() - File_applogger_v1_applogger_proto = out.File - file_applogger_v1_applogger_proto_goTypes = nil - file_applogger_v1_applogger_proto_depIdxs = nil -} diff --git a/build/centrifugo/api/v1/api.pb.go b/build/centrifugo/api/v1/api.pb.go deleted file mode 100644 index c349d87..0000000 --- a/build/centrifugo/api/v1/api.pb.go +++ /dev/null @@ -1,9178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: centrifugo/api/v1/api.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Command_MethodType int32 - -const ( - Command_PUBLISH Command_MethodType = 0 - Command_BROADCAST Command_MethodType = 1 - Command_UNSUBSCRIBE Command_MethodType = 2 - Command_DISCONNECT Command_MethodType = 3 - Command_PRESENCE Command_MethodType = 4 - Command_PRESENCE_STATS Command_MethodType = 5 - Command_HISTORY Command_MethodType = 6 - Command_HISTORY_REMOVE Command_MethodType = 7 - Command_CHANNELS Command_MethodType = 8 - Command_INFO Command_MethodType = 9 - Command_RPC Command_MethodType = 10 - Command_SUBSCRIBE Command_MethodType = 11 - Command_REFRESH Command_MethodType = 12 - Command_CONNECTIONS Command_MethodType = 14 - Command_UPDATE_USER_STATUS Command_MethodType = 15 - Command_GET_USER_STATUS Command_MethodType = 16 - Command_DELETE_USER_STATUS Command_MethodType = 17 - Command_BLOCK_USER Command_MethodType = 18 - Command_UNBLOCK_USER Command_MethodType = 19 - Command_REVOKE_TOKEN Command_MethodType = 20 - Command_INVALIDATE_USER_TOKENS Command_MethodType = 21 - Command_DEVICE_REGISTER Command_MethodType = 22 - Command_DEVICE_UPDATE Command_MethodType = 23 - Command_DEVICE_REMOVE Command_MethodType = 24 - Command_DEVICE_LIST Command_MethodType = 25 - Command_DEVICE_TOPIC_LIST Command_MethodType = 26 - Command_DEVICE_TOPIC_UPDATE Command_MethodType = 27 - Command_USER_TOPIC_LIST Command_MethodType = 28 - Command_USER_TOPIC_UPDATE Command_MethodType = 29 - Command_SEND_PUSH_NOTIFICATION Command_MethodType = 30 - Command_UPDATE_PUSH_STATUS Command_MethodType = 31 - Command_CANCEL_PUSH Command_MethodType = 32 - Command_RATE_LIMIT Command_MethodType = 47 -) - -// Enum value maps for Command_MethodType. -var ( - Command_MethodType_name = map[int32]string{ - 0: "PUBLISH", - 1: "BROADCAST", - 2: "UNSUBSCRIBE", - 3: "DISCONNECT", - 4: "PRESENCE", - 5: "PRESENCE_STATS", - 6: "HISTORY", - 7: "HISTORY_REMOVE", - 8: "CHANNELS", - 9: "INFO", - 10: "RPC", - 11: "SUBSCRIBE", - 12: "REFRESH", - 14: "CONNECTIONS", - 15: "UPDATE_USER_STATUS", - 16: "GET_USER_STATUS", - 17: "DELETE_USER_STATUS", - 18: "BLOCK_USER", - 19: "UNBLOCK_USER", - 20: "REVOKE_TOKEN", - 21: "INVALIDATE_USER_TOKENS", - 22: "DEVICE_REGISTER", - 23: "DEVICE_UPDATE", - 24: "DEVICE_REMOVE", - 25: "DEVICE_LIST", - 26: "DEVICE_TOPIC_LIST", - 27: "DEVICE_TOPIC_UPDATE", - 28: "USER_TOPIC_LIST", - 29: "USER_TOPIC_UPDATE", - 30: "SEND_PUSH_NOTIFICATION", - 31: "UPDATE_PUSH_STATUS", - 32: "CANCEL_PUSH", - 47: "RATE_LIMIT", - } - Command_MethodType_value = map[string]int32{ - "PUBLISH": 0, - "BROADCAST": 1, - "UNSUBSCRIBE": 2, - "DISCONNECT": 3, - "PRESENCE": 4, - "PRESENCE_STATS": 5, - "HISTORY": 6, - "HISTORY_REMOVE": 7, - "CHANNELS": 8, - "INFO": 9, - "RPC": 10, - "SUBSCRIBE": 11, - "REFRESH": 12, - "CONNECTIONS": 14, - "UPDATE_USER_STATUS": 15, - "GET_USER_STATUS": 16, - "DELETE_USER_STATUS": 17, - "BLOCK_USER": 18, - "UNBLOCK_USER": 19, - "REVOKE_TOKEN": 20, - "INVALIDATE_USER_TOKENS": 21, - "DEVICE_REGISTER": 22, - "DEVICE_UPDATE": 23, - "DEVICE_REMOVE": 24, - "DEVICE_LIST": 25, - "DEVICE_TOPIC_LIST": 26, - "DEVICE_TOPIC_UPDATE": 27, - "USER_TOPIC_LIST": 28, - "USER_TOPIC_UPDATE": 29, - "SEND_PUSH_NOTIFICATION": 30, - "UPDATE_PUSH_STATUS": 31, - "CANCEL_PUSH": 32, - "RATE_LIMIT": 47, - } -) - -func (x Command_MethodType) Enum() *Command_MethodType { - p := new(Command_MethodType) - *p = x - return p -} - -func (x Command_MethodType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Command_MethodType) Descriptor() protoreflect.EnumDescriptor { - return file_centrifugo_api_v1_api_proto_enumTypes[0].Descriptor() -} - -func (Command_MethodType) Type() protoreflect.EnumType { - return &file_centrifugo_api_v1_api_proto_enumTypes[0] -} - -func (x Command_MethodType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Command_MethodType.Descriptor instead. -func (Command_MethodType) EnumDescriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{0, 0} -} - -type Command struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Method Command_MethodType `protobuf:"varint,2,opt,name=method,proto3,enum=centrifugal.centrifugo.api.Command_MethodType" json:"method,omitempty"` - Params []byte `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` - Publish *PublishRequest `protobuf:"bytes,4,opt,name=publish,proto3" json:"publish,omitempty"` - Broadcast *BroadcastRequest `protobuf:"bytes,5,opt,name=broadcast,proto3" json:"broadcast,omitempty"` - Subscribe *SubscribeRequest `protobuf:"bytes,6,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - Unsubscribe *UnsubscribeRequest `protobuf:"bytes,7,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"` - Disconnect *DisconnectRequest `protobuf:"bytes,8,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - Presence *PresenceRequest `protobuf:"bytes,9,opt,name=presence,proto3" json:"presence,omitempty"` - PresenceStats *PresenceStatsRequest `protobuf:"bytes,10,opt,name=presence_stats,json=presenceStats,proto3" json:"presence_stats,omitempty"` - History *HistoryRequest `protobuf:"bytes,11,opt,name=history,proto3" json:"history,omitempty"` - HistoryRemove *HistoryRemoveRequest `protobuf:"bytes,12,opt,name=history_remove,json=historyRemove,proto3" json:"history_remove,omitempty"` - Info *InfoRequest `protobuf:"bytes,13,opt,name=info,proto3" json:"info,omitempty"` - Rpc *RPCRequest `protobuf:"bytes,14,opt,name=rpc,proto3" json:"rpc,omitempty"` - Refresh *RefreshRequest `protobuf:"bytes,15,opt,name=refresh,proto3" json:"refresh,omitempty"` - Channels *ChannelsRequest `protobuf:"bytes,16,opt,name=channels,proto3" json:"channels,omitempty"` - Connections *ConnectionsRequest `protobuf:"bytes,17,opt,name=connections,proto3" json:"connections,omitempty"` - UpdateUserStatus *UpdateUserStatusRequest `protobuf:"bytes,18,opt,name=update_user_status,json=updateUserStatus,proto3" json:"update_user_status,omitempty"` - GetUserStatus *GetUserStatusRequest `protobuf:"bytes,19,opt,name=get_user_status,json=getUserStatus,proto3" json:"get_user_status,omitempty"` - DeleteUserStatus *DeleteUserStatusRequest `protobuf:"bytes,20,opt,name=delete_user_status,json=deleteUserStatus,proto3" json:"delete_user_status,omitempty"` - BlockUser *BlockUserRequest `protobuf:"bytes,21,opt,name=block_user,json=blockUser,proto3" json:"block_user,omitempty"` - UnblockUser *UnblockUserRequest `protobuf:"bytes,22,opt,name=unblock_user,json=unblockUser,proto3" json:"unblock_user,omitempty"` - RevokeToken *RevokeTokenRequest `protobuf:"bytes,23,opt,name=revoke_token,json=revokeToken,proto3" json:"revoke_token,omitempty"` - InvalidateUserTokens *InvalidateUserTokensRequest `protobuf:"bytes,24,opt,name=invalidate_user_tokens,json=invalidateUserTokens,proto3" json:"invalidate_user_tokens,omitempty"` - DeviceRegister *DeviceRegisterRequest `protobuf:"bytes,25,opt,name=device_register,json=deviceRegister,proto3" json:"device_register,omitempty"` - DeviceUpdate *DeviceUpdateRequest `protobuf:"bytes,26,opt,name=device_update,json=deviceUpdate,proto3" json:"device_update,omitempty"` - DeviceRemove *DeviceRemoveRequest `protobuf:"bytes,27,opt,name=device_remove,json=deviceRemove,proto3" json:"device_remove,omitempty"` - DeviceList *DeviceListRequest `protobuf:"bytes,28,opt,name=device_list,json=deviceList,proto3" json:"device_list,omitempty"` - DeviceTopicList *DeviceTopicListRequest `protobuf:"bytes,29,opt,name=device_topic_list,json=deviceTopicList,proto3" json:"device_topic_list,omitempty"` - DeviceTopicUpdate *DeviceTopicUpdateRequest `protobuf:"bytes,30,opt,name=device_topic_update,json=deviceTopicUpdate,proto3" json:"device_topic_update,omitempty"` - UserTopicList *UserTopicListRequest `protobuf:"bytes,31,opt,name=user_topic_list,json=userTopicList,proto3" json:"user_topic_list,omitempty"` - UserTopicUpdate *UserTopicUpdateRequest `protobuf:"bytes,32,opt,name=user_topic_update,json=userTopicUpdate,proto3" json:"user_topic_update,omitempty"` - SendPushNotification *SendPushNotificationRequest `protobuf:"bytes,33,opt,name=send_push_notification,json=sendPushNotification,proto3" json:"send_push_notification,omitempty"` - UpdatePushStatus *UpdatePushStatusRequest `protobuf:"bytes,34,opt,name=update_push_status,json=updatePushStatus,proto3" json:"update_push_status,omitempty"` - CancelPush *CancelPushRequest `protobuf:"bytes,35,opt,name=cancel_push,json=cancelPush,proto3" json:"cancel_push,omitempty"` - RateLimit *RateLimitRequest `protobuf:"bytes,50,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Command) Reset() { - *x = Command{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Command) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Command) ProtoMessage() {} - -func (x *Command) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Command.ProtoReflect.Descriptor instead. -func (*Command) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{0} -} - -func (x *Command) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Command) GetMethod() Command_MethodType { - if x != nil { - return x.Method - } - return Command_PUBLISH -} - -func (x *Command) GetParams() []byte { - if x != nil { - return x.Params - } - return nil -} - -func (x *Command) GetPublish() *PublishRequest { - if x != nil { - return x.Publish - } - return nil -} - -func (x *Command) GetBroadcast() *BroadcastRequest { - if x != nil { - return x.Broadcast - } - return nil -} - -func (x *Command) GetSubscribe() *SubscribeRequest { - if x != nil { - return x.Subscribe - } - return nil -} - -func (x *Command) GetUnsubscribe() *UnsubscribeRequest { - if x != nil { - return x.Unsubscribe - } - return nil -} - -func (x *Command) GetDisconnect() *DisconnectRequest { - if x != nil { - return x.Disconnect - } - return nil -} - -func (x *Command) GetPresence() *PresenceRequest { - if x != nil { - return x.Presence - } - return nil -} - -func (x *Command) GetPresenceStats() *PresenceStatsRequest { - if x != nil { - return x.PresenceStats - } - return nil -} - -func (x *Command) GetHistory() *HistoryRequest { - if x != nil { - return x.History - } - return nil -} - -func (x *Command) GetHistoryRemove() *HistoryRemoveRequest { - if x != nil { - return x.HistoryRemove - } - return nil -} - -func (x *Command) GetInfo() *InfoRequest { - if x != nil { - return x.Info - } - return nil -} - -func (x *Command) GetRpc() *RPCRequest { - if x != nil { - return x.Rpc - } - return nil -} - -func (x *Command) GetRefresh() *RefreshRequest { - if x != nil { - return x.Refresh - } - return nil -} - -func (x *Command) GetChannels() *ChannelsRequest { - if x != nil { - return x.Channels - } - return nil -} - -func (x *Command) GetConnections() *ConnectionsRequest { - if x != nil { - return x.Connections - } - return nil -} - -func (x *Command) GetUpdateUserStatus() *UpdateUserStatusRequest { - if x != nil { - return x.UpdateUserStatus - } - return nil -} - -func (x *Command) GetGetUserStatus() *GetUserStatusRequest { - if x != nil { - return x.GetUserStatus - } - return nil -} - -func (x *Command) GetDeleteUserStatus() *DeleteUserStatusRequest { - if x != nil { - return x.DeleteUserStatus - } - return nil -} - -func (x *Command) GetBlockUser() *BlockUserRequest { - if x != nil { - return x.BlockUser - } - return nil -} - -func (x *Command) GetUnblockUser() *UnblockUserRequest { - if x != nil { - return x.UnblockUser - } - return nil -} - -func (x *Command) GetRevokeToken() *RevokeTokenRequest { - if x != nil { - return x.RevokeToken - } - return nil -} - -func (x *Command) GetInvalidateUserTokens() *InvalidateUserTokensRequest { - if x != nil { - return x.InvalidateUserTokens - } - return nil -} - -func (x *Command) GetDeviceRegister() *DeviceRegisterRequest { - if x != nil { - return x.DeviceRegister - } - return nil -} - -func (x *Command) GetDeviceUpdate() *DeviceUpdateRequest { - if x != nil { - return x.DeviceUpdate - } - return nil -} - -func (x *Command) GetDeviceRemove() *DeviceRemoveRequest { - if x != nil { - return x.DeviceRemove - } - return nil -} - -func (x *Command) GetDeviceList() *DeviceListRequest { - if x != nil { - return x.DeviceList - } - return nil -} - -func (x *Command) GetDeviceTopicList() *DeviceTopicListRequest { - if x != nil { - return x.DeviceTopicList - } - return nil -} - -func (x *Command) GetDeviceTopicUpdate() *DeviceTopicUpdateRequest { - if x != nil { - return x.DeviceTopicUpdate - } - return nil -} - -func (x *Command) GetUserTopicList() *UserTopicListRequest { - if x != nil { - return x.UserTopicList - } - return nil -} - -func (x *Command) GetUserTopicUpdate() *UserTopicUpdateRequest { - if x != nil { - return x.UserTopicUpdate - } - return nil -} - -func (x *Command) GetSendPushNotification() *SendPushNotificationRequest { - if x != nil { - return x.SendPushNotification - } - return nil -} - -func (x *Command) GetUpdatePushStatus() *UpdatePushStatusRequest { - if x != nil { - return x.UpdatePushStatus - } - return nil -} - -func (x *Command) GetCancelPush() *CancelPushRequest { - if x != nil { - return x.CancelPush - } - return nil -} - -func (x *Command) GetRateLimit() *RateLimitRequest { - if x != nil { - return x.RateLimit - } - return nil -} - -type Error struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Error) Reset() { - *x = Error{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Error) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Error) ProtoMessage() {} - -func (x *Error) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Error.ProtoReflect.Descriptor instead. -func (*Error) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{1} -} - -func (x *Error) GetCode() uint32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Error) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type Reply struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Result []byte `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` - Publish *PublishResult `protobuf:"bytes,4,opt,name=publish,proto3" json:"publish,omitempty"` - Broadcast *BroadcastResult `protobuf:"bytes,5,opt,name=broadcast,proto3" json:"broadcast,omitempty"` - Subscribe *SubscribeResult `protobuf:"bytes,6,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - Unsubscribe *UnsubscribeResult `protobuf:"bytes,7,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"` - Disconnect *DisconnectResult `protobuf:"bytes,8,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - Presence *PresenceResult `protobuf:"bytes,9,opt,name=presence,proto3" json:"presence,omitempty"` - PresenceStats *PresenceStatsResult `protobuf:"bytes,10,opt,name=presence_stats,json=presenceStats,proto3" json:"presence_stats,omitempty"` - History *HistoryResult `protobuf:"bytes,11,opt,name=history,proto3" json:"history,omitempty"` - HistoryRemove *HistoryRemoveResult `protobuf:"bytes,12,opt,name=history_remove,json=historyRemove,proto3" json:"history_remove,omitempty"` - Info *InfoResult `protobuf:"bytes,13,opt,name=info,proto3" json:"info,omitempty"` - Rpc *RPCResult `protobuf:"bytes,14,opt,name=rpc,proto3" json:"rpc,omitempty"` - Refresh *RefreshResult `protobuf:"bytes,15,opt,name=refresh,proto3" json:"refresh,omitempty"` - Channels *ChannelsResult `protobuf:"bytes,16,opt,name=channels,proto3" json:"channels,omitempty"` - Connections *ConnectionsResult `protobuf:"bytes,17,opt,name=connections,proto3" json:"connections,omitempty"` - UpdateUserStatus *UpdateUserStatusResult `protobuf:"bytes,18,opt,name=update_user_status,json=updateUserStatus,proto3" json:"update_user_status,omitempty"` - GetUserStatus *GetUserStatusResult `protobuf:"bytes,19,opt,name=get_user_status,json=getUserStatus,proto3" json:"get_user_status,omitempty"` - DeleteUserStatus *DeleteUserStatusResult `protobuf:"bytes,20,opt,name=delete_user_status,json=deleteUserStatus,proto3" json:"delete_user_status,omitempty"` - BlockUser *BlockUserResult `protobuf:"bytes,21,opt,name=block_user,json=blockUser,proto3" json:"block_user,omitempty"` - UnblockUser *UnblockUserResult `protobuf:"bytes,22,opt,name=unblock_user,json=unblockUser,proto3" json:"unblock_user,omitempty"` - RevokeToken *RevokeTokenResult `protobuf:"bytes,23,opt,name=revoke_token,json=revokeToken,proto3" json:"revoke_token,omitempty"` - InvalidateUserTokens *InvalidateUserTokensResult `protobuf:"bytes,24,opt,name=invalidate_user_tokens,json=invalidateUserTokens,proto3" json:"invalidate_user_tokens,omitempty"` - DeviceRegister *DeviceRegisterResult `protobuf:"bytes,25,opt,name=device_register,json=deviceRegister,proto3" json:"device_register,omitempty"` - DeviceUpdate *DeviceUpdateResult `protobuf:"bytes,26,opt,name=device_update,json=deviceUpdate,proto3" json:"device_update,omitempty"` - DeviceRemove *DeviceRemoveResult `protobuf:"bytes,27,opt,name=device_remove,json=deviceRemove,proto3" json:"device_remove,omitempty"` - DeviceList *DeviceListResult `protobuf:"bytes,28,opt,name=device_list,json=deviceList,proto3" json:"device_list,omitempty"` - DeviceTopicList *DeviceTopicListResult `protobuf:"bytes,29,opt,name=device_topic_list,json=deviceTopicList,proto3" json:"device_topic_list,omitempty"` - DeviceTopicUpdate *DeviceTopicUpdateResult `protobuf:"bytes,30,opt,name=device_topic_update,json=deviceTopicUpdate,proto3" json:"device_topic_update,omitempty"` - UserTopicList *UserTopicListResult `protobuf:"bytes,31,opt,name=user_topic_list,json=userTopicList,proto3" json:"user_topic_list,omitempty"` - UserTopicUpdate *UserTopicUpdateResult `protobuf:"bytes,32,opt,name=user_topic_update,json=userTopicUpdate,proto3" json:"user_topic_update,omitempty"` - SendPushNotification *SendPushNotificationResult `protobuf:"bytes,33,opt,name=send_push_notification,json=sendPushNotification,proto3" json:"send_push_notification,omitempty"` - UpdatePushStatus *UpdatePushStatusResult `protobuf:"bytes,34,opt,name=update_push_status,json=updatePushStatus,proto3" json:"update_push_status,omitempty"` - CancelPush *CancelPushResult `protobuf:"bytes,35,opt,name=cancel_push,json=cancelPush,proto3" json:"cancel_push,omitempty"` - RateLimit *RateLimitResult `protobuf:"bytes,50,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Reply) Reset() { - *x = Reply{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Reply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Reply) ProtoMessage() {} - -func (x *Reply) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Reply.ProtoReflect.Descriptor instead. -func (*Reply) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{2} -} - -func (x *Reply) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Reply) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *Reply) GetResult() []byte { - if x != nil { - return x.Result - } - return nil -} - -func (x *Reply) GetPublish() *PublishResult { - if x != nil { - return x.Publish - } - return nil -} - -func (x *Reply) GetBroadcast() *BroadcastResult { - if x != nil { - return x.Broadcast - } - return nil -} - -func (x *Reply) GetSubscribe() *SubscribeResult { - if x != nil { - return x.Subscribe - } - return nil -} - -func (x *Reply) GetUnsubscribe() *UnsubscribeResult { - if x != nil { - return x.Unsubscribe - } - return nil -} - -func (x *Reply) GetDisconnect() *DisconnectResult { - if x != nil { - return x.Disconnect - } - return nil -} - -func (x *Reply) GetPresence() *PresenceResult { - if x != nil { - return x.Presence - } - return nil -} - -func (x *Reply) GetPresenceStats() *PresenceStatsResult { - if x != nil { - return x.PresenceStats - } - return nil -} - -func (x *Reply) GetHistory() *HistoryResult { - if x != nil { - return x.History - } - return nil -} - -func (x *Reply) GetHistoryRemove() *HistoryRemoveResult { - if x != nil { - return x.HistoryRemove - } - return nil -} - -func (x *Reply) GetInfo() *InfoResult { - if x != nil { - return x.Info - } - return nil -} - -func (x *Reply) GetRpc() *RPCResult { - if x != nil { - return x.Rpc - } - return nil -} - -func (x *Reply) GetRefresh() *RefreshResult { - if x != nil { - return x.Refresh - } - return nil -} - -func (x *Reply) GetChannels() *ChannelsResult { - if x != nil { - return x.Channels - } - return nil -} - -func (x *Reply) GetConnections() *ConnectionsResult { - if x != nil { - return x.Connections - } - return nil -} - -func (x *Reply) GetUpdateUserStatus() *UpdateUserStatusResult { - if x != nil { - return x.UpdateUserStatus - } - return nil -} - -func (x *Reply) GetGetUserStatus() *GetUserStatusResult { - if x != nil { - return x.GetUserStatus - } - return nil -} - -func (x *Reply) GetDeleteUserStatus() *DeleteUserStatusResult { - if x != nil { - return x.DeleteUserStatus - } - return nil -} - -func (x *Reply) GetBlockUser() *BlockUserResult { - if x != nil { - return x.BlockUser - } - return nil -} - -func (x *Reply) GetUnblockUser() *UnblockUserResult { - if x != nil { - return x.UnblockUser - } - return nil -} - -func (x *Reply) GetRevokeToken() *RevokeTokenResult { - if x != nil { - return x.RevokeToken - } - return nil -} - -func (x *Reply) GetInvalidateUserTokens() *InvalidateUserTokensResult { - if x != nil { - return x.InvalidateUserTokens - } - return nil -} - -func (x *Reply) GetDeviceRegister() *DeviceRegisterResult { - if x != nil { - return x.DeviceRegister - } - return nil -} - -func (x *Reply) GetDeviceUpdate() *DeviceUpdateResult { - if x != nil { - return x.DeviceUpdate - } - return nil -} - -func (x *Reply) GetDeviceRemove() *DeviceRemoveResult { - if x != nil { - return x.DeviceRemove - } - return nil -} - -func (x *Reply) GetDeviceList() *DeviceListResult { - if x != nil { - return x.DeviceList - } - return nil -} - -func (x *Reply) GetDeviceTopicList() *DeviceTopicListResult { - if x != nil { - return x.DeviceTopicList - } - return nil -} - -func (x *Reply) GetDeviceTopicUpdate() *DeviceTopicUpdateResult { - if x != nil { - return x.DeviceTopicUpdate - } - return nil -} - -func (x *Reply) GetUserTopicList() *UserTopicListResult { - if x != nil { - return x.UserTopicList - } - return nil -} - -func (x *Reply) GetUserTopicUpdate() *UserTopicUpdateResult { - if x != nil { - return x.UserTopicUpdate - } - return nil -} - -func (x *Reply) GetSendPushNotification() *SendPushNotificationResult { - if x != nil { - return x.SendPushNotification - } - return nil -} - -func (x *Reply) GetUpdatePushStatus() *UpdatePushStatusResult { - if x != nil { - return x.UpdatePushStatus - } - return nil -} - -func (x *Reply) GetCancelPush() *CancelPushResult { - if x != nil { - return x.CancelPush - } - return nil -} - -func (x *Reply) GetRateLimit() *RateLimitResult { - if x != nil { - return x.RateLimit - } - return nil -} - -type BoolValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BoolValue) Reset() { - *x = BoolValue{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BoolValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BoolValue) ProtoMessage() {} - -func (x *BoolValue) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BoolValue.ProtoReflect.Descriptor instead. -func (*BoolValue) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{3} -} - -func (x *BoolValue) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -type Int32Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Int32Value) Reset() { - *x = Int32Value{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Int32Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Int32Value) ProtoMessage() {} - -func (x *Int32Value) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Int32Value.ProtoReflect.Descriptor instead. -func (*Int32Value) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{4} -} - -func (x *Int32Value) GetValue() int32 { - if x != nil { - return x.Value - } - return 0 -} - -type SubscribeOptionOverride struct { - state protoimpl.MessageState `protogen:"open.v1"` - Presence *BoolValue `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"` - JoinLeave *BoolValue `protobuf:"bytes,2,opt,name=join_leave,json=joinLeave,proto3" json:"join_leave,omitempty"` - ForceRecovery *BoolValue `protobuf:"bytes,3,opt,name=force_recovery,json=forceRecovery,proto3" json:"force_recovery,omitempty"` - ForcePositioning *BoolValue `protobuf:"bytes,4,opt,name=force_positioning,json=forcePositioning,proto3" json:"force_positioning,omitempty"` - ForcePushJoinLeave *BoolValue `protobuf:"bytes,5,opt,name=force_push_join_leave,json=forcePushJoinLeave,proto3" json:"force_push_join_leave,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeOptionOverride) Reset() { - *x = SubscribeOptionOverride{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeOptionOverride) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeOptionOverride) ProtoMessage() {} - -func (x *SubscribeOptionOverride) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeOptionOverride.ProtoReflect.Descriptor instead. -func (*SubscribeOptionOverride) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{5} -} - -func (x *SubscribeOptionOverride) GetPresence() *BoolValue { - if x != nil { - return x.Presence - } - return nil -} - -func (x *SubscribeOptionOverride) GetJoinLeave() *BoolValue { - if x != nil { - return x.JoinLeave - } - return nil -} - -func (x *SubscribeOptionOverride) GetForceRecovery() *BoolValue { - if x != nil { - return x.ForceRecovery - } - return nil -} - -func (x *SubscribeOptionOverride) GetForcePositioning() *BoolValue { - if x != nil { - return x.ForcePositioning - } - return nil -} - -func (x *SubscribeOptionOverride) GetForcePushJoinLeave() *BoolValue { - if x != nil { - return x.ForcePushJoinLeave - } - return nil -} - -type BatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Commands []*Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"` - Parallel bool `protobuf:"varint,2,opt,name=parallel,proto3" json:"parallel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchRequest) Reset() { - *x = BatchRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchRequest) ProtoMessage() {} - -func (x *BatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchRequest.ProtoReflect.Descriptor instead. -func (*BatchRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{6} -} - -func (x *BatchRequest) GetCommands() []*Command { - if x != nil { - return x.Commands - } - return nil -} - -func (x *BatchRequest) GetParallel() bool { - if x != nil { - return x.Parallel - } - return false -} - -type BatchResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Replies []*Reply `protobuf:"bytes,1,rep,name=replies,proto3" json:"replies,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchResponse) Reset() { - *x = BatchResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchResponse) ProtoMessage() {} - -func (x *BatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchResponse.ProtoReflect.Descriptor instead. -func (*BatchResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{7} -} - -func (x *BatchResponse) GetReplies() []*Reply { - if x != nil { - return x.Replies - } - return nil -} - -type PublishRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,3,opt,name=b64data,proto3" json:"b64data,omitempty"` - SkipHistory bool `protobuf:"varint,4,opt,name=skip_history,json=skipHistory,proto3" json:"skip_history,omitempty"` - Tags map[string]string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - IdempotencyKey string `protobuf:"bytes,6,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishRequest) Reset() { - *x = PublishRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishRequest) ProtoMessage() {} - -func (x *PublishRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead. -func (*PublishRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{8} -} - -func (x *PublishRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *PublishRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *PublishRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *PublishRequest) GetSkipHistory() bool { - if x != nil { - return x.SkipHistory - } - return false -} - -func (x *PublishRequest) GetTags() map[string]string { - if x != nil { - return x.Tags - } - return nil -} - -func (x *PublishRequest) GetIdempotencyKey() string { - if x != nil { - return x.IdempotencyKey - } - return "" -} - -type PublishResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *PublishResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishResponse) Reset() { - *x = PublishResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishResponse) ProtoMessage() {} - -func (x *PublishResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead. -func (*PublishResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{9} -} - -func (x *PublishResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *PublishResponse) GetResult() *PublishResult { - if x != nil { - return x.Result - } - return nil -} - -type PublishResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Epoch string `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishResult) Reset() { - *x = PublishResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishResult) ProtoMessage() {} - -func (x *PublishResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishResult.ProtoReflect.Descriptor instead. -func (*PublishResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{10} -} - -func (x *PublishResult) GetOffset() uint64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *PublishResult) GetEpoch() string { - if x != nil { - return x.Epoch - } - return "" -} - -type BroadcastRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channels []string `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,3,opt,name=b64data,proto3" json:"b64data,omitempty"` - SkipHistory bool `protobuf:"varint,4,opt,name=skip_history,json=skipHistory,proto3" json:"skip_history,omitempty"` - Tags map[string]string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - IdempotencyKey string `protobuf:"bytes,6,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BroadcastRequest) Reset() { - *x = BroadcastRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BroadcastRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BroadcastRequest) ProtoMessage() {} - -func (x *BroadcastRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead. -func (*BroadcastRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{11} -} - -func (x *BroadcastRequest) GetChannels() []string { - if x != nil { - return x.Channels - } - return nil -} - -func (x *BroadcastRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *BroadcastRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *BroadcastRequest) GetSkipHistory() bool { - if x != nil { - return x.SkipHistory - } - return false -} - -func (x *BroadcastRequest) GetTags() map[string]string { - if x != nil { - return x.Tags - } - return nil -} - -func (x *BroadcastRequest) GetIdempotencyKey() string { - if x != nil { - return x.IdempotencyKey - } - return "" -} - -type BroadcastResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *BroadcastResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BroadcastResponse) Reset() { - *x = BroadcastResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BroadcastResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BroadcastResponse) ProtoMessage() {} - -func (x *BroadcastResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead. -func (*BroadcastResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{12} -} - -func (x *BroadcastResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *BroadcastResponse) GetResult() *BroadcastResult { - if x != nil { - return x.Result - } - return nil -} - -type BroadcastResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Responses []*PublishResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BroadcastResult) Reset() { - *x = BroadcastResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BroadcastResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BroadcastResult) ProtoMessage() {} - -func (x *BroadcastResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BroadcastResult.ProtoReflect.Descriptor instead. -func (*BroadcastResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{13} -} - -func (x *BroadcastResult) GetResponses() []*PublishResponse { - if x != nil { - return x.Responses - } - return nil -} - -type SubscribeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,5,opt,name=b64info,proto3" json:"b64info,omitempty"` - Client string `protobuf:"bytes,6,opt,name=client,proto3" json:"client,omitempty"` - Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,8,opt,name=b64data,proto3" json:"b64data,omitempty"` - RecoverSince *StreamPosition `protobuf:"bytes,9,opt,name=recover_since,json=recoverSince,proto3" json:"recover_since,omitempty"` - Override *SubscribeOptionOverride `protobuf:"bytes,10,opt,name=override,proto3" json:"override,omitempty"` - Session string `protobuf:"bytes,11,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeRequest) Reset() { - *x = SubscribeRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeRequest) ProtoMessage() {} - -func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. -func (*SubscribeRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{14} -} - -func (x *SubscribeRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *SubscribeRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *SubscribeRequest) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *SubscribeRequest) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *SubscribeRequest) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -func (x *SubscribeRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *SubscribeRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *SubscribeRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *SubscribeRequest) GetRecoverSince() *StreamPosition { - if x != nil { - return x.RecoverSince - } - return nil -} - -func (x *SubscribeRequest) GetOverride() *SubscribeOptionOverride { - if x != nil { - return x.Override - } - return nil -} - -func (x *SubscribeRequest) GetSession() string { - if x != nil { - return x.Session - } - return "" -} - -type SubscribeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *SubscribeResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeResponse) Reset() { - *x = SubscribeResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeResponse) ProtoMessage() {} - -func (x *SubscribeResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead. -func (*SubscribeResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{15} -} - -func (x *SubscribeResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *SubscribeResponse) GetResult() *SubscribeResult { - if x != nil { - return x.Result - } - return nil -} - -type SubscribeResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeResult) Reset() { - *x = SubscribeResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeResult) ProtoMessage() {} - -func (x *SubscribeResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeResult.ProtoReflect.Descriptor instead. -func (*SubscribeResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{16} -} - -type UnsubscribeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` - Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnsubscribeRequest) Reset() { - *x = UnsubscribeRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnsubscribeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnsubscribeRequest) ProtoMessage() {} - -func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead. -func (*UnsubscribeRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{17} -} - -func (x *UnsubscribeRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *UnsubscribeRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *UnsubscribeRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *UnsubscribeRequest) GetSession() string { - if x != nil { - return x.Session - } - return "" -} - -type UnsubscribeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UnsubscribeResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnsubscribeResponse) Reset() { - *x = UnsubscribeResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnsubscribeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnsubscribeResponse) ProtoMessage() {} - -func (x *UnsubscribeResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnsubscribeResponse.ProtoReflect.Descriptor instead. -func (*UnsubscribeResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{18} -} - -func (x *UnsubscribeResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UnsubscribeResponse) GetResult() *UnsubscribeResult { - if x != nil { - return x.Result - } - return nil -} - -type UnsubscribeResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnsubscribeResult) Reset() { - *x = UnsubscribeResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnsubscribeResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnsubscribeResult) ProtoMessage() {} - -func (x *UnsubscribeResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnsubscribeResult.ProtoReflect.Descriptor instead. -func (*UnsubscribeResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{19} -} - -type Disconnect struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Disconnect) Reset() { - *x = Disconnect{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Disconnect) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Disconnect) ProtoMessage() {} - -func (x *Disconnect) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Disconnect.ProtoReflect.Descriptor instead. -func (*Disconnect) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{20} -} - -func (x *Disconnect) GetCode() uint32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Disconnect) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type DisconnectRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,2,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` - Whitelist []string `protobuf:"bytes,4,rep,name=whitelist,proto3" json:"whitelist,omitempty"` - Session string `protobuf:"bytes,5,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisconnectRequest) Reset() { - *x = DisconnectRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisconnectRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectRequest) ProtoMessage() {} - -func (x *DisconnectRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead. -func (*DisconnectRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{21} -} - -func (x *DisconnectRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *DisconnectRequest) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -func (x *DisconnectRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *DisconnectRequest) GetWhitelist() []string { - if x != nil { - return x.Whitelist - } - return nil -} - -func (x *DisconnectRequest) GetSession() string { - if x != nil { - return x.Session - } - return "" -} - -type DisconnectResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DisconnectResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisconnectResponse) Reset() { - *x = DisconnectResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisconnectResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectResponse) ProtoMessage() {} - -func (x *DisconnectResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead. -func (*DisconnectResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{22} -} - -func (x *DisconnectResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DisconnectResponse) GetResult() *DisconnectResult { - if x != nil { - return x.Result - } - return nil -} - -type DisconnectResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisconnectResult) Reset() { - *x = DisconnectResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisconnectResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectResult) ProtoMessage() {} - -func (x *DisconnectResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectResult.ProtoReflect.Descriptor instead. -func (*DisconnectResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{23} -} - -type PresenceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceRequest) Reset() { - *x = PresenceRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceRequest) ProtoMessage() {} - -func (x *PresenceRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceRequest.ProtoReflect.Descriptor instead. -func (*PresenceRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{24} -} - -func (x *PresenceRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -type PresenceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *PresenceResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceResponse) Reset() { - *x = PresenceResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceResponse) ProtoMessage() {} - -func (x *PresenceResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceResponse.ProtoReflect.Descriptor instead. -func (*PresenceResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{25} -} - -func (x *PresenceResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *PresenceResponse) GetResult() *PresenceResult { - if x != nil { - return x.Result - } - return nil -} - -type ClientInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Client string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` - ConnInfo []byte `protobuf:"bytes,3,opt,name=conn_info,json=connInfo,proto3" json:"conn_info,omitempty"` - ChanInfo []byte `protobuf:"bytes,4,opt,name=chan_info,json=chanInfo,proto3" json:"chan_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ClientInfo) Reset() { - *x = ClientInfo{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ClientInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientInfo) ProtoMessage() {} - -func (x *ClientInfo) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead. -func (*ClientInfo) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{26} -} - -func (x *ClientInfo) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *ClientInfo) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *ClientInfo) GetConnInfo() []byte { - if x != nil { - return x.ConnInfo - } - return nil -} - -func (x *ClientInfo) GetChanInfo() []byte { - if x != nil { - return x.ChanInfo - } - return nil -} - -type PresenceResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Presence map[string]*ClientInfo `protobuf:"bytes,1,rep,name=presence,proto3" json:"presence,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceResult) Reset() { - *x = PresenceResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceResult) ProtoMessage() {} - -func (x *PresenceResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceResult.ProtoReflect.Descriptor instead. -func (*PresenceResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{27} -} - -func (x *PresenceResult) GetPresence() map[string]*ClientInfo { - if x != nil { - return x.Presence - } - return nil -} - -type PresenceStatsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceStatsRequest) Reset() { - *x = PresenceStatsRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceStatsRequest) ProtoMessage() {} - -func (x *PresenceStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceStatsRequest.ProtoReflect.Descriptor instead. -func (*PresenceStatsRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{28} -} - -func (x *PresenceStatsRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -type PresenceStatsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *PresenceStatsResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceStatsResponse) Reset() { - *x = PresenceStatsResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceStatsResponse) ProtoMessage() {} - -func (x *PresenceStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceStatsResponse.ProtoReflect.Descriptor instead. -func (*PresenceStatsResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{29} -} - -func (x *PresenceStatsResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *PresenceStatsResponse) GetResult() *PresenceStatsResult { - if x != nil { - return x.Result - } - return nil -} - -type PresenceStatsResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - NumClients uint32 `protobuf:"varint,1,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` - NumUsers uint32 `protobuf:"varint,2,opt,name=num_users,json=numUsers,proto3" json:"num_users,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PresenceStatsResult) Reset() { - *x = PresenceStatsResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PresenceStatsResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresenceStatsResult) ProtoMessage() {} - -func (x *PresenceStatsResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PresenceStatsResult.ProtoReflect.Descriptor instead. -func (*PresenceStatsResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{30} -} - -func (x *PresenceStatsResult) GetNumClients() uint32 { - if x != nil { - return x.NumClients - } - return 0 -} - -func (x *PresenceStatsResult) GetNumUsers() uint32 { - if x != nil { - return x.NumUsers - } - return 0 -} - -type StreamPosition struct { - state protoimpl.MessageState `protogen:"open.v1"` - Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Epoch string `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StreamPosition) Reset() { - *x = StreamPosition{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StreamPosition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StreamPosition) ProtoMessage() {} - -func (x *StreamPosition) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StreamPosition.ProtoReflect.Descriptor instead. -func (*StreamPosition) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{31} -} - -func (x *StreamPosition) GetOffset() uint64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *StreamPosition) GetEpoch() string { - if x != nil { - return x.Epoch - } - return "" -} - -type HistoryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - Since *StreamPosition `protobuf:"bytes,3,opt,name=since,proto3" json:"since,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryRequest) Reset() { - *x = HistoryRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryRequest) ProtoMessage() {} - -func (x *HistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryRequest.ProtoReflect.Descriptor instead. -func (*HistoryRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{32} -} - -func (x *HistoryRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *HistoryRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *HistoryRequest) GetSince() *StreamPosition { - if x != nil { - return x.Since - } - return nil -} - -func (x *HistoryRequest) GetReverse() bool { - if x != nil { - return x.Reverse - } - return false -} - -type HistoryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *HistoryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryResponse) Reset() { - *x = HistoryResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryResponse) ProtoMessage() {} - -func (x *HistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryResponse.ProtoReflect.Descriptor instead. -func (*HistoryResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{33} -} - -func (x *HistoryResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *HistoryResponse) GetResult() *HistoryResult { - if x != nil { - return x.Result - } - return nil -} - -type Publication struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Removed: string uid = 1; - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Info *ClientInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` - Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` - Tags map[string]string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Publication) Reset() { - *x = Publication{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Publication) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Publication) ProtoMessage() {} - -func (x *Publication) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Publication.ProtoReflect.Descriptor instead. -func (*Publication) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{34} -} - -func (x *Publication) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *Publication) GetInfo() *ClientInfo { - if x != nil { - return x.Info - } - return nil -} - -func (x *Publication) GetOffset() uint64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *Publication) GetTags() map[string]string { - if x != nil { - return x.Tags - } - return nil -} - -type HistoryResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Publications []*Publication `protobuf:"bytes,1,rep,name=publications,proto3" json:"publications,omitempty"` - Epoch string `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` - Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryResult) Reset() { - *x = HistoryResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryResult) ProtoMessage() {} - -func (x *HistoryResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryResult.ProtoReflect.Descriptor instead. -func (*HistoryResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{35} -} - -func (x *HistoryResult) GetPublications() []*Publication { - if x != nil { - return x.Publications - } - return nil -} - -func (x *HistoryResult) GetEpoch() string { - if x != nil { - return x.Epoch - } - return "" -} - -func (x *HistoryResult) GetOffset() uint64 { - if x != nil { - return x.Offset - } - return 0 -} - -type HistoryRemoveRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryRemoveRequest) Reset() { - *x = HistoryRemoveRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryRemoveRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryRemoveRequest) ProtoMessage() {} - -func (x *HistoryRemoveRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryRemoveRequest.ProtoReflect.Descriptor instead. -func (*HistoryRemoveRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{36} -} - -func (x *HistoryRemoveRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -type HistoryRemoveResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *HistoryRemoveResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryRemoveResponse) Reset() { - *x = HistoryRemoveResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryRemoveResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryRemoveResponse) ProtoMessage() {} - -func (x *HistoryRemoveResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryRemoveResponse.ProtoReflect.Descriptor instead. -func (*HistoryRemoveResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{37} -} - -func (x *HistoryRemoveResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *HistoryRemoveResponse) GetResult() *HistoryRemoveResult { - if x != nil { - return x.Result - } - return nil -} - -type HistoryRemoveResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryRemoveResult) Reset() { - *x = HistoryRemoveResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryRemoveResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryRemoveResult) ProtoMessage() {} - -func (x *HistoryRemoveResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryRemoveResult.ProtoReflect.Descriptor instead. -func (*HistoryRemoveResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{38} -} - -type InfoRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InfoRequest) Reset() { - *x = InfoRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InfoRequest) ProtoMessage() {} - -func (x *InfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead. -func (*InfoRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{39} -} - -type InfoResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *InfoResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InfoResponse) Reset() { - *x = InfoResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InfoResponse) ProtoMessage() {} - -func (x *InfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead. -func (*InfoResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{40} -} - -func (x *InfoResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *InfoResponse) GetResult() *InfoResult { - if x != nil { - return x.Result - } - return nil -} - -type InfoResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Nodes []*NodeResult `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InfoResult) Reset() { - *x = InfoResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InfoResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InfoResult) ProtoMessage() {} - -func (x *InfoResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InfoResult.ProtoReflect.Descriptor instead. -func (*InfoResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{41} -} - -func (x *InfoResult) GetNodes() []*NodeResult { - if x != nil { - return x.Nodes - } - return nil -} - -type RPCRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` - Params []byte `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCRequest) Reset() { - *x = RPCRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCRequest) ProtoMessage() {} - -func (x *RPCRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCRequest.ProtoReflect.Descriptor instead. -func (*RPCRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{42} -} - -func (x *RPCRequest) GetMethod() string { - if x != nil { - return x.Method - } - return "" -} - -func (x *RPCRequest) GetParams() []byte { - if x != nil { - return x.Params - } - return nil -} - -type RPCResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *RPCResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCResponse) Reset() { - *x = RPCResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCResponse) ProtoMessage() {} - -func (x *RPCResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCResponse.ProtoReflect.Descriptor instead. -func (*RPCResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{43} -} - -func (x *RPCResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RPCResponse) GetResult() *RPCResult { - if x != nil { - return x.Result - } - return nil -} - -type RPCResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCResult) Reset() { - *x = RPCResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCResult) ProtoMessage() {} - -func (x *RPCResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCResult.ProtoReflect.Descriptor instead. -func (*RPCResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{44} -} - -func (x *RPCResult) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -type RefreshRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Client string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` - Expired bool `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"` - ExpireAt int64 `protobuf:"varint,4,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` - Session string `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshRequest) Reset() { - *x = RefreshRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshRequest) ProtoMessage() {} - -func (x *RefreshRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead. -func (*RefreshRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{45} -} - -func (x *RefreshRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *RefreshRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *RefreshRequest) GetExpired() bool { - if x != nil { - return x.Expired - } - return false -} - -func (x *RefreshRequest) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *RefreshRequest) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *RefreshRequest) GetSession() string { - if x != nil { - return x.Session - } - return "" -} - -type RefreshResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *RefreshResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshResponse) Reset() { - *x = RefreshResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshResponse) ProtoMessage() {} - -func (x *RefreshResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead. -func (*RefreshResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{46} -} - -func (x *RefreshResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RefreshResponse) GetResult() *RefreshResult { - if x != nil { - return x.Result - } - return nil -} - -type RefreshResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshResult) Reset() { - *x = RefreshResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshResult) ProtoMessage() {} - -func (x *RefreshResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshResult.ProtoReflect.Descriptor instead. -func (*RefreshResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{47} -} - -type NodeResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - NumClients uint32 `protobuf:"varint,4,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` - NumUsers uint32 `protobuf:"varint,5,opt,name=num_users,json=numUsers,proto3" json:"num_users,omitempty"` - NumChannels uint32 `protobuf:"varint,6,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"` - Uptime uint32 `protobuf:"varint,7,opt,name=uptime,proto3" json:"uptime,omitempty"` - Metrics *Metrics `protobuf:"bytes,8,opt,name=metrics,proto3" json:"metrics,omitempty"` - Process *Process `protobuf:"bytes,9,opt,name=process,proto3" json:"process,omitempty"` - NumSubs uint32 `protobuf:"varint,10,opt,name=num_subs,json=numSubs,proto3" json:"num_subs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NodeResult) Reset() { - *x = NodeResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NodeResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NodeResult) ProtoMessage() {} - -func (x *NodeResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NodeResult.ProtoReflect.Descriptor instead. -func (*NodeResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{48} -} - -func (x *NodeResult) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *NodeResult) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NodeResult) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *NodeResult) GetNumClients() uint32 { - if x != nil { - return x.NumClients - } - return 0 -} - -func (x *NodeResult) GetNumUsers() uint32 { - if x != nil { - return x.NumUsers - } - return 0 -} - -func (x *NodeResult) GetNumChannels() uint32 { - if x != nil { - return x.NumChannels - } - return 0 -} - -func (x *NodeResult) GetUptime() uint32 { - if x != nil { - return x.Uptime - } - return 0 -} - -func (x *NodeResult) GetMetrics() *Metrics { - if x != nil { - return x.Metrics - } - return nil -} - -func (x *NodeResult) GetProcess() *Process { - if x != nil { - return x.Process - } - return nil -} - -func (x *NodeResult) GetNumSubs() uint32 { - if x != nil { - return x.NumSubs - } - return 0 -} - -type Metrics struct { - state protoimpl.MessageState `protogen:"open.v1"` - Interval float64 `protobuf:"fixed64,1,opt,name=interval,proto3" json:"interval,omitempty"` - Items map[string]float64 `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Metrics) Reset() { - *x = Metrics{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Metrics) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Metrics) ProtoMessage() {} - -func (x *Metrics) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Metrics.ProtoReflect.Descriptor instead. -func (*Metrics) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{49} -} - -func (x *Metrics) GetInterval() float64 { - if x != nil { - return x.Interval - } - return 0 -} - -func (x *Metrics) GetItems() map[string]float64 { - if x != nil { - return x.Items - } - return nil -} - -type Process struct { - state protoimpl.MessageState `protogen:"open.v1"` - Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` - Rss int64 `protobuf:"varint,2,opt,name=rss,proto3" json:"rss,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Process) Reset() { - *x = Process{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Process) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Process) ProtoMessage() {} - -func (x *Process) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Process.ProtoReflect.Descriptor instead. -func (*Process) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{50} -} - -func (x *Process) GetCpu() float64 { - if x != nil { - return x.Cpu - } - return 0 -} - -func (x *Process) GetRss() int64 { - if x != nil { - return x.Rss - } - return 0 -} - -type ChannelsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelsRequest) Reset() { - *x = ChannelsRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelsRequest) ProtoMessage() {} - -func (x *ChannelsRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelsRequest.ProtoReflect.Descriptor instead. -func (*ChannelsRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{51} -} - -func (x *ChannelsRequest) GetPattern() string { - if x != nil { - return x.Pattern - } - return "" -} - -type ChannelsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *ChannelsResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelsResponse) Reset() { - *x = ChannelsResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelsResponse) ProtoMessage() {} - -func (x *ChannelsResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[52] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelsResponse.ProtoReflect.Descriptor instead. -func (*ChannelsResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{52} -} - -func (x *ChannelsResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *ChannelsResponse) GetResult() *ChannelsResult { - if x != nil { - return x.Result - } - return nil -} - -type ChannelsResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channels map[string]*ChannelInfo `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelsResult) Reset() { - *x = ChannelsResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelsResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelsResult) ProtoMessage() {} - -func (x *ChannelsResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelsResult.ProtoReflect.Descriptor instead. -func (*ChannelsResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{53} -} - -func (x *ChannelsResult) GetChannels() map[string]*ChannelInfo { - if x != nil { - return x.Channels - } - return nil -} - -type ChannelInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - NumClients uint32 `protobuf:"varint,1,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelInfo) Reset() { - *x = ChannelInfo{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelInfo) ProtoMessage() {} - -func (x *ChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[54] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead. -func (*ChannelInfo) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{54} -} - -func (x *ChannelInfo) GetNumClients() uint32 { - if x != nil { - return x.NumClients - } - return 0 -} - -type ConnectionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionsRequest) Reset() { - *x = ConnectionsRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionsRequest) ProtoMessage() {} - -func (x *ConnectionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[55] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionsRequest.ProtoReflect.Descriptor instead. -func (*ConnectionsRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{55} -} - -func (x *ConnectionsRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *ConnectionsRequest) GetExpression() string { - if x != nil { - return x.Expression - } - return "" -} - -type ConnectionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *ConnectionsResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionsResponse) Reset() { - *x = ConnectionsResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionsResponse) ProtoMessage() {} - -func (x *ConnectionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[56] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionsResponse.ProtoReflect.Descriptor instead. -func (*ConnectionsResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{56} -} - -func (x *ConnectionsResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *ConnectionsResponse) GetResult() *ConnectionsResult { - if x != nil { - return x.Result - } - return nil -} - -type ConnectionsResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Connections map[string]*ConnectionInfo `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionsResult) Reset() { - *x = ConnectionsResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionsResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionsResult) ProtoMessage() {} - -func (x *ConnectionsResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[57] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionsResult.ProtoReflect.Descriptor instead. -func (*ConnectionsResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{57} -} - -func (x *ConnectionsResult) GetConnections() map[string]*ConnectionInfo { - if x != nil { - return x.Connections - } - return nil -} - -type ConnectionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` - AppVersion string `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` - Transport string `protobuf:"bytes,3,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` - // 5-7 dropped for backwards compatibility. - User string `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` - State *ConnectionState `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionInfo) Reset() { - *x = ConnectionInfo{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionInfo) ProtoMessage() {} - -func (x *ConnectionInfo) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[58] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionInfo.ProtoReflect.Descriptor instead. -func (*ConnectionInfo) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{58} -} - -func (x *ConnectionInfo) GetAppName() string { - if x != nil { - return x.AppName - } - return "" -} - -func (x *ConnectionInfo) GetAppVersion() string { - if x != nil { - return x.AppVersion - } - return "" -} - -func (x *ConnectionInfo) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *ConnectionInfo) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *ConnectionInfo) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *ConnectionInfo) GetState() *ConnectionState { - if x != nil { - return x.State - } - return nil -} - -type ConnectionState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channels map[string]*ChannelContext `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - ConnectionToken *ConnectionTokenInfo `protobuf:"bytes,2,opt,name=connection_token,json=connectionToken,proto3" json:"connection_token,omitempty"` - SubscriptionTokens map[string]*SubscriptionTokenInfo `protobuf:"bytes,3,rep,name=subscription_tokens,json=subscriptionTokens,proto3" json:"subscription_tokens,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Meta []byte `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionState) Reset() { - *x = ConnectionState{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionState) ProtoMessage() {} - -func (x *ConnectionState) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[59] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionState.ProtoReflect.Descriptor instead. -func (*ConnectionState) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{59} -} - -func (x *ConnectionState) GetChannels() map[string]*ChannelContext { - if x != nil { - return x.Channels - } - return nil -} - -func (x *ConnectionState) GetConnectionToken() *ConnectionTokenInfo { - if x != nil { - return x.ConnectionToken - } - return nil -} - -func (x *ConnectionState) GetSubscriptionTokens() map[string]*SubscriptionTokenInfo { - if x != nil { - return x.SubscriptionTokens - } - return nil -} - -func (x *ConnectionState) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type ChannelContext struct { - state protoimpl.MessageState `protogen:"open.v1"` - Source uint32 `protobuf:"varint,1,opt,name=source,proto3" json:"source,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelContext) Reset() { - *x = ChannelContext{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelContext) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelContext) ProtoMessage() {} - -func (x *ChannelContext) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[60] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelContext.ProtoReflect.Descriptor instead. -func (*ChannelContext) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{60} -} - -func (x *ChannelContext) GetSource() uint32 { - if x != nil { - return x.Source - } - return 0 -} - -type ConnectionTokenInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - IssuedAt int64 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectionTokenInfo) Reset() { - *x = ConnectionTokenInfo{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectionTokenInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectionTokenInfo) ProtoMessage() {} - -func (x *ConnectionTokenInfo) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[61] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectionTokenInfo.ProtoReflect.Descriptor instead. -func (*ConnectionTokenInfo) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{61} -} - -func (x *ConnectionTokenInfo) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *ConnectionTokenInfo) GetIssuedAt() int64 { - if x != nil { - return x.IssuedAt - } - return 0 -} - -type SubscriptionTokenInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - IssuedAt int64 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscriptionTokenInfo) Reset() { - *x = SubscriptionTokenInfo{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscriptionTokenInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscriptionTokenInfo) ProtoMessage() {} - -func (x *SubscriptionTokenInfo) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[62] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscriptionTokenInfo.ProtoReflect.Descriptor instead. -func (*SubscriptionTokenInfo) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{62} -} - -func (x *SubscriptionTokenInfo) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *SubscriptionTokenInfo) GetIssuedAt() int64 { - if x != nil { - return x.IssuedAt - } - return 0 -} - -type UpdateUserStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserStatusRequest) Reset() { - *x = UpdateUserStatusRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserStatusRequest) ProtoMessage() {} - -func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[63] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserStatusRequest.ProtoReflect.Descriptor instead. -func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{63} -} - -func (x *UpdateUserStatusRequest) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -func (x *UpdateUserStatusRequest) GetState() string { - if x != nil { - return x.State - } - return "" -} - -type UpdateUserStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UpdateUserStatusResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserStatusResponse) Reset() { - *x = UpdateUserStatusResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserStatusResponse) ProtoMessage() {} - -func (x *UpdateUserStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[64] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserStatusResponse.ProtoReflect.Descriptor instead. -func (*UpdateUserStatusResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{64} -} - -func (x *UpdateUserStatusResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UpdateUserStatusResponse) GetResult() *UpdateUserStatusResult { - if x != nil { - return x.Result - } - return nil -} - -type UpdateUserStatusResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserStatusResult) Reset() { - *x = UpdateUserStatusResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserStatusResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserStatusResult) ProtoMessage() {} - -func (x *UpdateUserStatusResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[65] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserStatusResult.ProtoReflect.Descriptor instead. -func (*UpdateUserStatusResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{65} -} - -type GetUserStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserStatusRequest) Reset() { - *x = GetUserStatusRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserStatusRequest) ProtoMessage() {} - -func (x *GetUserStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[66] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserStatusRequest.ProtoReflect.Descriptor instead. -func (*GetUserStatusRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{66} -} - -func (x *GetUserStatusRequest) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -type GetUserStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *GetUserStatusResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserStatusResponse) Reset() { - *x = GetUserStatusResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserStatusResponse) ProtoMessage() {} - -func (x *GetUserStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[67] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserStatusResponse.ProtoReflect.Descriptor instead. -func (*GetUserStatusResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{67} -} - -func (x *GetUserStatusResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *GetUserStatusResponse) GetResult() *GetUserStatusResult { - if x != nil { - return x.Result - } - return nil -} - -type GetUserStatusResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Statuses []*UserStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserStatusResult) Reset() { - *x = GetUserStatusResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserStatusResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserStatusResult) ProtoMessage() {} - -func (x *GetUserStatusResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[68] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserStatusResult.ProtoReflect.Descriptor instead. -func (*GetUserStatusResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{68} -} - -func (x *GetUserStatusResult) GetStatuses() []*UserStatus { - if x != nil { - return x.Statuses - } - return nil -} - -type UserStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Active int64 `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` - Online int64 `protobuf:"varint,3,opt,name=online,proto3" json:"online,omitempty"` - State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserStatus) Reset() { - *x = UserStatus{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserStatus) ProtoMessage() {} - -func (x *UserStatus) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[69] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserStatus.ProtoReflect.Descriptor instead. -func (*UserStatus) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{69} -} - -func (x *UserStatus) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *UserStatus) GetActive() int64 { - if x != nil { - return x.Active - } - return 0 -} - -func (x *UserStatus) GetOnline() int64 { - if x != nil { - return x.Online - } - return 0 -} - -func (x *UserStatus) GetState() string { - if x != nil { - return x.State - } - return "" -} - -type DeleteUserStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteUserStatusRequest) Reset() { - *x = DeleteUserStatusRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteUserStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserStatusRequest) ProtoMessage() {} - -func (x *DeleteUserStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[70] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteUserStatusRequest.ProtoReflect.Descriptor instead. -func (*DeleteUserStatusRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{70} -} - -func (x *DeleteUserStatusRequest) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -type DeleteUserStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeleteUserStatusResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteUserStatusResponse) Reset() { - *x = DeleteUserStatusResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteUserStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserStatusResponse) ProtoMessage() {} - -func (x *DeleteUserStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[71] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteUserStatusResponse.ProtoReflect.Descriptor instead. -func (*DeleteUserStatusResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{71} -} - -func (x *DeleteUserStatusResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeleteUserStatusResponse) GetResult() *DeleteUserStatusResult { - if x != nil { - return x.Result - } - return nil -} - -type DeleteUserStatusResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteUserStatusResult) Reset() { - *x = DeleteUserStatusResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteUserStatusResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserStatusResult) ProtoMessage() {} - -func (x *DeleteUserStatusResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[72] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteUserStatusResult.ProtoReflect.Descriptor instead. -func (*DeleteUserStatusResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{72} -} - -type BlockUserRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExpireAt int64 `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BlockUserRequest) Reset() { - *x = BlockUserRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BlockUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUserRequest) ProtoMessage() {} - -func (x *BlockUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[73] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUserRequest.ProtoReflect.Descriptor instead. -func (*BlockUserRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{73} -} - -func (x *BlockUserRequest) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *BlockUserRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -type BlockUserResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BlockUserResult) Reset() { - *x = BlockUserResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BlockUserResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUserResult) ProtoMessage() {} - -func (x *BlockUserResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[74] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUserResult.ProtoReflect.Descriptor instead. -func (*BlockUserResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{74} -} - -type BlockUserResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *BlockUserResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BlockUserResponse) Reset() { - *x = BlockUserResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BlockUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUserResponse) ProtoMessage() {} - -func (x *BlockUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[75] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUserResponse.ProtoReflect.Descriptor instead. -func (*BlockUserResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{75} -} - -func (x *BlockUserResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *BlockUserResponse) GetResult() *BlockUserResult { - if x != nil { - return x.Result - } - return nil -} - -type UnblockUserRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnblockUserRequest) Reset() { - *x = UnblockUserRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnblockUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnblockUserRequest) ProtoMessage() {} - -func (x *UnblockUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[76] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnblockUserRequest.ProtoReflect.Descriptor instead. -func (*UnblockUserRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{76} -} - -func (x *UnblockUserRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -type UnblockUserResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnblockUserResult) Reset() { - *x = UnblockUserResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnblockUserResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnblockUserResult) ProtoMessage() {} - -func (x *UnblockUserResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[77] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnblockUserResult.ProtoReflect.Descriptor instead. -func (*UnblockUserResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{77} -} - -type UnblockUserResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UnblockUserResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnblockUserResponse) Reset() { - *x = UnblockUserResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnblockUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnblockUserResponse) ProtoMessage() {} - -func (x *UnblockUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[78] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnblockUserResponse.ProtoReflect.Descriptor instead. -func (*UnblockUserResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{78} -} - -func (x *UnblockUserResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UnblockUserResponse) GetResult() *UnblockUserResult { - if x != nil { - return x.Result - } - return nil -} - -type RevokeTokenRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExpireAt int64 `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RevokeTokenRequest) Reset() { - *x = RevokeTokenRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RevokeTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RevokeTokenRequest) ProtoMessage() {} - -func (x *RevokeTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[79] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RevokeTokenRequest.ProtoReflect.Descriptor instead. -func (*RevokeTokenRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{79} -} - -func (x *RevokeTokenRequest) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *RevokeTokenRequest) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -type RevokeTokenResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RevokeTokenResult) Reset() { - *x = RevokeTokenResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RevokeTokenResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RevokeTokenResult) ProtoMessage() {} - -func (x *RevokeTokenResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[80] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RevokeTokenResult.ProtoReflect.Descriptor instead. -func (*RevokeTokenResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{80} -} - -type RevokeTokenResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *RevokeTokenResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RevokeTokenResponse) Reset() { - *x = RevokeTokenResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RevokeTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RevokeTokenResponse) ProtoMessage() {} - -func (x *RevokeTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[81] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RevokeTokenResponse.ProtoReflect.Descriptor instead. -func (*RevokeTokenResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{81} -} - -func (x *RevokeTokenResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RevokeTokenResponse) GetResult() *RevokeTokenResult { - if x != nil { - return x.Result - } - return nil -} - -type InvalidateUserTokensRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExpireAt int64 `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - IssuedBefore int64 `protobuf:"varint,3,opt,name=issued_before,json=issuedBefore,proto3" json:"issued_before,omitempty"` - Channel string `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InvalidateUserTokensRequest) Reset() { - *x = InvalidateUserTokensRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InvalidateUserTokensRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvalidateUserTokensRequest) ProtoMessage() {} - -func (x *InvalidateUserTokensRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[82] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InvalidateUserTokensRequest.ProtoReflect.Descriptor instead. -func (*InvalidateUserTokensRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{82} -} - -func (x *InvalidateUserTokensRequest) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *InvalidateUserTokensRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *InvalidateUserTokensRequest) GetIssuedBefore() int64 { - if x != nil { - return x.IssuedBefore - } - return 0 -} - -func (x *InvalidateUserTokensRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -type InvalidateUserTokensResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InvalidateUserTokensResult) Reset() { - *x = InvalidateUserTokensResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InvalidateUserTokensResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvalidateUserTokensResult) ProtoMessage() {} - -func (x *InvalidateUserTokensResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[83] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InvalidateUserTokensResult.ProtoReflect.Descriptor instead. -func (*InvalidateUserTokensResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{83} -} - -type InvalidateUserTokensResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *InvalidateUserTokensResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InvalidateUserTokensResponse) Reset() { - *x = InvalidateUserTokensResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InvalidateUserTokensResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvalidateUserTokensResponse) ProtoMessage() {} - -func (x *InvalidateUserTokensResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[84] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InvalidateUserTokensResponse.ProtoReflect.Descriptor instead. -func (*InvalidateUserTokensResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{84} -} - -func (x *InvalidateUserTokensResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *InvalidateUserTokensResponse) GetResult() *InvalidateUserTokensResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceRegisterRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` - Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` - User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Topics []string `protobuf:"bytes,7,rep,name=topics,proto3" json:"topics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRegisterRequest) Reset() { - *x = DeviceRegisterRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRegisterRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRegisterRequest) ProtoMessage() {} - -func (x *DeviceRegisterRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[85] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRegisterRequest.ProtoReflect.Descriptor instead. -func (*DeviceRegisterRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{85} -} - -func (x *DeviceRegisterRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DeviceRegisterRequest) GetProvider() string { - if x != nil { - return x.Provider - } - return "" -} - -func (x *DeviceRegisterRequest) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *DeviceRegisterRequest) GetPlatform() string { - if x != nil { - return x.Platform - } - return "" -} - -func (x *DeviceRegisterRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *DeviceRegisterRequest) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - return nil -} - -func (x *DeviceRegisterRequest) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -type DeviceUpdateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` - UserUpdate *DeviceUserUpdate `protobuf:"bytes,4,opt,name=user_update,json=userUpdate,proto3" json:"user_update,omitempty"` - MetaUpdate *DeviceMetaUpdate `protobuf:"bytes,5,opt,name=meta_update,json=metaUpdate,proto3" json:"meta_update,omitempty"` - TopicsUpdate *DeviceTopicsUpdate `protobuf:"bytes,6,opt,name=topics_update,json=topicsUpdate,proto3" json:"topics_update,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceUpdateRequest) Reset() { - *x = DeviceUpdateRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceUpdateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceUpdateRequest) ProtoMessage() {} - -func (x *DeviceUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[86] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceUpdateRequest.ProtoReflect.Descriptor instead. -func (*DeviceUpdateRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{86} -} - -func (x *DeviceUpdateRequest) GetIds() []string { - if x != nil { - return x.Ids - } - return nil -} - -func (x *DeviceUpdateRequest) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -func (x *DeviceUpdateRequest) GetUserUpdate() *DeviceUserUpdate { - if x != nil { - return x.UserUpdate - } - return nil -} - -func (x *DeviceUpdateRequest) GetMetaUpdate() *DeviceMetaUpdate { - if x != nil { - return x.MetaUpdate - } - return nil -} - -func (x *DeviceUpdateRequest) GetTopicsUpdate() *DeviceTopicsUpdate { - if x != nil { - return x.TopicsUpdate - } - return nil -} - -type DeviceRemoveRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRemoveRequest) Reset() { - *x = DeviceRemoveRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRemoveRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRemoveRequest) ProtoMessage() {} - -func (x *DeviceRemoveRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[87] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRemoveRequest.ProtoReflect.Descriptor instead. -func (*DeviceRemoveRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{87} -} - -func (x *DeviceRemoveRequest) GetIds() []string { - if x != nil { - return x.Ids - } - return nil -} - -func (x *DeviceRemoveRequest) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -type DeviceUserUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceUserUpdate) Reset() { - *x = DeviceUserUpdate{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceUserUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceUserUpdate) ProtoMessage() {} - -func (x *DeviceUserUpdate) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[88] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceUserUpdate.ProtoReflect.Descriptor instead. -func (*DeviceUserUpdate) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{88} -} - -func (x *DeviceUserUpdate) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -type DeviceMetaUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Meta map[string]string `protobuf:"bytes,1,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceMetaUpdate) Reset() { - *x = DeviceMetaUpdate{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceMetaUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceMetaUpdate) ProtoMessage() {} - -func (x *DeviceMetaUpdate) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[89] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceMetaUpdate.ProtoReflect.Descriptor instead. -func (*DeviceMetaUpdate) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{89} -} - -func (x *DeviceMetaUpdate) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - return nil -} - -type DeviceTopicsUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` // add | remove | set - Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicsUpdate) Reset() { - *x = DeviceTopicsUpdate{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicsUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicsUpdate) ProtoMessage() {} - -func (x *DeviceTopicsUpdate) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[90] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicsUpdate.ProtoReflect.Descriptor instead. -func (*DeviceTopicsUpdate) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{90} -} - -func (x *DeviceTopicsUpdate) GetOp() string { - if x != nil { - return x.Op - } - return "" -} - -func (x *DeviceTopicsUpdate) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -type DeviceFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` - Topics []string `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"` - Providers []string `protobuf:"bytes,4,rep,name=providers,proto3" json:"providers,omitempty"` - Platforms []string `protobuf:"bytes,5,rep,name=platforms,proto3" json:"platforms,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceFilter) Reset() { - *x = DeviceFilter{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceFilter) ProtoMessage() {} - -func (x *DeviceFilter) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[91] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceFilter.ProtoReflect.Descriptor instead. -func (*DeviceFilter) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{91} -} - -func (x *DeviceFilter) GetIds() []string { - if x != nil { - return x.Ids - } - return nil -} - -func (x *DeviceFilter) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -func (x *DeviceFilter) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -func (x *DeviceFilter) GetProviders() []string { - if x != nil { - return x.Providers - } - return nil -} - -func (x *DeviceFilter) GetPlatforms() []string { - if x != nil { - return x.Platforms - } - return nil -} - -type DeviceListRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filter *DeviceFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - IncludeTotalCount bool `protobuf:"varint,2,opt,name=include_total_count,json=includeTotalCount,proto3" json:"include_total_count,omitempty"` - IncludeMeta bool `protobuf:"varint,3,opt,name=include_meta,json=includeMeta,proto3" json:"include_meta,omitempty"` - IncludeTopics bool `protobuf:"varint,4,opt,name=include_topics,json=includeTopics,proto3" json:"include_topics,omitempty"` - Cursor string `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty"` - Limit int32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceListRequest) Reset() { - *x = DeviceListRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceListRequest) ProtoMessage() {} - -func (x *DeviceListRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[92] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceListRequest.ProtoReflect.Descriptor instead. -func (*DeviceListRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{92} -} - -func (x *DeviceListRequest) GetFilter() *DeviceFilter { - if x != nil { - return x.Filter - } - return nil -} - -func (x *DeviceListRequest) GetIncludeTotalCount() bool { - if x != nil { - return x.IncludeTotalCount - } - return false -} - -func (x *DeviceListRequest) GetIncludeMeta() bool { - if x != nil { - return x.IncludeMeta - } - return false -} - -func (x *DeviceListRequest) GetIncludeTopics() bool { - if x != nil { - return x.IncludeTopics - } - return false -} - -func (x *DeviceListRequest) GetCursor() string { - if x != nil { - return x.Cursor - } - return "" -} - -func (x *DeviceListRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -type DeviceTopicFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - DeviceIds []string `protobuf:"bytes,1,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` - DeviceProviders []string `protobuf:"bytes,2,rep,name=device_providers,json=deviceProviders,proto3" json:"device_providers,omitempty"` - DevicePlatforms []string `protobuf:"bytes,3,rep,name=device_platforms,json=devicePlatforms,proto3" json:"device_platforms,omitempty"` - DeviceUsers []string `protobuf:"bytes,4,rep,name=device_users,json=deviceUsers,proto3" json:"device_users,omitempty"` - Topics []string `protobuf:"bytes,5,rep,name=topics,proto3" json:"topics,omitempty"` - TopicPrefix string `protobuf:"bytes,6,opt,name=topic_prefix,json=topicPrefix,proto3" json:"topic_prefix,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicFilter) Reset() { - *x = DeviceTopicFilter{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicFilter) ProtoMessage() {} - -func (x *DeviceTopicFilter) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[93] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicFilter.ProtoReflect.Descriptor instead. -func (*DeviceTopicFilter) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{93} -} - -func (x *DeviceTopicFilter) GetDeviceIds() []string { - if x != nil { - return x.DeviceIds - } - return nil -} - -func (x *DeviceTopicFilter) GetDeviceProviders() []string { - if x != nil { - return x.DeviceProviders - } - return nil -} - -func (x *DeviceTopicFilter) GetDevicePlatforms() []string { - if x != nil { - return x.DevicePlatforms - } - return nil -} - -func (x *DeviceTopicFilter) GetDeviceUsers() []string { - if x != nil { - return x.DeviceUsers - } - return nil -} - -func (x *DeviceTopicFilter) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -func (x *DeviceTopicFilter) GetTopicPrefix() string { - if x != nil { - return x.TopicPrefix - } - return "" -} - -type DeviceTopicListRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filter *DeviceTopicFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - IncludeTotalCount bool `protobuf:"varint,2,opt,name=include_total_count,json=includeTotalCount,proto3" json:"include_total_count,omitempty"` - IncludeDevice bool `protobuf:"varint,3,opt,name=include_device,json=includeDevice,proto3" json:"include_device,omitempty"` - Cursor string `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty"` - Limit int32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicListRequest) Reset() { - *x = DeviceTopicListRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicListRequest) ProtoMessage() {} - -func (x *DeviceTopicListRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[94] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicListRequest.ProtoReflect.Descriptor instead. -func (*DeviceTopicListRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{94} -} - -func (x *DeviceTopicListRequest) GetFilter() *DeviceTopicFilter { - if x != nil { - return x.Filter - } - return nil -} - -func (x *DeviceTopicListRequest) GetIncludeTotalCount() bool { - if x != nil { - return x.IncludeTotalCount - } - return false -} - -func (x *DeviceTopicListRequest) GetIncludeDevice() bool { - if x != nil { - return x.IncludeDevice - } - return false -} - -func (x *DeviceTopicListRequest) GetCursor() string { - if x != nil { - return x.Cursor - } - return "" -} - -func (x *DeviceTopicListRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -type UserTopicFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - TopicPrefix string `protobuf:"bytes,3,opt,name=topic_prefix,json=topicPrefix,proto3" json:"topic_prefix,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicFilter) Reset() { - *x = UserTopicFilter{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicFilter) ProtoMessage() {} - -func (x *UserTopicFilter) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[95] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicFilter.ProtoReflect.Descriptor instead. -func (*UserTopicFilter) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{95} -} - -func (x *UserTopicFilter) GetUsers() []string { - if x != nil { - return x.Users - } - return nil -} - -func (x *UserTopicFilter) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -func (x *UserTopicFilter) GetTopicPrefix() string { - if x != nil { - return x.TopicPrefix - } - return "" -} - -type UserTopicListRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filter *UserTopicFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - IncludeTotalCount bool `protobuf:"varint,2,opt,name=include_total_count,json=includeTotalCount,proto3" json:"include_total_count,omitempty"` - Cursor string `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty"` - Limit int32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicListRequest) Reset() { - *x = UserTopicListRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicListRequest) ProtoMessage() {} - -func (x *UserTopicListRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[96] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicListRequest.ProtoReflect.Descriptor instead. -func (*UserTopicListRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{96} -} - -func (x *UserTopicListRequest) GetFilter() *UserTopicFilter { - if x != nil { - return x.Filter - } - return nil -} - -func (x *UserTopicListRequest) GetIncludeTotalCount() bool { - if x != nil { - return x.IncludeTotalCount - } - return false -} - -func (x *UserTopicListRequest) GetCursor() string { - if x != nil { - return x.Cursor - } - return "" -} - -func (x *UserTopicListRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -type DeviceTopicUpdateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` - Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` // add | remove | set - Topics []string `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicUpdateRequest) Reset() { - *x = DeviceTopicUpdateRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicUpdateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicUpdateRequest) ProtoMessage() {} - -func (x *DeviceTopicUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[97] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicUpdateRequest.ProtoReflect.Descriptor instead. -func (*DeviceTopicUpdateRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{97} -} - -func (x *DeviceTopicUpdateRequest) GetDeviceId() string { - if x != nil { - return x.DeviceId - } - return "" -} - -func (x *DeviceTopicUpdateRequest) GetOp() string { - if x != nil { - return x.Op - } - return "" -} - -func (x *DeviceTopicUpdateRequest) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -type UserTopicUpdateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` // add | remove | set - Topics []string `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicUpdateRequest) Reset() { - *x = UserTopicUpdateRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicUpdateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicUpdateRequest) ProtoMessage() {} - -func (x *UserTopicUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[98] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicUpdateRequest.ProtoReflect.Descriptor instead. -func (*UserTopicUpdateRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{98} -} - -func (x *UserTopicUpdateRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *UserTopicUpdateRequest) GetOp() string { - if x != nil { - return x.Op - } - return "" -} - -func (x *UserTopicUpdateRequest) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -type DeviceRegisterResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceRegisterResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRegisterResponse) Reset() { - *x = DeviceRegisterResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRegisterResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRegisterResponse) ProtoMessage() {} - -func (x *DeviceRegisterResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[99] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRegisterResponse.ProtoReflect.Descriptor instead. -func (*DeviceRegisterResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{99} -} - -func (x *DeviceRegisterResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceRegisterResponse) GetResult() *DeviceRegisterResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceUpdateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceUpdateResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceUpdateResponse) Reset() { - *x = DeviceUpdateResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceUpdateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceUpdateResponse) ProtoMessage() {} - -func (x *DeviceUpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[100] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceUpdateResponse.ProtoReflect.Descriptor instead. -func (*DeviceUpdateResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{100} -} - -func (x *DeviceUpdateResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceUpdateResponse) GetResult() *DeviceUpdateResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceRemoveResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceRemoveResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRemoveResponse) Reset() { - *x = DeviceRemoveResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRemoveResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRemoveResponse) ProtoMessage() {} - -func (x *DeviceRemoveResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[101] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRemoveResponse.ProtoReflect.Descriptor instead. -func (*DeviceRemoveResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{101} -} - -func (x *DeviceRemoveResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceRemoveResponse) GetResult() *DeviceRemoveResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceListResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceListResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceListResponse) Reset() { - *x = DeviceListResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceListResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceListResponse) ProtoMessage() {} - -func (x *DeviceListResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[102] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceListResponse.ProtoReflect.Descriptor instead. -func (*DeviceListResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{102} -} - -func (x *DeviceListResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceListResponse) GetResult() *DeviceListResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceTopicListResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceTopicListResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicListResponse) Reset() { - *x = DeviceTopicListResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicListResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicListResponse) ProtoMessage() {} - -func (x *DeviceTopicListResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[103] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicListResponse.ProtoReflect.Descriptor instead. -func (*DeviceTopicListResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{103} -} - -func (x *DeviceTopicListResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceTopicListResponse) GetResult() *DeviceTopicListResult { - if x != nil { - return x.Result - } - return nil -} - -type UserTopicListResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UserTopicListResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicListResponse) Reset() { - *x = UserTopicListResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicListResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicListResponse) ProtoMessage() {} - -func (x *UserTopicListResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[104] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicListResponse.ProtoReflect.Descriptor instead. -func (*UserTopicListResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{104} -} - -func (x *UserTopicListResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UserTopicListResponse) GetResult() *UserTopicListResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceTopicUpdateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *DeviceTopicUpdateResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicUpdateResponse) Reset() { - *x = DeviceTopicUpdateResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicUpdateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicUpdateResponse) ProtoMessage() {} - -func (x *DeviceTopicUpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[105] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicUpdateResponse.ProtoReflect.Descriptor instead. -func (*DeviceTopicUpdateResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{105} -} - -func (x *DeviceTopicUpdateResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *DeviceTopicUpdateResponse) GetResult() *DeviceTopicUpdateResult { - if x != nil { - return x.Result - } - return nil -} - -type UserTopicUpdateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UserTopicUpdateResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicUpdateResponse) Reset() { - *x = UserTopicUpdateResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicUpdateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicUpdateResponse) ProtoMessage() {} - -func (x *UserTopicUpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[106] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicUpdateResponse.ProtoReflect.Descriptor instead. -func (*UserTopicUpdateResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{106} -} - -func (x *UserTopicUpdateResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UserTopicUpdateResponse) GetResult() *UserTopicUpdateResult { - if x != nil { - return x.Result - } - return nil -} - -type DeviceRegisterResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRegisterResult) Reset() { - *x = DeviceRegisterResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRegisterResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRegisterResult) ProtoMessage() {} - -func (x *DeviceRegisterResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[107] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRegisterResult.ProtoReflect.Descriptor instead. -func (*DeviceRegisterResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{107} -} - -func (x *DeviceRegisterResult) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type DeviceUpdateResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceUpdateResult) Reset() { - *x = DeviceUpdateResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceUpdateResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceUpdateResult) ProtoMessage() {} - -func (x *DeviceUpdateResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[108] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceUpdateResult.ProtoReflect.Descriptor instead. -func (*DeviceUpdateResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{108} -} - -type DeviceRemoveResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceRemoveResult) Reset() { - *x = DeviceRemoveResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceRemoveResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceRemoveResult) ProtoMessage() {} - -func (x *DeviceRemoveResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[109] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceRemoveResult.ProtoReflect.Descriptor instead. -func (*DeviceRemoveResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{109} -} - -type DeviceListResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*Device `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` - TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceListResult) Reset() { - *x = DeviceListResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceListResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceListResult) ProtoMessage() {} - -func (x *DeviceListResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[110] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceListResult.ProtoReflect.Descriptor instead. -func (*DeviceListResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{110} -} - -func (x *DeviceListResult) GetItems() []*Device { - if x != nil { - return x.Items - } - return nil -} - -func (x *DeviceListResult) GetNextCursor() string { - if x != nil { - return x.NextCursor - } - return "" -} - -func (x *DeviceListResult) GetTotalCount() int64 { - if x != nil { - return x.TotalCount - } - return 0 -} - -type Device struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` - Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` - User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Meta map[string]string `protobuf:"bytes,10,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Topics []string `protobuf:"bytes,11,rep,name=topics,proto3" json:"topics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Device) Reset() { - *x = Device{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Device) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Device) ProtoMessage() {} - -func (x *Device) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[111] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Device.ProtoReflect.Descriptor instead. -func (*Device) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{111} -} - -func (x *Device) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Device) GetPlatform() string { - if x != nil { - return x.Platform - } - return "" -} - -func (x *Device) GetProvider() string { - if x != nil { - return x.Provider - } - return "" -} - -func (x *Device) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *Device) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *Device) GetCreatedAt() int64 { - if x != nil { - return x.CreatedAt - } - return 0 -} - -func (x *Device) GetUpdatedAt() int64 { - if x != nil { - return x.UpdatedAt - } - return 0 -} - -func (x *Device) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - return nil -} - -func (x *Device) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -type DeviceTopicListResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*DeviceTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` - TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicListResult) Reset() { - *x = DeviceTopicListResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicListResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicListResult) ProtoMessage() {} - -func (x *DeviceTopicListResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[112] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicListResult.ProtoReflect.Descriptor instead. -func (*DeviceTopicListResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{112} -} - -func (x *DeviceTopicListResult) GetItems() []*DeviceTopic { - if x != nil { - return x.Items - } - return nil -} - -func (x *DeviceTopicListResult) GetNextCursor() string { - if x != nil { - return x.NextCursor - } - return "" -} - -func (x *DeviceTopicListResult) GetTotalCount() int64 { - if x != nil { - return x.TotalCount - } - return 0 -} - -type DeviceTopic struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` - Device *Device `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopic) Reset() { - *x = DeviceTopic{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopic) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopic) ProtoMessage() {} - -func (x *DeviceTopic) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[113] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopic.ProtoReflect.Descriptor instead. -func (*DeviceTopic) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{113} -} - -func (x *DeviceTopic) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DeviceTopic) GetTopic() string { - if x != nil { - return x.Topic - } - return "" -} - -func (x *DeviceTopic) GetDevice() *Device { - if x != nil { - return x.Device - } - return nil -} - -type UserTopicListResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*UserTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` - TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicListResult) Reset() { - *x = UserTopicListResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicListResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicListResult) ProtoMessage() {} - -func (x *UserTopicListResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[114] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicListResult.ProtoReflect.Descriptor instead. -func (*UserTopicListResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{114} -} - -func (x *UserTopicListResult) GetItems() []*UserTopic { - if x != nil { - return x.Items - } - return nil -} - -func (x *UserTopicListResult) GetNextCursor() string { - if x != nil { - return x.NextCursor - } - return "" -} - -func (x *UserTopicListResult) GetTotalCount() int64 { - if x != nil { - return x.TotalCount - } - return 0 -} - -type DeviceTopicUpdateResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeviceTopicUpdateResult) Reset() { - *x = DeviceTopicUpdateResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeviceTopicUpdateResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceTopicUpdateResult) ProtoMessage() {} - -func (x *DeviceTopicUpdateResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[115] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceTopicUpdateResult.ProtoReflect.Descriptor instead. -func (*DeviceTopicUpdateResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{115} -} - -type UserTopicUpdateResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopicUpdateResult) Reset() { - *x = UserTopicUpdateResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopicUpdateResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopicUpdateResult) ProtoMessage() {} - -func (x *UserTopicUpdateResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[116] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopicUpdateResult.ProtoReflect.Descriptor instead. -func (*UserTopicUpdateResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{116} -} - -type UserTopic struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserTopic) Reset() { - *x = UserTopic{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserTopic) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTopic) ProtoMessage() {} - -func (x *UserTopic) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[117] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTopic.ProtoReflect.Descriptor instead. -func (*UserTopic) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{117} -} - -func (x *UserTopic) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UserTopic) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *UserTopic) GetTopic() string { - if x != nil { - return x.Topic - } - return "" -} - -type PushRecipient struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filter *DeviceFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - FcmTokens []string `protobuf:"bytes,2,rep,name=fcm_tokens,json=fcmTokens,proto3" json:"fcm_tokens,omitempty"` - FcmTopic string `protobuf:"bytes,3,opt,name=fcm_topic,json=fcmTopic,proto3" json:"fcm_topic,omitempty"` - FcmCondition string `protobuf:"bytes,4,opt,name=fcm_condition,json=fcmCondition,proto3" json:"fcm_condition,omitempty"` - HmsTokens []string `protobuf:"bytes,5,rep,name=hms_tokens,json=hmsTokens,proto3" json:"hms_tokens,omitempty"` - HmsTopic string `protobuf:"bytes,6,opt,name=hms_topic,json=hmsTopic,proto3" json:"hms_topic,omitempty"` - HmsCondition string `protobuf:"bytes,7,opt,name=hms_condition,json=hmsCondition,proto3" json:"hms_condition,omitempty"` - ApnsTokens []string `protobuf:"bytes,8,rep,name=apns_tokens,json=apnsTokens,proto3" json:"apns_tokens,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PushRecipient) Reset() { - *x = PushRecipient{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushRecipient) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushRecipient) ProtoMessage() {} - -func (x *PushRecipient) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[118] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushRecipient.ProtoReflect.Descriptor instead. -func (*PushRecipient) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{118} -} - -func (x *PushRecipient) GetFilter() *DeviceFilter { - if x != nil { - return x.Filter - } - return nil -} - -func (x *PushRecipient) GetFcmTokens() []string { - if x != nil { - return x.FcmTokens - } - return nil -} - -func (x *PushRecipient) GetFcmTopic() string { - if x != nil { - return x.FcmTopic - } - return "" -} - -func (x *PushRecipient) GetFcmCondition() string { - if x != nil { - return x.FcmCondition - } - return "" -} - -func (x *PushRecipient) GetHmsTokens() []string { - if x != nil { - return x.HmsTokens - } - return nil -} - -func (x *PushRecipient) GetHmsTopic() string { - if x != nil { - return x.HmsTopic - } - return "" -} - -func (x *PushRecipient) GetHmsCondition() string { - if x != nil { - return x.HmsCondition - } - return "" -} - -func (x *PushRecipient) GetApnsTokens() []string { - if x != nil { - return x.ApnsTokens - } - return nil -} - -type PushNotification struct { - state protoimpl.MessageState `protogen:"open.v1"` - Fcm *FcmPushNotification `protobuf:"bytes,1,opt,name=fcm,proto3" json:"fcm,omitempty"` - Hms *HmsPushNotification `protobuf:"bytes,2,opt,name=hms,proto3" json:"hms,omitempty"` - Apns *ApnsPushNotification `protobuf:"bytes,3,opt,name=apns,proto3" json:"apns,omitempty"` - ExpireAt int64 `protobuf:"varint,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` // timestamp in the future when Centrifugo should stop trying to send push notification. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PushNotification) Reset() { - *x = PushNotification{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotification) ProtoMessage() {} - -func (x *PushNotification) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[119] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotification.ProtoReflect.Descriptor instead. -func (*PushNotification) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{119} -} - -func (x *PushNotification) GetFcm() *FcmPushNotification { - if x != nil { - return x.Fcm - } - return nil -} - -func (x *PushNotification) GetHms() *HmsPushNotification { - if x != nil { - return x.Hms - } - return nil -} - -func (x *PushNotification) GetApns() *ApnsPushNotification { - if x != nil { - return x.Apns - } - return nil -} - -func (x *PushNotification) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -type FcmPushNotification struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FcmPushNotification) Reset() { - *x = FcmPushNotification{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FcmPushNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FcmPushNotification) ProtoMessage() {} - -func (x *FcmPushNotification) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[120] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FcmPushNotification.ProtoReflect.Descriptor instead. -func (*FcmPushNotification) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{120} -} - -func (x *FcmPushNotification) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -type HmsPushNotification struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HmsPushNotification) Reset() { - *x = HmsPushNotification{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HmsPushNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HmsPushNotification) ProtoMessage() {} - -func (x *HmsPushNotification) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[121] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HmsPushNotification.ProtoReflect.Descriptor instead. -func (*HmsPushNotification) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{121} -} - -func (x *HmsPushNotification) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -type ApnsPushNotification struct { - state protoimpl.MessageState `protogen:"open.v1"` - Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ApnsPushNotification) Reset() { - *x = ApnsPushNotification{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ApnsPushNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApnsPushNotification) ProtoMessage() {} - -func (x *ApnsPushNotification) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[122] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApnsPushNotification.ProtoReflect.Descriptor instead. -func (*ApnsPushNotification) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{122} -} - -func (x *ApnsPushNotification) GetHeaders() map[string]string { - if x != nil { - return x.Headers - } - return nil -} - -func (x *ApnsPushNotification) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -type SendPushNotificationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Recipient *PushRecipient `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` - Notification *PushNotification `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` - Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // unique identifier for push notification, used for matching in Centrifugo analytics. - SendAt int64 `protobuf:"varint,4,opt,name=send_at,json=sendAt,proto3" json:"send_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SendPushNotificationRequest) Reset() { - *x = SendPushNotificationRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SendPushNotificationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendPushNotificationRequest) ProtoMessage() {} - -func (x *SendPushNotificationRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[123] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendPushNotificationRequest.ProtoReflect.Descriptor instead. -func (*SendPushNotificationRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{123} -} - -func (x *SendPushNotificationRequest) GetRecipient() *PushRecipient { - if x != nil { - return x.Recipient - } - return nil -} - -func (x *SendPushNotificationRequest) GetNotification() *PushNotification { - if x != nil { - return x.Notification - } - return nil -} - -func (x *SendPushNotificationRequest) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *SendPushNotificationRequest) GetSendAt() int64 { - if x != nil { - return x.SendAt - } - return 0 -} - -type SendPushNotificationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *SendPushNotificationResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SendPushNotificationResponse) Reset() { - *x = SendPushNotificationResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SendPushNotificationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendPushNotificationResponse) ProtoMessage() {} - -func (x *SendPushNotificationResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[124] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendPushNotificationResponse.ProtoReflect.Descriptor instead. -func (*SendPushNotificationResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{124} -} - -func (x *SendPushNotificationResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *SendPushNotificationResponse) GetResult() *SendPushNotificationResult { - if x != nil { - return x.Result - } - return nil -} - -type SendPushNotificationResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` // Unique identifier of notification send request (it's not a FCM message id). - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SendPushNotificationResult) Reset() { - *x = SendPushNotificationResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SendPushNotificationResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendPushNotificationResult) ProtoMessage() {} - -func (x *SendPushNotificationResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[125] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendPushNotificationResult.ProtoReflect.Descriptor instead. -func (*SendPushNotificationResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{125} -} - -func (x *SendPushNotificationResult) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -type UpdatePushStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` // uid of push notification (matches SendPushNotificationResult.uid) - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // failed | sent | delivered | interacted - DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Centrifugo device id. - MsgId string `protobuf:"bytes,4,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // Provider issued message id. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdatePushStatusRequest) Reset() { - *x = UpdatePushStatusRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdatePushStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePushStatusRequest) ProtoMessage() {} - -func (x *UpdatePushStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[126] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdatePushStatusRequest.ProtoReflect.Descriptor instead. -func (*UpdatePushStatusRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{126} -} - -func (x *UpdatePushStatusRequest) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *UpdatePushStatusRequest) GetStatus() string { - if x != nil { - return x.Status - } - return "" -} - -func (x *UpdatePushStatusRequest) GetDeviceId() string { - if x != nil { - return x.DeviceId - } - return "" -} - -func (x *UpdatePushStatusRequest) GetMsgId() string { - if x != nil { - return x.MsgId - } - return "" -} - -type UpdatePushStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *UpdatePushStatusResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdatePushStatusResponse) Reset() { - *x = UpdatePushStatusResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdatePushStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePushStatusResponse) ProtoMessage() {} - -func (x *UpdatePushStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[127] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdatePushStatusResponse.ProtoReflect.Descriptor instead. -func (*UpdatePushStatusResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{127} -} - -func (x *UpdatePushStatusResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *UpdatePushStatusResponse) GetResult() *UpdatePushStatusResult { - if x != nil { - return x.Result - } - return nil -} - -type UpdatePushStatusResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdatePushStatusResult) Reset() { - *x = UpdatePushStatusResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdatePushStatusResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePushStatusResult) ProtoMessage() {} - -func (x *UpdatePushStatusResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[128] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdatePushStatusResult.ProtoReflect.Descriptor instead. -func (*UpdatePushStatusResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{128} -} - -type CancelPushRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelPushRequest) Reset() { - *x = CancelPushRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelPushRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelPushRequest) ProtoMessage() {} - -func (x *CancelPushRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[129] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelPushRequest.ProtoReflect.Descriptor instead. -func (*CancelPushRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{129} -} - -func (x *CancelPushRequest) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -type CancelPushResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *CancelPushResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelPushResponse) Reset() { - *x = CancelPushResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelPushResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelPushResponse) ProtoMessage() {} - -func (x *CancelPushResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[130] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelPushResponse.ProtoReflect.Descriptor instead. -func (*CancelPushResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{130} -} - -func (x *CancelPushResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *CancelPushResponse) GetResult() *CancelPushResult { - if x != nil { - return x.Result - } - return nil -} - -type CancelPushResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelPushResult) Reset() { - *x = CancelPushResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelPushResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelPushResult) ProtoMessage() {} - -func (x *CancelPushResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[131] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelPushResult.ProtoReflect.Descriptor instead. -func (*CancelPushResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{131} -} - -type RateLimitRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RateLimitRequest) Reset() { - *x = RateLimitRequest{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RateLimitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RateLimitRequest) ProtoMessage() {} - -func (x *RateLimitRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[132] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RateLimitRequest.ProtoReflect.Descriptor instead. -func (*RateLimitRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{132} -} - -type RateLimitResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Result *RateLimitResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RateLimitResponse) Reset() { - *x = RateLimitResponse{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RateLimitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RateLimitResponse) ProtoMessage() {} - -func (x *RateLimitResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[133] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RateLimitResponse.ProtoReflect.Descriptor instead. -func (*RateLimitResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{133} -} - -func (x *RateLimitResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RateLimitResponse) GetResult() *RateLimitResult { - if x != nil { - return x.Result - } - return nil -} - -type RateLimitResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RateLimitResult) Reset() { - *x = RateLimitResult{} - mi := &file_centrifugo_api_v1_api_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RateLimitResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RateLimitResult) ProtoMessage() {} - -func (x *RateLimitResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_api_v1_api_proto_msgTypes[134] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RateLimitResult.ProtoReflect.Descriptor instead. -func (*RateLimitResult) Descriptor() ([]byte, []int) { - return file_centrifugo_api_v1_api_proto_rawDescGZIP(), []int{134} -} - -var File_centrifugo_api_v1_api_proto protoreflect.FileDescriptor - -const file_centrifugo_api_v1_api_proto_rawDesc = "" + - "\n" + - "\x1bcentrifugo/api/v1/api.proto\x12\x1acentrifugal.centrifugo.api\"\xc9\x1b\n" + - "\aCommand\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\x12F\n" + - "\x06method\x18\x02 \x01(\x0e2..centrifugal.centrifugo.api.Command.MethodTypeR\x06method\x12\x16\n" + - "\x06params\x18\x03 \x01(\fR\x06params\x12D\n" + - "\apublish\x18\x04 \x01(\v2*.centrifugal.centrifugo.api.PublishRequestR\apublish\x12J\n" + - "\tbroadcast\x18\x05 \x01(\v2,.centrifugal.centrifugo.api.BroadcastRequestR\tbroadcast\x12J\n" + - "\tsubscribe\x18\x06 \x01(\v2,.centrifugal.centrifugo.api.SubscribeRequestR\tsubscribe\x12P\n" + - "\vunsubscribe\x18\a \x01(\v2..centrifugal.centrifugo.api.UnsubscribeRequestR\vunsubscribe\x12M\n" + - "\n" + - "disconnect\x18\b \x01(\v2-.centrifugal.centrifugo.api.DisconnectRequestR\n" + - "disconnect\x12G\n" + - "\bpresence\x18\t \x01(\v2+.centrifugal.centrifugo.api.PresenceRequestR\bpresence\x12W\n" + - "\x0epresence_stats\x18\n" + - " \x01(\v20.centrifugal.centrifugo.api.PresenceStatsRequestR\rpresenceStats\x12D\n" + - "\ahistory\x18\v \x01(\v2*.centrifugal.centrifugo.api.HistoryRequestR\ahistory\x12W\n" + - "\x0ehistory_remove\x18\f \x01(\v20.centrifugal.centrifugo.api.HistoryRemoveRequestR\rhistoryRemove\x12;\n" + - "\x04info\x18\r \x01(\v2'.centrifugal.centrifugo.api.InfoRequestR\x04info\x128\n" + - "\x03rpc\x18\x0e \x01(\v2&.centrifugal.centrifugo.api.RPCRequestR\x03rpc\x12D\n" + - "\arefresh\x18\x0f \x01(\v2*.centrifugal.centrifugo.api.RefreshRequestR\arefresh\x12G\n" + - "\bchannels\x18\x10 \x01(\v2+.centrifugal.centrifugo.api.ChannelsRequestR\bchannels\x12P\n" + - "\vconnections\x18\x11 \x01(\v2..centrifugal.centrifugo.api.ConnectionsRequestR\vconnections\x12a\n" + - "\x12update_user_status\x18\x12 \x01(\v23.centrifugal.centrifugo.api.UpdateUserStatusRequestR\x10updateUserStatus\x12X\n" + - "\x0fget_user_status\x18\x13 \x01(\v20.centrifugal.centrifugo.api.GetUserStatusRequestR\rgetUserStatus\x12a\n" + - "\x12delete_user_status\x18\x14 \x01(\v23.centrifugal.centrifugo.api.DeleteUserStatusRequestR\x10deleteUserStatus\x12K\n" + - "\n" + - "block_user\x18\x15 \x01(\v2,.centrifugal.centrifugo.api.BlockUserRequestR\tblockUser\x12Q\n" + - "\funblock_user\x18\x16 \x01(\v2..centrifugal.centrifugo.api.UnblockUserRequestR\vunblockUser\x12Q\n" + - "\frevoke_token\x18\x17 \x01(\v2..centrifugal.centrifugo.api.RevokeTokenRequestR\vrevokeToken\x12m\n" + - "\x16invalidate_user_tokens\x18\x18 \x01(\v27.centrifugal.centrifugo.api.InvalidateUserTokensRequestR\x14invalidateUserTokens\x12Z\n" + - "\x0fdevice_register\x18\x19 \x01(\v21.centrifugal.centrifugo.api.DeviceRegisterRequestR\x0edeviceRegister\x12T\n" + - "\rdevice_update\x18\x1a \x01(\v2/.centrifugal.centrifugo.api.DeviceUpdateRequestR\fdeviceUpdate\x12T\n" + - "\rdevice_remove\x18\x1b \x01(\v2/.centrifugal.centrifugo.api.DeviceRemoveRequestR\fdeviceRemove\x12N\n" + - "\vdevice_list\x18\x1c \x01(\v2-.centrifugal.centrifugo.api.DeviceListRequestR\n" + - "deviceList\x12^\n" + - "\x11device_topic_list\x18\x1d \x01(\v22.centrifugal.centrifugo.api.DeviceTopicListRequestR\x0fdeviceTopicList\x12d\n" + - "\x13device_topic_update\x18\x1e \x01(\v24.centrifugal.centrifugo.api.DeviceTopicUpdateRequestR\x11deviceTopicUpdate\x12X\n" + - "\x0fuser_topic_list\x18\x1f \x01(\v20.centrifugal.centrifugo.api.UserTopicListRequestR\ruserTopicList\x12^\n" + - "\x11user_topic_update\x18 \x01(\v22.centrifugal.centrifugo.api.UserTopicUpdateRequestR\x0fuserTopicUpdate\x12m\n" + - "\x16send_push_notification\x18! \x01(\v27.centrifugal.centrifugo.api.SendPushNotificationRequestR\x14sendPushNotification\x12a\n" + - "\x12update_push_status\x18\" \x01(\v23.centrifugal.centrifugo.api.UpdatePushStatusRequestR\x10updatePushStatus\x12N\n" + - "\vcancel_push\x18# \x01(\v2-.centrifugal.centrifugo.api.CancelPushRequestR\n" + - "cancelPush\x12K\n" + - "\n" + - "rate_limit\x182 \x01(\v2,.centrifugal.centrifugo.api.RateLimitRequestR\trateLimit\"\xec\x04\n" + - "\n" + - "MethodType\x12\v\n" + - "\aPUBLISH\x10\x00\x12\r\n" + - "\tBROADCAST\x10\x01\x12\x0f\n" + - "\vUNSUBSCRIBE\x10\x02\x12\x0e\n" + - "\n" + - "DISCONNECT\x10\x03\x12\f\n" + - "\bPRESENCE\x10\x04\x12\x12\n" + - "\x0ePRESENCE_STATS\x10\x05\x12\v\n" + - "\aHISTORY\x10\x06\x12\x12\n" + - "\x0eHISTORY_REMOVE\x10\a\x12\f\n" + - "\bCHANNELS\x10\b\x12\b\n" + - "\x04INFO\x10\t\x12\a\n" + - "\x03RPC\x10\n" + - "\x12\r\n" + - "\tSUBSCRIBE\x10\v\x12\v\n" + - "\aREFRESH\x10\f\x12\x0f\n" + - "\vCONNECTIONS\x10\x0e\x12\x16\n" + - "\x12UPDATE_USER_STATUS\x10\x0f\x12\x13\n" + - "\x0fGET_USER_STATUS\x10\x10\x12\x16\n" + - "\x12DELETE_USER_STATUS\x10\x11\x12\x0e\n" + - "\n" + - "BLOCK_USER\x10\x12\x12\x10\n" + - "\fUNBLOCK_USER\x10\x13\x12\x10\n" + - "\fREVOKE_TOKEN\x10\x14\x12\x1a\n" + - "\x16INVALIDATE_USER_TOKENS\x10\x15\x12\x13\n" + - "\x0fDEVICE_REGISTER\x10\x16\x12\x11\n" + - "\rDEVICE_UPDATE\x10\x17\x12\x11\n" + - "\rDEVICE_REMOVE\x10\x18\x12\x0f\n" + - "\vDEVICE_LIST\x10\x19\x12\x15\n" + - "\x11DEVICE_TOPIC_LIST\x10\x1a\x12\x17\n" + - "\x13DEVICE_TOPIC_UPDATE\x10\x1b\x12\x13\n" + - "\x0fUSER_TOPIC_LIST\x10\x1c\x12\x15\n" + - "\x11USER_TOPIC_UPDATE\x10\x1d\x12\x1a\n" + - "\x16SEND_PUSH_NOTIFICATION\x10\x1e\x12\x16\n" + - "\x12UPDATE_PUSH_STATUS\x10\x1f\x12\x0f\n" + - "\vCANCEL_PUSH\x10 \x12\x0e\n" + - "\n" + - "RATE_LIMIT\x10/\"5\n" + - "\x05Error\x12\x12\n" + - "\x04code\x18\x01 \x01(\rR\x04code\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\"\xa8\x16\n" + - "\x05Reply\x12\x0e\n" + - "\x02id\x18\x01 \x01(\rR\x02id\x127\n" + - "\x05error\x18\x02 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12\x16\n" + - "\x06result\x18\x03 \x01(\fR\x06result\x12C\n" + - "\apublish\x18\x04 \x01(\v2).centrifugal.centrifugo.api.PublishResultR\apublish\x12I\n" + - "\tbroadcast\x18\x05 \x01(\v2+.centrifugal.centrifugo.api.BroadcastResultR\tbroadcast\x12I\n" + - "\tsubscribe\x18\x06 \x01(\v2+.centrifugal.centrifugo.api.SubscribeResultR\tsubscribe\x12O\n" + - "\vunsubscribe\x18\a \x01(\v2-.centrifugal.centrifugo.api.UnsubscribeResultR\vunsubscribe\x12L\n" + - "\n" + - "disconnect\x18\b \x01(\v2,.centrifugal.centrifugo.api.DisconnectResultR\n" + - "disconnect\x12F\n" + - "\bpresence\x18\t \x01(\v2*.centrifugal.centrifugo.api.PresenceResultR\bpresence\x12V\n" + - "\x0epresence_stats\x18\n" + - " \x01(\v2/.centrifugal.centrifugo.api.PresenceStatsResultR\rpresenceStats\x12C\n" + - "\ahistory\x18\v \x01(\v2).centrifugal.centrifugo.api.HistoryResultR\ahistory\x12V\n" + - "\x0ehistory_remove\x18\f \x01(\v2/.centrifugal.centrifugo.api.HistoryRemoveResultR\rhistoryRemove\x12:\n" + - "\x04info\x18\r \x01(\v2&.centrifugal.centrifugo.api.InfoResultR\x04info\x127\n" + - "\x03rpc\x18\x0e \x01(\v2%.centrifugal.centrifugo.api.RPCResultR\x03rpc\x12C\n" + - "\arefresh\x18\x0f \x01(\v2).centrifugal.centrifugo.api.RefreshResultR\arefresh\x12F\n" + - "\bchannels\x18\x10 \x01(\v2*.centrifugal.centrifugo.api.ChannelsResultR\bchannels\x12O\n" + - "\vconnections\x18\x11 \x01(\v2-.centrifugal.centrifugo.api.ConnectionsResultR\vconnections\x12`\n" + - "\x12update_user_status\x18\x12 \x01(\v22.centrifugal.centrifugo.api.UpdateUserStatusResultR\x10updateUserStatus\x12W\n" + - "\x0fget_user_status\x18\x13 \x01(\v2/.centrifugal.centrifugo.api.GetUserStatusResultR\rgetUserStatus\x12`\n" + - "\x12delete_user_status\x18\x14 \x01(\v22.centrifugal.centrifugo.api.DeleteUserStatusResultR\x10deleteUserStatus\x12J\n" + - "\n" + - "block_user\x18\x15 \x01(\v2+.centrifugal.centrifugo.api.BlockUserResultR\tblockUser\x12P\n" + - "\funblock_user\x18\x16 \x01(\v2-.centrifugal.centrifugo.api.UnblockUserResultR\vunblockUser\x12P\n" + - "\frevoke_token\x18\x17 \x01(\v2-.centrifugal.centrifugo.api.RevokeTokenResultR\vrevokeToken\x12l\n" + - "\x16invalidate_user_tokens\x18\x18 \x01(\v26.centrifugal.centrifugo.api.InvalidateUserTokensResultR\x14invalidateUserTokens\x12Y\n" + - "\x0fdevice_register\x18\x19 \x01(\v20.centrifugal.centrifugo.api.DeviceRegisterResultR\x0edeviceRegister\x12S\n" + - "\rdevice_update\x18\x1a \x01(\v2..centrifugal.centrifugo.api.DeviceUpdateResultR\fdeviceUpdate\x12S\n" + - "\rdevice_remove\x18\x1b \x01(\v2..centrifugal.centrifugo.api.DeviceRemoveResultR\fdeviceRemove\x12M\n" + - "\vdevice_list\x18\x1c \x01(\v2,.centrifugal.centrifugo.api.DeviceListResultR\n" + - "deviceList\x12]\n" + - "\x11device_topic_list\x18\x1d \x01(\v21.centrifugal.centrifugo.api.DeviceTopicListResultR\x0fdeviceTopicList\x12c\n" + - "\x13device_topic_update\x18\x1e \x01(\v23.centrifugal.centrifugo.api.DeviceTopicUpdateResultR\x11deviceTopicUpdate\x12W\n" + - "\x0fuser_topic_list\x18\x1f \x01(\v2/.centrifugal.centrifugo.api.UserTopicListResultR\ruserTopicList\x12]\n" + - "\x11user_topic_update\x18 \x01(\v21.centrifugal.centrifugo.api.UserTopicUpdateResultR\x0fuserTopicUpdate\x12l\n" + - "\x16send_push_notification\x18! \x01(\v26.centrifugal.centrifugo.api.SendPushNotificationResultR\x14sendPushNotification\x12`\n" + - "\x12update_push_status\x18\" \x01(\v22.centrifugal.centrifugo.api.UpdatePushStatusResultR\x10updatePushStatus\x12M\n" + - "\vcancel_push\x18# \x01(\v2,.centrifugal.centrifugo.api.CancelPushResultR\n" + - "cancelPush\x12J\n" + - "\n" + - "rate_limit\x182 \x01(\v2+.centrifugal.centrifugo.api.RateLimitResultR\trateLimit\"!\n" + - "\tBoolValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\bR\x05value\"\"\n" + - "\n" + - "Int32Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\x05R\x05value\"\x9e\x03\n" + - "\x17SubscribeOptionOverride\x12A\n" + - "\bpresence\x18\x01 \x01(\v2%.centrifugal.centrifugo.api.BoolValueR\bpresence\x12D\n" + - "\n" + - "join_leave\x18\x02 \x01(\v2%.centrifugal.centrifugo.api.BoolValueR\tjoinLeave\x12L\n" + - "\x0eforce_recovery\x18\x03 \x01(\v2%.centrifugal.centrifugo.api.BoolValueR\rforceRecovery\x12R\n" + - "\x11force_positioning\x18\x04 \x01(\v2%.centrifugal.centrifugo.api.BoolValueR\x10forcePositioning\x12X\n" + - "\x15force_push_join_leave\x18\x05 \x01(\v2%.centrifugal.centrifugo.api.BoolValueR\x12forcePushJoinLeave\"k\n" + - "\fBatchRequest\x12?\n" + - "\bcommands\x18\x01 \x03(\v2#.centrifugal.centrifugo.api.CommandR\bcommands\x12\x1a\n" + - "\bparallel\x18\x02 \x01(\bR\bparallel\"L\n" + - "\rBatchResponse\x12;\n" + - "\areplies\x18\x01 \x03(\v2!.centrifugal.centrifugo.api.ReplyR\areplies\"\xa7\x02\n" + - "\x0ePublishRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\x12\x12\n" + - "\x04data\x18\x02 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x03 \x01(\tR\ab64data\x12!\n" + - "\fskip_history\x18\x04 \x01(\bR\vskipHistory\x12H\n" + - "\x04tags\x18\x05 \x03(\v24.centrifugal.centrifugo.api.PublishRequest.TagsEntryR\x04tags\x12'\n" + - "\x0fidempotency_key\x18\x06 \x01(\tR\x0eidempotencyKey\x1a7\n" + - "\tTagsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8d\x01\n" + - "\x0fPublishResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12A\n" + - "\x06result\x18\x02 \x01(\v2).centrifugal.centrifugo.api.PublishResultR\x06result\"=\n" + - "\rPublishResult\x12\x16\n" + - "\x06offset\x18\x01 \x01(\x04R\x06offset\x12\x14\n" + - "\x05epoch\x18\x02 \x01(\tR\x05epoch\"\xad\x02\n" + - "\x10BroadcastRequest\x12\x1a\n" + - "\bchannels\x18\x01 \x03(\tR\bchannels\x12\x12\n" + - "\x04data\x18\x02 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x03 \x01(\tR\ab64data\x12!\n" + - "\fskip_history\x18\x04 \x01(\bR\vskipHistory\x12J\n" + - "\x04tags\x18\x05 \x03(\v26.centrifugal.centrifugo.api.BroadcastRequest.TagsEntryR\x04tags\x12'\n" + - "\x0fidempotency_key\x18\x06 \x01(\tR\x0eidempotencyKey\x1a7\n" + - "\tTagsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x91\x01\n" + - "\x11BroadcastResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12C\n" + - "\x06result\x18\x02 \x01(\v2+.centrifugal.centrifugo.api.BroadcastResultR\x06result\"\\\n" + - "\x0fBroadcastResult\x12I\n" + - "\tresponses\x18\x01 \x03(\v2+.centrifugal.centrifugo.api.PublishResponseR\tresponses\"\x8d\x03\n" + - "\x10SubscribeRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\x12\x12\n" + - "\x04user\x18\x02 \x01(\tR\x04user\x12\x1b\n" + - "\texpire_at\x18\x03 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x04 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x05 \x01(\tR\ab64info\x12\x16\n" + - "\x06client\x18\x06 \x01(\tR\x06client\x12\x12\n" + - "\x04data\x18\a \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\b \x01(\tR\ab64data\x12O\n" + - "\rrecover_since\x18\t \x01(\v2*.centrifugal.centrifugo.api.StreamPositionR\frecoverSince\x12O\n" + - "\boverride\x18\n" + - " \x01(\v23.centrifugal.centrifugo.api.SubscribeOptionOverrideR\boverride\x12\x18\n" + - "\asession\x18\v \x01(\tR\asession\"\x91\x01\n" + - "\x11SubscribeResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12C\n" + - "\x06result\x18\x02 \x01(\v2+.centrifugal.centrifugo.api.SubscribeResultR\x06result\"\x11\n" + - "\x0fSubscribeResult\"t\n" + - "\x12UnsubscribeRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\x12\x12\n" + - "\x04user\x18\x02 \x01(\tR\x04user\x12\x16\n" + - "\x06client\x18\x03 \x01(\tR\x06client\x12\x18\n" + - "\asession\x18\x04 \x01(\tR\asession\"\x95\x01\n" + - "\x13UnsubscribeResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12E\n" + - "\x06result\x18\x02 \x01(\v2-.centrifugal.centrifugo.api.UnsubscribeResultR\x06result\"\x13\n" + - "\x11UnsubscribeResult\">\n" + - "\n" + - "Disconnect\x12\x12\n" + - "\x04code\x18\x01 \x01(\rR\x04code\x12\x16\n" + - "\x06reason\x18\x02 \x01(\tR\x06reasonJ\x04\b\x03\x10\x04\"\xbf\x01\n" + - "\x11DisconnectRequest\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12F\n" + - "\n" + - "disconnect\x18\x02 \x01(\v2&.centrifugal.centrifugo.api.DisconnectR\n" + - "disconnect\x12\x16\n" + - "\x06client\x18\x03 \x01(\tR\x06client\x12\x1c\n" + - "\twhitelist\x18\x04 \x03(\tR\twhitelist\x12\x18\n" + - "\asession\x18\x05 \x01(\tR\asession\"\x93\x01\n" + - "\x12DisconnectResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12D\n" + - "\x06result\x18\x02 \x01(\v2,.centrifugal.centrifugo.api.DisconnectResultR\x06result\"\x12\n" + - "\x10DisconnectResult\"+\n" + - "\x0fPresenceRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\"\x8f\x01\n" + - "\x10PresenceResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12B\n" + - "\x06result\x18\x02 \x01(\v2*.centrifugal.centrifugo.api.PresenceResultR\x06result\"r\n" + - "\n" + - "ClientInfo\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x16\n" + - "\x06client\x18\x02 \x01(\tR\x06client\x12\x1b\n" + - "\tconn_info\x18\x03 \x01(\fR\bconnInfo\x12\x1b\n" + - "\tchan_info\x18\x04 \x01(\fR\bchanInfo\"\xcb\x01\n" + - "\x0ePresenceResult\x12T\n" + - "\bpresence\x18\x01 \x03(\v28.centrifugal.centrifugo.api.PresenceResult.PresenceEntryR\bpresence\x1ac\n" + - "\rPresenceEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12<\n" + - "\x05value\x18\x02 \x01(\v2&.centrifugal.centrifugo.api.ClientInfoR\x05value:\x028\x01\"0\n" + - "\x14PresenceStatsRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\"\x99\x01\n" + - "\x15PresenceStatsResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12G\n" + - "\x06result\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.PresenceStatsResultR\x06result\"S\n" + - "\x13PresenceStatsResult\x12\x1f\n" + - "\vnum_clients\x18\x01 \x01(\rR\n" + - "numClients\x12\x1b\n" + - "\tnum_users\x18\x02 \x01(\rR\bnumUsers\">\n" + - "\x0eStreamPosition\x12\x16\n" + - "\x06offset\x18\x01 \x01(\x04R\x06offset\x12\x14\n" + - "\x05epoch\x18\x02 \x01(\tR\x05epoch\"\x9c\x01\n" + - "\x0eHistoryRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\x12\x14\n" + - "\x05limit\x18\x02 \x01(\x05R\x05limit\x12@\n" + - "\x05since\x18\x03 \x01(\v2*.centrifugal.centrifugo.api.StreamPositionR\x05since\x12\x18\n" + - "\areverse\x18\x04 \x01(\bR\areverse\"\x8d\x01\n" + - "\x0fHistoryResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12A\n" + - "\x06result\x18\x02 \x01(\v2).centrifugal.centrifugo.api.HistoryResultR\x06result\"\xf5\x01\n" + - "\vPublication\x12\x12\n" + - "\x04data\x18\x02 \x01(\fR\x04data\x12:\n" + - "\x04info\x18\x03 \x01(\v2&.centrifugal.centrifugo.api.ClientInfoR\x04info\x12\x16\n" + - "\x06offset\x18\x04 \x01(\x04R\x06offset\x12E\n" + - "\x04tags\x18\x05 \x03(\v21.centrifugal.centrifugo.api.Publication.TagsEntryR\x04tags\x1a7\n" + - "\tTagsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8a\x01\n" + - "\rHistoryResult\x12K\n" + - "\fpublications\x18\x01 \x03(\v2'.centrifugal.centrifugo.api.PublicationR\fpublications\x12\x14\n" + - "\x05epoch\x18\x02 \x01(\tR\x05epoch\x12\x16\n" + - "\x06offset\x18\x03 \x01(\x04R\x06offset\"0\n" + - "\x14HistoryRemoveRequest\x12\x18\n" + - "\achannel\x18\x01 \x01(\tR\achannel\"\x99\x01\n" + - "\x15HistoryRemoveResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12G\n" + - "\x06result\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.HistoryRemoveResultR\x06result\"\x15\n" + - "\x13HistoryRemoveResult\"\r\n" + - "\vInfoRequest\"\x87\x01\n" + - "\fInfoResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12>\n" + - "\x06result\x18\x02 \x01(\v2&.centrifugal.centrifugo.api.InfoResultR\x06result\"J\n" + - "\n" + - "InfoResult\x12<\n" + - "\x05nodes\x18\x01 \x03(\v2&.centrifugal.centrifugo.api.NodeResultR\x05nodes\"<\n" + - "\n" + - "RPCRequest\x12\x16\n" + - "\x06method\x18\x01 \x01(\tR\x06method\x12\x16\n" + - "\x06params\x18\x02 \x01(\fR\x06params\"\x85\x01\n" + - "\vRPCResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12=\n" + - "\x06result\x18\x02 \x01(\v2%.centrifugal.centrifugo.api.RPCResultR\x06result\"\x1f\n" + - "\tRPCResult\x12\x12\n" + - "\x04data\x18\x01 \x01(\fR\x04data\"\xa1\x01\n" + - "\x0eRefreshRequest\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x16\n" + - "\x06client\x18\x02 \x01(\tR\x06client\x12\x18\n" + - "\aexpired\x18\x03 \x01(\bR\aexpired\x12\x1b\n" + - "\texpire_at\x18\x04 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x05 \x01(\fR\x04info\x12\x18\n" + - "\asession\x18\x06 \x01(\tR\asession\"\x8d\x01\n" + - "\x0fRefreshResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12A\n" + - "\x06result\x18\x02 \x01(\v2).centrifugal.centrifugo.api.RefreshResultR\x06result\"\x0f\n" + - "\rRefreshResult\"\xde\x02\n" + - "\n" + - "NodeResult\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" + - "\aversion\x18\x03 \x01(\tR\aversion\x12\x1f\n" + - "\vnum_clients\x18\x04 \x01(\rR\n" + - "numClients\x12\x1b\n" + - "\tnum_users\x18\x05 \x01(\rR\bnumUsers\x12!\n" + - "\fnum_channels\x18\x06 \x01(\rR\vnumChannels\x12\x16\n" + - "\x06uptime\x18\a \x01(\rR\x06uptime\x12=\n" + - "\ametrics\x18\b \x01(\v2#.centrifugal.centrifugo.api.MetricsR\ametrics\x12=\n" + - "\aprocess\x18\t \x01(\v2#.centrifugal.centrifugo.api.ProcessR\aprocess\x12\x19\n" + - "\bnum_subs\x18\n" + - " \x01(\rR\anumSubs\"\xa5\x01\n" + - "\aMetrics\x12\x1a\n" + - "\binterval\x18\x01 \x01(\x01R\binterval\x12D\n" + - "\x05items\x18\x02 \x03(\v2..centrifugal.centrifugo.api.Metrics.ItemsEntryR\x05items\x1a8\n" + - "\n" + - "ItemsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"-\n" + - "\aProcess\x12\x10\n" + - "\x03cpu\x18\x01 \x01(\x01R\x03cpu\x12\x10\n" + - "\x03rss\x18\x02 \x01(\x03R\x03rss\"+\n" + - "\x0fChannelsRequest\x12\x18\n" + - "\apattern\x18\x01 \x01(\tR\apattern\"\x8f\x01\n" + - "\x10ChannelsResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12B\n" + - "\x06result\x18\x02 \x01(\v2*.centrifugal.centrifugo.api.ChannelsResultR\x06result\"\xcc\x01\n" + - "\x0eChannelsResult\x12T\n" + - "\bchannels\x18\x01 \x03(\v28.centrifugal.centrifugo.api.ChannelsResult.ChannelsEntryR\bchannels\x1ad\n" + - "\rChannelsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\v2'.centrifugal.centrifugo.api.ChannelInfoR\x05value:\x028\x01\".\n" + - "\vChannelInfo\x12\x1f\n" + - "\vnum_clients\x18\x01 \x01(\rR\n" + - "numClients\"H\n" + - "\x12ConnectionsRequest\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x1e\n" + - "\n" + - "expression\x18\x02 \x01(\tR\n" + - "expression\"\x95\x01\n" + - "\x13ConnectionsResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12E\n" + - "\x06result\x18\x02 \x01(\v2-.centrifugal.centrifugo.api.ConnectionsResultR\x06result\"\xe1\x01\n" + - "\x11ConnectionsResult\x12`\n" + - "\vconnections\x18\x01 \x03(\v2>.centrifugal.centrifugo.api.ConnectionsResult.ConnectionsEntryR\vconnections\x1aj\n" + - "\x10ConnectionsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12@\n" + - "\x05value\x18\x02 \x01(\v2*.centrifugal.centrifugo.api.ConnectionInfoR\x05value:\x028\x01\"\xdd\x01\n" + - "\x0eConnectionInfo\x12\x19\n" + - "\bapp_name\x18\x01 \x01(\tR\aappName\x12\x1f\n" + - "\vapp_version\x18\x02 \x01(\tR\n" + - "appVersion\x12\x1c\n" + - "\ttransport\x18\x03 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x04 \x01(\tR\bprotocol\x12\x12\n" + - "\x04user\x18\b \x01(\tR\x04user\x12A\n" + - "\x05state\x18\t \x01(\v2+.centrifugal.centrifugo.api.ConnectionStateR\x05state\"\xb1\x04\n" + - "\x0fConnectionState\x12U\n" + - "\bchannels\x18\x01 \x03(\v29.centrifugal.centrifugo.api.ConnectionState.ChannelsEntryR\bchannels\x12Z\n" + - "\x10connection_token\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.ConnectionTokenInfoR\x0fconnectionToken\x12t\n" + - "\x13subscription_tokens\x18\x03 \x03(\v2C.centrifugal.centrifugo.api.ConnectionState.SubscriptionTokensEntryR\x12subscriptionTokens\x12\x12\n" + - "\x04meta\x18\x04 \x01(\fR\x04meta\x1ag\n" + - "\rChannelsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12@\n" + - "\x05value\x18\x02 \x01(\v2*.centrifugal.centrifugo.api.ChannelContextR\x05value:\x028\x01\x1ax\n" + - "\x17SubscriptionTokensEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12G\n" + - "\x05value\x18\x02 \x01(\v21.centrifugal.centrifugo.api.SubscriptionTokenInfoR\x05value:\x028\x01\"(\n" + - "\x0eChannelContext\x12\x16\n" + - "\x06source\x18\x01 \x01(\rR\x06source\"D\n" + - "\x13ConnectionTokenInfo\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1b\n" + - "\tissued_at\x18\x02 \x01(\x03R\bissuedAt\"F\n" + - "\x15SubscriptionTokenInfo\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1b\n" + - "\tissued_at\x18\x02 \x01(\x03R\bissuedAt\"E\n" + - "\x17UpdateUserStatusRequest\x12\x14\n" + - "\x05users\x18\x01 \x03(\tR\x05users\x12\x14\n" + - "\x05state\x18\x02 \x01(\tR\x05state\"\x9f\x01\n" + - "\x18UpdateUserStatusResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12J\n" + - "\x06result\x18\x02 \x01(\v22.centrifugal.centrifugo.api.UpdateUserStatusResultR\x06result\"\x18\n" + - "\x16UpdateUserStatusResult\",\n" + - "\x14GetUserStatusRequest\x12\x14\n" + - "\x05users\x18\x01 \x03(\tR\x05users\"\x99\x01\n" + - "\x15GetUserStatusResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12G\n" + - "\x06result\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.GetUserStatusResultR\x06result\"Y\n" + - "\x13GetUserStatusResult\x12B\n" + - "\bstatuses\x18\x01 \x03(\v2&.centrifugal.centrifugo.api.UserStatusR\bstatuses\"f\n" + - "\n" + - "UserStatus\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x16\n" + - "\x06active\x18\x02 \x01(\x03R\x06active\x12\x16\n" + - "\x06online\x18\x03 \x01(\x03R\x06online\x12\x14\n" + - "\x05state\x18\x04 \x01(\tR\x05state\"/\n" + - "\x17DeleteUserStatusRequest\x12\x14\n" + - "\x05users\x18\x01 \x03(\tR\x05users\"\x9f\x01\n" + - "\x18DeleteUserStatusResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12J\n" + - "\x06result\x18\x02 \x01(\v22.centrifugal.centrifugo.api.DeleteUserStatusResultR\x06result\"\x18\n" + - "\x16DeleteUserStatusResult\"C\n" + - "\x10BlockUserRequest\x12\x1b\n" + - "\texpire_at\x18\x01 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04user\x18\x02 \x01(\tR\x04user\"\x11\n" + - "\x0fBlockUserResult\"\x91\x01\n" + - "\x11BlockUserResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12C\n" + - "\x06result\x18\x02 \x01(\v2+.centrifugal.centrifugo.api.BlockUserResultR\x06result\"(\n" + - "\x12UnblockUserRequest\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\"\x13\n" + - "\x11UnblockUserResult\"\x95\x01\n" + - "\x13UnblockUserResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12E\n" + - "\x06result\x18\x02 \x01(\v2-.centrifugal.centrifugo.api.UnblockUserResultR\x06result\"C\n" + - "\x12RevokeTokenRequest\x12\x1b\n" + - "\texpire_at\x18\x01 \x01(\x03R\bexpireAt\x12\x10\n" + - "\x03uid\x18\x02 \x01(\tR\x03uid\"\x13\n" + - "\x11RevokeTokenResult\"\x95\x01\n" + - "\x13RevokeTokenResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12E\n" + - "\x06result\x18\x02 \x01(\v2-.centrifugal.centrifugo.api.RevokeTokenResultR\x06result\"\x8d\x01\n" + - "\x1bInvalidateUserTokensRequest\x12\x1b\n" + - "\texpire_at\x18\x01 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04user\x18\x02 \x01(\tR\x04user\x12#\n" + - "\rissued_before\x18\x03 \x01(\x03R\fissuedBefore\x12\x18\n" + - "\achannel\x18\x04 \x01(\tR\achannel\"\x1c\n" + - "\x1aInvalidateUserTokensResult\"\xa7\x01\n" + - "\x1cInvalidateUserTokensResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12N\n" + - "\x06result\x18\x02 \x01(\v26.centrifugal.centrifugo.api.InvalidateUserTokensResultR\x06result\"\xab\x02\n" + - "\x15DeviceRegisterRequest\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" + - "\bprovider\x18\x02 \x01(\tR\bprovider\x12\x14\n" + - "\x05token\x18\x03 \x01(\tR\x05token\x12\x1a\n" + - "\bplatform\x18\x04 \x01(\tR\bplatform\x12\x12\n" + - "\x04user\x18\x05 \x01(\tR\x04user\x12O\n" + - "\x04meta\x18\x06 \x03(\v2;.centrifugal.centrifugo.api.DeviceRegisterRequest.MetaEntryR\x04meta\x12\x16\n" + - "\x06topics\x18\a \x03(\tR\x06topics\x1a7\n" + - "\tMetaEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb0\x02\n" + - "\x13DeviceUpdateRequest\x12\x10\n" + - "\x03ids\x18\x01 \x03(\tR\x03ids\x12\x14\n" + - "\x05users\x18\x02 \x03(\tR\x05users\x12M\n" + - "\vuser_update\x18\x04 \x01(\v2,.centrifugal.centrifugo.api.DeviceUserUpdateR\n" + - "userUpdate\x12M\n" + - "\vmeta_update\x18\x05 \x01(\v2,.centrifugal.centrifugo.api.DeviceMetaUpdateR\n" + - "metaUpdate\x12S\n" + - "\rtopics_update\x18\x06 \x01(\v2..centrifugal.centrifugo.api.DeviceTopicsUpdateR\ftopicsUpdate\"=\n" + - "\x13DeviceRemoveRequest\x12\x10\n" + - "\x03ids\x18\x01 \x03(\tR\x03ids\x12\x14\n" + - "\x05users\x18\x02 \x03(\tR\x05users\"&\n" + - "\x10DeviceUserUpdate\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\"\x97\x01\n" + - "\x10DeviceMetaUpdate\x12J\n" + - "\x04meta\x18\x01 \x03(\v26.centrifugal.centrifugo.api.DeviceMetaUpdate.MetaEntryR\x04meta\x1a7\n" + - "\tMetaEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"<\n" + - "\x12DeviceTopicsUpdate\x12\x0e\n" + - "\x02op\x18\x01 \x01(\tR\x02op\x12\x16\n" + - "\x06topics\x18\x02 \x03(\tR\x06topics\"\x8a\x01\n" + - "\fDeviceFilter\x12\x10\n" + - "\x03ids\x18\x01 \x03(\tR\x03ids\x12\x14\n" + - "\x05users\x18\x02 \x03(\tR\x05users\x12\x16\n" + - "\x06topics\x18\x03 \x03(\tR\x06topics\x12\x1c\n" + - "\tproviders\x18\x04 \x03(\tR\tproviders\x12\x1c\n" + - "\tplatforms\x18\x05 \x03(\tR\tplatforms\"\xfd\x01\n" + - "\x11DeviceListRequest\x12@\n" + - "\x06filter\x18\x01 \x01(\v2(.centrifugal.centrifugo.api.DeviceFilterR\x06filter\x12.\n" + - "\x13include_total_count\x18\x02 \x01(\bR\x11includeTotalCount\x12!\n" + - "\finclude_meta\x18\x03 \x01(\bR\vincludeMeta\x12%\n" + - "\x0einclude_topics\x18\x04 \x01(\bR\rincludeTopics\x12\x16\n" + - "\x06cursor\x18\n" + - " \x01(\tR\x06cursor\x12\x14\n" + - "\x05limit\x18\v \x01(\x05R\x05limit\"\xe6\x01\n" + - "\x11DeviceTopicFilter\x12\x1d\n" + - "\n" + - "device_ids\x18\x01 \x03(\tR\tdeviceIds\x12)\n" + - "\x10device_providers\x18\x02 \x03(\tR\x0fdeviceProviders\x12)\n" + - "\x10device_platforms\x18\x03 \x03(\tR\x0fdevicePlatforms\x12!\n" + - "\fdevice_users\x18\x04 \x03(\tR\vdeviceUsers\x12\x16\n" + - "\x06topics\x18\x05 \x03(\tR\x06topics\x12!\n" + - "\ftopic_prefix\x18\x06 \x01(\tR\vtopicPrefix\"\xe4\x01\n" + - "\x16DeviceTopicListRequest\x12E\n" + - "\x06filter\x18\x01 \x01(\v2-.centrifugal.centrifugo.api.DeviceTopicFilterR\x06filter\x12.\n" + - "\x13include_total_count\x18\x02 \x01(\bR\x11includeTotalCount\x12%\n" + - "\x0einclude_device\x18\x03 \x01(\bR\rincludeDevice\x12\x16\n" + - "\x06cursor\x18\n" + - " \x01(\tR\x06cursor\x12\x14\n" + - "\x05limit\x18\v \x01(\x05R\x05limit\"b\n" + - "\x0fUserTopicFilter\x12\x14\n" + - "\x05users\x18\x01 \x03(\tR\x05users\x12\x16\n" + - "\x06topics\x18\x02 \x03(\tR\x06topics\x12!\n" + - "\ftopic_prefix\x18\x03 \x01(\tR\vtopicPrefix\"\xb9\x01\n" + - "\x14UserTopicListRequest\x12C\n" + - "\x06filter\x18\x01 \x01(\v2+.centrifugal.centrifugo.api.UserTopicFilterR\x06filter\x12.\n" + - "\x13include_total_count\x18\x02 \x01(\bR\x11includeTotalCount\x12\x16\n" + - "\x06cursor\x18\n" + - " \x01(\tR\x06cursor\x12\x14\n" + - "\x05limit\x18\v \x01(\x05R\x05limit\"_\n" + - "\x18DeviceTopicUpdateRequest\x12\x1b\n" + - "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x0e\n" + - "\x02op\x18\x02 \x01(\tR\x02op\x12\x16\n" + - "\x06topics\x18\x03 \x03(\tR\x06topics\"T\n" + - "\x16UserTopicUpdateRequest\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x0e\n" + - "\x02op\x18\x02 \x01(\tR\x02op\x12\x16\n" + - "\x06topics\x18\x03 \x03(\tR\x06topics\"\x9b\x01\n" + - "\x16DeviceRegisterResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12H\n" + - "\x06result\x18\x02 \x01(\v20.centrifugal.centrifugo.api.DeviceRegisterResultR\x06result\"\x97\x01\n" + - "\x14DeviceUpdateResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12F\n" + - "\x06result\x18\x02 \x01(\v2..centrifugal.centrifugo.api.DeviceUpdateResultR\x06result\"\x97\x01\n" + - "\x14DeviceRemoveResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12F\n" + - "\x06result\x18\x02 \x01(\v2..centrifugal.centrifugo.api.DeviceRemoveResultR\x06result\"\x93\x01\n" + - "\x12DeviceListResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12D\n" + - "\x06result\x18\x02 \x01(\v2,.centrifugal.centrifugo.api.DeviceListResultR\x06result\"\x9d\x01\n" + - "\x17DeviceTopicListResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12I\n" + - "\x06result\x18\x02 \x01(\v21.centrifugal.centrifugo.api.DeviceTopicListResultR\x06result\"\x99\x01\n" + - "\x15UserTopicListResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12G\n" + - "\x06result\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.UserTopicListResultR\x06result\"\xa1\x01\n" + - "\x19DeviceTopicUpdateResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12K\n" + - "\x06result\x18\x02 \x01(\v23.centrifugal.centrifugo.api.DeviceTopicUpdateResultR\x06result\"\x9d\x01\n" + - "\x17UserTopicUpdateResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12I\n" + - "\x06result\x18\x02 \x01(\v21.centrifugal.centrifugo.api.UserTopicUpdateResultR\x06result\"&\n" + - "\x14DeviceRegisterResult\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\"\x14\n" + - "\x12DeviceUpdateResult\"\x14\n" + - "\x12DeviceRemoveResult\"\x8e\x01\n" + - "\x10DeviceListResult\x128\n" + - "\x05items\x18\x01 \x03(\v2\".centrifugal.centrifugo.api.DeviceR\x05items\x12\x1f\n" + - "\vnext_cursor\x18\x02 \x01(\tR\n" + - "nextCursor\x12\x1f\n" + - "\vtotal_count\x18\x03 \x01(\x03R\n" + - "totalCount\"\xcb\x02\n" + - "\x06Device\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" + - "\bplatform\x18\x02 \x01(\tR\bplatform\x12\x1a\n" + - "\bprovider\x18\x03 \x01(\tR\bprovider\x12\x14\n" + - "\x05token\x18\x04 \x01(\tR\x05token\x12\x12\n" + - "\x04user\x18\x05 \x01(\tR\x04user\x12\x1d\n" + - "\n" + - "created_at\x18\x06 \x01(\x03R\tcreatedAt\x12\x1d\n" + - "\n" + - "updated_at\x18\a \x01(\x03R\tupdatedAt\x12@\n" + - "\x04meta\x18\n" + - " \x03(\v2,.centrifugal.centrifugo.api.Device.MetaEntryR\x04meta\x12\x16\n" + - "\x06topics\x18\v \x03(\tR\x06topics\x1a7\n" + - "\tMetaEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x98\x01\n" + - "\x15DeviceTopicListResult\x12=\n" + - "\x05items\x18\x01 \x03(\v2'.centrifugal.centrifugo.api.DeviceTopicR\x05items\x12\x1f\n" + - "\vnext_cursor\x18\x02 \x01(\tR\n" + - "nextCursor\x12\x1f\n" + - "\vtotal_count\x18\x03 \x01(\x03R\n" + - "totalCount\"o\n" + - "\vDeviceTopic\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" + - "\x05topic\x18\x02 \x01(\tR\x05topic\x12:\n" + - "\x06device\x18\x03 \x01(\v2\".centrifugal.centrifugo.api.DeviceR\x06device\"\x94\x01\n" + - "\x13UserTopicListResult\x12;\n" + - "\x05items\x18\x01 \x03(\v2%.centrifugal.centrifugo.api.UserTopicR\x05items\x12\x1f\n" + - "\vnext_cursor\x18\x02 \x01(\tR\n" + - "nextCursor\x12\x1f\n" + - "\vtotal_count\x18\x03 \x01(\x03R\n" + - "totalCount\"\x19\n" + - "\x17DeviceTopicUpdateResult\"\x17\n" + - "\x15UserTopicUpdateResult\"E\n" + - "\tUserTopic\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" + - "\x04user\x18\x02 \x01(\tR\x04user\x12\x14\n" + - "\x05topic\x18\x03 \x01(\tR\x05topic\"\xb4\x02\n" + - "\rPushRecipient\x12@\n" + - "\x06filter\x18\x01 \x01(\v2(.centrifugal.centrifugo.api.DeviceFilterR\x06filter\x12\x1d\n" + - "\n" + - "fcm_tokens\x18\x02 \x03(\tR\tfcmTokens\x12\x1b\n" + - "\tfcm_topic\x18\x03 \x01(\tR\bfcmTopic\x12#\n" + - "\rfcm_condition\x18\x04 \x01(\tR\ffcmCondition\x12\x1d\n" + - "\n" + - "hms_tokens\x18\x05 \x03(\tR\thmsTokens\x12\x1b\n" + - "\thms_topic\x18\x06 \x01(\tR\bhmsTopic\x12#\n" + - "\rhms_condition\x18\a \x01(\tR\fhmsCondition\x12\x1f\n" + - "\vapns_tokens\x18\b \x03(\tR\n" + - "apnsTokens\"\xfb\x01\n" + - "\x10PushNotification\x12A\n" + - "\x03fcm\x18\x01 \x01(\v2/.centrifugal.centrifugo.api.FcmPushNotificationR\x03fcm\x12A\n" + - "\x03hms\x18\x02 \x01(\v2/.centrifugal.centrifugo.api.HmsPushNotificationR\x03hms\x12D\n" + - "\x04apns\x18\x03 \x01(\v20.centrifugal.centrifugo.api.ApnsPushNotificationR\x04apns\x12\x1b\n" + - "\texpire_at\x18\x05 \x01(\x03R\bexpireAt\"/\n" + - "\x13FcmPushNotification\x12\x18\n" + - "\amessage\x18\x01 \x01(\fR\amessage\"/\n" + - "\x13HmsPushNotification\x12\x18\n" + - "\amessage\x18\x01 \x01(\fR\amessage\"\xc5\x01\n" + - "\x14ApnsPushNotification\x12W\n" + - "\aheaders\x18\x01 \x03(\v2=.centrifugal.centrifugo.api.ApnsPushNotification.HeadersEntryR\aheaders\x12\x18\n" + - "\apayload\x18\x02 \x01(\fR\apayload\x1a:\n" + - "\fHeadersEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xe3\x01\n" + - "\x1bSendPushNotificationRequest\x12G\n" + - "\trecipient\x18\x01 \x01(\v2).centrifugal.centrifugo.api.PushRecipientR\trecipient\x12P\n" + - "\fnotification\x18\x02 \x01(\v2,.centrifugal.centrifugo.api.PushNotificationR\fnotification\x12\x10\n" + - "\x03uid\x18\x03 \x01(\tR\x03uid\x12\x17\n" + - "\asend_at\x18\x04 \x01(\x03R\x06sendAt\"\xa7\x01\n" + - "\x1cSendPushNotificationResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12N\n" + - "\x06result\x18\x02 \x01(\v26.centrifugal.centrifugo.api.SendPushNotificationResultR\x06result\".\n" + - "\x1aSendPushNotificationResult\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\"w\n" + - "\x17UpdatePushStatusRequest\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\x12\x1b\n" + - "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x15\n" + - "\x06msg_id\x18\x04 \x01(\tR\x05msgId\"\x9f\x01\n" + - "\x18UpdatePushStatusResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12J\n" + - "\x06result\x18\x02 \x01(\v22.centrifugal.centrifugo.api.UpdatePushStatusResultR\x06result\"\x18\n" + - "\x16UpdatePushStatusResult\"%\n" + - "\x11CancelPushRequest\x12\x10\n" + - "\x03uid\x18\x01 \x01(\tR\x03uid\"\x93\x01\n" + - "\x12CancelPushResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12D\n" + - "\x06result\x18\x02 \x01(\v2,.centrifugal.centrifugo.api.CancelPushResultR\x06result\"\x12\n" + - "\x10CancelPushResult\"\x12\n" + - "\x10RateLimitRequest\"\x91\x01\n" + - "\x11RateLimitResponse\x127\n" + - "\x05error\x18\x01 \x01(\v2!.centrifugal.centrifugo.api.ErrorR\x05error\x12C\n" + - "\x06result\x18\x02 \x01(\v2+.centrifugal.centrifugo.api.RateLimitResultR\x06result\"\x11\n" + - "\x0fRateLimitResult2\xd4\x1e\n" + - "\rCentrifugoApi\x12^\n" + - "\x05Batch\x12(.centrifugal.centrifugo.api.BatchRequest\x1a).centrifugal.centrifugo.api.BatchResponse\"\x00\x12d\n" + - "\aPublish\x12*.centrifugal.centrifugo.api.PublishRequest\x1a+.centrifugal.centrifugo.api.PublishResponse\"\x00\x12j\n" + - "\tBroadcast\x12,.centrifugal.centrifugo.api.BroadcastRequest\x1a-.centrifugal.centrifugo.api.BroadcastResponse\"\x00\x12j\n" + - "\tSubscribe\x12,.centrifugal.centrifugo.api.SubscribeRequest\x1a-.centrifugal.centrifugo.api.SubscribeResponse\"\x00\x12p\n" + - "\vUnsubscribe\x12..centrifugal.centrifugo.api.UnsubscribeRequest\x1a/.centrifugal.centrifugo.api.UnsubscribeResponse\"\x00\x12m\n" + - "\n" + - "Disconnect\x12-.centrifugal.centrifugo.api.DisconnectRequest\x1a..centrifugal.centrifugo.api.DisconnectResponse\"\x00\x12g\n" + - "\bPresence\x12+.centrifugal.centrifugo.api.PresenceRequest\x1a,.centrifugal.centrifugo.api.PresenceResponse\"\x00\x12v\n" + - "\rPresenceStats\x120.centrifugal.centrifugo.api.PresenceStatsRequest\x1a1.centrifugal.centrifugo.api.PresenceStatsResponse\"\x00\x12d\n" + - "\aHistory\x12*.centrifugal.centrifugo.api.HistoryRequest\x1a+.centrifugal.centrifugo.api.HistoryResponse\"\x00\x12v\n" + - "\rHistoryRemove\x120.centrifugal.centrifugo.api.HistoryRemoveRequest\x1a1.centrifugal.centrifugo.api.HistoryRemoveResponse\"\x00\x12[\n" + - "\x04Info\x12'.centrifugal.centrifugo.api.InfoRequest\x1a(.centrifugal.centrifugo.api.InfoResponse\"\x00\x12X\n" + - "\x03RPC\x12&.centrifugal.centrifugo.api.RPCRequest\x1a'.centrifugal.centrifugo.api.RPCResponse\"\x00\x12d\n" + - "\aRefresh\x12*.centrifugal.centrifugo.api.RefreshRequest\x1a+.centrifugal.centrifugo.api.RefreshResponse\"\x00\x12g\n" + - "\bChannels\x12+.centrifugal.centrifugo.api.ChannelsRequest\x1a,.centrifugal.centrifugo.api.ChannelsResponse\"\x00\x12p\n" + - "\vConnections\x12..centrifugal.centrifugo.api.ConnectionsRequest\x1a/.centrifugal.centrifugo.api.ConnectionsResponse\"\x00\x12\x7f\n" + - "\x10UpdateUserStatus\x123.centrifugal.centrifugo.api.UpdateUserStatusRequest\x1a4.centrifugal.centrifugo.api.UpdateUserStatusResponse\"\x00\x12v\n" + - "\rGetUserStatus\x120.centrifugal.centrifugo.api.GetUserStatusRequest\x1a1.centrifugal.centrifugo.api.GetUserStatusResponse\"\x00\x12\x7f\n" + - "\x10DeleteUserStatus\x123.centrifugal.centrifugo.api.DeleteUserStatusRequest\x1a4.centrifugal.centrifugo.api.DeleteUserStatusResponse\"\x00\x12j\n" + - "\tBlockUser\x12,.centrifugal.centrifugo.api.BlockUserRequest\x1a-.centrifugal.centrifugo.api.BlockUserResponse\"\x00\x12p\n" + - "\vUnblockUser\x12..centrifugal.centrifugo.api.UnblockUserRequest\x1a/.centrifugal.centrifugo.api.UnblockUserResponse\"\x00\x12p\n" + - "\vRevokeToken\x12..centrifugal.centrifugo.api.RevokeTokenRequest\x1a/.centrifugal.centrifugo.api.RevokeTokenResponse\"\x00\x12\x8b\x01\n" + - "\x14InvalidateUserTokens\x127.centrifugal.centrifugo.api.InvalidateUserTokensRequest\x1a8.centrifugal.centrifugo.api.InvalidateUserTokensResponse\"\x00\x12y\n" + - "\x0eDeviceRegister\x121.centrifugal.centrifugo.api.DeviceRegisterRequest\x1a2.centrifugal.centrifugo.api.DeviceRegisterResponse\"\x00\x12s\n" + - "\fDeviceUpdate\x12/.centrifugal.centrifugo.api.DeviceUpdateRequest\x1a0.centrifugal.centrifugo.api.DeviceUpdateResponse\"\x00\x12s\n" + - "\fDeviceRemove\x12/.centrifugal.centrifugo.api.DeviceRemoveRequest\x1a0.centrifugal.centrifugo.api.DeviceRemoveResponse\"\x00\x12m\n" + - "\n" + - "DeviceList\x12-.centrifugal.centrifugo.api.DeviceListRequest\x1a..centrifugal.centrifugo.api.DeviceListResponse\"\x00\x12|\n" + - "\x0fDeviceTopicList\x122.centrifugal.centrifugo.api.DeviceTopicListRequest\x1a3.centrifugal.centrifugo.api.DeviceTopicListResponse\"\x00\x12\x82\x01\n" + - "\x11DeviceTopicUpdate\x124.centrifugal.centrifugo.api.DeviceTopicUpdateRequest\x1a5.centrifugal.centrifugo.api.DeviceTopicUpdateResponse\"\x00\x12v\n" + - "\rUserTopicList\x120.centrifugal.centrifugo.api.UserTopicListRequest\x1a1.centrifugal.centrifugo.api.UserTopicListResponse\"\x00\x12|\n" + - "\x0fUserTopicUpdate\x122.centrifugal.centrifugo.api.UserTopicUpdateRequest\x1a3.centrifugal.centrifugo.api.UserTopicUpdateResponse\"\x00\x12\x8b\x01\n" + - "\x14SendPushNotification\x127.centrifugal.centrifugo.api.SendPushNotificationRequest\x1a8.centrifugal.centrifugo.api.SendPushNotificationResponse\"\x00\x12\x7f\n" + - "\x10UpdatePushStatus\x123.centrifugal.centrifugo.api.UpdatePushStatusRequest\x1a4.centrifugal.centrifugo.api.UpdatePushStatusResponse\"\x00\x12m\n" + - "\n" + - "CancelPush\x12-.centrifugal.centrifugo.api.CancelPushRequest\x1a..centrifugal.centrifugo.api.CancelPushResponse\"\x00\x12j\n" + - "\tRateLimit\x12,.centrifugal.centrifugo.api.RateLimitRequest\x1a-.centrifugal.centrifugo.api.RateLimitResponse\"\x00BgZ\x11centrifugo/api/v1\xca\x02!RoadRunner\\Centrifugal\\API\\DTO\\V1\xe2\x02-RoadRunner\\Centrifugal\\API\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_centrifugo_api_v1_api_proto_rawDescOnce sync.Once - file_centrifugo_api_v1_api_proto_rawDescData []byte -) - -func file_centrifugo_api_v1_api_proto_rawDescGZIP() []byte { - file_centrifugo_api_v1_api_proto_rawDescOnce.Do(func() { - file_centrifugo_api_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_centrifugo_api_v1_api_proto_rawDesc), len(file_centrifugo_api_v1_api_proto_rawDesc))) - }) - return file_centrifugo_api_v1_api_proto_rawDescData -} - -var file_centrifugo_api_v1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_centrifugo_api_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 148) -var file_centrifugo_api_v1_api_proto_goTypes = []any{ - (Command_MethodType)(0), // 0: centrifugal.centrifugo.api.Command.MethodType - (*Command)(nil), // 1: centrifugal.centrifugo.api.Command - (*Error)(nil), // 2: centrifugal.centrifugo.api.Error - (*Reply)(nil), // 3: centrifugal.centrifugo.api.Reply - (*BoolValue)(nil), // 4: centrifugal.centrifugo.api.BoolValue - (*Int32Value)(nil), // 5: centrifugal.centrifugo.api.Int32Value - (*SubscribeOptionOverride)(nil), // 6: centrifugal.centrifugo.api.SubscribeOptionOverride - (*BatchRequest)(nil), // 7: centrifugal.centrifugo.api.BatchRequest - (*BatchResponse)(nil), // 8: centrifugal.centrifugo.api.BatchResponse - (*PublishRequest)(nil), // 9: centrifugal.centrifugo.api.PublishRequest - (*PublishResponse)(nil), // 10: centrifugal.centrifugo.api.PublishResponse - (*PublishResult)(nil), // 11: centrifugal.centrifugo.api.PublishResult - (*BroadcastRequest)(nil), // 12: centrifugal.centrifugo.api.BroadcastRequest - (*BroadcastResponse)(nil), // 13: centrifugal.centrifugo.api.BroadcastResponse - (*BroadcastResult)(nil), // 14: centrifugal.centrifugo.api.BroadcastResult - (*SubscribeRequest)(nil), // 15: centrifugal.centrifugo.api.SubscribeRequest - (*SubscribeResponse)(nil), // 16: centrifugal.centrifugo.api.SubscribeResponse - (*SubscribeResult)(nil), // 17: centrifugal.centrifugo.api.SubscribeResult - (*UnsubscribeRequest)(nil), // 18: centrifugal.centrifugo.api.UnsubscribeRequest - (*UnsubscribeResponse)(nil), // 19: centrifugal.centrifugo.api.UnsubscribeResponse - (*UnsubscribeResult)(nil), // 20: centrifugal.centrifugo.api.UnsubscribeResult - (*Disconnect)(nil), // 21: centrifugal.centrifugo.api.Disconnect - (*DisconnectRequest)(nil), // 22: centrifugal.centrifugo.api.DisconnectRequest - (*DisconnectResponse)(nil), // 23: centrifugal.centrifugo.api.DisconnectResponse - (*DisconnectResult)(nil), // 24: centrifugal.centrifugo.api.DisconnectResult - (*PresenceRequest)(nil), // 25: centrifugal.centrifugo.api.PresenceRequest - (*PresenceResponse)(nil), // 26: centrifugal.centrifugo.api.PresenceResponse - (*ClientInfo)(nil), // 27: centrifugal.centrifugo.api.ClientInfo - (*PresenceResult)(nil), // 28: centrifugal.centrifugo.api.PresenceResult - (*PresenceStatsRequest)(nil), // 29: centrifugal.centrifugo.api.PresenceStatsRequest - (*PresenceStatsResponse)(nil), // 30: centrifugal.centrifugo.api.PresenceStatsResponse - (*PresenceStatsResult)(nil), // 31: centrifugal.centrifugo.api.PresenceStatsResult - (*StreamPosition)(nil), // 32: centrifugal.centrifugo.api.StreamPosition - (*HistoryRequest)(nil), // 33: centrifugal.centrifugo.api.HistoryRequest - (*HistoryResponse)(nil), // 34: centrifugal.centrifugo.api.HistoryResponse - (*Publication)(nil), // 35: centrifugal.centrifugo.api.Publication - (*HistoryResult)(nil), // 36: centrifugal.centrifugo.api.HistoryResult - (*HistoryRemoveRequest)(nil), // 37: centrifugal.centrifugo.api.HistoryRemoveRequest - (*HistoryRemoveResponse)(nil), // 38: centrifugal.centrifugo.api.HistoryRemoveResponse - (*HistoryRemoveResult)(nil), // 39: centrifugal.centrifugo.api.HistoryRemoveResult - (*InfoRequest)(nil), // 40: centrifugal.centrifugo.api.InfoRequest - (*InfoResponse)(nil), // 41: centrifugal.centrifugo.api.InfoResponse - (*InfoResult)(nil), // 42: centrifugal.centrifugo.api.InfoResult - (*RPCRequest)(nil), // 43: centrifugal.centrifugo.api.RPCRequest - (*RPCResponse)(nil), // 44: centrifugal.centrifugo.api.RPCResponse - (*RPCResult)(nil), // 45: centrifugal.centrifugo.api.RPCResult - (*RefreshRequest)(nil), // 46: centrifugal.centrifugo.api.RefreshRequest - (*RefreshResponse)(nil), // 47: centrifugal.centrifugo.api.RefreshResponse - (*RefreshResult)(nil), // 48: centrifugal.centrifugo.api.RefreshResult - (*NodeResult)(nil), // 49: centrifugal.centrifugo.api.NodeResult - (*Metrics)(nil), // 50: centrifugal.centrifugo.api.Metrics - (*Process)(nil), // 51: centrifugal.centrifugo.api.Process - (*ChannelsRequest)(nil), // 52: centrifugal.centrifugo.api.ChannelsRequest - (*ChannelsResponse)(nil), // 53: centrifugal.centrifugo.api.ChannelsResponse - (*ChannelsResult)(nil), // 54: centrifugal.centrifugo.api.ChannelsResult - (*ChannelInfo)(nil), // 55: centrifugal.centrifugo.api.ChannelInfo - (*ConnectionsRequest)(nil), // 56: centrifugal.centrifugo.api.ConnectionsRequest - (*ConnectionsResponse)(nil), // 57: centrifugal.centrifugo.api.ConnectionsResponse - (*ConnectionsResult)(nil), // 58: centrifugal.centrifugo.api.ConnectionsResult - (*ConnectionInfo)(nil), // 59: centrifugal.centrifugo.api.ConnectionInfo - (*ConnectionState)(nil), // 60: centrifugal.centrifugo.api.ConnectionState - (*ChannelContext)(nil), // 61: centrifugal.centrifugo.api.ChannelContext - (*ConnectionTokenInfo)(nil), // 62: centrifugal.centrifugo.api.ConnectionTokenInfo - (*SubscriptionTokenInfo)(nil), // 63: centrifugal.centrifugo.api.SubscriptionTokenInfo - (*UpdateUserStatusRequest)(nil), // 64: centrifugal.centrifugo.api.UpdateUserStatusRequest - (*UpdateUserStatusResponse)(nil), // 65: centrifugal.centrifugo.api.UpdateUserStatusResponse - (*UpdateUserStatusResult)(nil), // 66: centrifugal.centrifugo.api.UpdateUserStatusResult - (*GetUserStatusRequest)(nil), // 67: centrifugal.centrifugo.api.GetUserStatusRequest - (*GetUserStatusResponse)(nil), // 68: centrifugal.centrifugo.api.GetUserStatusResponse - (*GetUserStatusResult)(nil), // 69: centrifugal.centrifugo.api.GetUserStatusResult - (*UserStatus)(nil), // 70: centrifugal.centrifugo.api.UserStatus - (*DeleteUserStatusRequest)(nil), // 71: centrifugal.centrifugo.api.DeleteUserStatusRequest - (*DeleteUserStatusResponse)(nil), // 72: centrifugal.centrifugo.api.DeleteUserStatusResponse - (*DeleteUserStatusResult)(nil), // 73: centrifugal.centrifugo.api.DeleteUserStatusResult - (*BlockUserRequest)(nil), // 74: centrifugal.centrifugo.api.BlockUserRequest - (*BlockUserResult)(nil), // 75: centrifugal.centrifugo.api.BlockUserResult - (*BlockUserResponse)(nil), // 76: centrifugal.centrifugo.api.BlockUserResponse - (*UnblockUserRequest)(nil), // 77: centrifugal.centrifugo.api.UnblockUserRequest - (*UnblockUserResult)(nil), // 78: centrifugal.centrifugo.api.UnblockUserResult - (*UnblockUserResponse)(nil), // 79: centrifugal.centrifugo.api.UnblockUserResponse - (*RevokeTokenRequest)(nil), // 80: centrifugal.centrifugo.api.RevokeTokenRequest - (*RevokeTokenResult)(nil), // 81: centrifugal.centrifugo.api.RevokeTokenResult - (*RevokeTokenResponse)(nil), // 82: centrifugal.centrifugo.api.RevokeTokenResponse - (*InvalidateUserTokensRequest)(nil), // 83: centrifugal.centrifugo.api.InvalidateUserTokensRequest - (*InvalidateUserTokensResult)(nil), // 84: centrifugal.centrifugo.api.InvalidateUserTokensResult - (*InvalidateUserTokensResponse)(nil), // 85: centrifugal.centrifugo.api.InvalidateUserTokensResponse - (*DeviceRegisterRequest)(nil), // 86: centrifugal.centrifugo.api.DeviceRegisterRequest - (*DeviceUpdateRequest)(nil), // 87: centrifugal.centrifugo.api.DeviceUpdateRequest - (*DeviceRemoveRequest)(nil), // 88: centrifugal.centrifugo.api.DeviceRemoveRequest - (*DeviceUserUpdate)(nil), // 89: centrifugal.centrifugo.api.DeviceUserUpdate - (*DeviceMetaUpdate)(nil), // 90: centrifugal.centrifugo.api.DeviceMetaUpdate - (*DeviceTopicsUpdate)(nil), // 91: centrifugal.centrifugo.api.DeviceTopicsUpdate - (*DeviceFilter)(nil), // 92: centrifugal.centrifugo.api.DeviceFilter - (*DeviceListRequest)(nil), // 93: centrifugal.centrifugo.api.DeviceListRequest - (*DeviceTopicFilter)(nil), // 94: centrifugal.centrifugo.api.DeviceTopicFilter - (*DeviceTopicListRequest)(nil), // 95: centrifugal.centrifugo.api.DeviceTopicListRequest - (*UserTopicFilter)(nil), // 96: centrifugal.centrifugo.api.UserTopicFilter - (*UserTopicListRequest)(nil), // 97: centrifugal.centrifugo.api.UserTopicListRequest - (*DeviceTopicUpdateRequest)(nil), // 98: centrifugal.centrifugo.api.DeviceTopicUpdateRequest - (*UserTopicUpdateRequest)(nil), // 99: centrifugal.centrifugo.api.UserTopicUpdateRequest - (*DeviceRegisterResponse)(nil), // 100: centrifugal.centrifugo.api.DeviceRegisterResponse - (*DeviceUpdateResponse)(nil), // 101: centrifugal.centrifugo.api.DeviceUpdateResponse - (*DeviceRemoveResponse)(nil), // 102: centrifugal.centrifugo.api.DeviceRemoveResponse - (*DeviceListResponse)(nil), // 103: centrifugal.centrifugo.api.DeviceListResponse - (*DeviceTopicListResponse)(nil), // 104: centrifugal.centrifugo.api.DeviceTopicListResponse - (*UserTopicListResponse)(nil), // 105: centrifugal.centrifugo.api.UserTopicListResponse - (*DeviceTopicUpdateResponse)(nil), // 106: centrifugal.centrifugo.api.DeviceTopicUpdateResponse - (*UserTopicUpdateResponse)(nil), // 107: centrifugal.centrifugo.api.UserTopicUpdateResponse - (*DeviceRegisterResult)(nil), // 108: centrifugal.centrifugo.api.DeviceRegisterResult - (*DeviceUpdateResult)(nil), // 109: centrifugal.centrifugo.api.DeviceUpdateResult - (*DeviceRemoveResult)(nil), // 110: centrifugal.centrifugo.api.DeviceRemoveResult - (*DeviceListResult)(nil), // 111: centrifugal.centrifugo.api.DeviceListResult - (*Device)(nil), // 112: centrifugal.centrifugo.api.Device - (*DeviceTopicListResult)(nil), // 113: centrifugal.centrifugo.api.DeviceTopicListResult - (*DeviceTopic)(nil), // 114: centrifugal.centrifugo.api.DeviceTopic - (*UserTopicListResult)(nil), // 115: centrifugal.centrifugo.api.UserTopicListResult - (*DeviceTopicUpdateResult)(nil), // 116: centrifugal.centrifugo.api.DeviceTopicUpdateResult - (*UserTopicUpdateResult)(nil), // 117: centrifugal.centrifugo.api.UserTopicUpdateResult - (*UserTopic)(nil), // 118: centrifugal.centrifugo.api.UserTopic - (*PushRecipient)(nil), // 119: centrifugal.centrifugo.api.PushRecipient - (*PushNotification)(nil), // 120: centrifugal.centrifugo.api.PushNotification - (*FcmPushNotification)(nil), // 121: centrifugal.centrifugo.api.FcmPushNotification - (*HmsPushNotification)(nil), // 122: centrifugal.centrifugo.api.HmsPushNotification - (*ApnsPushNotification)(nil), // 123: centrifugal.centrifugo.api.ApnsPushNotification - (*SendPushNotificationRequest)(nil), // 124: centrifugal.centrifugo.api.SendPushNotificationRequest - (*SendPushNotificationResponse)(nil), // 125: centrifugal.centrifugo.api.SendPushNotificationResponse - (*SendPushNotificationResult)(nil), // 126: centrifugal.centrifugo.api.SendPushNotificationResult - (*UpdatePushStatusRequest)(nil), // 127: centrifugal.centrifugo.api.UpdatePushStatusRequest - (*UpdatePushStatusResponse)(nil), // 128: centrifugal.centrifugo.api.UpdatePushStatusResponse - (*UpdatePushStatusResult)(nil), // 129: centrifugal.centrifugo.api.UpdatePushStatusResult - (*CancelPushRequest)(nil), // 130: centrifugal.centrifugo.api.CancelPushRequest - (*CancelPushResponse)(nil), // 131: centrifugal.centrifugo.api.CancelPushResponse - (*CancelPushResult)(nil), // 132: centrifugal.centrifugo.api.CancelPushResult - (*RateLimitRequest)(nil), // 133: centrifugal.centrifugo.api.RateLimitRequest - (*RateLimitResponse)(nil), // 134: centrifugal.centrifugo.api.RateLimitResponse - (*RateLimitResult)(nil), // 135: centrifugal.centrifugo.api.RateLimitResult - nil, // 136: centrifugal.centrifugo.api.PublishRequest.TagsEntry - nil, // 137: centrifugal.centrifugo.api.BroadcastRequest.TagsEntry - nil, // 138: centrifugal.centrifugo.api.PresenceResult.PresenceEntry - nil, // 139: centrifugal.centrifugo.api.Publication.TagsEntry - nil, // 140: centrifugal.centrifugo.api.Metrics.ItemsEntry - nil, // 141: centrifugal.centrifugo.api.ChannelsResult.ChannelsEntry - nil, // 142: centrifugal.centrifugo.api.ConnectionsResult.ConnectionsEntry - nil, // 143: centrifugal.centrifugo.api.ConnectionState.ChannelsEntry - nil, // 144: centrifugal.centrifugo.api.ConnectionState.SubscriptionTokensEntry - nil, // 145: centrifugal.centrifugo.api.DeviceRegisterRequest.MetaEntry - nil, // 146: centrifugal.centrifugo.api.DeviceMetaUpdate.MetaEntry - nil, // 147: centrifugal.centrifugo.api.Device.MetaEntry - nil, // 148: centrifugal.centrifugo.api.ApnsPushNotification.HeadersEntry -} -var file_centrifugo_api_v1_api_proto_depIdxs = []int32{ - 0, // 0: centrifugal.centrifugo.api.Command.method:type_name -> centrifugal.centrifugo.api.Command.MethodType - 9, // 1: centrifugal.centrifugo.api.Command.publish:type_name -> centrifugal.centrifugo.api.PublishRequest - 12, // 2: centrifugal.centrifugo.api.Command.broadcast:type_name -> centrifugal.centrifugo.api.BroadcastRequest - 15, // 3: centrifugal.centrifugo.api.Command.subscribe:type_name -> centrifugal.centrifugo.api.SubscribeRequest - 18, // 4: centrifugal.centrifugo.api.Command.unsubscribe:type_name -> centrifugal.centrifugo.api.UnsubscribeRequest - 22, // 5: centrifugal.centrifugo.api.Command.disconnect:type_name -> centrifugal.centrifugo.api.DisconnectRequest - 25, // 6: centrifugal.centrifugo.api.Command.presence:type_name -> centrifugal.centrifugo.api.PresenceRequest - 29, // 7: centrifugal.centrifugo.api.Command.presence_stats:type_name -> centrifugal.centrifugo.api.PresenceStatsRequest - 33, // 8: centrifugal.centrifugo.api.Command.history:type_name -> centrifugal.centrifugo.api.HistoryRequest - 37, // 9: centrifugal.centrifugo.api.Command.history_remove:type_name -> centrifugal.centrifugo.api.HistoryRemoveRequest - 40, // 10: centrifugal.centrifugo.api.Command.info:type_name -> centrifugal.centrifugo.api.InfoRequest - 43, // 11: centrifugal.centrifugo.api.Command.rpc:type_name -> centrifugal.centrifugo.api.RPCRequest - 46, // 12: centrifugal.centrifugo.api.Command.refresh:type_name -> centrifugal.centrifugo.api.RefreshRequest - 52, // 13: centrifugal.centrifugo.api.Command.channels:type_name -> centrifugal.centrifugo.api.ChannelsRequest - 56, // 14: centrifugal.centrifugo.api.Command.connections:type_name -> centrifugal.centrifugo.api.ConnectionsRequest - 64, // 15: centrifugal.centrifugo.api.Command.update_user_status:type_name -> centrifugal.centrifugo.api.UpdateUserStatusRequest - 67, // 16: centrifugal.centrifugo.api.Command.get_user_status:type_name -> centrifugal.centrifugo.api.GetUserStatusRequest - 71, // 17: centrifugal.centrifugo.api.Command.delete_user_status:type_name -> centrifugal.centrifugo.api.DeleteUserStatusRequest - 74, // 18: centrifugal.centrifugo.api.Command.block_user:type_name -> centrifugal.centrifugo.api.BlockUserRequest - 77, // 19: centrifugal.centrifugo.api.Command.unblock_user:type_name -> centrifugal.centrifugo.api.UnblockUserRequest - 80, // 20: centrifugal.centrifugo.api.Command.revoke_token:type_name -> centrifugal.centrifugo.api.RevokeTokenRequest - 83, // 21: centrifugal.centrifugo.api.Command.invalidate_user_tokens:type_name -> centrifugal.centrifugo.api.InvalidateUserTokensRequest - 86, // 22: centrifugal.centrifugo.api.Command.device_register:type_name -> centrifugal.centrifugo.api.DeviceRegisterRequest - 87, // 23: centrifugal.centrifugo.api.Command.device_update:type_name -> centrifugal.centrifugo.api.DeviceUpdateRequest - 88, // 24: centrifugal.centrifugo.api.Command.device_remove:type_name -> centrifugal.centrifugo.api.DeviceRemoveRequest - 93, // 25: centrifugal.centrifugo.api.Command.device_list:type_name -> centrifugal.centrifugo.api.DeviceListRequest - 95, // 26: centrifugal.centrifugo.api.Command.device_topic_list:type_name -> centrifugal.centrifugo.api.DeviceTopicListRequest - 98, // 27: centrifugal.centrifugo.api.Command.device_topic_update:type_name -> centrifugal.centrifugo.api.DeviceTopicUpdateRequest - 97, // 28: centrifugal.centrifugo.api.Command.user_topic_list:type_name -> centrifugal.centrifugo.api.UserTopicListRequest - 99, // 29: centrifugal.centrifugo.api.Command.user_topic_update:type_name -> centrifugal.centrifugo.api.UserTopicUpdateRequest - 124, // 30: centrifugal.centrifugo.api.Command.send_push_notification:type_name -> centrifugal.centrifugo.api.SendPushNotificationRequest - 127, // 31: centrifugal.centrifugo.api.Command.update_push_status:type_name -> centrifugal.centrifugo.api.UpdatePushStatusRequest - 130, // 32: centrifugal.centrifugo.api.Command.cancel_push:type_name -> centrifugal.centrifugo.api.CancelPushRequest - 133, // 33: centrifugal.centrifugo.api.Command.rate_limit:type_name -> centrifugal.centrifugo.api.RateLimitRequest - 2, // 34: centrifugal.centrifugo.api.Reply.error:type_name -> centrifugal.centrifugo.api.Error - 11, // 35: centrifugal.centrifugo.api.Reply.publish:type_name -> centrifugal.centrifugo.api.PublishResult - 14, // 36: centrifugal.centrifugo.api.Reply.broadcast:type_name -> centrifugal.centrifugo.api.BroadcastResult - 17, // 37: centrifugal.centrifugo.api.Reply.subscribe:type_name -> centrifugal.centrifugo.api.SubscribeResult - 20, // 38: centrifugal.centrifugo.api.Reply.unsubscribe:type_name -> centrifugal.centrifugo.api.UnsubscribeResult - 24, // 39: centrifugal.centrifugo.api.Reply.disconnect:type_name -> centrifugal.centrifugo.api.DisconnectResult - 28, // 40: centrifugal.centrifugo.api.Reply.presence:type_name -> centrifugal.centrifugo.api.PresenceResult - 31, // 41: centrifugal.centrifugo.api.Reply.presence_stats:type_name -> centrifugal.centrifugo.api.PresenceStatsResult - 36, // 42: centrifugal.centrifugo.api.Reply.history:type_name -> centrifugal.centrifugo.api.HistoryResult - 39, // 43: centrifugal.centrifugo.api.Reply.history_remove:type_name -> centrifugal.centrifugo.api.HistoryRemoveResult - 42, // 44: centrifugal.centrifugo.api.Reply.info:type_name -> centrifugal.centrifugo.api.InfoResult - 45, // 45: centrifugal.centrifugo.api.Reply.rpc:type_name -> centrifugal.centrifugo.api.RPCResult - 48, // 46: centrifugal.centrifugo.api.Reply.refresh:type_name -> centrifugal.centrifugo.api.RefreshResult - 54, // 47: centrifugal.centrifugo.api.Reply.channels:type_name -> centrifugal.centrifugo.api.ChannelsResult - 58, // 48: centrifugal.centrifugo.api.Reply.connections:type_name -> centrifugal.centrifugo.api.ConnectionsResult - 66, // 49: centrifugal.centrifugo.api.Reply.update_user_status:type_name -> centrifugal.centrifugo.api.UpdateUserStatusResult - 69, // 50: centrifugal.centrifugo.api.Reply.get_user_status:type_name -> centrifugal.centrifugo.api.GetUserStatusResult - 73, // 51: centrifugal.centrifugo.api.Reply.delete_user_status:type_name -> centrifugal.centrifugo.api.DeleteUserStatusResult - 75, // 52: centrifugal.centrifugo.api.Reply.block_user:type_name -> centrifugal.centrifugo.api.BlockUserResult - 78, // 53: centrifugal.centrifugo.api.Reply.unblock_user:type_name -> centrifugal.centrifugo.api.UnblockUserResult - 81, // 54: centrifugal.centrifugo.api.Reply.revoke_token:type_name -> centrifugal.centrifugo.api.RevokeTokenResult - 84, // 55: centrifugal.centrifugo.api.Reply.invalidate_user_tokens:type_name -> centrifugal.centrifugo.api.InvalidateUserTokensResult - 108, // 56: centrifugal.centrifugo.api.Reply.device_register:type_name -> centrifugal.centrifugo.api.DeviceRegisterResult - 109, // 57: centrifugal.centrifugo.api.Reply.device_update:type_name -> centrifugal.centrifugo.api.DeviceUpdateResult - 110, // 58: centrifugal.centrifugo.api.Reply.device_remove:type_name -> centrifugal.centrifugo.api.DeviceRemoveResult - 111, // 59: centrifugal.centrifugo.api.Reply.device_list:type_name -> centrifugal.centrifugo.api.DeviceListResult - 113, // 60: centrifugal.centrifugo.api.Reply.device_topic_list:type_name -> centrifugal.centrifugo.api.DeviceTopicListResult - 116, // 61: centrifugal.centrifugo.api.Reply.device_topic_update:type_name -> centrifugal.centrifugo.api.DeviceTopicUpdateResult - 115, // 62: centrifugal.centrifugo.api.Reply.user_topic_list:type_name -> centrifugal.centrifugo.api.UserTopicListResult - 117, // 63: centrifugal.centrifugo.api.Reply.user_topic_update:type_name -> centrifugal.centrifugo.api.UserTopicUpdateResult - 126, // 64: centrifugal.centrifugo.api.Reply.send_push_notification:type_name -> centrifugal.centrifugo.api.SendPushNotificationResult - 129, // 65: centrifugal.centrifugo.api.Reply.update_push_status:type_name -> centrifugal.centrifugo.api.UpdatePushStatusResult - 132, // 66: centrifugal.centrifugo.api.Reply.cancel_push:type_name -> centrifugal.centrifugo.api.CancelPushResult - 135, // 67: centrifugal.centrifugo.api.Reply.rate_limit:type_name -> centrifugal.centrifugo.api.RateLimitResult - 4, // 68: centrifugal.centrifugo.api.SubscribeOptionOverride.presence:type_name -> centrifugal.centrifugo.api.BoolValue - 4, // 69: centrifugal.centrifugo.api.SubscribeOptionOverride.join_leave:type_name -> centrifugal.centrifugo.api.BoolValue - 4, // 70: centrifugal.centrifugo.api.SubscribeOptionOverride.force_recovery:type_name -> centrifugal.centrifugo.api.BoolValue - 4, // 71: centrifugal.centrifugo.api.SubscribeOptionOverride.force_positioning:type_name -> centrifugal.centrifugo.api.BoolValue - 4, // 72: centrifugal.centrifugo.api.SubscribeOptionOverride.force_push_join_leave:type_name -> centrifugal.centrifugo.api.BoolValue - 1, // 73: centrifugal.centrifugo.api.BatchRequest.commands:type_name -> centrifugal.centrifugo.api.Command - 3, // 74: centrifugal.centrifugo.api.BatchResponse.replies:type_name -> centrifugal.centrifugo.api.Reply - 136, // 75: centrifugal.centrifugo.api.PublishRequest.tags:type_name -> centrifugal.centrifugo.api.PublishRequest.TagsEntry - 2, // 76: centrifugal.centrifugo.api.PublishResponse.error:type_name -> centrifugal.centrifugo.api.Error - 11, // 77: centrifugal.centrifugo.api.PublishResponse.result:type_name -> centrifugal.centrifugo.api.PublishResult - 137, // 78: centrifugal.centrifugo.api.BroadcastRequest.tags:type_name -> centrifugal.centrifugo.api.BroadcastRequest.TagsEntry - 2, // 79: centrifugal.centrifugo.api.BroadcastResponse.error:type_name -> centrifugal.centrifugo.api.Error - 14, // 80: centrifugal.centrifugo.api.BroadcastResponse.result:type_name -> centrifugal.centrifugo.api.BroadcastResult - 10, // 81: centrifugal.centrifugo.api.BroadcastResult.responses:type_name -> centrifugal.centrifugo.api.PublishResponse - 32, // 82: centrifugal.centrifugo.api.SubscribeRequest.recover_since:type_name -> centrifugal.centrifugo.api.StreamPosition - 6, // 83: centrifugal.centrifugo.api.SubscribeRequest.override:type_name -> centrifugal.centrifugo.api.SubscribeOptionOverride - 2, // 84: centrifugal.centrifugo.api.SubscribeResponse.error:type_name -> centrifugal.centrifugo.api.Error - 17, // 85: centrifugal.centrifugo.api.SubscribeResponse.result:type_name -> centrifugal.centrifugo.api.SubscribeResult - 2, // 86: centrifugal.centrifugo.api.UnsubscribeResponse.error:type_name -> centrifugal.centrifugo.api.Error - 20, // 87: centrifugal.centrifugo.api.UnsubscribeResponse.result:type_name -> centrifugal.centrifugo.api.UnsubscribeResult - 21, // 88: centrifugal.centrifugo.api.DisconnectRequest.disconnect:type_name -> centrifugal.centrifugo.api.Disconnect - 2, // 89: centrifugal.centrifugo.api.DisconnectResponse.error:type_name -> centrifugal.centrifugo.api.Error - 24, // 90: centrifugal.centrifugo.api.DisconnectResponse.result:type_name -> centrifugal.centrifugo.api.DisconnectResult - 2, // 91: centrifugal.centrifugo.api.PresenceResponse.error:type_name -> centrifugal.centrifugo.api.Error - 28, // 92: centrifugal.centrifugo.api.PresenceResponse.result:type_name -> centrifugal.centrifugo.api.PresenceResult - 138, // 93: centrifugal.centrifugo.api.PresenceResult.presence:type_name -> centrifugal.centrifugo.api.PresenceResult.PresenceEntry - 2, // 94: centrifugal.centrifugo.api.PresenceStatsResponse.error:type_name -> centrifugal.centrifugo.api.Error - 31, // 95: centrifugal.centrifugo.api.PresenceStatsResponse.result:type_name -> centrifugal.centrifugo.api.PresenceStatsResult - 32, // 96: centrifugal.centrifugo.api.HistoryRequest.since:type_name -> centrifugal.centrifugo.api.StreamPosition - 2, // 97: centrifugal.centrifugo.api.HistoryResponse.error:type_name -> centrifugal.centrifugo.api.Error - 36, // 98: centrifugal.centrifugo.api.HistoryResponse.result:type_name -> centrifugal.centrifugo.api.HistoryResult - 27, // 99: centrifugal.centrifugo.api.Publication.info:type_name -> centrifugal.centrifugo.api.ClientInfo - 139, // 100: centrifugal.centrifugo.api.Publication.tags:type_name -> centrifugal.centrifugo.api.Publication.TagsEntry - 35, // 101: centrifugal.centrifugo.api.HistoryResult.publications:type_name -> centrifugal.centrifugo.api.Publication - 2, // 102: centrifugal.centrifugo.api.HistoryRemoveResponse.error:type_name -> centrifugal.centrifugo.api.Error - 39, // 103: centrifugal.centrifugo.api.HistoryRemoveResponse.result:type_name -> centrifugal.centrifugo.api.HistoryRemoveResult - 2, // 104: centrifugal.centrifugo.api.InfoResponse.error:type_name -> centrifugal.centrifugo.api.Error - 42, // 105: centrifugal.centrifugo.api.InfoResponse.result:type_name -> centrifugal.centrifugo.api.InfoResult - 49, // 106: centrifugal.centrifugo.api.InfoResult.nodes:type_name -> centrifugal.centrifugo.api.NodeResult - 2, // 107: centrifugal.centrifugo.api.RPCResponse.error:type_name -> centrifugal.centrifugo.api.Error - 45, // 108: centrifugal.centrifugo.api.RPCResponse.result:type_name -> centrifugal.centrifugo.api.RPCResult - 2, // 109: centrifugal.centrifugo.api.RefreshResponse.error:type_name -> centrifugal.centrifugo.api.Error - 48, // 110: centrifugal.centrifugo.api.RefreshResponse.result:type_name -> centrifugal.centrifugo.api.RefreshResult - 50, // 111: centrifugal.centrifugo.api.NodeResult.metrics:type_name -> centrifugal.centrifugo.api.Metrics - 51, // 112: centrifugal.centrifugo.api.NodeResult.process:type_name -> centrifugal.centrifugo.api.Process - 140, // 113: centrifugal.centrifugo.api.Metrics.items:type_name -> centrifugal.centrifugo.api.Metrics.ItemsEntry - 2, // 114: centrifugal.centrifugo.api.ChannelsResponse.error:type_name -> centrifugal.centrifugo.api.Error - 54, // 115: centrifugal.centrifugo.api.ChannelsResponse.result:type_name -> centrifugal.centrifugo.api.ChannelsResult - 141, // 116: centrifugal.centrifugo.api.ChannelsResult.channels:type_name -> centrifugal.centrifugo.api.ChannelsResult.ChannelsEntry - 2, // 117: centrifugal.centrifugo.api.ConnectionsResponse.error:type_name -> centrifugal.centrifugo.api.Error - 58, // 118: centrifugal.centrifugo.api.ConnectionsResponse.result:type_name -> centrifugal.centrifugo.api.ConnectionsResult - 142, // 119: centrifugal.centrifugo.api.ConnectionsResult.connections:type_name -> centrifugal.centrifugo.api.ConnectionsResult.ConnectionsEntry - 60, // 120: centrifugal.centrifugo.api.ConnectionInfo.state:type_name -> centrifugal.centrifugo.api.ConnectionState - 143, // 121: centrifugal.centrifugo.api.ConnectionState.channels:type_name -> centrifugal.centrifugo.api.ConnectionState.ChannelsEntry - 62, // 122: centrifugal.centrifugo.api.ConnectionState.connection_token:type_name -> centrifugal.centrifugo.api.ConnectionTokenInfo - 144, // 123: centrifugal.centrifugo.api.ConnectionState.subscription_tokens:type_name -> centrifugal.centrifugo.api.ConnectionState.SubscriptionTokensEntry - 2, // 124: centrifugal.centrifugo.api.UpdateUserStatusResponse.error:type_name -> centrifugal.centrifugo.api.Error - 66, // 125: centrifugal.centrifugo.api.UpdateUserStatusResponse.result:type_name -> centrifugal.centrifugo.api.UpdateUserStatusResult - 2, // 126: centrifugal.centrifugo.api.GetUserStatusResponse.error:type_name -> centrifugal.centrifugo.api.Error - 69, // 127: centrifugal.centrifugo.api.GetUserStatusResponse.result:type_name -> centrifugal.centrifugo.api.GetUserStatusResult - 70, // 128: centrifugal.centrifugo.api.GetUserStatusResult.statuses:type_name -> centrifugal.centrifugo.api.UserStatus - 2, // 129: centrifugal.centrifugo.api.DeleteUserStatusResponse.error:type_name -> centrifugal.centrifugo.api.Error - 73, // 130: centrifugal.centrifugo.api.DeleteUserStatusResponse.result:type_name -> centrifugal.centrifugo.api.DeleteUserStatusResult - 2, // 131: centrifugal.centrifugo.api.BlockUserResponse.error:type_name -> centrifugal.centrifugo.api.Error - 75, // 132: centrifugal.centrifugo.api.BlockUserResponse.result:type_name -> centrifugal.centrifugo.api.BlockUserResult - 2, // 133: centrifugal.centrifugo.api.UnblockUserResponse.error:type_name -> centrifugal.centrifugo.api.Error - 78, // 134: centrifugal.centrifugo.api.UnblockUserResponse.result:type_name -> centrifugal.centrifugo.api.UnblockUserResult - 2, // 135: centrifugal.centrifugo.api.RevokeTokenResponse.error:type_name -> centrifugal.centrifugo.api.Error - 81, // 136: centrifugal.centrifugo.api.RevokeTokenResponse.result:type_name -> centrifugal.centrifugo.api.RevokeTokenResult - 2, // 137: centrifugal.centrifugo.api.InvalidateUserTokensResponse.error:type_name -> centrifugal.centrifugo.api.Error - 84, // 138: centrifugal.centrifugo.api.InvalidateUserTokensResponse.result:type_name -> centrifugal.centrifugo.api.InvalidateUserTokensResult - 145, // 139: centrifugal.centrifugo.api.DeviceRegisterRequest.meta:type_name -> centrifugal.centrifugo.api.DeviceRegisterRequest.MetaEntry - 89, // 140: centrifugal.centrifugo.api.DeviceUpdateRequest.user_update:type_name -> centrifugal.centrifugo.api.DeviceUserUpdate - 90, // 141: centrifugal.centrifugo.api.DeviceUpdateRequest.meta_update:type_name -> centrifugal.centrifugo.api.DeviceMetaUpdate - 91, // 142: centrifugal.centrifugo.api.DeviceUpdateRequest.topics_update:type_name -> centrifugal.centrifugo.api.DeviceTopicsUpdate - 146, // 143: centrifugal.centrifugo.api.DeviceMetaUpdate.meta:type_name -> centrifugal.centrifugo.api.DeviceMetaUpdate.MetaEntry - 92, // 144: centrifugal.centrifugo.api.DeviceListRequest.filter:type_name -> centrifugal.centrifugo.api.DeviceFilter - 94, // 145: centrifugal.centrifugo.api.DeviceTopicListRequest.filter:type_name -> centrifugal.centrifugo.api.DeviceTopicFilter - 96, // 146: centrifugal.centrifugo.api.UserTopicListRequest.filter:type_name -> centrifugal.centrifugo.api.UserTopicFilter - 2, // 147: centrifugal.centrifugo.api.DeviceRegisterResponse.error:type_name -> centrifugal.centrifugo.api.Error - 108, // 148: centrifugal.centrifugo.api.DeviceRegisterResponse.result:type_name -> centrifugal.centrifugo.api.DeviceRegisterResult - 2, // 149: centrifugal.centrifugo.api.DeviceUpdateResponse.error:type_name -> centrifugal.centrifugo.api.Error - 109, // 150: centrifugal.centrifugo.api.DeviceUpdateResponse.result:type_name -> centrifugal.centrifugo.api.DeviceUpdateResult - 2, // 151: centrifugal.centrifugo.api.DeviceRemoveResponse.error:type_name -> centrifugal.centrifugo.api.Error - 110, // 152: centrifugal.centrifugo.api.DeviceRemoveResponse.result:type_name -> centrifugal.centrifugo.api.DeviceRemoveResult - 2, // 153: centrifugal.centrifugo.api.DeviceListResponse.error:type_name -> centrifugal.centrifugo.api.Error - 111, // 154: centrifugal.centrifugo.api.DeviceListResponse.result:type_name -> centrifugal.centrifugo.api.DeviceListResult - 2, // 155: centrifugal.centrifugo.api.DeviceTopicListResponse.error:type_name -> centrifugal.centrifugo.api.Error - 113, // 156: centrifugal.centrifugo.api.DeviceTopicListResponse.result:type_name -> centrifugal.centrifugo.api.DeviceTopicListResult - 2, // 157: centrifugal.centrifugo.api.UserTopicListResponse.error:type_name -> centrifugal.centrifugo.api.Error - 115, // 158: centrifugal.centrifugo.api.UserTopicListResponse.result:type_name -> centrifugal.centrifugo.api.UserTopicListResult - 2, // 159: centrifugal.centrifugo.api.DeviceTopicUpdateResponse.error:type_name -> centrifugal.centrifugo.api.Error - 116, // 160: centrifugal.centrifugo.api.DeviceTopicUpdateResponse.result:type_name -> centrifugal.centrifugo.api.DeviceTopicUpdateResult - 2, // 161: centrifugal.centrifugo.api.UserTopicUpdateResponse.error:type_name -> centrifugal.centrifugo.api.Error - 117, // 162: centrifugal.centrifugo.api.UserTopicUpdateResponse.result:type_name -> centrifugal.centrifugo.api.UserTopicUpdateResult - 112, // 163: centrifugal.centrifugo.api.DeviceListResult.items:type_name -> centrifugal.centrifugo.api.Device - 147, // 164: centrifugal.centrifugo.api.Device.meta:type_name -> centrifugal.centrifugo.api.Device.MetaEntry - 114, // 165: centrifugal.centrifugo.api.DeviceTopicListResult.items:type_name -> centrifugal.centrifugo.api.DeviceTopic - 112, // 166: centrifugal.centrifugo.api.DeviceTopic.device:type_name -> centrifugal.centrifugo.api.Device - 118, // 167: centrifugal.centrifugo.api.UserTopicListResult.items:type_name -> centrifugal.centrifugo.api.UserTopic - 92, // 168: centrifugal.centrifugo.api.PushRecipient.filter:type_name -> centrifugal.centrifugo.api.DeviceFilter - 121, // 169: centrifugal.centrifugo.api.PushNotification.fcm:type_name -> centrifugal.centrifugo.api.FcmPushNotification - 122, // 170: centrifugal.centrifugo.api.PushNotification.hms:type_name -> centrifugal.centrifugo.api.HmsPushNotification - 123, // 171: centrifugal.centrifugo.api.PushNotification.apns:type_name -> centrifugal.centrifugo.api.ApnsPushNotification - 148, // 172: centrifugal.centrifugo.api.ApnsPushNotification.headers:type_name -> centrifugal.centrifugo.api.ApnsPushNotification.HeadersEntry - 119, // 173: centrifugal.centrifugo.api.SendPushNotificationRequest.recipient:type_name -> centrifugal.centrifugo.api.PushRecipient - 120, // 174: centrifugal.centrifugo.api.SendPushNotificationRequest.notification:type_name -> centrifugal.centrifugo.api.PushNotification - 2, // 175: centrifugal.centrifugo.api.SendPushNotificationResponse.error:type_name -> centrifugal.centrifugo.api.Error - 126, // 176: centrifugal.centrifugo.api.SendPushNotificationResponse.result:type_name -> centrifugal.centrifugo.api.SendPushNotificationResult - 2, // 177: centrifugal.centrifugo.api.UpdatePushStatusResponse.error:type_name -> centrifugal.centrifugo.api.Error - 129, // 178: centrifugal.centrifugo.api.UpdatePushStatusResponse.result:type_name -> centrifugal.centrifugo.api.UpdatePushStatusResult - 2, // 179: centrifugal.centrifugo.api.CancelPushResponse.error:type_name -> centrifugal.centrifugo.api.Error - 132, // 180: centrifugal.centrifugo.api.CancelPushResponse.result:type_name -> centrifugal.centrifugo.api.CancelPushResult - 2, // 181: centrifugal.centrifugo.api.RateLimitResponse.error:type_name -> centrifugal.centrifugo.api.Error - 135, // 182: centrifugal.centrifugo.api.RateLimitResponse.result:type_name -> centrifugal.centrifugo.api.RateLimitResult - 27, // 183: centrifugal.centrifugo.api.PresenceResult.PresenceEntry.value:type_name -> centrifugal.centrifugo.api.ClientInfo - 55, // 184: centrifugal.centrifugo.api.ChannelsResult.ChannelsEntry.value:type_name -> centrifugal.centrifugo.api.ChannelInfo - 59, // 185: centrifugal.centrifugo.api.ConnectionsResult.ConnectionsEntry.value:type_name -> centrifugal.centrifugo.api.ConnectionInfo - 61, // 186: centrifugal.centrifugo.api.ConnectionState.ChannelsEntry.value:type_name -> centrifugal.centrifugo.api.ChannelContext - 63, // 187: centrifugal.centrifugo.api.ConnectionState.SubscriptionTokensEntry.value:type_name -> centrifugal.centrifugo.api.SubscriptionTokenInfo - 7, // 188: centrifugal.centrifugo.api.CentrifugoApi.Batch:input_type -> centrifugal.centrifugo.api.BatchRequest - 9, // 189: centrifugal.centrifugo.api.CentrifugoApi.Publish:input_type -> centrifugal.centrifugo.api.PublishRequest - 12, // 190: centrifugal.centrifugo.api.CentrifugoApi.Broadcast:input_type -> centrifugal.centrifugo.api.BroadcastRequest - 15, // 191: centrifugal.centrifugo.api.CentrifugoApi.Subscribe:input_type -> centrifugal.centrifugo.api.SubscribeRequest - 18, // 192: centrifugal.centrifugo.api.CentrifugoApi.Unsubscribe:input_type -> centrifugal.centrifugo.api.UnsubscribeRequest - 22, // 193: centrifugal.centrifugo.api.CentrifugoApi.Disconnect:input_type -> centrifugal.centrifugo.api.DisconnectRequest - 25, // 194: centrifugal.centrifugo.api.CentrifugoApi.Presence:input_type -> centrifugal.centrifugo.api.PresenceRequest - 29, // 195: centrifugal.centrifugo.api.CentrifugoApi.PresenceStats:input_type -> centrifugal.centrifugo.api.PresenceStatsRequest - 33, // 196: centrifugal.centrifugo.api.CentrifugoApi.History:input_type -> centrifugal.centrifugo.api.HistoryRequest - 37, // 197: centrifugal.centrifugo.api.CentrifugoApi.HistoryRemove:input_type -> centrifugal.centrifugo.api.HistoryRemoveRequest - 40, // 198: centrifugal.centrifugo.api.CentrifugoApi.Info:input_type -> centrifugal.centrifugo.api.InfoRequest - 43, // 199: centrifugal.centrifugo.api.CentrifugoApi.RPC:input_type -> centrifugal.centrifugo.api.RPCRequest - 46, // 200: centrifugal.centrifugo.api.CentrifugoApi.Refresh:input_type -> centrifugal.centrifugo.api.RefreshRequest - 52, // 201: centrifugal.centrifugo.api.CentrifugoApi.Channels:input_type -> centrifugal.centrifugo.api.ChannelsRequest - 56, // 202: centrifugal.centrifugo.api.CentrifugoApi.Connections:input_type -> centrifugal.centrifugo.api.ConnectionsRequest - 64, // 203: centrifugal.centrifugo.api.CentrifugoApi.UpdateUserStatus:input_type -> centrifugal.centrifugo.api.UpdateUserStatusRequest - 67, // 204: centrifugal.centrifugo.api.CentrifugoApi.GetUserStatus:input_type -> centrifugal.centrifugo.api.GetUserStatusRequest - 71, // 205: centrifugal.centrifugo.api.CentrifugoApi.DeleteUserStatus:input_type -> centrifugal.centrifugo.api.DeleteUserStatusRequest - 74, // 206: centrifugal.centrifugo.api.CentrifugoApi.BlockUser:input_type -> centrifugal.centrifugo.api.BlockUserRequest - 77, // 207: centrifugal.centrifugo.api.CentrifugoApi.UnblockUser:input_type -> centrifugal.centrifugo.api.UnblockUserRequest - 80, // 208: centrifugal.centrifugo.api.CentrifugoApi.RevokeToken:input_type -> centrifugal.centrifugo.api.RevokeTokenRequest - 83, // 209: centrifugal.centrifugo.api.CentrifugoApi.InvalidateUserTokens:input_type -> centrifugal.centrifugo.api.InvalidateUserTokensRequest - 86, // 210: centrifugal.centrifugo.api.CentrifugoApi.DeviceRegister:input_type -> centrifugal.centrifugo.api.DeviceRegisterRequest - 87, // 211: centrifugal.centrifugo.api.CentrifugoApi.DeviceUpdate:input_type -> centrifugal.centrifugo.api.DeviceUpdateRequest - 88, // 212: centrifugal.centrifugo.api.CentrifugoApi.DeviceRemove:input_type -> centrifugal.centrifugo.api.DeviceRemoveRequest - 93, // 213: centrifugal.centrifugo.api.CentrifugoApi.DeviceList:input_type -> centrifugal.centrifugo.api.DeviceListRequest - 95, // 214: centrifugal.centrifugo.api.CentrifugoApi.DeviceTopicList:input_type -> centrifugal.centrifugo.api.DeviceTopicListRequest - 98, // 215: centrifugal.centrifugo.api.CentrifugoApi.DeviceTopicUpdate:input_type -> centrifugal.centrifugo.api.DeviceTopicUpdateRequest - 97, // 216: centrifugal.centrifugo.api.CentrifugoApi.UserTopicList:input_type -> centrifugal.centrifugo.api.UserTopicListRequest - 99, // 217: centrifugal.centrifugo.api.CentrifugoApi.UserTopicUpdate:input_type -> centrifugal.centrifugo.api.UserTopicUpdateRequest - 124, // 218: centrifugal.centrifugo.api.CentrifugoApi.SendPushNotification:input_type -> centrifugal.centrifugo.api.SendPushNotificationRequest - 127, // 219: centrifugal.centrifugo.api.CentrifugoApi.UpdatePushStatus:input_type -> centrifugal.centrifugo.api.UpdatePushStatusRequest - 130, // 220: centrifugal.centrifugo.api.CentrifugoApi.CancelPush:input_type -> centrifugal.centrifugo.api.CancelPushRequest - 133, // 221: centrifugal.centrifugo.api.CentrifugoApi.RateLimit:input_type -> centrifugal.centrifugo.api.RateLimitRequest - 8, // 222: centrifugal.centrifugo.api.CentrifugoApi.Batch:output_type -> centrifugal.centrifugo.api.BatchResponse - 10, // 223: centrifugal.centrifugo.api.CentrifugoApi.Publish:output_type -> centrifugal.centrifugo.api.PublishResponse - 13, // 224: centrifugal.centrifugo.api.CentrifugoApi.Broadcast:output_type -> centrifugal.centrifugo.api.BroadcastResponse - 16, // 225: centrifugal.centrifugo.api.CentrifugoApi.Subscribe:output_type -> centrifugal.centrifugo.api.SubscribeResponse - 19, // 226: centrifugal.centrifugo.api.CentrifugoApi.Unsubscribe:output_type -> centrifugal.centrifugo.api.UnsubscribeResponse - 23, // 227: centrifugal.centrifugo.api.CentrifugoApi.Disconnect:output_type -> centrifugal.centrifugo.api.DisconnectResponse - 26, // 228: centrifugal.centrifugo.api.CentrifugoApi.Presence:output_type -> centrifugal.centrifugo.api.PresenceResponse - 30, // 229: centrifugal.centrifugo.api.CentrifugoApi.PresenceStats:output_type -> centrifugal.centrifugo.api.PresenceStatsResponse - 34, // 230: centrifugal.centrifugo.api.CentrifugoApi.History:output_type -> centrifugal.centrifugo.api.HistoryResponse - 38, // 231: centrifugal.centrifugo.api.CentrifugoApi.HistoryRemove:output_type -> centrifugal.centrifugo.api.HistoryRemoveResponse - 41, // 232: centrifugal.centrifugo.api.CentrifugoApi.Info:output_type -> centrifugal.centrifugo.api.InfoResponse - 44, // 233: centrifugal.centrifugo.api.CentrifugoApi.RPC:output_type -> centrifugal.centrifugo.api.RPCResponse - 47, // 234: centrifugal.centrifugo.api.CentrifugoApi.Refresh:output_type -> centrifugal.centrifugo.api.RefreshResponse - 53, // 235: centrifugal.centrifugo.api.CentrifugoApi.Channels:output_type -> centrifugal.centrifugo.api.ChannelsResponse - 57, // 236: centrifugal.centrifugo.api.CentrifugoApi.Connections:output_type -> centrifugal.centrifugo.api.ConnectionsResponse - 65, // 237: centrifugal.centrifugo.api.CentrifugoApi.UpdateUserStatus:output_type -> centrifugal.centrifugo.api.UpdateUserStatusResponse - 68, // 238: centrifugal.centrifugo.api.CentrifugoApi.GetUserStatus:output_type -> centrifugal.centrifugo.api.GetUserStatusResponse - 72, // 239: centrifugal.centrifugo.api.CentrifugoApi.DeleteUserStatus:output_type -> centrifugal.centrifugo.api.DeleteUserStatusResponse - 76, // 240: centrifugal.centrifugo.api.CentrifugoApi.BlockUser:output_type -> centrifugal.centrifugo.api.BlockUserResponse - 79, // 241: centrifugal.centrifugo.api.CentrifugoApi.UnblockUser:output_type -> centrifugal.centrifugo.api.UnblockUserResponse - 82, // 242: centrifugal.centrifugo.api.CentrifugoApi.RevokeToken:output_type -> centrifugal.centrifugo.api.RevokeTokenResponse - 85, // 243: centrifugal.centrifugo.api.CentrifugoApi.InvalidateUserTokens:output_type -> centrifugal.centrifugo.api.InvalidateUserTokensResponse - 100, // 244: centrifugal.centrifugo.api.CentrifugoApi.DeviceRegister:output_type -> centrifugal.centrifugo.api.DeviceRegisterResponse - 101, // 245: centrifugal.centrifugo.api.CentrifugoApi.DeviceUpdate:output_type -> centrifugal.centrifugo.api.DeviceUpdateResponse - 102, // 246: centrifugal.centrifugo.api.CentrifugoApi.DeviceRemove:output_type -> centrifugal.centrifugo.api.DeviceRemoveResponse - 103, // 247: centrifugal.centrifugo.api.CentrifugoApi.DeviceList:output_type -> centrifugal.centrifugo.api.DeviceListResponse - 104, // 248: centrifugal.centrifugo.api.CentrifugoApi.DeviceTopicList:output_type -> centrifugal.centrifugo.api.DeviceTopicListResponse - 106, // 249: centrifugal.centrifugo.api.CentrifugoApi.DeviceTopicUpdate:output_type -> centrifugal.centrifugo.api.DeviceTopicUpdateResponse - 105, // 250: centrifugal.centrifugo.api.CentrifugoApi.UserTopicList:output_type -> centrifugal.centrifugo.api.UserTopicListResponse - 107, // 251: centrifugal.centrifugo.api.CentrifugoApi.UserTopicUpdate:output_type -> centrifugal.centrifugo.api.UserTopicUpdateResponse - 125, // 252: centrifugal.centrifugo.api.CentrifugoApi.SendPushNotification:output_type -> centrifugal.centrifugo.api.SendPushNotificationResponse - 128, // 253: centrifugal.centrifugo.api.CentrifugoApi.UpdatePushStatus:output_type -> centrifugal.centrifugo.api.UpdatePushStatusResponse - 131, // 254: centrifugal.centrifugo.api.CentrifugoApi.CancelPush:output_type -> centrifugal.centrifugo.api.CancelPushResponse - 134, // 255: centrifugal.centrifugo.api.CentrifugoApi.RateLimit:output_type -> centrifugal.centrifugo.api.RateLimitResponse - 222, // [222:256] is the sub-list for method output_type - 188, // [188:222] is the sub-list for method input_type - 188, // [188:188] is the sub-list for extension type_name - 188, // [188:188] is the sub-list for extension extendee - 0, // [0:188] is the sub-list for field type_name -} - -func init() { file_centrifugo_api_v1_api_proto_init() } -func file_centrifugo_api_v1_api_proto_init() { - if File_centrifugo_api_v1_api_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_centrifugo_api_v1_api_proto_rawDesc), len(file_centrifugo_api_v1_api_proto_rawDesc)), - NumEnums: 1, - NumMessages: 148, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_centrifugo_api_v1_api_proto_goTypes, - DependencyIndexes: file_centrifugo_api_v1_api_proto_depIdxs, - EnumInfos: file_centrifugo_api_v1_api_proto_enumTypes, - MessageInfos: file_centrifugo_api_v1_api_proto_msgTypes, - }.Build() - File_centrifugo_api_v1_api_proto = out.File - file_centrifugo_api_v1_api_proto_goTypes = nil - file_centrifugo_api_v1_api_proto_depIdxs = nil -} diff --git a/build/centrifugo/api/v1/api_grpc.pb.go b/build/centrifugo/api/v1/api_grpc.pb.go deleted file mode 100644 index f3838bd..0000000 --- a/build/centrifugo/api/v1/api_grpc.pb.go +++ /dev/null @@ -1,1373 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: centrifugo/api/v1/api.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - CentrifugoApi_Batch_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Batch" - CentrifugoApi_Publish_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Publish" - CentrifugoApi_Broadcast_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Broadcast" - CentrifugoApi_Subscribe_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Subscribe" - CentrifugoApi_Unsubscribe_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Unsubscribe" - CentrifugoApi_Disconnect_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Disconnect" - CentrifugoApi_Presence_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Presence" - CentrifugoApi_PresenceStats_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/PresenceStats" - CentrifugoApi_History_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/History" - CentrifugoApi_HistoryRemove_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/HistoryRemove" - CentrifugoApi_Info_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Info" - CentrifugoApi_RPC_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/RPC" - CentrifugoApi_Refresh_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Refresh" - CentrifugoApi_Channels_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Channels" - CentrifugoApi_Connections_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/Connections" - CentrifugoApi_UpdateUserStatus_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/UpdateUserStatus" - CentrifugoApi_GetUserStatus_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/GetUserStatus" - CentrifugoApi_DeleteUserStatus_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeleteUserStatus" - CentrifugoApi_BlockUser_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/BlockUser" - CentrifugoApi_UnblockUser_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/UnblockUser" - CentrifugoApi_RevokeToken_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/RevokeToken" - CentrifugoApi_InvalidateUserTokens_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/InvalidateUserTokens" - CentrifugoApi_DeviceRegister_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceRegister" - CentrifugoApi_DeviceUpdate_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceUpdate" - CentrifugoApi_DeviceRemove_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceRemove" - CentrifugoApi_DeviceList_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceList" - CentrifugoApi_DeviceTopicList_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceTopicList" - CentrifugoApi_DeviceTopicUpdate_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/DeviceTopicUpdate" - CentrifugoApi_UserTopicList_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/UserTopicList" - CentrifugoApi_UserTopicUpdate_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/UserTopicUpdate" - CentrifugoApi_SendPushNotification_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/SendPushNotification" - CentrifugoApi_UpdatePushStatus_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/UpdatePushStatus" - CentrifugoApi_CancelPush_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/CancelPush" - CentrifugoApi_RateLimit_FullMethodName = "/centrifugal.centrifugo.api.CentrifugoApi/RateLimit" -) - -// CentrifugoApiClient is the client API for CentrifugoApi service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type CentrifugoApiClient interface { - Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, error) - Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) - Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) - Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeResponse, error) - Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...grpc.CallOption) (*UnsubscribeResponse, error) - Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) - Presence(ctx context.Context, in *PresenceRequest, opts ...grpc.CallOption) (*PresenceResponse, error) - PresenceStats(ctx context.Context, in *PresenceStatsRequest, opts ...grpc.CallOption) (*PresenceStatsResponse, error) - History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (*HistoryResponse, error) - HistoryRemove(ctx context.Context, in *HistoryRemoveRequest, opts ...grpc.CallOption) (*HistoryRemoveResponse, error) - Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) - RPC(ctx context.Context, in *RPCRequest, opts ...grpc.CallOption) (*RPCResponse, error) - Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) - Channels(ctx context.Context, in *ChannelsRequest, opts ...grpc.CallOption) (*ChannelsResponse, error) - Connections(ctx context.Context, in *ConnectionsRequest, opts ...grpc.CallOption) (*ConnectionsResponse, error) - UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusResponse, error) - GetUserStatus(ctx context.Context, in *GetUserStatusRequest, opts ...grpc.CallOption) (*GetUserStatusResponse, error) - DeleteUserStatus(ctx context.Context, in *DeleteUserStatusRequest, opts ...grpc.CallOption) (*DeleteUserStatusResponse, error) - BlockUser(ctx context.Context, in *BlockUserRequest, opts ...grpc.CallOption) (*BlockUserResponse, error) - UnblockUser(ctx context.Context, in *UnblockUserRequest, opts ...grpc.CallOption) (*UnblockUserResponse, error) - RevokeToken(ctx context.Context, in *RevokeTokenRequest, opts ...grpc.CallOption) (*RevokeTokenResponse, error) - InvalidateUserTokens(ctx context.Context, in *InvalidateUserTokensRequest, opts ...grpc.CallOption) (*InvalidateUserTokensResponse, error) - DeviceRegister(ctx context.Context, in *DeviceRegisterRequest, opts ...grpc.CallOption) (*DeviceRegisterResponse, error) - DeviceUpdate(ctx context.Context, in *DeviceUpdateRequest, opts ...grpc.CallOption) (*DeviceUpdateResponse, error) - DeviceRemove(ctx context.Context, in *DeviceRemoveRequest, opts ...grpc.CallOption) (*DeviceRemoveResponse, error) - DeviceList(ctx context.Context, in *DeviceListRequest, opts ...grpc.CallOption) (*DeviceListResponse, error) - DeviceTopicList(ctx context.Context, in *DeviceTopicListRequest, opts ...grpc.CallOption) (*DeviceTopicListResponse, error) - DeviceTopicUpdate(ctx context.Context, in *DeviceTopicUpdateRequest, opts ...grpc.CallOption) (*DeviceTopicUpdateResponse, error) - UserTopicList(ctx context.Context, in *UserTopicListRequest, opts ...grpc.CallOption) (*UserTopicListResponse, error) - UserTopicUpdate(ctx context.Context, in *UserTopicUpdateRequest, opts ...grpc.CallOption) (*UserTopicUpdateResponse, error) - SendPushNotification(ctx context.Context, in *SendPushNotificationRequest, opts ...grpc.CallOption) (*SendPushNotificationResponse, error) - UpdatePushStatus(ctx context.Context, in *UpdatePushStatusRequest, opts ...grpc.CallOption) (*UpdatePushStatusResponse, error) - CancelPush(ctx context.Context, in *CancelPushRequest, opts ...grpc.CallOption) (*CancelPushResponse, error) - RateLimit(ctx context.Context, in *RateLimitRequest, opts ...grpc.CallOption) (*RateLimitResponse, error) -} - -type centrifugoApiClient struct { - cc grpc.ClientConnInterface -} - -func NewCentrifugoApiClient(cc grpc.ClientConnInterface) CentrifugoApiClient { - return ¢rifugoApiClient{cc} -} - -func (c *centrifugoApiClient) Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(BatchResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Batch_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PublishResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Publish_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(BroadcastResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Broadcast_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SubscribeResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Subscribe_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...grpc.CallOption) (*UnsubscribeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UnsubscribeResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Unsubscribe_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DisconnectResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Disconnect_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Presence(ctx context.Context, in *PresenceRequest, opts ...grpc.CallOption) (*PresenceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PresenceResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Presence_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) PresenceStats(ctx context.Context, in *PresenceStatsRequest, opts ...grpc.CallOption) (*PresenceStatsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PresenceStatsResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_PresenceStats_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (*HistoryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(HistoryResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_History_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) HistoryRemove(ctx context.Context, in *HistoryRemoveRequest, opts ...grpc.CallOption) (*HistoryRemoveResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(HistoryRemoveResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_HistoryRemove_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(InfoResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Info_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) RPC(ctx context.Context, in *RPCRequest, opts ...grpc.CallOption) (*RPCResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RPCResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_RPC_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RefreshResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Refresh_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Channels(ctx context.Context, in *ChannelsRequest, opts ...grpc.CallOption) (*ChannelsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ChannelsResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Channels_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) Connections(ctx context.Context, in *ConnectionsRequest, opts ...grpc.CallOption) (*ConnectionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ConnectionsResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_Connections_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateUserStatusResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_UpdateUserStatus_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) GetUserStatus(ctx context.Context, in *GetUserStatusRequest, opts ...grpc.CallOption) (*GetUserStatusResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetUserStatusResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_GetUserStatus_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeleteUserStatus(ctx context.Context, in *DeleteUserStatusRequest, opts ...grpc.CallOption) (*DeleteUserStatusResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteUserStatusResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeleteUserStatus_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) BlockUser(ctx context.Context, in *BlockUserRequest, opts ...grpc.CallOption) (*BlockUserResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(BlockUserResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_BlockUser_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) UnblockUser(ctx context.Context, in *UnblockUserRequest, opts ...grpc.CallOption) (*UnblockUserResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UnblockUserResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_UnblockUser_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) RevokeToken(ctx context.Context, in *RevokeTokenRequest, opts ...grpc.CallOption) (*RevokeTokenResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RevokeTokenResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_RevokeToken_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) InvalidateUserTokens(ctx context.Context, in *InvalidateUserTokensRequest, opts ...grpc.CallOption) (*InvalidateUserTokensResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(InvalidateUserTokensResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_InvalidateUserTokens_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceRegister(ctx context.Context, in *DeviceRegisterRequest, opts ...grpc.CallOption) (*DeviceRegisterResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceRegisterResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceRegister_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceUpdate(ctx context.Context, in *DeviceUpdateRequest, opts ...grpc.CallOption) (*DeviceUpdateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceUpdateResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceUpdate_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceRemove(ctx context.Context, in *DeviceRemoveRequest, opts ...grpc.CallOption) (*DeviceRemoveResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceRemoveResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceRemove_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceList(ctx context.Context, in *DeviceListRequest, opts ...grpc.CallOption) (*DeviceListResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceListResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceList_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceTopicList(ctx context.Context, in *DeviceTopicListRequest, opts ...grpc.CallOption) (*DeviceTopicListResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceTopicListResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceTopicList_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) DeviceTopicUpdate(ctx context.Context, in *DeviceTopicUpdateRequest, opts ...grpc.CallOption) (*DeviceTopicUpdateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeviceTopicUpdateResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_DeviceTopicUpdate_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) UserTopicList(ctx context.Context, in *UserTopicListRequest, opts ...grpc.CallOption) (*UserTopicListResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UserTopicListResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_UserTopicList_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) UserTopicUpdate(ctx context.Context, in *UserTopicUpdateRequest, opts ...grpc.CallOption) (*UserTopicUpdateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UserTopicUpdateResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_UserTopicUpdate_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) SendPushNotification(ctx context.Context, in *SendPushNotificationRequest, opts ...grpc.CallOption) (*SendPushNotificationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SendPushNotificationResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_SendPushNotification_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) UpdatePushStatus(ctx context.Context, in *UpdatePushStatusRequest, opts ...grpc.CallOption) (*UpdatePushStatusResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdatePushStatusResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_UpdatePushStatus_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) CancelPush(ctx context.Context, in *CancelPushRequest, opts ...grpc.CallOption) (*CancelPushResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CancelPushResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_CancelPush_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoApiClient) RateLimit(ctx context.Context, in *RateLimitRequest, opts ...grpc.CallOption) (*RateLimitResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RateLimitResponse) - err := c.cc.Invoke(ctx, CentrifugoApi_RateLimit_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CentrifugoApiServer is the server API for CentrifugoApi service. -// All implementations should embed UnimplementedCentrifugoApiServer -// for forward compatibility. -type CentrifugoApiServer interface { - Batch(context.Context, *BatchRequest) (*BatchResponse, error) - Publish(context.Context, *PublishRequest) (*PublishResponse, error) - Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error) - Subscribe(context.Context, *SubscribeRequest) (*SubscribeResponse, error) - Unsubscribe(context.Context, *UnsubscribeRequest) (*UnsubscribeResponse, error) - Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) - Presence(context.Context, *PresenceRequest) (*PresenceResponse, error) - PresenceStats(context.Context, *PresenceStatsRequest) (*PresenceStatsResponse, error) - History(context.Context, *HistoryRequest) (*HistoryResponse, error) - HistoryRemove(context.Context, *HistoryRemoveRequest) (*HistoryRemoveResponse, error) - Info(context.Context, *InfoRequest) (*InfoResponse, error) - RPC(context.Context, *RPCRequest) (*RPCResponse, error) - Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error) - Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error) - Connections(context.Context, *ConnectionsRequest) (*ConnectionsResponse, error) - UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusResponse, error) - GetUserStatus(context.Context, *GetUserStatusRequest) (*GetUserStatusResponse, error) - DeleteUserStatus(context.Context, *DeleteUserStatusRequest) (*DeleteUserStatusResponse, error) - BlockUser(context.Context, *BlockUserRequest) (*BlockUserResponse, error) - UnblockUser(context.Context, *UnblockUserRequest) (*UnblockUserResponse, error) - RevokeToken(context.Context, *RevokeTokenRequest) (*RevokeTokenResponse, error) - InvalidateUserTokens(context.Context, *InvalidateUserTokensRequest) (*InvalidateUserTokensResponse, error) - DeviceRegister(context.Context, *DeviceRegisterRequest) (*DeviceRegisterResponse, error) - DeviceUpdate(context.Context, *DeviceUpdateRequest) (*DeviceUpdateResponse, error) - DeviceRemove(context.Context, *DeviceRemoveRequest) (*DeviceRemoveResponse, error) - DeviceList(context.Context, *DeviceListRequest) (*DeviceListResponse, error) - DeviceTopicList(context.Context, *DeviceTopicListRequest) (*DeviceTopicListResponse, error) - DeviceTopicUpdate(context.Context, *DeviceTopicUpdateRequest) (*DeviceTopicUpdateResponse, error) - UserTopicList(context.Context, *UserTopicListRequest) (*UserTopicListResponse, error) - UserTopicUpdate(context.Context, *UserTopicUpdateRequest) (*UserTopicUpdateResponse, error) - SendPushNotification(context.Context, *SendPushNotificationRequest) (*SendPushNotificationResponse, error) - UpdatePushStatus(context.Context, *UpdatePushStatusRequest) (*UpdatePushStatusResponse, error) - CancelPush(context.Context, *CancelPushRequest) (*CancelPushResponse, error) - RateLimit(context.Context, *RateLimitRequest) (*RateLimitResponse, error) -} - -// UnimplementedCentrifugoApiServer should be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedCentrifugoApiServer struct{} - -func (UnimplementedCentrifugoApiServer) Batch(context.Context, *BatchRequest) (*BatchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Batch not implemented") -} -func (UnimplementedCentrifugoApiServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Publish not implemented") -} -func (UnimplementedCentrifugoApiServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Broadcast not implemented") -} -func (UnimplementedCentrifugoApiServer) Subscribe(context.Context, *SubscribeRequest) (*SubscribeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Subscribe not implemented") -} -func (UnimplementedCentrifugoApiServer) Unsubscribe(context.Context, *UnsubscribeRequest) (*UnsubscribeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unsubscribe not implemented") -} -func (UnimplementedCentrifugoApiServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Disconnect not implemented") -} -func (UnimplementedCentrifugoApiServer) Presence(context.Context, *PresenceRequest) (*PresenceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Presence not implemented") -} -func (UnimplementedCentrifugoApiServer) PresenceStats(context.Context, *PresenceStatsRequest) (*PresenceStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PresenceStats not implemented") -} -func (UnimplementedCentrifugoApiServer) History(context.Context, *HistoryRequest) (*HistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method History not implemented") -} -func (UnimplementedCentrifugoApiServer) HistoryRemove(context.Context, *HistoryRemoveRequest) (*HistoryRemoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HistoryRemove not implemented") -} -func (UnimplementedCentrifugoApiServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Info not implemented") -} -func (UnimplementedCentrifugoApiServer) RPC(context.Context, *RPCRequest) (*RPCResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RPC not implemented") -} -func (UnimplementedCentrifugoApiServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Refresh not implemented") -} -func (UnimplementedCentrifugoApiServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Channels not implemented") -} -func (UnimplementedCentrifugoApiServer) Connections(context.Context, *ConnectionsRequest) (*ConnectionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Connections not implemented") -} -func (UnimplementedCentrifugoApiServer) UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUserStatus not implemented") -} -func (UnimplementedCentrifugoApiServer) GetUserStatus(context.Context, *GetUserStatusRequest) (*GetUserStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserStatus not implemented") -} -func (UnimplementedCentrifugoApiServer) DeleteUserStatus(context.Context, *DeleteUserStatusRequest) (*DeleteUserStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUserStatus not implemented") -} -func (UnimplementedCentrifugoApiServer) BlockUser(context.Context, *BlockUserRequest) (*BlockUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BlockUser not implemented") -} -func (UnimplementedCentrifugoApiServer) UnblockUser(context.Context, *UnblockUserRequest) (*UnblockUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnblockUser not implemented") -} -func (UnimplementedCentrifugoApiServer) RevokeToken(context.Context, *RevokeTokenRequest) (*RevokeTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RevokeToken not implemented") -} -func (UnimplementedCentrifugoApiServer) InvalidateUserTokens(context.Context, *InvalidateUserTokensRequest) (*InvalidateUserTokensResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InvalidateUserTokens not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceRegister(context.Context, *DeviceRegisterRequest) (*DeviceRegisterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceRegister not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceUpdate(context.Context, *DeviceUpdateRequest) (*DeviceUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceUpdate not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceRemove(context.Context, *DeviceRemoveRequest) (*DeviceRemoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceRemove not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceList(context.Context, *DeviceListRequest) (*DeviceListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceTopicList(context.Context, *DeviceTopicListRequest) (*DeviceTopicListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceTopicList not implemented") -} -func (UnimplementedCentrifugoApiServer) DeviceTopicUpdate(context.Context, *DeviceTopicUpdateRequest) (*DeviceTopicUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeviceTopicUpdate not implemented") -} -func (UnimplementedCentrifugoApiServer) UserTopicList(context.Context, *UserTopicListRequest) (*UserTopicListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserTopicList not implemented") -} -func (UnimplementedCentrifugoApiServer) UserTopicUpdate(context.Context, *UserTopicUpdateRequest) (*UserTopicUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserTopicUpdate not implemented") -} -func (UnimplementedCentrifugoApiServer) SendPushNotification(context.Context, *SendPushNotificationRequest) (*SendPushNotificationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendPushNotification not implemented") -} -func (UnimplementedCentrifugoApiServer) UpdatePushStatus(context.Context, *UpdatePushStatusRequest) (*UpdatePushStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePushStatus not implemented") -} -func (UnimplementedCentrifugoApiServer) CancelPush(context.Context, *CancelPushRequest) (*CancelPushResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelPush not implemented") -} -func (UnimplementedCentrifugoApiServer) RateLimit(context.Context, *RateLimitRequest) (*RateLimitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RateLimit not implemented") -} -func (UnimplementedCentrifugoApiServer) testEmbeddedByValue() {} - -// UnsafeCentrifugoApiServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to CentrifugoApiServer will -// result in compilation errors. -type UnsafeCentrifugoApiServer interface { - mustEmbedUnimplementedCentrifugoApiServer() -} - -func RegisterCentrifugoApiServer(s grpc.ServiceRegistrar, srv CentrifugoApiServer) { - // If the following call pancis, it indicates UnimplementedCentrifugoApiServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&CentrifugoApi_ServiceDesc, srv) -} - -func _CentrifugoApi_Batch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Batch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Batch_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Batch(ctx, req.(*BatchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Publish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Publish(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Publish_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Publish(ctx, req.(*PublishRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Broadcast_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BroadcastRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Broadcast(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Broadcast_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Broadcast(ctx, req.(*BroadcastRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubscribeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Subscribe(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Subscribe_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Subscribe(ctx, req.(*SubscribeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Unsubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnsubscribeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Unsubscribe(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Unsubscribe_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Unsubscribe(ctx, req.(*UnsubscribeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Disconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Disconnect(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Disconnect_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Disconnect(ctx, req.(*DisconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Presence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PresenceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Presence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Presence_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Presence(ctx, req.(*PresenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_PresenceStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PresenceStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).PresenceStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_PresenceStats_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).PresenceStats(ctx, req.(*PresenceStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_History_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HistoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).History(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_History_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).History(ctx, req.(*HistoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_HistoryRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HistoryRemoveRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).HistoryRemove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_HistoryRemove_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).HistoryRemove(ctx, req.(*HistoryRemoveRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Info(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Info_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Info(ctx, req.(*InfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_RPC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RPCRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).RPC(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_RPC_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).RPC(ctx, req.(*RPCRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Refresh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RefreshRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Refresh(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Refresh_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Refresh(ctx, req.(*RefreshRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Channels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChannelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Channels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Channels_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Channels(ctx, req.(*ChannelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_Connections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ConnectionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).Connections(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_Connections_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).Connections(ctx, req.(*ConnectionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_UpdateUserStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).UpdateUserStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_UpdateUserStatus_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).UpdateUserStatus(ctx, req.(*UpdateUserStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_GetUserStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).GetUserStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_GetUserStatus_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).GetUserStatus(ctx, req.(*GetUserStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeleteUserStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUserStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeleteUserStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeleteUserStatus_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeleteUserStatus(ctx, req.(*DeleteUserStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_BlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).BlockUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_BlockUser_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).BlockUser(ctx, req.(*BlockUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_UnblockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnblockUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).UnblockUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_UnblockUser_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).UnblockUser(ctx, req.(*UnblockUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_RevokeToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RevokeTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).RevokeToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_RevokeToken_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).RevokeToken(ctx, req.(*RevokeTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_InvalidateUserTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InvalidateUserTokensRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).InvalidateUserTokens(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_InvalidateUserTokens_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).InvalidateUserTokens(ctx, req.(*InvalidateUserTokensRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceRegisterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceRegister_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceRegister(ctx, req.(*DeviceRegisterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceUpdate_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceUpdate(ctx, req.(*DeviceUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceRemoveRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceRemove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceRemove_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceRemove(ctx, req.(*DeviceRemoveRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceList_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceList(ctx, req.(*DeviceListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceTopicList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceTopicListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceTopicList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceTopicList_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceTopicList(ctx, req.(*DeviceTopicListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_DeviceTopicUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeviceTopicUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).DeviceTopicUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_DeviceTopicUpdate_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).DeviceTopicUpdate(ctx, req.(*DeviceTopicUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_UserTopicList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserTopicListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).UserTopicList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_UserTopicList_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).UserTopicList(ctx, req.(*UserTopicListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_UserTopicUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserTopicUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).UserTopicUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_UserTopicUpdate_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).UserTopicUpdate(ctx, req.(*UserTopicUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_SendPushNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SendPushNotificationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).SendPushNotification(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_SendPushNotification_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).SendPushNotification(ctx, req.(*SendPushNotificationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_UpdatePushStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePushStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).UpdatePushStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_UpdatePushStatus_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).UpdatePushStatus(ctx, req.(*UpdatePushStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_CancelPush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelPushRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).CancelPush(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_CancelPush_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).CancelPush(ctx, req.(*CancelPushRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoApi_RateLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RateLimitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoApiServer).RateLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoApi_RateLimit_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoApiServer).RateLimit(ctx, req.(*RateLimitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// CentrifugoApi_ServiceDesc is the grpc.ServiceDesc for CentrifugoApi service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var CentrifugoApi_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "centrifugal.centrifugo.api.CentrifugoApi", - HandlerType: (*CentrifugoApiServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Batch", - Handler: _CentrifugoApi_Batch_Handler, - }, - { - MethodName: "Publish", - Handler: _CentrifugoApi_Publish_Handler, - }, - { - MethodName: "Broadcast", - Handler: _CentrifugoApi_Broadcast_Handler, - }, - { - MethodName: "Subscribe", - Handler: _CentrifugoApi_Subscribe_Handler, - }, - { - MethodName: "Unsubscribe", - Handler: _CentrifugoApi_Unsubscribe_Handler, - }, - { - MethodName: "Disconnect", - Handler: _CentrifugoApi_Disconnect_Handler, - }, - { - MethodName: "Presence", - Handler: _CentrifugoApi_Presence_Handler, - }, - { - MethodName: "PresenceStats", - Handler: _CentrifugoApi_PresenceStats_Handler, - }, - { - MethodName: "History", - Handler: _CentrifugoApi_History_Handler, - }, - { - MethodName: "HistoryRemove", - Handler: _CentrifugoApi_HistoryRemove_Handler, - }, - { - MethodName: "Info", - Handler: _CentrifugoApi_Info_Handler, - }, - { - MethodName: "RPC", - Handler: _CentrifugoApi_RPC_Handler, - }, - { - MethodName: "Refresh", - Handler: _CentrifugoApi_Refresh_Handler, - }, - { - MethodName: "Channels", - Handler: _CentrifugoApi_Channels_Handler, - }, - { - MethodName: "Connections", - Handler: _CentrifugoApi_Connections_Handler, - }, - { - MethodName: "UpdateUserStatus", - Handler: _CentrifugoApi_UpdateUserStatus_Handler, - }, - { - MethodName: "GetUserStatus", - Handler: _CentrifugoApi_GetUserStatus_Handler, - }, - { - MethodName: "DeleteUserStatus", - Handler: _CentrifugoApi_DeleteUserStatus_Handler, - }, - { - MethodName: "BlockUser", - Handler: _CentrifugoApi_BlockUser_Handler, - }, - { - MethodName: "UnblockUser", - Handler: _CentrifugoApi_UnblockUser_Handler, - }, - { - MethodName: "RevokeToken", - Handler: _CentrifugoApi_RevokeToken_Handler, - }, - { - MethodName: "InvalidateUserTokens", - Handler: _CentrifugoApi_InvalidateUserTokens_Handler, - }, - { - MethodName: "DeviceRegister", - Handler: _CentrifugoApi_DeviceRegister_Handler, - }, - { - MethodName: "DeviceUpdate", - Handler: _CentrifugoApi_DeviceUpdate_Handler, - }, - { - MethodName: "DeviceRemove", - Handler: _CentrifugoApi_DeviceRemove_Handler, - }, - { - MethodName: "DeviceList", - Handler: _CentrifugoApi_DeviceList_Handler, - }, - { - MethodName: "DeviceTopicList", - Handler: _CentrifugoApi_DeviceTopicList_Handler, - }, - { - MethodName: "DeviceTopicUpdate", - Handler: _CentrifugoApi_DeviceTopicUpdate_Handler, - }, - { - MethodName: "UserTopicList", - Handler: _CentrifugoApi_UserTopicList_Handler, - }, - { - MethodName: "UserTopicUpdate", - Handler: _CentrifugoApi_UserTopicUpdate_Handler, - }, - { - MethodName: "SendPushNotification", - Handler: _CentrifugoApi_SendPushNotification_Handler, - }, - { - MethodName: "UpdatePushStatus", - Handler: _CentrifugoApi_UpdatePushStatus_Handler, - }, - { - MethodName: "CancelPush", - Handler: _CentrifugoApi_CancelPush_Handler, - }, - { - MethodName: "RateLimit", - Handler: _CentrifugoApi_RateLimit_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "centrifugo/api/v1/api.proto", -} diff --git a/build/centrifugo/proxy/v1/proxy.pb.go b/build/centrifugo/proxy/v1/proxy.pb.go deleted file mode 100644 index 9c7bfec..0000000 --- a/build/centrifugo/proxy/v1/proxy.pb.go +++ /dev/null @@ -1,2594 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: centrifugo/proxy/v1/proxy.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Disconnect struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Disconnect) Reset() { - *x = Disconnect{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Disconnect) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Disconnect) ProtoMessage() {} - -func (x *Disconnect) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Disconnect.ProtoReflect.Descriptor instead. -func (*Disconnect) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{0} -} - -func (x *Disconnect) GetCode() uint32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Disconnect) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type Error struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Temporary bool `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Error) Reset() { - *x = Error{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Error) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Error) ProtoMessage() {} - -func (x *Error) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Error.ProtoReflect.Descriptor instead. -func (*Error) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{1} -} - -func (x *Error) GetCode() uint32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Error) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Error) GetTemporary() bool { - if x != nil { - return x.Temporary - } - return false -} - -type ConnectRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,11,opt,name=b64data,proto3" json:"b64data,omitempty"` - Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` - Channels []string `protobuf:"bytes,14,rep,name=channels,proto3" json:"channels,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectRequest) Reset() { - *x = ConnectRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectRequest) ProtoMessage() {} - -func (x *ConnectRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead. -func (*ConnectRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{2} -} - -func (x *ConnectRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *ConnectRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *ConnectRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *ConnectRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *ConnectRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *ConnectRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *ConnectRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ConnectRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ConnectRequest) GetChannels() []string { - if x != nil { - return x.Channels - } - return nil -} - -type SubscribeOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExpireAt int64 `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,3,opt,name=b64info,proto3" json:"b64info,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,5,opt,name=b64data,proto3" json:"b64data,omitempty"` - Override *SubscribeOptionOverride `protobuf:"bytes,6,opt,name=override,proto3" json:"override,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeOptions) Reset() { - *x = SubscribeOptions{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeOptions) ProtoMessage() {} - -func (x *SubscribeOptions) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeOptions.ProtoReflect.Descriptor instead. -func (*SubscribeOptions) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{3} -} - -func (x *SubscribeOptions) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *SubscribeOptions) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *SubscribeOptions) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -func (x *SubscribeOptions) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *SubscribeOptions) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *SubscribeOptions) GetOverride() *SubscribeOptionOverride { - if x != nil { - return x.Override - } - return nil -} - -type ConnectResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - ExpireAt int64 `protobuf:"varint,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,4,opt,name=b64info,proto3" json:"b64info,omitempty"` - Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,6,opt,name=b64data,proto3" json:"b64data,omitempty"` - Channels []string `protobuf:"bytes,7,rep,name=channels,proto3" json:"channels,omitempty"` - Subs map[string]*SubscribeOptions `protobuf:"bytes,8,rep,name=subs,proto3" json:"subs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Meta []byte `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"` - Caps []*ChannelsCapability `protobuf:"bytes,10,rep,name=caps,proto3" json:"caps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectResult) Reset() { - *x = ConnectResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectResult) ProtoMessage() {} - -func (x *ConnectResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectResult.ProtoReflect.Descriptor instead. -func (*ConnectResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{4} -} - -func (x *ConnectResult) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *ConnectResult) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *ConnectResult) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *ConnectResult) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -func (x *ConnectResult) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *ConnectResult) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *ConnectResult) GetChannels() []string { - if x != nil { - return x.Channels - } - return nil -} - -func (x *ConnectResult) GetSubs() map[string]*SubscribeOptions { - if x != nil { - return x.Subs - } - return nil -} - -func (x *ConnectResult) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -func (x *ConnectResult) GetCaps() []*ChannelsCapability { - if x != nil { - return x.Caps - } - return nil -} - -type ChannelsCapability struct { - state protoimpl.MessageState `protogen:"open.v1"` - Channels []string `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` - Allow []string `protobuf:"bytes,2,rep,name=allow,proto3" json:"allow,omitempty"` - Match string `protobuf:"bytes,3,opt,name=match,proto3" json:"match,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelsCapability) Reset() { - *x = ChannelsCapability{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelsCapability) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelsCapability) ProtoMessage() {} - -func (x *ChannelsCapability) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelsCapability.ProtoReflect.Descriptor instead. -func (*ChannelsCapability) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{5} -} - -func (x *ChannelsCapability) GetChannels() []string { - if x != nil { - return x.Channels - } - return nil -} - -func (x *ChannelsCapability) GetAllow() []string { - if x != nil { - return x.Allow - } - return nil -} - -func (x *ChannelsCapability) GetMatch() string { - if x != nil { - return x.Match - } - return "" -} - -type ConnectResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *ConnectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConnectResponse) Reset() { - *x = ConnectResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConnectResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConnectResponse) ProtoMessage() {} - -func (x *ConnectResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead. -func (*ConnectResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{6} -} - -func (x *ConnectResponse) GetResult() *ConnectResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *ConnectResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *ConnectResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -type RefreshRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` - Meta []byte `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshRequest) Reset() { - *x = RefreshRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshRequest) ProtoMessage() {} - -func (x *RefreshRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead. -func (*RefreshRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{7} -} - -func (x *RefreshRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *RefreshRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *RefreshRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *RefreshRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *RefreshRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *RefreshRequest) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type RefreshResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Expired bool `protobuf:"varint,1,opt,name=expired,proto3" json:"expired,omitempty"` - ExpireAt int64 `protobuf:"varint,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,4,opt,name=b64info,proto3" json:"b64info,omitempty"` - Meta []byte `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` - Caps []*ChannelsCapability `protobuf:"bytes,6,rep,name=caps,proto3" json:"caps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshResult) Reset() { - *x = RefreshResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshResult) ProtoMessage() {} - -func (x *RefreshResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshResult.ProtoReflect.Descriptor instead. -func (*RefreshResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{8} -} - -func (x *RefreshResult) GetExpired() bool { - if x != nil { - return x.Expired - } - return false -} - -func (x *RefreshResult) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *RefreshResult) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *RefreshResult) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -func (x *RefreshResult) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -func (x *RefreshResult) GetCaps() []*ChannelsCapability { - if x != nil { - return x.Caps - } - return nil -} - -type RefreshResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *RefreshResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshResponse) Reset() { - *x = RefreshResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshResponse) ProtoMessage() {} - -func (x *RefreshResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead. -func (*RefreshResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{9} -} - -func (x *RefreshResponse) GetResult() *RefreshResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *RefreshResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RefreshResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -type SubscribeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` - Channel string `protobuf:"bytes,11,opt,name=channel,proto3" json:"channel,omitempty"` - Token string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"` - Meta []byte `protobuf:"bytes,13,opt,name=meta,proto3" json:"meta,omitempty"` - Data []byte `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,15,opt,name=b64data,proto3" json:"b64data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeRequest) Reset() { - *x = SubscribeRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeRequest) ProtoMessage() {} - -func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. -func (*SubscribeRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{10} -} - -func (x *SubscribeRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *SubscribeRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *SubscribeRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *SubscribeRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *SubscribeRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *SubscribeRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *SubscribeRequest) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *SubscribeRequest) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -func (x *SubscribeRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *SubscribeRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -type BoolValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BoolValue) Reset() { - *x = BoolValue{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BoolValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BoolValue) ProtoMessage() {} - -func (x *BoolValue) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BoolValue.ProtoReflect.Descriptor instead. -func (*BoolValue) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{11} -} - -func (x *BoolValue) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -type Int32Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Int32Value) Reset() { - *x = Int32Value{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Int32Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Int32Value) ProtoMessage() {} - -func (x *Int32Value) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Int32Value.ProtoReflect.Descriptor instead. -func (*Int32Value) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{12} -} - -func (x *Int32Value) GetValue() int32 { - if x != nil { - return x.Value - } - return 0 -} - -type SubscribeOptionOverride struct { - state protoimpl.MessageState `protogen:"open.v1"` - Presence *BoolValue `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"` - JoinLeave *BoolValue `protobuf:"bytes,2,opt,name=join_leave,json=joinLeave,proto3" json:"join_leave,omitempty"` - ForceRecovery *BoolValue `protobuf:"bytes,3,opt,name=force_recovery,json=forceRecovery,proto3" json:"force_recovery,omitempty"` - ForcePositioning *BoolValue `protobuf:"bytes,4,opt,name=force_positioning,json=forcePositioning,proto3" json:"force_positioning,omitempty"` - ForcePushJoinLeave *BoolValue `protobuf:"bytes,5,opt,name=force_push_join_leave,json=forcePushJoinLeave,proto3" json:"force_push_join_leave,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeOptionOverride) Reset() { - *x = SubscribeOptionOverride{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeOptionOverride) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeOptionOverride) ProtoMessage() {} - -func (x *SubscribeOptionOverride) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeOptionOverride.ProtoReflect.Descriptor instead. -func (*SubscribeOptionOverride) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{13} -} - -func (x *SubscribeOptionOverride) GetPresence() *BoolValue { - if x != nil { - return x.Presence - } - return nil -} - -func (x *SubscribeOptionOverride) GetJoinLeave() *BoolValue { - if x != nil { - return x.JoinLeave - } - return nil -} - -func (x *SubscribeOptionOverride) GetForceRecovery() *BoolValue { - if x != nil { - return x.ForceRecovery - } - return nil -} - -func (x *SubscribeOptionOverride) GetForcePositioning() *BoolValue { - if x != nil { - return x.ForcePositioning - } - return nil -} - -func (x *SubscribeOptionOverride) GetForcePushJoinLeave() *BoolValue { - if x != nil { - return x.ForcePushJoinLeave - } - return nil -} - -type SubscribeResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExpireAt int64 `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,3,opt,name=b64info,proto3" json:"b64info,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,5,opt,name=b64data,proto3" json:"b64data,omitempty"` - Override *SubscribeOptionOverride `protobuf:"bytes,6,opt,name=override,proto3" json:"override,omitempty"` - Allow []string `protobuf:"bytes,7,rep,name=allow,proto3" json:"allow,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeResult) Reset() { - *x = SubscribeResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeResult) ProtoMessage() {} - -func (x *SubscribeResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeResult.ProtoReflect.Descriptor instead. -func (*SubscribeResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{14} -} - -func (x *SubscribeResult) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *SubscribeResult) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *SubscribeResult) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -func (x *SubscribeResult) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *SubscribeResult) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *SubscribeResult) GetOverride() *SubscribeOptionOverride { - if x != nil { - return x.Override - } - return nil -} - -func (x *SubscribeResult) GetAllow() []string { - if x != nil { - return x.Allow - } - return nil -} - -type SubscribeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *SubscribeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubscribeResponse) Reset() { - *x = SubscribeResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubscribeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscribeResponse) ProtoMessage() {} - -func (x *SubscribeResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead. -func (*SubscribeResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{15} -} - -func (x *SubscribeResponse) GetResult() *SubscribeResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *SubscribeResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *SubscribeResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -type PublishRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` - Channel string `protobuf:"bytes,11,opt,name=channel,proto3" json:"channel,omitempty"` - Data []byte `protobuf:"bytes,12,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,13,opt,name=b64data,proto3" json:"b64data,omitempty"` - Meta []byte `protobuf:"bytes,14,opt,name=meta,proto3" json:"meta,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishRequest) Reset() { - *x = PublishRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishRequest) ProtoMessage() {} - -func (x *PublishRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead. -func (*PublishRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{16} -} - -func (x *PublishRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *PublishRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *PublishRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *PublishRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *PublishRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *PublishRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *PublishRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *PublishRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *PublishRequest) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type PublishResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,2,opt,name=b64data,proto3" json:"b64data,omitempty"` - SkipHistory bool `protobuf:"varint,3,opt,name=skip_history,json=skipHistory,proto3" json:"skip_history,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishResult) Reset() { - *x = PublishResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishResult) ProtoMessage() {} - -func (x *PublishResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishResult.ProtoReflect.Descriptor instead. -func (*PublishResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{17} -} - -func (x *PublishResult) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *PublishResult) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *PublishResult) GetSkipHistory() bool { - if x != nil { - return x.SkipHistory - } - return false -} - -type PublishResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *PublishResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PublishResponse) Reset() { - *x = PublishResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PublishResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PublishResponse) ProtoMessage() {} - -func (x *PublishResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead. -func (*PublishResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{18} -} - -func (x *PublishResponse) GetResult() *PublishResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *PublishResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *PublishResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -type RPCRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` - Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method,omitempty"` - Data []byte `protobuf:"bytes,12,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,13,opt,name=b64data,proto3" json:"b64data,omitempty"` - Meta []byte `protobuf:"bytes,14,opt,name=meta,proto3" json:"meta,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCRequest) Reset() { - *x = RPCRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCRequest) ProtoMessage() {} - -func (x *RPCRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCRequest.ProtoReflect.Descriptor instead. -func (*RPCRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{19} -} - -func (x *RPCRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *RPCRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *RPCRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *RPCRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *RPCRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *RPCRequest) GetMethod() string { - if x != nil { - return x.Method - } - return "" -} - -func (x *RPCRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *RPCRequest) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -func (x *RPCRequest) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type RPCResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - B64Data string `protobuf:"bytes,2,opt,name=b64data,proto3" json:"b64data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCResult) Reset() { - *x = RPCResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCResult) ProtoMessage() {} - -func (x *RPCResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCResult.ProtoReflect.Descriptor instead. -func (*RPCResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{20} -} - -func (x *RPCResult) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *RPCResult) GetB64Data() string { - if x != nil { - return x.B64Data - } - return "" -} - -type RPCResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *RPCResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RPCResponse) Reset() { - *x = RPCResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RPCResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RPCResponse) ProtoMessage() {} - -func (x *RPCResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RPCResponse.ProtoReflect.Descriptor instead. -func (*RPCResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{21} -} - -func (x *RPCResponse) GetResult() *RPCResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *RPCResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *RPCResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -type SubRefreshRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` - Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` - User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` - Channel string `protobuf:"bytes,11,opt,name=channel,proto3" json:"channel,omitempty"` - Meta []byte `protobuf:"bytes,12,opt,name=meta,proto3" json:"meta,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubRefreshRequest) Reset() { - *x = SubRefreshRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubRefreshRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubRefreshRequest) ProtoMessage() {} - -func (x *SubRefreshRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubRefreshRequest.ProtoReflect.Descriptor instead. -func (*SubRefreshRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{22} -} - -func (x *SubRefreshRequest) GetClient() string { - if x != nil { - return x.Client - } - return "" -} - -func (x *SubRefreshRequest) GetTransport() string { - if x != nil { - return x.Transport - } - return "" -} - -func (x *SubRefreshRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *SubRefreshRequest) GetEncoding() string { - if x != nil { - return x.Encoding - } - return "" -} - -func (x *SubRefreshRequest) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *SubRefreshRequest) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *SubRefreshRequest) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type SubRefreshResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - Expired bool `protobuf:"varint,1,opt,name=expired,proto3" json:"expired,omitempty"` - ExpireAt int64 `protobuf:"varint,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` - Info []byte `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` - B64Info string `protobuf:"bytes,4,opt,name=b64info,proto3" json:"b64info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubRefreshResult) Reset() { - *x = SubRefreshResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubRefreshResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubRefreshResult) ProtoMessage() {} - -func (x *SubRefreshResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubRefreshResult.ProtoReflect.Descriptor instead. -func (*SubRefreshResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{23} -} - -func (x *SubRefreshResult) GetExpired() bool { - if x != nil { - return x.Expired - } - return false -} - -func (x *SubRefreshResult) GetExpireAt() int64 { - if x != nil { - return x.ExpireAt - } - return 0 -} - -func (x *SubRefreshResult) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *SubRefreshResult) GetB64Info() string { - if x != nil { - return x.B64Info - } - return "" -} - -type SubRefreshResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *SubRefreshResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - Disconnect *Disconnect `protobuf:"bytes,3,opt,name=disconnect,proto3" json:"disconnect,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SubRefreshResponse) Reset() { - *x = SubRefreshResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SubRefreshResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubRefreshResponse) ProtoMessage() {} - -func (x *SubRefreshResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubRefreshResponse.ProtoReflect.Descriptor instead. -func (*SubRefreshResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{24} -} - -func (x *SubRefreshResponse) GetResult() *SubRefreshResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *SubRefreshResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -func (x *SubRefreshResponse) GetDisconnect() *Disconnect { - if x != nil { - return x.Disconnect - } - return nil -} - -// Publication is an event to be sent to a client. -// We intentionally make it use the same Protobuf numbers for fields as our client protocol -// Publication - for now only for consistency. -type Publication struct { - state protoimpl.MessageState `protogen:"open.v1"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - Tags map[string]string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Publication) Reset() { - *x = Publication{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Publication) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Publication) ProtoMessage() {} - -func (x *Publication) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Publication.ProtoReflect.Descriptor instead. -func (*Publication) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{25} -} - -func (x *Publication) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *Publication) GetTags() map[string]string { - if x != nil { - return x.Tags - } - return nil -} - -type StreamSubscribeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Centrifugo always sends this within the first message upon user subscription request. - // It's always not set in the following StreamRequest messages from Centrifugo. - SubscribeRequest *SubscribeRequest `protobuf:"bytes,1,opt,name=subscribe_request,json=subscribeRequest,proto3" json:"subscribe_request,omitempty"` - // Publication may be set when client publishes to the on-demand stream. If you are using - // bidirectional stream then Centrifugo assumes publications from client-side are allowed. - Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StreamSubscribeRequest) Reset() { - *x = StreamSubscribeRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StreamSubscribeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StreamSubscribeRequest) ProtoMessage() {} - -func (x *StreamSubscribeRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StreamSubscribeRequest.ProtoReflect.Descriptor instead. -func (*StreamSubscribeRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{26} -} - -func (x *StreamSubscribeRequest) GetSubscribeRequest() *SubscribeRequest { - if x != nil { - return x.SubscribeRequest - } - return nil -} - -func (x *StreamSubscribeRequest) GetPublication() *Publication { - if x != nil { - return x.Publication - } - return nil -} - -type StreamSubscribeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // SubscribeResponse may optionally be set in the first message from backend to Centrifugo. - SubscribeResponse *SubscribeResponse `protobuf:"bytes,1,opt,name=subscribe_response,json=subscribeResponse,proto3" json:"subscribe_response,omitempty"` - // Publication goes to client. Can't be set in the first message from backend to Centrifugo. - Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StreamSubscribeResponse) Reset() { - *x = StreamSubscribeResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StreamSubscribeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StreamSubscribeResponse) ProtoMessage() {} - -func (x *StreamSubscribeResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StreamSubscribeResponse.ProtoReflect.Descriptor instead. -func (*StreamSubscribeResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{27} -} - -func (x *StreamSubscribeResponse) GetSubscribeResponse() *SubscribeResponse { - if x != nil { - return x.SubscribeResponse - } - return nil -} - -func (x *StreamSubscribeResponse) GetPublication() *Publication { - if x != nil { - return x.Publication - } - return nil -} - -type NotifyChannelStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Events []*ChannelEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NotifyChannelStateRequest) Reset() { - *x = NotifyChannelStateRequest{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NotifyChannelStateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotifyChannelStateRequest) ProtoMessage() {} - -func (x *NotifyChannelStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotifyChannelStateRequest.ProtoReflect.Descriptor instead. -func (*NotifyChannelStateRequest) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{28} -} - -func (x *NotifyChannelStateRequest) GetEvents() []*ChannelEvent { - if x != nil { - return x.Events - } - return nil -} - -type ChannelEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` - TimeMs int64 `protobuf:"varint,1,opt,name=time_ms,json=timeMs,proto3" json:"time_ms,omitempty"` - Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // "occupied" | "vacated" | could be more in the future. Not using enums for better JSON interop. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChannelEvent) Reset() { - *x = ChannelEvent{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChannelEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelEvent) ProtoMessage() {} - -func (x *ChannelEvent) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelEvent.ProtoReflect.Descriptor instead. -func (*ChannelEvent) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{29} -} - -func (x *ChannelEvent) GetTimeMs() int64 { - if x != nil { - return x.TimeMs - } - return 0 -} - -func (x *ChannelEvent) GetChannel() string { - if x != nil { - return x.Channel - } - return "" -} - -func (x *ChannelEvent) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -type NotifyChannelStateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *NotifyChannelStateResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NotifyChannelStateResponse) Reset() { - *x = NotifyChannelStateResponse{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NotifyChannelStateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotifyChannelStateResponse) ProtoMessage() {} - -func (x *NotifyChannelStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotifyChannelStateResponse.ProtoReflect.Descriptor instead. -func (*NotifyChannelStateResponse) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{30} -} - -func (x *NotifyChannelStateResponse) GetResult() *NotifyChannelStateResult { - if x != nil { - return x.Result - } - return nil -} - -func (x *NotifyChannelStateResponse) GetError() *Error { - if x != nil { - return x.Error - } - return nil -} - -type NotifyChannelStateResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NotifyChannelStateResult) Reset() { - *x = NotifyChannelStateResult{} - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NotifyChannelStateResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotifyChannelStateResult) ProtoMessage() {} - -func (x *NotifyChannelStateResult) ProtoReflect() protoreflect.Message { - mi := &file_centrifugo_proxy_v1_proxy_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotifyChannelStateResult.ProtoReflect.Descriptor instead. -func (*NotifyChannelStateResult) Descriptor() ([]byte, []int) { - return file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP(), []int{31} -} - -var File_centrifugo_proxy_v1_proxy_proto protoreflect.FileDescriptor - -const file_centrifugo_proxy_v1_proxy_proto_rawDesc = "" + - "\n" + - "\x1fcentrifugo/proxy/v1/proxy.proto\x12\x1ccentrifugal.centrifugo.proxy\">\n" + - "\n" + - "Disconnect\x12\x12\n" + - "\x04code\x18\x01 \x01(\rR\x04code\x12\x16\n" + - "\x06reason\x18\x02 \x01(\tR\x06reasonJ\x04\b\x03\x10\x04\"S\n" + - "\x05Error\x12\x12\n" + - "\x04code\x18\x01 \x01(\rR\x04code\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\x12\x1c\n" + - "\ttemporary\x18\x03 \x01(\bR\ttemporary\"\xf6\x01\n" + - "\x0eConnectRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04data\x18\n" + - " \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\v \x01(\tR\ab64data\x12\x12\n" + - "\x04name\x18\f \x01(\tR\x04name\x12\x18\n" + - "\aversion\x18\r \x01(\tR\aversion\x12\x1a\n" + - "\bchannels\x18\x0e \x03(\tR\bchannels\"\xde\x01\n" + - "\x10SubscribeOptions\x12\x1b\n" + - "\texpire_at\x18\x01 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x02 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x03 \x01(\tR\ab64info\x12\x12\n" + - "\x04data\x18\x04 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x05 \x01(\tR\ab64data\x12Q\n" + - "\boverride\x18\x06 \x01(\v25.centrifugal.centrifugo.proxy.SubscribeOptionOverrideR\boverride\"\xc6\x03\n" + - "\rConnectResult\x12\x12\n" + - "\x04user\x18\x01 \x01(\tR\x04user\x12\x1b\n" + - "\texpire_at\x18\x02 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x03 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x04 \x01(\tR\ab64info\x12\x12\n" + - "\x04data\x18\x05 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x06 \x01(\tR\ab64data\x12\x1a\n" + - "\bchannels\x18\a \x03(\tR\bchannels\x12I\n" + - "\x04subs\x18\b \x03(\v25.centrifugal.centrifugo.proxy.ConnectResult.SubsEntryR\x04subs\x12\x12\n" + - "\x04meta\x18\t \x01(\fR\x04meta\x12D\n" + - "\x04caps\x18\n" + - " \x03(\v20.centrifugal.centrifugo.proxy.ChannelsCapabilityR\x04caps\x1ag\n" + - "\tSubsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12D\n" + - "\x05value\x18\x02 \x01(\v2..centrifugal.centrifugo.proxy.SubscribeOptionsR\x05value:\x028\x01\"\\\n" + - "\x12ChannelsCapability\x12\x1a\n" + - "\bchannels\x18\x01 \x03(\tR\bchannels\x12\x14\n" + - "\x05allow\x18\x02 \x03(\tR\x05allow\x12\x14\n" + - "\x05match\x18\x03 \x01(\tR\x05match\"\xdb\x01\n" + - "\x0fConnectResponse\x12C\n" + - "\x06result\x18\x01 \x01(\v2+.centrifugal.centrifugo.proxy.ConnectResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\xa6\x01\n" + - "\x0eRefreshRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04user\x18\n" + - " \x01(\tR\x04user\x12\x12\n" + - "\x04meta\x18\v \x01(\fR\x04meta\"\xce\x01\n" + - "\rRefreshResult\x12\x18\n" + - "\aexpired\x18\x01 \x01(\bR\aexpired\x12\x1b\n" + - "\texpire_at\x18\x02 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x03 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x04 \x01(\tR\ab64info\x12\x12\n" + - "\x04meta\x18\x05 \x01(\fR\x04meta\x12D\n" + - "\x04caps\x18\x06 \x03(\v20.centrifugal.centrifugo.proxy.ChannelsCapabilityR\x04caps\"\xdb\x01\n" + - "\x0fRefreshResponse\x12C\n" + - "\x06result\x18\x01 \x01(\v2+.centrifugal.centrifugo.proxy.RefreshResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\x86\x02\n" + - "\x10SubscribeRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04user\x18\n" + - " \x01(\tR\x04user\x12\x18\n" + - "\achannel\x18\v \x01(\tR\achannel\x12\x14\n" + - "\x05token\x18\f \x01(\tR\x05token\x12\x12\n" + - "\x04meta\x18\r \x01(\fR\x04meta\x12\x12\n" + - "\x04data\x18\x0e \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x0f \x01(\tR\ab64data\"!\n" + - "\tBoolValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\bR\x05value\"\"\n" + - "\n" + - "Int32Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\x05R\x05value\"\xa8\x03\n" + - "\x17SubscribeOptionOverride\x12C\n" + - "\bpresence\x18\x01 \x01(\v2'.centrifugal.centrifugo.proxy.BoolValueR\bpresence\x12F\n" + - "\n" + - "join_leave\x18\x02 \x01(\v2'.centrifugal.centrifugo.proxy.BoolValueR\tjoinLeave\x12N\n" + - "\x0eforce_recovery\x18\x03 \x01(\v2'.centrifugal.centrifugo.proxy.BoolValueR\rforceRecovery\x12T\n" + - "\x11force_positioning\x18\x04 \x01(\v2'.centrifugal.centrifugo.proxy.BoolValueR\x10forcePositioning\x12Z\n" + - "\x15force_push_join_leave\x18\x05 \x01(\v2'.centrifugal.centrifugo.proxy.BoolValueR\x12forcePushJoinLeave\"\xf3\x01\n" + - "\x0fSubscribeResult\x12\x1b\n" + - "\texpire_at\x18\x01 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x02 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x03 \x01(\tR\ab64info\x12\x12\n" + - "\x04data\x18\x04 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x05 \x01(\tR\ab64data\x12Q\n" + - "\boverride\x18\x06 \x01(\v25.centrifugal.centrifugo.proxy.SubscribeOptionOverrideR\boverride\x12\x14\n" + - "\x05allow\x18\a \x03(\tR\x05allow\"\xdf\x01\n" + - "\x11SubscribeResponse\x12E\n" + - "\x06result\x18\x01 \x01(\v2-.centrifugal.centrifugo.proxy.SubscribeResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\xee\x01\n" + - "\x0ePublishRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04user\x18\n" + - " \x01(\tR\x04user\x12\x18\n" + - "\achannel\x18\v \x01(\tR\achannel\x12\x12\n" + - "\x04data\x18\f \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\r \x01(\tR\ab64data\x12\x12\n" + - "\x04meta\x18\x0e \x01(\fR\x04meta\"`\n" + - "\rPublishResult\x12\x12\n" + - "\x04data\x18\x01 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x02 \x01(\tR\ab64data\x12!\n" + - "\fskip_history\x18\x03 \x01(\bR\vskipHistory\"\xdb\x01\n" + - "\x0fPublishResponse\x12C\n" + - "\x06result\x18\x01 \x01(\v2+.centrifugal.centrifugo.proxy.PublishResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\xe8\x01\n" + - "\n" + - "RPCRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04user\x18\n" + - " \x01(\tR\x04user\x12\x16\n" + - "\x06method\x18\v \x01(\tR\x06method\x12\x12\n" + - "\x04data\x18\f \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\r \x01(\tR\ab64data\x12\x12\n" + - "\x04meta\x18\x0e \x01(\fR\x04meta\"9\n" + - "\tRPCResult\x12\x12\n" + - "\x04data\x18\x01 \x01(\fR\x04data\x12\x18\n" + - "\ab64data\x18\x02 \x01(\tR\ab64data\"\xd3\x01\n" + - "\vRPCResponse\x12?\n" + - "\x06result\x18\x01 \x01(\v2'.centrifugal.centrifugo.proxy.RPCResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\xc3\x01\n" + - "\x11SubRefreshRequest\x12\x16\n" + - "\x06client\x18\x01 \x01(\tR\x06client\x12\x1c\n" + - "\ttransport\x18\x02 \x01(\tR\ttransport\x12\x1a\n" + - "\bprotocol\x18\x03 \x01(\tR\bprotocol\x12\x1a\n" + - "\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" + - "\x04user\x18\n" + - " \x01(\tR\x04user\x12\x18\n" + - "\achannel\x18\v \x01(\tR\achannel\x12\x12\n" + - "\x04meta\x18\f \x01(\fR\x04meta\"w\n" + - "\x10SubRefreshResult\x12\x18\n" + - "\aexpired\x18\x01 \x01(\bR\aexpired\x12\x1b\n" + - "\texpire_at\x18\x02 \x01(\x03R\bexpireAt\x12\x12\n" + - "\x04info\x18\x03 \x01(\fR\x04info\x12\x18\n" + - "\ab64info\x18\x04 \x01(\tR\ab64info\"\xe1\x01\n" + - "\x12SubRefreshResponse\x12F\n" + - "\x06result\x18\x01 \x01(\v2..centrifugal.centrifugo.proxy.SubRefreshResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\x12H\n" + - "\n" + - "disconnect\x18\x03 \x01(\v2(.centrifugal.centrifugo.proxy.DisconnectR\n" + - "disconnect\"\xc1\x01\n" + - "\vPublication\x12\x12\n" + - "\x04data\x18\x04 \x01(\fR\x04data\x12G\n" + - "\x04tags\x18\a \x03(\v23.centrifugal.centrifugo.proxy.Publication.TagsEntryR\x04tags\x1a7\n" + - "\tTagsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\x01\x10\x02J\x04\b\x02\x10\x03J\x04\b\x03\x10\x04J\x04\b\x05\x10\x06J\x04\b\x06\x10\a\"\xc2\x01\n" + - "\x16StreamSubscribeRequest\x12[\n" + - "\x11subscribe_request\x18\x01 \x01(\v2..centrifugal.centrifugo.proxy.SubscribeRequestR\x10subscribeRequest\x12K\n" + - "\vpublication\x18\x02 \x01(\v2).centrifugal.centrifugo.proxy.PublicationR\vpublication\"\xc6\x01\n" + - "\x17StreamSubscribeResponse\x12^\n" + - "\x12subscribe_response\x18\x01 \x01(\v2/.centrifugal.centrifugo.proxy.SubscribeResponseR\x11subscribeResponse\x12K\n" + - "\vpublication\x18\x02 \x01(\v2).centrifugal.centrifugo.proxy.PublicationR\vpublication\"_\n" + - "\x19NotifyChannelStateRequest\x12B\n" + - "\x06events\x18\x01 \x03(\v2*.centrifugal.centrifugo.proxy.ChannelEventR\x06events\"U\n" + - "\fChannelEvent\x12\x17\n" + - "\atime_ms\x18\x01 \x01(\x03R\x06timeMs\x12\x18\n" + - "\achannel\x18\x02 \x01(\tR\achannel\x12\x12\n" + - "\x04type\x18\x03 \x01(\tR\x04type\"\xa7\x01\n" + - "\x1aNotifyChannelStateResponse\x12N\n" + - "\x06result\x18\x01 \x01(\v26.centrifugal.centrifugo.proxy.NotifyChannelStateResultR\x06result\x129\n" + - "\x05error\x18\x02 \x01(\v2#.centrifugal.centrifugo.proxy.ErrorR\x05error\"\x1a\n" + - "\x18NotifyChannelStateResult2\x9f\b\n" + - "\x0fCentrifugoProxy\x12f\n" + - "\aConnect\x12,.centrifugal.centrifugo.proxy.ConnectRequest\x1a-.centrifugal.centrifugo.proxy.ConnectResponse\x12f\n" + - "\aRefresh\x12,.centrifugal.centrifugo.proxy.RefreshRequest\x1a-.centrifugal.centrifugo.proxy.RefreshResponse\x12l\n" + - "\tSubscribe\x12..centrifugal.centrifugo.proxy.SubscribeRequest\x1a/.centrifugal.centrifugo.proxy.SubscribeResponse\x12f\n" + - "\aPublish\x12,.centrifugal.centrifugo.proxy.PublishRequest\x1a-.centrifugal.centrifugo.proxy.PublishResponse\x12Z\n" + - "\x03RPC\x12(.centrifugal.centrifugo.proxy.RPCRequest\x1a).centrifugal.centrifugo.proxy.RPCResponse\x12o\n" + - "\n" + - "SubRefresh\x12/.centrifugal.centrifugo.proxy.SubRefreshRequest\x1a0.centrifugal.centrifugo.proxy.SubRefreshResponse\x12\x82\x01\n" + - "\x17SubscribeUnidirectional\x12..centrifugal.centrifugo.proxy.SubscribeRequest\x1a5.centrifugal.centrifugo.proxy.StreamSubscribeResponse0\x01\x12\x89\x01\n" + - "\x16SubscribeBidirectional\x124.centrifugal.centrifugo.proxy.StreamSubscribeRequest\x1a5.centrifugal.centrifugo.proxy.StreamSubscribeResponse(\x010\x01\x12\x87\x01\n" + - "\x12NotifyChannelState\x127.centrifugal.centrifugo.proxy.NotifyChannelStateRequest\x1a8.centrifugal.centrifugo.proxy.NotifyChannelStateResponseBmZ\x13centrifugo/proxy/v1\xca\x02#RoadRunner\\Centrifugal\\Proxy\\DTO\\V1\xe2\x02/RoadRunner\\Centrifugal\\Proxy\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_centrifugo_proxy_v1_proxy_proto_rawDescOnce sync.Once - file_centrifugo_proxy_v1_proxy_proto_rawDescData []byte -) - -func file_centrifugo_proxy_v1_proxy_proto_rawDescGZIP() []byte { - file_centrifugo_proxy_v1_proxy_proto_rawDescOnce.Do(func() { - file_centrifugo_proxy_v1_proxy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_centrifugo_proxy_v1_proxy_proto_rawDesc), len(file_centrifugo_proxy_v1_proxy_proto_rawDesc))) - }) - return file_centrifugo_proxy_v1_proxy_proto_rawDescData -} - -var file_centrifugo_proxy_v1_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 34) -var file_centrifugo_proxy_v1_proxy_proto_goTypes = []any{ - (*Disconnect)(nil), // 0: centrifugal.centrifugo.proxy.Disconnect - (*Error)(nil), // 1: centrifugal.centrifugo.proxy.Error - (*ConnectRequest)(nil), // 2: centrifugal.centrifugo.proxy.ConnectRequest - (*SubscribeOptions)(nil), // 3: centrifugal.centrifugo.proxy.SubscribeOptions - (*ConnectResult)(nil), // 4: centrifugal.centrifugo.proxy.ConnectResult - (*ChannelsCapability)(nil), // 5: centrifugal.centrifugo.proxy.ChannelsCapability - (*ConnectResponse)(nil), // 6: centrifugal.centrifugo.proxy.ConnectResponse - (*RefreshRequest)(nil), // 7: centrifugal.centrifugo.proxy.RefreshRequest - (*RefreshResult)(nil), // 8: centrifugal.centrifugo.proxy.RefreshResult - (*RefreshResponse)(nil), // 9: centrifugal.centrifugo.proxy.RefreshResponse - (*SubscribeRequest)(nil), // 10: centrifugal.centrifugo.proxy.SubscribeRequest - (*BoolValue)(nil), // 11: centrifugal.centrifugo.proxy.BoolValue - (*Int32Value)(nil), // 12: centrifugal.centrifugo.proxy.Int32Value - (*SubscribeOptionOverride)(nil), // 13: centrifugal.centrifugo.proxy.SubscribeOptionOverride - (*SubscribeResult)(nil), // 14: centrifugal.centrifugo.proxy.SubscribeResult - (*SubscribeResponse)(nil), // 15: centrifugal.centrifugo.proxy.SubscribeResponse - (*PublishRequest)(nil), // 16: centrifugal.centrifugo.proxy.PublishRequest - (*PublishResult)(nil), // 17: centrifugal.centrifugo.proxy.PublishResult - (*PublishResponse)(nil), // 18: centrifugal.centrifugo.proxy.PublishResponse - (*RPCRequest)(nil), // 19: centrifugal.centrifugo.proxy.RPCRequest - (*RPCResult)(nil), // 20: centrifugal.centrifugo.proxy.RPCResult - (*RPCResponse)(nil), // 21: centrifugal.centrifugo.proxy.RPCResponse - (*SubRefreshRequest)(nil), // 22: centrifugal.centrifugo.proxy.SubRefreshRequest - (*SubRefreshResult)(nil), // 23: centrifugal.centrifugo.proxy.SubRefreshResult - (*SubRefreshResponse)(nil), // 24: centrifugal.centrifugo.proxy.SubRefreshResponse - (*Publication)(nil), // 25: centrifugal.centrifugo.proxy.Publication - (*StreamSubscribeRequest)(nil), // 26: centrifugal.centrifugo.proxy.StreamSubscribeRequest - (*StreamSubscribeResponse)(nil), // 27: centrifugal.centrifugo.proxy.StreamSubscribeResponse - (*NotifyChannelStateRequest)(nil), // 28: centrifugal.centrifugo.proxy.NotifyChannelStateRequest - (*ChannelEvent)(nil), // 29: centrifugal.centrifugo.proxy.ChannelEvent - (*NotifyChannelStateResponse)(nil), // 30: centrifugal.centrifugo.proxy.NotifyChannelStateResponse - (*NotifyChannelStateResult)(nil), // 31: centrifugal.centrifugo.proxy.NotifyChannelStateResult - nil, // 32: centrifugal.centrifugo.proxy.ConnectResult.SubsEntry - nil, // 33: centrifugal.centrifugo.proxy.Publication.TagsEntry -} -var file_centrifugo_proxy_v1_proxy_proto_depIdxs = []int32{ - 13, // 0: centrifugal.centrifugo.proxy.SubscribeOptions.override:type_name -> centrifugal.centrifugo.proxy.SubscribeOptionOverride - 32, // 1: centrifugal.centrifugo.proxy.ConnectResult.subs:type_name -> centrifugal.centrifugo.proxy.ConnectResult.SubsEntry - 5, // 2: centrifugal.centrifugo.proxy.ConnectResult.caps:type_name -> centrifugal.centrifugo.proxy.ChannelsCapability - 4, // 3: centrifugal.centrifugo.proxy.ConnectResponse.result:type_name -> centrifugal.centrifugo.proxy.ConnectResult - 1, // 4: centrifugal.centrifugo.proxy.ConnectResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 5: centrifugal.centrifugo.proxy.ConnectResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 5, // 6: centrifugal.centrifugo.proxy.RefreshResult.caps:type_name -> centrifugal.centrifugo.proxy.ChannelsCapability - 8, // 7: centrifugal.centrifugo.proxy.RefreshResponse.result:type_name -> centrifugal.centrifugo.proxy.RefreshResult - 1, // 8: centrifugal.centrifugo.proxy.RefreshResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 9: centrifugal.centrifugo.proxy.RefreshResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 11, // 10: centrifugal.centrifugo.proxy.SubscribeOptionOverride.presence:type_name -> centrifugal.centrifugo.proxy.BoolValue - 11, // 11: centrifugal.centrifugo.proxy.SubscribeOptionOverride.join_leave:type_name -> centrifugal.centrifugo.proxy.BoolValue - 11, // 12: centrifugal.centrifugo.proxy.SubscribeOptionOverride.force_recovery:type_name -> centrifugal.centrifugo.proxy.BoolValue - 11, // 13: centrifugal.centrifugo.proxy.SubscribeOptionOverride.force_positioning:type_name -> centrifugal.centrifugo.proxy.BoolValue - 11, // 14: centrifugal.centrifugo.proxy.SubscribeOptionOverride.force_push_join_leave:type_name -> centrifugal.centrifugo.proxy.BoolValue - 13, // 15: centrifugal.centrifugo.proxy.SubscribeResult.override:type_name -> centrifugal.centrifugo.proxy.SubscribeOptionOverride - 14, // 16: centrifugal.centrifugo.proxy.SubscribeResponse.result:type_name -> centrifugal.centrifugo.proxy.SubscribeResult - 1, // 17: centrifugal.centrifugo.proxy.SubscribeResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 18: centrifugal.centrifugo.proxy.SubscribeResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 17, // 19: centrifugal.centrifugo.proxy.PublishResponse.result:type_name -> centrifugal.centrifugo.proxy.PublishResult - 1, // 20: centrifugal.centrifugo.proxy.PublishResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 21: centrifugal.centrifugo.proxy.PublishResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 20, // 22: centrifugal.centrifugo.proxy.RPCResponse.result:type_name -> centrifugal.centrifugo.proxy.RPCResult - 1, // 23: centrifugal.centrifugo.proxy.RPCResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 24: centrifugal.centrifugo.proxy.RPCResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 23, // 25: centrifugal.centrifugo.proxy.SubRefreshResponse.result:type_name -> centrifugal.centrifugo.proxy.SubRefreshResult - 1, // 26: centrifugal.centrifugo.proxy.SubRefreshResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 0, // 27: centrifugal.centrifugo.proxy.SubRefreshResponse.disconnect:type_name -> centrifugal.centrifugo.proxy.Disconnect - 33, // 28: centrifugal.centrifugo.proxy.Publication.tags:type_name -> centrifugal.centrifugo.proxy.Publication.TagsEntry - 10, // 29: centrifugal.centrifugo.proxy.StreamSubscribeRequest.subscribe_request:type_name -> centrifugal.centrifugo.proxy.SubscribeRequest - 25, // 30: centrifugal.centrifugo.proxy.StreamSubscribeRequest.publication:type_name -> centrifugal.centrifugo.proxy.Publication - 15, // 31: centrifugal.centrifugo.proxy.StreamSubscribeResponse.subscribe_response:type_name -> centrifugal.centrifugo.proxy.SubscribeResponse - 25, // 32: centrifugal.centrifugo.proxy.StreamSubscribeResponse.publication:type_name -> centrifugal.centrifugo.proxy.Publication - 29, // 33: centrifugal.centrifugo.proxy.NotifyChannelStateRequest.events:type_name -> centrifugal.centrifugo.proxy.ChannelEvent - 31, // 34: centrifugal.centrifugo.proxy.NotifyChannelStateResponse.result:type_name -> centrifugal.centrifugo.proxy.NotifyChannelStateResult - 1, // 35: centrifugal.centrifugo.proxy.NotifyChannelStateResponse.error:type_name -> centrifugal.centrifugo.proxy.Error - 3, // 36: centrifugal.centrifugo.proxy.ConnectResult.SubsEntry.value:type_name -> centrifugal.centrifugo.proxy.SubscribeOptions - 2, // 37: centrifugal.centrifugo.proxy.CentrifugoProxy.Connect:input_type -> centrifugal.centrifugo.proxy.ConnectRequest - 7, // 38: centrifugal.centrifugo.proxy.CentrifugoProxy.Refresh:input_type -> centrifugal.centrifugo.proxy.RefreshRequest - 10, // 39: centrifugal.centrifugo.proxy.CentrifugoProxy.Subscribe:input_type -> centrifugal.centrifugo.proxy.SubscribeRequest - 16, // 40: centrifugal.centrifugo.proxy.CentrifugoProxy.Publish:input_type -> centrifugal.centrifugo.proxy.PublishRequest - 19, // 41: centrifugal.centrifugo.proxy.CentrifugoProxy.RPC:input_type -> centrifugal.centrifugo.proxy.RPCRequest - 22, // 42: centrifugal.centrifugo.proxy.CentrifugoProxy.SubRefresh:input_type -> centrifugal.centrifugo.proxy.SubRefreshRequest - 10, // 43: centrifugal.centrifugo.proxy.CentrifugoProxy.SubscribeUnidirectional:input_type -> centrifugal.centrifugo.proxy.SubscribeRequest - 26, // 44: centrifugal.centrifugo.proxy.CentrifugoProxy.SubscribeBidirectional:input_type -> centrifugal.centrifugo.proxy.StreamSubscribeRequest - 28, // 45: centrifugal.centrifugo.proxy.CentrifugoProxy.NotifyChannelState:input_type -> centrifugal.centrifugo.proxy.NotifyChannelStateRequest - 6, // 46: centrifugal.centrifugo.proxy.CentrifugoProxy.Connect:output_type -> centrifugal.centrifugo.proxy.ConnectResponse - 9, // 47: centrifugal.centrifugo.proxy.CentrifugoProxy.Refresh:output_type -> centrifugal.centrifugo.proxy.RefreshResponse - 15, // 48: centrifugal.centrifugo.proxy.CentrifugoProxy.Subscribe:output_type -> centrifugal.centrifugo.proxy.SubscribeResponse - 18, // 49: centrifugal.centrifugo.proxy.CentrifugoProxy.Publish:output_type -> centrifugal.centrifugo.proxy.PublishResponse - 21, // 50: centrifugal.centrifugo.proxy.CentrifugoProxy.RPC:output_type -> centrifugal.centrifugo.proxy.RPCResponse - 24, // 51: centrifugal.centrifugo.proxy.CentrifugoProxy.SubRefresh:output_type -> centrifugal.centrifugo.proxy.SubRefreshResponse - 27, // 52: centrifugal.centrifugo.proxy.CentrifugoProxy.SubscribeUnidirectional:output_type -> centrifugal.centrifugo.proxy.StreamSubscribeResponse - 27, // 53: centrifugal.centrifugo.proxy.CentrifugoProxy.SubscribeBidirectional:output_type -> centrifugal.centrifugo.proxy.StreamSubscribeResponse - 30, // 54: centrifugal.centrifugo.proxy.CentrifugoProxy.NotifyChannelState:output_type -> centrifugal.centrifugo.proxy.NotifyChannelStateResponse - 46, // [46:55] is the sub-list for method output_type - 37, // [37:46] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_centrifugo_proxy_v1_proxy_proto_init() } -func file_centrifugo_proxy_v1_proxy_proto_init() { - if File_centrifugo_proxy_v1_proxy_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_centrifugo_proxy_v1_proxy_proto_rawDesc), len(file_centrifugo_proxy_v1_proxy_proto_rawDesc)), - NumEnums: 0, - NumMessages: 34, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_centrifugo_proxy_v1_proxy_proto_goTypes, - DependencyIndexes: file_centrifugo_proxy_v1_proxy_proto_depIdxs, - MessageInfos: file_centrifugo_proxy_v1_proxy_proto_msgTypes, - }.Build() - File_centrifugo_proxy_v1_proxy_proto = out.File - file_centrifugo_proxy_v1_proxy_proto_goTypes = nil - file_centrifugo_proxy_v1_proxy_proto_depIdxs = nil -} diff --git a/build/centrifugo/proxy/v1/proxy_grpc.pb.go b/build/centrifugo/proxy/v1/proxy_grpc.pb.go deleted file mode 100644 index d13d1e7..0000000 --- a/build/centrifugo/proxy/v1/proxy_grpc.pb.go +++ /dev/null @@ -1,453 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: centrifugo/proxy/v1/proxy.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - CentrifugoProxy_Connect_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Connect" - CentrifugoProxy_Refresh_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Refresh" - CentrifugoProxy_Subscribe_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Subscribe" - CentrifugoProxy_Publish_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Publish" - CentrifugoProxy_RPC_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/RPC" - CentrifugoProxy_SubRefresh_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/SubRefresh" - CentrifugoProxy_SubscribeUnidirectional_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/SubscribeUnidirectional" - CentrifugoProxy_SubscribeBidirectional_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/SubscribeBidirectional" - CentrifugoProxy_NotifyChannelState_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/NotifyChannelState" -) - -// CentrifugoProxyClient is the client API for CentrifugoProxy service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type CentrifugoProxyClient interface { - // Connect to proxy connection authentication and communicate initial state. - Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error) - // Refresh to proxy decision about connection expiration to the app backend. - Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) - // Subscribe to proxy subscription attempts to channels. - Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeResponse, error) - // Publish to proxy publication attempts to channels. - Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) - // RPC to execute custom logic on the backend over request through the real-time connection. - RPC(ctx context.Context, in *RPCRequest, opts ...grpc.CallOption) (*RPCResponse, error) - // SubRefresh to proxy decision about subscription expiration to the app backend. - SubRefresh(ctx context.Context, in *SubRefreshRequest, opts ...grpc.CallOption) (*SubRefreshResponse, error) - // SubscribeUnidirectional is an EXPERIMENTAL method which allows handling unidirectional - // subscription streams. Stream starts with SubscribeRequest similar to Subscribe rpc, - // then expects StreamSubscribeResponse with SubscribeResponse as first message, and - // StreamSubscribeResponse with Publication afterwards. - SubscribeUnidirectional(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamSubscribeResponse], error) - // SubscribeBidirectional is an EXPERIMENTAL method which allows handling bidirectional - // subscription streams. Stream receives StreamSubscribeRequest. First StreamSubscribeRequest - // always contains SubscribeRequest, then StreamSubscribeRequest will contain data published - // by client. Reverse direction works the same way as in SubscribeUnidirectional. - SubscribeBidirectional(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamSubscribeRequest, StreamSubscribeResponse], error) - // NotifyChannelState can be used to receive channel events such as channel "occupied" and "vacated". - // This is a feature in a preview state and is only available in Centrifugo PRO. - NotifyChannelState(ctx context.Context, in *NotifyChannelStateRequest, opts ...grpc.CallOption) (*NotifyChannelStateResponse, error) -} - -type centrifugoProxyClient struct { - cc grpc.ClientConnInterface -} - -func NewCentrifugoProxyClient(cc grpc.ClientConnInterface) CentrifugoProxyClient { - return ¢rifugoProxyClient{cc} -} - -func (c *centrifugoProxyClient) Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ConnectResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_Connect_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RefreshResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_Refresh_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SubscribeResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_Subscribe_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PublishResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_Publish_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) RPC(ctx context.Context, in *RPCRequest, opts ...grpc.CallOption) (*RPCResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RPCResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_RPC_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) SubRefresh(ctx context.Context, in *SubRefreshRequest, opts ...grpc.CallOption) (*SubRefreshResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SubRefreshResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_SubRefresh_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *centrifugoProxyClient) SubscribeUnidirectional(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamSubscribeResponse], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &CentrifugoProxy_ServiceDesc.Streams[0], CentrifugoProxy_SubscribeUnidirectional_FullMethodName, cOpts...) - if err != nil { - return nil, err - } - x := &grpc.GenericClientStream[SubscribeRequest, StreamSubscribeResponse]{ClientStream: stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type CentrifugoProxy_SubscribeUnidirectionalClient = grpc.ServerStreamingClient[StreamSubscribeResponse] - -func (c *centrifugoProxyClient) SubscribeBidirectional(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamSubscribeRequest, StreamSubscribeResponse], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &CentrifugoProxy_ServiceDesc.Streams[1], CentrifugoProxy_SubscribeBidirectional_FullMethodName, cOpts...) - if err != nil { - return nil, err - } - x := &grpc.GenericClientStream[StreamSubscribeRequest, StreamSubscribeResponse]{ClientStream: stream} - return x, nil -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type CentrifugoProxy_SubscribeBidirectionalClient = grpc.BidiStreamingClient[StreamSubscribeRequest, StreamSubscribeResponse] - -func (c *centrifugoProxyClient) NotifyChannelState(ctx context.Context, in *NotifyChannelStateRequest, opts ...grpc.CallOption) (*NotifyChannelStateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(NotifyChannelStateResponse) - err := c.cc.Invoke(ctx, CentrifugoProxy_NotifyChannelState_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CentrifugoProxyServer is the server API for CentrifugoProxy service. -// All implementations should embed UnimplementedCentrifugoProxyServer -// for forward compatibility. -type CentrifugoProxyServer interface { - // Connect to proxy connection authentication and communicate initial state. - Connect(context.Context, *ConnectRequest) (*ConnectResponse, error) - // Refresh to proxy decision about connection expiration to the app backend. - Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error) - // Subscribe to proxy subscription attempts to channels. - Subscribe(context.Context, *SubscribeRequest) (*SubscribeResponse, error) - // Publish to proxy publication attempts to channels. - Publish(context.Context, *PublishRequest) (*PublishResponse, error) - // RPC to execute custom logic on the backend over request through the real-time connection. - RPC(context.Context, *RPCRequest) (*RPCResponse, error) - // SubRefresh to proxy decision about subscription expiration to the app backend. - SubRefresh(context.Context, *SubRefreshRequest) (*SubRefreshResponse, error) - // SubscribeUnidirectional is an EXPERIMENTAL method which allows handling unidirectional - // subscription streams. Stream starts with SubscribeRequest similar to Subscribe rpc, - // then expects StreamSubscribeResponse with SubscribeResponse as first message, and - // StreamSubscribeResponse with Publication afterwards. - SubscribeUnidirectional(*SubscribeRequest, grpc.ServerStreamingServer[StreamSubscribeResponse]) error - // SubscribeBidirectional is an EXPERIMENTAL method which allows handling bidirectional - // subscription streams. Stream receives StreamSubscribeRequest. First StreamSubscribeRequest - // always contains SubscribeRequest, then StreamSubscribeRequest will contain data published - // by client. Reverse direction works the same way as in SubscribeUnidirectional. - SubscribeBidirectional(grpc.BidiStreamingServer[StreamSubscribeRequest, StreamSubscribeResponse]) error - // NotifyChannelState can be used to receive channel events such as channel "occupied" and "vacated". - // This is a feature in a preview state and is only available in Centrifugo PRO. - NotifyChannelState(context.Context, *NotifyChannelStateRequest) (*NotifyChannelStateResponse, error) -} - -// UnimplementedCentrifugoProxyServer should be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedCentrifugoProxyServer struct{} - -func (UnimplementedCentrifugoProxyServer) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Connect not implemented") -} -func (UnimplementedCentrifugoProxyServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Refresh not implemented") -} -func (UnimplementedCentrifugoProxyServer) Subscribe(context.Context, *SubscribeRequest) (*SubscribeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Subscribe not implemented") -} -func (UnimplementedCentrifugoProxyServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Publish not implemented") -} -func (UnimplementedCentrifugoProxyServer) RPC(context.Context, *RPCRequest) (*RPCResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RPC not implemented") -} -func (UnimplementedCentrifugoProxyServer) SubRefresh(context.Context, *SubRefreshRequest) (*SubRefreshResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubRefresh not implemented") -} -func (UnimplementedCentrifugoProxyServer) SubscribeUnidirectional(*SubscribeRequest, grpc.ServerStreamingServer[StreamSubscribeResponse]) error { - return status.Errorf(codes.Unimplemented, "method SubscribeUnidirectional not implemented") -} -func (UnimplementedCentrifugoProxyServer) SubscribeBidirectional(grpc.BidiStreamingServer[StreamSubscribeRequest, StreamSubscribeResponse]) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBidirectional not implemented") -} -func (UnimplementedCentrifugoProxyServer) NotifyChannelState(context.Context, *NotifyChannelStateRequest) (*NotifyChannelStateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NotifyChannelState not implemented") -} -func (UnimplementedCentrifugoProxyServer) testEmbeddedByValue() {} - -// UnsafeCentrifugoProxyServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to CentrifugoProxyServer will -// result in compilation errors. -type UnsafeCentrifugoProxyServer interface { - mustEmbedUnimplementedCentrifugoProxyServer() -} - -func RegisterCentrifugoProxyServer(s grpc.ServiceRegistrar, srv CentrifugoProxyServer) { - // If the following call pancis, it indicates UnimplementedCentrifugoProxyServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&CentrifugoProxy_ServiceDesc, srv) -} - -func _CentrifugoProxy_Connect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ConnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).Connect(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_Connect_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).Connect(ctx, req.(*ConnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_Refresh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RefreshRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).Refresh(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_Refresh_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).Refresh(ctx, req.(*RefreshRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubscribeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).Subscribe(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_Subscribe_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).Subscribe(ctx, req.(*SubscribeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_Publish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).Publish(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_Publish_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).Publish(ctx, req.(*PublishRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_RPC_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RPCRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).RPC(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_RPC_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).RPC(ctx, req.(*RPCRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_SubRefresh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubRefreshRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).SubRefresh(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_SubRefresh_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).SubRefresh(ctx, req.(*SubRefreshRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CentrifugoProxy_SubscribeUnidirectional_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SubscribeRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CentrifugoProxyServer).SubscribeUnidirectional(m, &grpc.GenericServerStream[SubscribeRequest, StreamSubscribeResponse]{ServerStream: stream}) -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type CentrifugoProxy_SubscribeUnidirectionalServer = grpc.ServerStreamingServer[StreamSubscribeResponse] - -func _CentrifugoProxy_SubscribeBidirectional_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(CentrifugoProxyServer).SubscribeBidirectional(&grpc.GenericServerStream[StreamSubscribeRequest, StreamSubscribeResponse]{ServerStream: stream}) -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type CentrifugoProxy_SubscribeBidirectionalServer = grpc.BidiStreamingServer[StreamSubscribeRequest, StreamSubscribeResponse] - -func _CentrifugoProxy_NotifyChannelState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NotifyChannelStateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CentrifugoProxyServer).NotifyChannelState(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: CentrifugoProxy_NotifyChannelState_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CentrifugoProxyServer).NotifyChannelState(ctx, req.(*NotifyChannelStateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// CentrifugoProxy_ServiceDesc is the grpc.ServiceDesc for CentrifugoProxy service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var CentrifugoProxy_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "centrifugal.centrifugo.proxy.CentrifugoProxy", - HandlerType: (*CentrifugoProxyServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Connect", - Handler: _CentrifugoProxy_Connect_Handler, - }, - { - MethodName: "Refresh", - Handler: _CentrifugoProxy_Refresh_Handler, - }, - { - MethodName: "Subscribe", - Handler: _CentrifugoProxy_Subscribe_Handler, - }, - { - MethodName: "Publish", - Handler: _CentrifugoProxy_Publish_Handler, - }, - { - MethodName: "RPC", - Handler: _CentrifugoProxy_RPC_Handler, - }, - { - MethodName: "SubRefresh", - Handler: _CentrifugoProxy_SubRefresh_Handler, - }, - { - MethodName: "NotifyChannelState", - Handler: _CentrifugoProxy_NotifyChannelState_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "SubscribeUnidirectional", - Handler: _CentrifugoProxy_SubscribeUnidirectional_Handler, - ServerStreams: true, - }, - { - StreamName: "SubscribeBidirectional", - Handler: _CentrifugoProxy_SubscribeBidirectional_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "centrifugo/proxy/v1/proxy.proto", -} diff --git a/build/common/v1/grpc_status.pb.go b/build/common/v1/grpc_status.pb.go deleted file mode 100644 index f7c0e4f..0000000 --- a/build/common/v1/grpc_status.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: common/v1/grpc_status.proto - -package commonV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The `Status` type defines a logical error model that is suitable for -// different programming environments, including REST APIs and RPC APIs. -type Status struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A simple error code that can be easily handled by the client. The - // actual error code is defined by `google.rpc.Code`. - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - // A developer-facing human-readable error message in English. It should - // both explain the error and offer an actionable resolution to it. - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - // Additional error information that the client code can use to handle - // the error, such as retry info or a help link. - Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Status) Reset() { - *x = Status{} - mi := &file_common_v1_grpc_status_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Status) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Status) ProtoMessage() {} - -func (x *Status) ProtoReflect() protoreflect.Message { - mi := &file_common_v1_grpc_status_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Status.ProtoReflect.Descriptor instead. -func (*Status) Descriptor() ([]byte, []int) { - return file_common_v1_grpc_status_proto_rawDescGZIP(), []int{0} -} - -func (x *Status) GetCode() int32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Status) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Status) GetDetails() []*anypb.Any { - if x != nil { - return x.Details - } - return nil -} - -var File_common_v1_grpc_status_proto protoreflect.FileDescriptor - -const file_common_v1_grpc_status_proto_rawDesc = "" + - "\n" + - "\x1bcommon/v1/grpc_status.proto\x12\tcommon.v1\x1a\x19google/protobuf/any.proto\"f\n" + - "\x06Status\x12\x12\n" + - "\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\x12.\n" + - "\adetails\x18\x03 \x03(\v2\x14.google.protobuf.AnyR\adetailsB\x80\x01Z google.protobuf.Any - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_common_v1_grpc_status_proto_init() } -func file_common_v1_grpc_status_proto_init() { - if File_common_v1_grpc_status_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_v1_grpc_status_proto_rawDesc), len(file_common_v1_grpc_status_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_common_v1_grpc_status_proto_goTypes, - DependencyIndexes: file_common_v1_grpc_status_proto_depIdxs, - MessageInfos: file_common_v1_grpc_status_proto_msgTypes, - }.Build() - File_common_v1_grpc_status_proto = out.File - file_common_v1_grpc_status_proto_goTypes = nil - file_common_v1_grpc_status_proto_depIdxs = nil -} diff --git a/build/google/api/annotations.pb.go b/build/google/api/annotations.pb.go deleted file mode 100644 index e380a18..0000000 --- a/build/google/api/annotations.pb.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/api/annotations.proto - -package annotations - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var file_google_api_annotations_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*HttpRule)(nil), - Field: 72295728, - Name: "google.api.http", - Tag: "bytes,72295728,opt,name=http", - Filename: "google/api/annotations.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // See `HttpRule`. - // - // optional google.api.HttpRule http = 72295728; - E_Http = &file_google_api_annotations_proto_extTypes[0] -) - -var File_google_api_annotations_proto protoreflect.FileDescriptor - -const file_google_api_annotations_proto_rawDesc = "" + - "\n" + - "\x1cgoogle/api/annotations.proto\x12\n" + - "google.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n" + - "\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0ʼ\" \x01(\v2\x14.google.api.HttpRuleR\x04httpBn\n" + - "\x0ecom.google.apiB\x10AnnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3" - -var file_google_api_annotations_proto_goTypes = []any{ - (*descriptorpb.MethodOptions)(nil), // 0: google.protobuf.MethodOptions - (*HttpRule)(nil), // 1: google.api.HttpRule -} -var file_google_api_annotations_proto_depIdxs = []int32{ - 0, // 0: google.api.http:extendee -> google.protobuf.MethodOptions - 1, // 1: google.api.http:type_name -> google.api.HttpRule - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_api_annotations_proto_init() } -func file_google_api_annotations_proto_init() { - if File_google_api_annotations_proto != nil { - return - } - file_google_api_http_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_api_annotations_proto_rawDesc), len(file_google_api_annotations_proto_rawDesc)), - NumEnums: 0, - NumMessages: 0, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_google_api_annotations_proto_goTypes, - DependencyIndexes: file_google_api_annotations_proto_depIdxs, - ExtensionInfos: file_google_api_annotations_proto_extTypes, - }.Build() - File_google_api_annotations_proto = out.File - file_google_api_annotations_proto_goTypes = nil - file_google_api_annotations_proto_depIdxs = nil -} diff --git a/build/google/api/http.pb.go b/build/google/api/http.pb.go deleted file mode 100644 index 4bc42f7..0000000 --- a/build/google/api/http.pb.go +++ /dev/null @@ -1,724 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/api/http.proto - -package annotations - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -type Http struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*HttpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - FullyDecodeReservedExpansion bool `protobuf:"varint,2,opt,name=fully_decode_reserved_expansion,json=fullyDecodeReservedExpansion,proto3" json:"fully_decode_reserved_expansion,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Http) Reset() { - *x = Http{} - mi := &file_google_api_http_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Http) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Http) ProtoMessage() {} - -func (x *Http) ProtoReflect() protoreflect.Message { - mi := &file_google_api_http_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Http.ProtoReflect.Descriptor instead. -func (*Http) Descriptor() ([]byte, []int) { - return file_google_api_http_proto_rawDescGZIP(), []int{0} -} - -func (x *Http) GetRules() []*HttpRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *Http) GetFullyDecodeReservedExpansion() bool { - if x != nil { - return x.FullyDecodeReservedExpansion - } - return false -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -type HttpRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - // - // Types that are valid to be assigned to Pattern: - // - // *HttpRule_Get - // *HttpRule_Put - // *HttpRule_Post - // *HttpRule_Delete - // *HttpRule_Patch - // *HttpRule_Custom - Pattern isHttpRule_Pattern `protobuf_oneof:"pattern"` - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - ResponseBody string `protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"` - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HttpRule) Reset() { - *x = HttpRule{} - mi := &file_google_api_http_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HttpRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HttpRule) ProtoMessage() {} - -func (x *HttpRule) ProtoReflect() protoreflect.Message { - mi := &file_google_api_http_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HttpRule.ProtoReflect.Descriptor instead. -func (*HttpRule) Descriptor() ([]byte, []int) { - return file_google_api_http_proto_rawDescGZIP(), []int{1} -} - -func (x *HttpRule) GetSelector() string { - if x != nil { - return x.Selector - } - return "" -} - -func (x *HttpRule) GetPattern() isHttpRule_Pattern { - if x != nil { - return x.Pattern - } - return nil -} - -func (x *HttpRule) GetGet() string { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Get); ok { - return x.Get - } - } - return "" -} - -func (x *HttpRule) GetPut() string { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Put); ok { - return x.Put - } - } - return "" -} - -func (x *HttpRule) GetPost() string { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Post); ok { - return x.Post - } - } - return "" -} - -func (x *HttpRule) GetDelete() string { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Delete); ok { - return x.Delete - } - } - return "" -} - -func (x *HttpRule) GetPatch() string { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Patch); ok { - return x.Patch - } - } - return "" -} - -func (x *HttpRule) GetCustom() *CustomHttpPattern { - if x != nil { - if x, ok := x.Pattern.(*HttpRule_Custom); ok { - return x.Custom - } - } - return nil -} - -func (x *HttpRule) GetBody() string { - if x != nil { - return x.Body - } - return "" -} - -func (x *HttpRule) GetResponseBody() string { - if x != nil { - return x.ResponseBody - } - return "" -} - -func (x *HttpRule) GetAdditionalBindings() []*HttpRule { - if x != nil { - return x.AdditionalBindings - } - return nil -} - -type isHttpRule_Pattern interface { - isHttpRule_Pattern() -} - -type HttpRule_Get struct { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - Get string `protobuf:"bytes,2,opt,name=get,proto3,oneof"` -} - -type HttpRule_Put struct { - // Maps to HTTP PUT. Used for replacing a resource. - Put string `protobuf:"bytes,3,opt,name=put,proto3,oneof"` -} - -type HttpRule_Post struct { - // Maps to HTTP POST. Used for creating a resource or performing an action. - Post string `protobuf:"bytes,4,opt,name=post,proto3,oneof"` -} - -type HttpRule_Delete struct { - // Maps to HTTP DELETE. Used for deleting a resource. - Delete string `protobuf:"bytes,5,opt,name=delete,proto3,oneof"` -} - -type HttpRule_Patch struct { - // Maps to HTTP PATCH. Used for updating a resource. - Patch string `protobuf:"bytes,6,opt,name=patch,proto3,oneof"` -} - -type HttpRule_Custom struct { - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,proto3,oneof"` -} - -func (*HttpRule_Get) isHttpRule_Pattern() {} - -func (*HttpRule_Put) isHttpRule_Pattern() {} - -func (*HttpRule_Post) isHttpRule_Pattern() {} - -func (*HttpRule_Delete) isHttpRule_Pattern() {} - -func (*HttpRule_Patch) isHttpRule_Pattern() {} - -func (*HttpRule_Custom) isHttpRule_Pattern() {} - -// A custom pattern is used for defining custom HTTP verb. -type CustomHttpPattern struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The name of this custom HTTP verb. - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - // The path matched by this custom verb. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CustomHttpPattern) Reset() { - *x = CustomHttpPattern{} - mi := &file_google_api_http_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CustomHttpPattern) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomHttpPattern) ProtoMessage() {} - -func (x *CustomHttpPattern) ProtoReflect() protoreflect.Message { - mi := &file_google_api_http_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomHttpPattern.ProtoReflect.Descriptor instead. -func (*CustomHttpPattern) Descriptor() ([]byte, []int) { - return file_google_api_http_proto_rawDescGZIP(), []int{2} -} - -func (x *CustomHttpPattern) GetKind() string { - if x != nil { - return x.Kind - } - return "" -} - -func (x *CustomHttpPattern) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -var File_google_api_http_proto protoreflect.FileDescriptor - -const file_google_api_http_proto_rawDesc = "" + - "\n" + - "\x15google/api/http.proto\x12\n" + - "google.api\"y\n" + - "\x04Http\x12*\n" + - "\x05rules\x18\x01 \x03(\v2\x14.google.api.HttpRuleR\x05rules\x12E\n" + - "\x1ffully_decode_reserved_expansion\x18\x02 \x01(\bR\x1cfullyDecodeReservedExpansion\"\xda\x02\n" + - "\bHttpRule\x12\x1a\n" + - "\bselector\x18\x01 \x01(\tR\bselector\x12\x12\n" + - "\x03get\x18\x02 \x01(\tH\x00R\x03get\x12\x12\n" + - "\x03put\x18\x03 \x01(\tH\x00R\x03put\x12\x14\n" + - "\x04post\x18\x04 \x01(\tH\x00R\x04post\x12\x18\n" + - "\x06delete\x18\x05 \x01(\tH\x00R\x06delete\x12\x16\n" + - "\x05patch\x18\x06 \x01(\tH\x00R\x05patch\x127\n" + - "\x06custom\x18\b \x01(\v2\x1d.google.api.CustomHttpPatternH\x00R\x06custom\x12\x12\n" + - "\x04body\x18\a \x01(\tR\x04body\x12#\n" + - "\rresponse_body\x18\f \x01(\tR\fresponseBody\x12E\n" + - "\x13additional_bindings\x18\v \x03(\v2\x14.google.api.HttpRuleR\x12additionalBindingsB\t\n" + - "\apattern\";\n" + - "\x11CustomHttpPattern\x12\x12\n" + - "\x04kind\x18\x01 \x01(\tR\x04kind\x12\x12\n" + - "\x04path\x18\x02 \x01(\tR\x04pathBj\n" + - "\x0ecom.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3" - -var ( - file_google_api_http_proto_rawDescOnce sync.Once - file_google_api_http_proto_rawDescData []byte -) - -func file_google_api_http_proto_rawDescGZIP() []byte { - file_google_api_http_proto_rawDescOnce.Do(func() { - file_google_api_http_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_api_http_proto_rawDesc), len(file_google_api_http_proto_rawDesc))) - }) - return file_google_api_http_proto_rawDescData -} - -var file_google_api_http_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_google_api_http_proto_goTypes = []any{ - (*Http)(nil), // 0: google.api.Http - (*HttpRule)(nil), // 1: google.api.HttpRule - (*CustomHttpPattern)(nil), // 2: google.api.CustomHttpPattern -} -var file_google_api_http_proto_depIdxs = []int32{ - 1, // 0: google.api.Http.rules:type_name -> google.api.HttpRule - 2, // 1: google.api.HttpRule.custom:type_name -> google.api.CustomHttpPattern - 1, // 2: google.api.HttpRule.additional_bindings:type_name -> google.api.HttpRule - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_google_api_http_proto_init() } -func file_google_api_http_proto_init() { - if File_google_api_http_proto != nil { - return - } - file_google_api_http_proto_msgTypes[1].OneofWrappers = []any{ - (*HttpRule_Get)(nil), - (*HttpRule_Put)(nil), - (*HttpRule_Post)(nil), - (*HttpRule_Delete)(nil), - (*HttpRule_Patch)(nil), - (*HttpRule_Custom)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_api_http_proto_rawDesc), len(file_google_api_http_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_api_http_proto_goTypes, - DependencyIndexes: file_google_api_http_proto_depIdxs, - MessageInfos: file_google_api_http_proto_msgTypes, - }.Build() - File_google_api_http_proto = out.File - file_google_api_http_proto_goTypes = nil - file_google_api_http_proto_depIdxs = nil -} diff --git a/build/google/protobuf/any.pb.go b/build/google/protobuf/any.pb.go deleted file mode 100644 index f6ee949..0000000 --- a/build/google/protobuf/any.pb.go +++ /dev/null @@ -1,479 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/any.proto - -// Package anypb contains generated types for google/protobuf/any.proto. -// -// The Any message is a dynamic representation of any other message value. -// It is functionally a tuple of the full name of the remote message type and -// the serialized bytes of the remote message value. -// -// # Constructing an Any -// -// An Any message containing another message value is constructed using New: -// -// any, err := anypb.New(m) -// if err != nil { -// ... // handle error -// } -// ... // make use of any -// -// # Unmarshaling an Any -// -// With a populated Any message, the underlying message can be serialized into -// a remote concrete message value in a few ways. -// -// If the exact concrete type is known, then a new (or pre-existing) instance -// of that message can be passed to the UnmarshalTo method: -// -// m := new(foopb.MyMessage) -// if err := any.UnmarshalTo(m); err != nil { -// ... // handle error -// } -// ... // make use of m -// -// If the exact concrete type is not known, then the UnmarshalNew method can be -// used to unmarshal the contents into a new instance of the remote message type: -// -// m, err := any.UnmarshalNew() -// if err != nil { -// ... // handle error -// } -// ... // make use of m -// -// UnmarshalNew uses the global type registry to resolve the message type and -// construct a new instance of that message to unmarshal into. In order for a -// message type to appear in the global registry, the Go type representing that -// protobuf message type must be linked into the Go binary. For messages -// generated by protoc-gen-go, this is achieved through an import of the -// generated Go package representing a .proto file. -// -// A common pattern with UnmarshalNew is to use a type switch with the resulting -// proto.Message value: -// -// switch m := m.(type) { -// case *foopb.MyMessage: -// ... // make use of m as a *foopb.MyMessage -// case *barpb.OtherMessage: -// ... // make use of m as a *barpb.OtherMessage -// case *bazpb.SomeMessage: -// ... // make use of m as a *bazpb.SomeMessage -// } -// -// This pattern ensures that the generated packages containing the message types -// listed in the case clauses are linked into the Go binary and therefore also -// registered in the global registry. -// -// # Type checking an Any -// -// In order to type check whether an Any message represents some other message, -// then use the MessageIs method: -// -// if any.MessageIs((*foopb.MyMessage)(nil)) { -// ... // make use of any, knowing that it contains a foopb.MyMessage -// } -// -// The MessageIs method can also be used with an allocated instance of the target -// message type if the intention is to unmarshal into it if the type matches: -// -// m := new(foopb.MyMessage) -// if any.MessageIs(m) { -// if err := any.UnmarshalTo(m); err != nil { -// ... // handle error -// } -// ... // make use of m -// } -package anypb - -import ( - proto "google.golang.org/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoregistry "google.golang.org/protobuf/reflect/protoregistry" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - strings "strings" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// // or ... -// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -// foo = any.unpack(Foo.getDefaultInstance()); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := anypb.New(foo) -// if err != nil { -// ... -// } -// ... -// foo := &pb.Foo{} -// if err := any.UnmarshalTo(foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -type Any struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // - If no scheme is provided, `https` is assumed. - // - An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // - Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. As of May 2023, there are no widely used type server - // implementations and no plans to implement one. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - // Must be a valid serialized protocol buffer of the above specified type. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// New marshals src into a new Any instance. -func New(src proto.Message) (*Any, error) { - dst := new(Any) - if err := dst.MarshalFrom(src); err != nil { - return nil, err - } - return dst, nil -} - -// MarshalFrom marshals src into dst as the underlying message -// using the provided marshal options. -// -// If no options are specified, call dst.MarshalFrom instead. -func MarshalFrom(dst *Any, src proto.Message, opts proto.MarshalOptions) error { - const urlPrefix = "type.googleapis.com/" - if src == nil { - return protoimpl.X.NewError("invalid nil source message") - } - b, err := opts.Marshal(src) - if err != nil { - return err - } - dst.TypeUrl = urlPrefix + string(src.ProtoReflect().Descriptor().FullName()) - dst.Value = b - return nil -} - -// UnmarshalTo unmarshals the underlying message from src into dst -// using the provided unmarshal options. -// It reports an error if dst is not of the right message type. -// -// If no options are specified, call src.UnmarshalTo instead. -func UnmarshalTo(src *Any, dst proto.Message, opts proto.UnmarshalOptions) error { - if src == nil { - return protoimpl.X.NewError("invalid nil source message") - } - if !src.MessageIs(dst) { - got := dst.ProtoReflect().Descriptor().FullName() - want := src.MessageName() - return protoimpl.X.NewError("mismatched message type: got %q, want %q", got, want) - } - return opts.Unmarshal(src.GetValue(), dst) -} - -// UnmarshalNew unmarshals the underlying message from src into dst, -// which is newly created message using a type resolved from the type URL. -// The message type is resolved according to opt.Resolver, -// which should implement protoregistry.MessageTypeResolver. -// It reports an error if the underlying message type could not be resolved. -// -// If no options are specified, call src.UnmarshalNew instead. -func UnmarshalNew(src *Any, opts proto.UnmarshalOptions) (dst proto.Message, err error) { - if src.GetTypeUrl() == "" { - return nil, protoimpl.X.NewError("invalid empty type URL") - } - if opts.Resolver == nil { - opts.Resolver = protoregistry.GlobalTypes - } - r, ok := opts.Resolver.(protoregistry.MessageTypeResolver) - if !ok { - return nil, protoregistry.NotFound - } - mt, err := r.FindMessageByURL(src.GetTypeUrl()) - if err != nil { - if err == protoregistry.NotFound { - return nil, err - } - return nil, protoimpl.X.NewError("could not resolve %q: %v", src.GetTypeUrl(), err) - } - dst = mt.New().Interface() - return dst, opts.Unmarshal(src.GetValue(), dst) -} - -// MessageIs reports whether the underlying message is of the same type as m. -func (x *Any) MessageIs(m proto.Message) bool { - if m == nil { - return false - } - url := x.GetTypeUrl() - name := string(m.ProtoReflect().Descriptor().FullName()) - if !strings.HasSuffix(url, name) { - return false - } - return len(url) == len(name) || url[len(url)-len(name)-1] == '/' -} - -// MessageName reports the full name of the underlying message, -// returning an empty string if invalid. -func (x *Any) MessageName() protoreflect.FullName { - url := x.GetTypeUrl() - name := protoreflect.FullName(url) - if i := strings.LastIndexByte(url, '/'); i >= 0 { - name = name[i+len("/"):] - } - if !name.IsValid() { - return "" - } - return name -} - -// MarshalFrom marshals m into x as the underlying message. -func (x *Any) MarshalFrom(m proto.Message) error { - return MarshalFrom(x, m, proto.MarshalOptions{}) -} - -// UnmarshalTo unmarshals the contents of the underlying message of x into m. -// It resets m before performing the unmarshal operation. -// It reports an error if m is not of the right message type. -func (x *Any) UnmarshalTo(m proto.Message) error { - return UnmarshalTo(x, m, proto.UnmarshalOptions{}) -} - -// UnmarshalNew unmarshals the contents of the underlying message of x into -// a newly allocated message of the specified type. -// It reports an error if the underlying message type could not be resolved. -func (x *Any) UnmarshalNew() (proto.Message, error) { - return UnmarshalNew(x, proto.UnmarshalOptions{}) -} - -func (x *Any) Reset() { - *x = Any{} - mi := &file_google_protobuf_any_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Any) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Any) ProtoMessage() {} - -func (x *Any) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_any_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Any.ProtoReflect.Descriptor instead. -func (*Any) Descriptor() ([]byte, []int) { - return file_google_protobuf_any_proto_rawDescGZIP(), []int{0} -} - -func (x *Any) GetTypeUrl() string { - if x != nil { - return x.TypeUrl - } - return "" -} - -func (x *Any) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -var File_google_protobuf_any_proto protoreflect.FileDescriptor - -const file_google_protobuf_any_proto_rawDesc = "" + - "\n" + - "\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"6\n" + - "\x03Any\x12\x19\n" + - "\btype_url\x18\x01 \x01(\tR\atypeUrl\x12\x14\n" + - "\x05value\x18\x02 \x01(\fR\x05valueBv\n" + - "\x13com.google.protobufB\bAnyProtoP\x01Z,google.golang.org/protobuf/types/known/anypb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_any_proto_rawDescOnce sync.Once - file_google_protobuf_any_proto_rawDescData []byte -) - -func file_google_protobuf_any_proto_rawDescGZIP() []byte { - file_google_protobuf_any_proto_rawDescOnce.Do(func() { - file_google_protobuf_any_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc))) - }) - return file_google_protobuf_any_proto_rawDescData -} - -var file_google_protobuf_any_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_any_proto_goTypes = []any{ - (*Any)(nil), // 0: google.protobuf.Any -} -var file_google_protobuf_any_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_any_proto_init() } -func file_google_protobuf_any_proto_init() { - if File_google_protobuf_any_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_any_proto_goTypes, - DependencyIndexes: file_google_protobuf_any_proto_depIdxs, - MessageInfos: file_google_protobuf_any_proto_msgTypes, - }.Build() - File_google_protobuf_any_proto = out.File - file_google_protobuf_any_proto_goTypes = nil - file_google_protobuf_any_proto_depIdxs = nil -} diff --git a/build/google/protobuf/descriptor.pb.go b/build/google/protobuf/descriptor.pb.go deleted file mode 100644 index 4136ee1..0000000 --- a/build/google/protobuf/descriptor.pb.go +++ /dev/null @@ -1,4779 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Author: kenton@google.com (Kenton Varda) -// Based on original Protocol Buffers design by -// Sanjay Ghemawat, Jeff Dean, and others. -// -// The messages in this file describe the definitions found in .proto files. -// A valid .proto file can be translated directly to a FileDescriptorProto -// without any other information (e.g. without reading its imports). - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/descriptor.proto - -package descriptorpb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The full set of known editions. -type Edition int32 - -const ( - // A placeholder for an unknown edition value. - Edition_EDITION_UNKNOWN Edition = 0 - // Legacy syntax "editions". These pre-date editions, but behave much like - // distinct editions. These can't be used to specify the edition of proto - // files, but feature definitions must supply proto2/proto3 defaults for - // backwards compatibility. - Edition_EDITION_PROTO2 Edition = 998 - Edition_EDITION_PROTO3 Edition = 999 - // Editions that have been released. The specific values are arbitrary and - // should not be depended on, but they will always be time-ordered for easy - // comparison. - Edition_EDITION_2023 Edition = 1000 - // Placeholder editions for testing feature resolution. These should not be - // used or relyed on outside of tests. - Edition_EDITION_1_TEST_ONLY Edition = 1 - Edition_EDITION_2_TEST_ONLY Edition = 2 - Edition_EDITION_99997_TEST_ONLY Edition = 99997 - Edition_EDITION_99998_TEST_ONLY Edition = 99998 - Edition_EDITION_99999_TEST_ONLY Edition = 99999 -) - -// Enum value maps for Edition. -var ( - Edition_name = map[int32]string{ - 0: "EDITION_UNKNOWN", - 998: "EDITION_PROTO2", - 999: "EDITION_PROTO3", - 1000: "EDITION_2023", - 1: "EDITION_1_TEST_ONLY", - 2: "EDITION_2_TEST_ONLY", - 99997: "EDITION_99997_TEST_ONLY", - 99998: "EDITION_99998_TEST_ONLY", - 99999: "EDITION_99999_TEST_ONLY", - } - Edition_value = map[string]int32{ - "EDITION_UNKNOWN": 0, - "EDITION_PROTO2": 998, - "EDITION_PROTO3": 999, - "EDITION_2023": 1000, - "EDITION_1_TEST_ONLY": 1, - "EDITION_2_TEST_ONLY": 2, - "EDITION_99997_TEST_ONLY": 99997, - "EDITION_99998_TEST_ONLY": 99998, - "EDITION_99999_TEST_ONLY": 99999, - } -) - -func (x Edition) Enum() *Edition { - p := new(Edition) - *p = x - return p -} - -func (x Edition) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Edition) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor() -} - -func (Edition) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[0] -} - -func (x Edition) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *Edition) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = Edition(num) - return nil -} - -// Deprecated: Use Edition.Descriptor instead. -func (Edition) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0} -} - -// The verification state of the extension range. -type ExtensionRangeOptions_VerificationState int32 - -const ( - // All the extensions of the range must be declared. - ExtensionRangeOptions_DECLARATION ExtensionRangeOptions_VerificationState = 0 - ExtensionRangeOptions_UNVERIFIED ExtensionRangeOptions_VerificationState = 1 -) - -// Enum value maps for ExtensionRangeOptions_VerificationState. -var ( - ExtensionRangeOptions_VerificationState_name = map[int32]string{ - 0: "DECLARATION", - 1: "UNVERIFIED", - } - ExtensionRangeOptions_VerificationState_value = map[string]int32{ - "DECLARATION": 0, - "UNVERIFIED": 1, - } -) - -func (x ExtensionRangeOptions_VerificationState) Enum() *ExtensionRangeOptions_VerificationState { - p := new(ExtensionRangeOptions_VerificationState) - *p = x - return p -} - -func (x ExtensionRangeOptions_VerificationState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor() -} - -func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[1] -} - -func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ExtensionRangeOptions_VerificationState) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ExtensionRangeOptions_VerificationState(num) - return nil -} - -// Deprecated: Use ExtensionRangeOptions_VerificationState.Descriptor instead. -func (ExtensionRangeOptions_VerificationState) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} -} - -type FieldDescriptorProto_Type int32 - -const ( - // 0 is reserved for errors. - // Order is weird for historical reasons. - FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1 - FieldDescriptorProto_TYPE_FLOAT FieldDescriptorProto_Type = 2 - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - FieldDescriptorProto_TYPE_INT64 FieldDescriptorProto_Type = 3 - FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4 - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - FieldDescriptorProto_TYPE_INT32 FieldDescriptorProto_Type = 5 - FieldDescriptorProto_TYPE_FIXED64 FieldDescriptorProto_Type = 6 - FieldDescriptorProto_TYPE_FIXED32 FieldDescriptorProto_Type = 7 - FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8 - FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9 - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10 - FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 // Length-delimited aggregate. - // New in version 2. - FieldDescriptorProto_TYPE_BYTES FieldDescriptorProto_Type = 12 - FieldDescriptorProto_TYPE_UINT32 FieldDescriptorProto_Type = 13 - FieldDescriptorProto_TYPE_ENUM FieldDescriptorProto_Type = 14 - FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15 - FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16 - FieldDescriptorProto_TYPE_SINT32 FieldDescriptorProto_Type = 17 // Uses ZigZag encoding. - FieldDescriptorProto_TYPE_SINT64 FieldDescriptorProto_Type = 18 // Uses ZigZag encoding. -) - -// Enum value maps for FieldDescriptorProto_Type. -var ( - FieldDescriptorProto_Type_name = map[int32]string{ - 1: "TYPE_DOUBLE", - 2: "TYPE_FLOAT", - 3: "TYPE_INT64", - 4: "TYPE_UINT64", - 5: "TYPE_INT32", - 6: "TYPE_FIXED64", - 7: "TYPE_FIXED32", - 8: "TYPE_BOOL", - 9: "TYPE_STRING", - 10: "TYPE_GROUP", - 11: "TYPE_MESSAGE", - 12: "TYPE_BYTES", - 13: "TYPE_UINT32", - 14: "TYPE_ENUM", - 15: "TYPE_SFIXED32", - 16: "TYPE_SFIXED64", - 17: "TYPE_SINT32", - 18: "TYPE_SINT64", - } - FieldDescriptorProto_Type_value = map[string]int32{ - "TYPE_DOUBLE": 1, - "TYPE_FLOAT": 2, - "TYPE_INT64": 3, - "TYPE_UINT64": 4, - "TYPE_INT32": 5, - "TYPE_FIXED64": 6, - "TYPE_FIXED32": 7, - "TYPE_BOOL": 8, - "TYPE_STRING": 9, - "TYPE_GROUP": 10, - "TYPE_MESSAGE": 11, - "TYPE_BYTES": 12, - "TYPE_UINT32": 13, - "TYPE_ENUM": 14, - "TYPE_SFIXED32": 15, - "TYPE_SFIXED64": 16, - "TYPE_SINT32": 17, - "TYPE_SINT64": 18, - } -) - -func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type { - p := new(FieldDescriptorProto_Type) - *p = x - return p -} - -func (x FieldDescriptorProto_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor() -} - -func (FieldDescriptorProto_Type) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[2] -} - -func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldDescriptorProto_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldDescriptorProto_Type(num) - return nil -} - -// Deprecated: Use FieldDescriptorProto_Type.Descriptor instead. -func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 0} -} - -type FieldDescriptorProto_Label int32 - -const ( - // 0 is reserved for errors - FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1 - FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2 - FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3 -) - -// Enum value maps for FieldDescriptorProto_Label. -var ( - FieldDescriptorProto_Label_name = map[int32]string{ - 1: "LABEL_OPTIONAL", - 2: "LABEL_REQUIRED", - 3: "LABEL_REPEATED", - } - FieldDescriptorProto_Label_value = map[string]int32{ - "LABEL_OPTIONAL": 1, - "LABEL_REQUIRED": 2, - "LABEL_REPEATED": 3, - } -) - -func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label { - p := new(FieldDescriptorProto_Label) - *p = x - return p -} - -func (x FieldDescriptorProto_Label) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor() -} - -func (FieldDescriptorProto_Label) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[3] -} - -func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldDescriptorProto_Label) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldDescriptorProto_Label(num) - return nil -} - -// Deprecated: Use FieldDescriptorProto_Label.Descriptor instead. -func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 1} -} - -// Generated classes can be optimized for speed or code size. -type FileOptions_OptimizeMode int32 - -const ( - FileOptions_SPEED FileOptions_OptimizeMode = 1 // Generate complete code for parsing, serialization, - // etc. - FileOptions_CODE_SIZE FileOptions_OptimizeMode = 2 // Use ReflectionOps to implement these methods. - FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3 // Generate code using MessageLite and the lite runtime. -) - -// Enum value maps for FileOptions_OptimizeMode. -var ( - FileOptions_OptimizeMode_name = map[int32]string{ - 1: "SPEED", - 2: "CODE_SIZE", - 3: "LITE_RUNTIME", - } - FileOptions_OptimizeMode_value = map[string]int32{ - "SPEED": 1, - "CODE_SIZE": 2, - "LITE_RUNTIME": 3, - } -) - -func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode { - p := new(FileOptions_OptimizeMode) - *p = x - return p -} - -func (x FileOptions_OptimizeMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor() -} - -func (FileOptions_OptimizeMode) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[4] -} - -func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FileOptions_OptimizeMode) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FileOptions_OptimizeMode(num) - return nil -} - -// Deprecated: Use FileOptions_OptimizeMode.Descriptor instead. -func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10, 0} -} - -type FieldOptions_CType int32 - -const ( - // Default mode. - FieldOptions_STRING FieldOptions_CType = 0 - // The option [ctype=CORD] may be applied to a non-repeated field of type - // "bytes". It indicates that in C++, the data should be stored in a Cord - // instead of a string. For very large strings, this may reduce memory - // fragmentation. It may also allow better performance when parsing from a - // Cord, or when parsing with aliasing enabled, as the parsed Cord may then - // alias the original buffer. - FieldOptions_CORD FieldOptions_CType = 1 - FieldOptions_STRING_PIECE FieldOptions_CType = 2 -) - -// Enum value maps for FieldOptions_CType. -var ( - FieldOptions_CType_name = map[int32]string{ - 0: "STRING", - 1: "CORD", - 2: "STRING_PIECE", - } - FieldOptions_CType_value = map[string]int32{ - "STRING": 0, - "CORD": 1, - "STRING_PIECE": 2, - } -) - -func (x FieldOptions_CType) Enum() *FieldOptions_CType { - p := new(FieldOptions_CType) - *p = x - return p -} - -func (x FieldOptions_CType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor() -} - -func (FieldOptions_CType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[5] -} - -func (x FieldOptions_CType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldOptions_CType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldOptions_CType(num) - return nil -} - -// Deprecated: Use FieldOptions_CType.Descriptor instead. -func (FieldOptions_CType) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0} -} - -type FieldOptions_JSType int32 - -const ( - // Use the default type. - FieldOptions_JS_NORMAL FieldOptions_JSType = 0 - // Use JavaScript strings. - FieldOptions_JS_STRING FieldOptions_JSType = 1 - // Use JavaScript numbers. - FieldOptions_JS_NUMBER FieldOptions_JSType = 2 -) - -// Enum value maps for FieldOptions_JSType. -var ( - FieldOptions_JSType_name = map[int32]string{ - 0: "JS_NORMAL", - 1: "JS_STRING", - 2: "JS_NUMBER", - } - FieldOptions_JSType_value = map[string]int32{ - "JS_NORMAL": 0, - "JS_STRING": 1, - "JS_NUMBER": 2, - } -) - -func (x FieldOptions_JSType) Enum() *FieldOptions_JSType { - p := new(FieldOptions_JSType) - *p = x - return p -} - -func (x FieldOptions_JSType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor() -} - -func (FieldOptions_JSType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[6] -} - -func (x FieldOptions_JSType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldOptions_JSType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldOptions_JSType(num) - return nil -} - -// Deprecated: Use FieldOptions_JSType.Descriptor instead. -func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1} -} - -// If set to RETENTION_SOURCE, the option will be omitted from the binary. -// Note: as of January 2023, support for this is in progress and does not yet -// have an effect (b/264593489). -type FieldOptions_OptionRetention int32 - -const ( - FieldOptions_RETENTION_UNKNOWN FieldOptions_OptionRetention = 0 - FieldOptions_RETENTION_RUNTIME FieldOptions_OptionRetention = 1 - FieldOptions_RETENTION_SOURCE FieldOptions_OptionRetention = 2 -) - -// Enum value maps for FieldOptions_OptionRetention. -var ( - FieldOptions_OptionRetention_name = map[int32]string{ - 0: "RETENTION_UNKNOWN", - 1: "RETENTION_RUNTIME", - 2: "RETENTION_SOURCE", - } - FieldOptions_OptionRetention_value = map[string]int32{ - "RETENTION_UNKNOWN": 0, - "RETENTION_RUNTIME": 1, - "RETENTION_SOURCE": 2, - } -) - -func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention { - p := new(FieldOptions_OptionRetention) - *p = x - return p -} - -func (x FieldOptions_OptionRetention) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor() -} - -func (FieldOptions_OptionRetention) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[7] -} - -func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldOptions_OptionRetention) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldOptions_OptionRetention(num) - return nil -} - -// Deprecated: Use FieldOptions_OptionRetention.Descriptor instead. -func (FieldOptions_OptionRetention) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 2} -} - -// This indicates the types of entities that the field may apply to when used -// as an option. If it is unset, then the field may be freely used as an -// option on any kind of entity. Note: as of January 2023, support for this is -// in progress and does not yet have an effect (b/264593489). -type FieldOptions_OptionTargetType int32 - -const ( - FieldOptions_TARGET_TYPE_UNKNOWN FieldOptions_OptionTargetType = 0 - FieldOptions_TARGET_TYPE_FILE FieldOptions_OptionTargetType = 1 - FieldOptions_TARGET_TYPE_EXTENSION_RANGE FieldOptions_OptionTargetType = 2 - FieldOptions_TARGET_TYPE_MESSAGE FieldOptions_OptionTargetType = 3 - FieldOptions_TARGET_TYPE_FIELD FieldOptions_OptionTargetType = 4 - FieldOptions_TARGET_TYPE_ONEOF FieldOptions_OptionTargetType = 5 - FieldOptions_TARGET_TYPE_ENUM FieldOptions_OptionTargetType = 6 - FieldOptions_TARGET_TYPE_ENUM_ENTRY FieldOptions_OptionTargetType = 7 - FieldOptions_TARGET_TYPE_SERVICE FieldOptions_OptionTargetType = 8 - FieldOptions_TARGET_TYPE_METHOD FieldOptions_OptionTargetType = 9 -) - -// Enum value maps for FieldOptions_OptionTargetType. -var ( - FieldOptions_OptionTargetType_name = map[int32]string{ - 0: "TARGET_TYPE_UNKNOWN", - 1: "TARGET_TYPE_FILE", - 2: "TARGET_TYPE_EXTENSION_RANGE", - 3: "TARGET_TYPE_MESSAGE", - 4: "TARGET_TYPE_FIELD", - 5: "TARGET_TYPE_ONEOF", - 6: "TARGET_TYPE_ENUM", - 7: "TARGET_TYPE_ENUM_ENTRY", - 8: "TARGET_TYPE_SERVICE", - 9: "TARGET_TYPE_METHOD", - } - FieldOptions_OptionTargetType_value = map[string]int32{ - "TARGET_TYPE_UNKNOWN": 0, - "TARGET_TYPE_FILE": 1, - "TARGET_TYPE_EXTENSION_RANGE": 2, - "TARGET_TYPE_MESSAGE": 3, - "TARGET_TYPE_FIELD": 4, - "TARGET_TYPE_ONEOF": 5, - "TARGET_TYPE_ENUM": 6, - "TARGET_TYPE_ENUM_ENTRY": 7, - "TARGET_TYPE_SERVICE": 8, - "TARGET_TYPE_METHOD": 9, - } -) - -func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType { - p := new(FieldOptions_OptionTargetType) - *p = x - return p -} - -func (x FieldOptions_OptionTargetType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor() -} - -func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[8] -} - -func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FieldOptions_OptionTargetType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FieldOptions_OptionTargetType(num) - return nil -} - -// Deprecated: Use FieldOptions_OptionTargetType.Descriptor instead. -func (FieldOptions_OptionTargetType) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 3} -} - -// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, -// or neither? HTTP based RPC implementation may choose GET verb for safe -// methods, and PUT verb for idempotent methods instead of the default POST. -type MethodOptions_IdempotencyLevel int32 - -const ( - MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0 - MethodOptions_NO_SIDE_EFFECTS MethodOptions_IdempotencyLevel = 1 // implies idempotent - MethodOptions_IDEMPOTENT MethodOptions_IdempotencyLevel = 2 // idempotent, but may have side effects -) - -// Enum value maps for MethodOptions_IdempotencyLevel. -var ( - MethodOptions_IdempotencyLevel_name = map[int32]string{ - 0: "IDEMPOTENCY_UNKNOWN", - 1: "NO_SIDE_EFFECTS", - 2: "IDEMPOTENT", - } - MethodOptions_IdempotencyLevel_value = map[string]int32{ - "IDEMPOTENCY_UNKNOWN": 0, - "NO_SIDE_EFFECTS": 1, - "IDEMPOTENT": 2, - } -) - -func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel { - p := new(MethodOptions_IdempotencyLevel) - *p = x - return p -} - -func (x MethodOptions_IdempotencyLevel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[9].Descriptor() -} - -func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[9] -} - -func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = MethodOptions_IdempotencyLevel(num) - return nil -} - -// Deprecated: Use MethodOptions_IdempotencyLevel.Descriptor instead. -func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17, 0} -} - -type FeatureSet_FieldPresence int32 - -const ( - FeatureSet_FIELD_PRESENCE_UNKNOWN FeatureSet_FieldPresence = 0 - FeatureSet_EXPLICIT FeatureSet_FieldPresence = 1 - FeatureSet_IMPLICIT FeatureSet_FieldPresence = 2 - FeatureSet_LEGACY_REQUIRED FeatureSet_FieldPresence = 3 -) - -// Enum value maps for FeatureSet_FieldPresence. -var ( - FeatureSet_FieldPresence_name = map[int32]string{ - 0: "FIELD_PRESENCE_UNKNOWN", - 1: "EXPLICIT", - 2: "IMPLICIT", - 3: "LEGACY_REQUIRED", - } - FeatureSet_FieldPresence_value = map[string]int32{ - "FIELD_PRESENCE_UNKNOWN": 0, - "EXPLICIT": 1, - "IMPLICIT": 2, - "LEGACY_REQUIRED": 3, - } -) - -func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence { - p := new(FeatureSet_FieldPresence) - *p = x - return p -} - -func (x FeatureSet_FieldPresence) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_FieldPresence) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[10].Descriptor() -} - -func (FeatureSet_FieldPresence) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[10] -} - -func (x FeatureSet_FieldPresence) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_FieldPresence) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_FieldPresence(num) - return nil -} - -// Deprecated: Use FeatureSet_FieldPresence.Descriptor instead. -func (FeatureSet_FieldPresence) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 0} -} - -type FeatureSet_EnumType int32 - -const ( - FeatureSet_ENUM_TYPE_UNKNOWN FeatureSet_EnumType = 0 - FeatureSet_OPEN FeatureSet_EnumType = 1 - FeatureSet_CLOSED FeatureSet_EnumType = 2 -) - -// Enum value maps for FeatureSet_EnumType. -var ( - FeatureSet_EnumType_name = map[int32]string{ - 0: "ENUM_TYPE_UNKNOWN", - 1: "OPEN", - 2: "CLOSED", - } - FeatureSet_EnumType_value = map[string]int32{ - "ENUM_TYPE_UNKNOWN": 0, - "OPEN": 1, - "CLOSED": 2, - } -) - -func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType { - p := new(FeatureSet_EnumType) - *p = x - return p -} - -func (x FeatureSet_EnumType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_EnumType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[11].Descriptor() -} - -func (FeatureSet_EnumType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[11] -} - -func (x FeatureSet_EnumType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_EnumType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_EnumType(num) - return nil -} - -// Deprecated: Use FeatureSet_EnumType.Descriptor instead. -func (FeatureSet_EnumType) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 1} -} - -type FeatureSet_RepeatedFieldEncoding int32 - -const ( - FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN FeatureSet_RepeatedFieldEncoding = 0 - FeatureSet_PACKED FeatureSet_RepeatedFieldEncoding = 1 - FeatureSet_EXPANDED FeatureSet_RepeatedFieldEncoding = 2 -) - -// Enum value maps for FeatureSet_RepeatedFieldEncoding. -var ( - FeatureSet_RepeatedFieldEncoding_name = map[int32]string{ - 0: "REPEATED_FIELD_ENCODING_UNKNOWN", - 1: "PACKED", - 2: "EXPANDED", - } - FeatureSet_RepeatedFieldEncoding_value = map[string]int32{ - "REPEATED_FIELD_ENCODING_UNKNOWN": 0, - "PACKED": 1, - "EXPANDED": 2, - } -) - -func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding { - p := new(FeatureSet_RepeatedFieldEncoding) - *p = x - return p -} - -func (x FeatureSet_RepeatedFieldEncoding) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_RepeatedFieldEncoding) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[12].Descriptor() -} - -func (FeatureSet_RepeatedFieldEncoding) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[12] -} - -func (x FeatureSet_RepeatedFieldEncoding) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_RepeatedFieldEncoding) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_RepeatedFieldEncoding(num) - return nil -} - -// Deprecated: Use FeatureSet_RepeatedFieldEncoding.Descriptor instead. -func (FeatureSet_RepeatedFieldEncoding) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 2} -} - -type FeatureSet_Utf8Validation int32 - -const ( - FeatureSet_UTF8_VALIDATION_UNKNOWN FeatureSet_Utf8Validation = 0 - FeatureSet_UNVERIFIED FeatureSet_Utf8Validation = 1 - FeatureSet_VERIFY FeatureSet_Utf8Validation = 2 -) - -// Enum value maps for FeatureSet_Utf8Validation. -var ( - FeatureSet_Utf8Validation_name = map[int32]string{ - 0: "UTF8_VALIDATION_UNKNOWN", - 1: "UNVERIFIED", - 2: "VERIFY", - } - FeatureSet_Utf8Validation_value = map[string]int32{ - "UTF8_VALIDATION_UNKNOWN": 0, - "UNVERIFIED": 1, - "VERIFY": 2, - } -) - -func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation { - p := new(FeatureSet_Utf8Validation) - *p = x - return p -} - -func (x FeatureSet_Utf8Validation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_Utf8Validation) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[13].Descriptor() -} - -func (FeatureSet_Utf8Validation) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[13] -} - -func (x FeatureSet_Utf8Validation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_Utf8Validation) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_Utf8Validation(num) - return nil -} - -// Deprecated: Use FeatureSet_Utf8Validation.Descriptor instead. -func (FeatureSet_Utf8Validation) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 3} -} - -type FeatureSet_MessageEncoding int32 - -const ( - FeatureSet_MESSAGE_ENCODING_UNKNOWN FeatureSet_MessageEncoding = 0 - FeatureSet_LENGTH_PREFIXED FeatureSet_MessageEncoding = 1 - FeatureSet_DELIMITED FeatureSet_MessageEncoding = 2 -) - -// Enum value maps for FeatureSet_MessageEncoding. -var ( - FeatureSet_MessageEncoding_name = map[int32]string{ - 0: "MESSAGE_ENCODING_UNKNOWN", - 1: "LENGTH_PREFIXED", - 2: "DELIMITED", - } - FeatureSet_MessageEncoding_value = map[string]int32{ - "MESSAGE_ENCODING_UNKNOWN": 0, - "LENGTH_PREFIXED": 1, - "DELIMITED": 2, - } -) - -func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding { - p := new(FeatureSet_MessageEncoding) - *p = x - return p -} - -func (x FeatureSet_MessageEncoding) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_MessageEncoding) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[14].Descriptor() -} - -func (FeatureSet_MessageEncoding) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[14] -} - -func (x FeatureSet_MessageEncoding) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_MessageEncoding) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_MessageEncoding(num) - return nil -} - -// Deprecated: Use FeatureSet_MessageEncoding.Descriptor instead. -func (FeatureSet_MessageEncoding) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 4} -} - -type FeatureSet_JsonFormat int32 - -const ( - FeatureSet_JSON_FORMAT_UNKNOWN FeatureSet_JsonFormat = 0 - FeatureSet_ALLOW FeatureSet_JsonFormat = 1 - FeatureSet_LEGACY_BEST_EFFORT FeatureSet_JsonFormat = 2 -) - -// Enum value maps for FeatureSet_JsonFormat. -var ( - FeatureSet_JsonFormat_name = map[int32]string{ - 0: "JSON_FORMAT_UNKNOWN", - 1: "ALLOW", - 2: "LEGACY_BEST_EFFORT", - } - FeatureSet_JsonFormat_value = map[string]int32{ - "JSON_FORMAT_UNKNOWN": 0, - "ALLOW": 1, - "LEGACY_BEST_EFFORT": 2, - } -) - -func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat { - p := new(FeatureSet_JsonFormat) - *p = x - return p -} - -func (x FeatureSet_JsonFormat) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FeatureSet_JsonFormat) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[15].Descriptor() -} - -func (FeatureSet_JsonFormat) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[15] -} - -func (x FeatureSet_JsonFormat) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *FeatureSet_JsonFormat) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = FeatureSet_JsonFormat(num) - return nil -} - -// Deprecated: Use FeatureSet_JsonFormat.Descriptor instead. -func (FeatureSet_JsonFormat) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 5} -} - -// Represents the identified object's effect on the element in the original -// .proto file. -type GeneratedCodeInfo_Annotation_Semantic int32 - -const ( - // There is no effect or the effect is indescribable. - GeneratedCodeInfo_Annotation_NONE GeneratedCodeInfo_Annotation_Semantic = 0 - // The element is set or otherwise mutated. - GeneratedCodeInfo_Annotation_SET GeneratedCodeInfo_Annotation_Semantic = 1 - // An alias to the element is returned. - GeneratedCodeInfo_Annotation_ALIAS GeneratedCodeInfo_Annotation_Semantic = 2 -) - -// Enum value maps for GeneratedCodeInfo_Annotation_Semantic. -var ( - GeneratedCodeInfo_Annotation_Semantic_name = map[int32]string{ - 0: "NONE", - 1: "SET", - 2: "ALIAS", - } - GeneratedCodeInfo_Annotation_Semantic_value = map[string]int32{ - "NONE": 0, - "SET": 1, - "ALIAS": 2, - } -) - -func (x GeneratedCodeInfo_Annotation_Semantic) Enum() *GeneratedCodeInfo_Annotation_Semantic { - p := new(GeneratedCodeInfo_Annotation_Semantic) - *p = x - return p -} - -func (x GeneratedCodeInfo_Annotation_Semantic) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[16].Descriptor() -} - -func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[16] -} - -func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = GeneratedCodeInfo_Annotation_Semantic(num) - return nil -} - -// Deprecated: Use GeneratedCodeInfo_Annotation_Semantic.Descriptor instead. -func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0, 0} -} - -// The protocol compiler can output a FileDescriptorSet containing the .proto -// files it parses. -type FileDescriptorSet struct { - state protoimpl.MessageState `protogen:"open.v1"` - File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FileDescriptorSet) Reset() { - *x = FileDescriptorSet{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileDescriptorSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileDescriptorSet) ProtoMessage() {} - -func (x *FileDescriptorSet) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FileDescriptorSet.ProtoReflect.Descriptor instead. -func (*FileDescriptorSet) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0} -} - -func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto { - if x != nil { - return x.File - } - return nil -} - -// Describes a complete .proto file. -type FileDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // file name, relative to root of source tree - Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` // e.g. "foo", "foo.bar", etc. - // Names of files imported by this file. - Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` - // Indexes of the public imported files in the dependency list above. - PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` - // Indexes of the weak imported files in the dependency list. - // For Google-internal migration only. Do not use. - WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` - // All top-level definitions in this file. - MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` - EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` - Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` - Options *FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - // This field contains optional information about the original source code. - // You may safely remove this entire field without harming runtime - // functionality of the descriptors -- the information is needed only by - // development tools. - SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` - // The syntax of the proto file. - // The supported values are "proto2", "proto3", and "editions". - // - // If `edition` is present, this value must be "editions". - Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` - // The edition of the proto file. - Edition *Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FileDescriptorProto) Reset() { - *x = FileDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileDescriptorProto) ProtoMessage() {} - -func (x *FileDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FileDescriptorProto.ProtoReflect.Descriptor instead. -func (*FileDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{1} -} - -func (x *FileDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *FileDescriptorProto) GetPackage() string { - if x != nil && x.Package != nil { - return *x.Package - } - return "" -} - -func (x *FileDescriptorProto) GetDependency() []string { - if x != nil { - return x.Dependency - } - return nil -} - -func (x *FileDescriptorProto) GetPublicDependency() []int32 { - if x != nil { - return x.PublicDependency - } - return nil -} - -func (x *FileDescriptorProto) GetWeakDependency() []int32 { - if x != nil { - return x.WeakDependency - } - return nil -} - -func (x *FileDescriptorProto) GetMessageType() []*DescriptorProto { - if x != nil { - return x.MessageType - } - return nil -} - -func (x *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto { - if x != nil { - return x.EnumType - } - return nil -} - -func (x *FileDescriptorProto) GetService() []*ServiceDescriptorProto { - if x != nil { - return x.Service - } - return nil -} - -func (x *FileDescriptorProto) GetExtension() []*FieldDescriptorProto { - if x != nil { - return x.Extension - } - return nil -} - -func (x *FileDescriptorProto) GetOptions() *FileOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo { - if x != nil { - return x.SourceCodeInfo - } - return nil -} - -func (x *FileDescriptorProto) GetSyntax() string { - if x != nil && x.Syntax != nil { - return *x.Syntax - } - return "" -} - -func (x *FileDescriptorProto) GetEdition() Edition { - if x != nil && x.Edition != nil { - return *x.Edition - } - return Edition_EDITION_UNKNOWN -} - -// Describes a message type. -type DescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"` - Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"` - NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nested_type,omitempty"` - EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"` - OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"` - Options *MessageOptions `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"` - ReservedRange []*DescriptorProto_ReservedRange `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` - // Reserved field names, which may not be used by fields in the same message. - // A given name may only be reserved once. - ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescriptorProto) Reset() { - *x = DescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescriptorProto) ProtoMessage() {} - -func (x *DescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescriptorProto.ProtoReflect.Descriptor instead. -func (*DescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2} -} - -func (x *DescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *DescriptorProto) GetField() []*FieldDescriptorProto { - if x != nil { - return x.Field - } - return nil -} - -func (x *DescriptorProto) GetExtension() []*FieldDescriptorProto { - if x != nil { - return x.Extension - } - return nil -} - -func (x *DescriptorProto) GetNestedType() []*DescriptorProto { - if x != nil { - return x.NestedType - } - return nil -} - -func (x *DescriptorProto) GetEnumType() []*EnumDescriptorProto { - if x != nil { - return x.EnumType - } - return nil -} - -func (x *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange { - if x != nil { - return x.ExtensionRange - } - return nil -} - -func (x *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto { - if x != nil { - return x.OneofDecl - } - return nil -} - -func (x *DescriptorProto) GetOptions() *MessageOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange { - if x != nil { - return x.ReservedRange - } - return nil -} - -func (x *DescriptorProto) GetReservedName() []string { - if x != nil { - return x.ReservedName - } - return nil -} - -type ExtensionRangeOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - // For external users: DO NOT USE. We are in the process of open sourcing - // extension declaration and executing internal cleanups before it can be - // used externally. - Declaration []*ExtensionRangeOptions_Declaration `protobuf:"bytes,2,rep,name=declaration" json:"declaration,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"` - // The verification state of the range. - // TODO: flip the default to DECLARATION once all empty ranges - // are marked as UNVERIFIED. - Verification *ExtensionRangeOptions_VerificationState `protobuf:"varint,3,opt,name=verification,enum=google.protobuf.ExtensionRangeOptions_VerificationState,def=1" json:"verification,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for ExtensionRangeOptions fields. -const ( - Default_ExtensionRangeOptions_Verification = ExtensionRangeOptions_UNVERIFIED -) - -func (x *ExtensionRangeOptions) Reset() { - *x = ExtensionRangeOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExtensionRangeOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionRangeOptions) ProtoMessage() {} - -func (x *ExtensionRangeOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtensionRangeOptions.ProtoReflect.Descriptor instead. -func (*ExtensionRangeOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3} -} - -func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration { - if x != nil { - return x.Declaration - } - return nil -} - -func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState { - if x != nil && x.Verification != nil { - return *x.Verification - } - return Default_ExtensionRangeOptions_Verification -} - -// Describes a field within a message. -type FieldDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"` - Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"` - // If type_name is set, this need not be set. If both this and type_name - // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"` - // For message and enum types, this is the name of the type. If the name - // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - // rules are used to find the type (i.e. first the nested types within this - // message are searched, then within the parent, on up to the root - // namespace). - TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // For extensions, this is the name of the type being extended. It is - // resolved in the same manner as type_name. - Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"` - // For numeric types, contains the original text representation of the value. - // For booleans, "true" or "false". - // For strings, contains the default text contents (not escaped in any way). - // For bytes, contains the C escaped value. All bytes >= 128 are escaped. - DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"` - // If set, gives the index of a oneof in the containing type's oneof_decl - // list. This field is a member of that oneof. - OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"` - // JSON name of this field. The value is set by protocol compiler. If the - // user has set a "json_name" option on this field, that option's value - // will be used. Otherwise, it's deduced from the field's name by converting - // it to camelCase. - JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"` - Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - // If true, this is a proto3 "optional". When a proto3 field is optional, it - // tracks presence regardless of field type. - // - // When proto3_optional is true, this field must be belong to a oneof to - // signal to old proto3 clients that presence is tracked for this field. This - // oneof is known as a "synthetic" oneof, and this field must be its sole - // member (each proto3 optional field gets its own synthetic oneof). Synthetic - // oneofs exist in the descriptor only, and do not generate any API. Synthetic - // oneofs must be ordered after all "real" oneofs. - // - // For message fields, proto3_optional doesn't create any semantic change, - // since non-repeated message fields always track presence. However it still - // indicates the semantic detail of whether the user wrote "optional" or not. - // This can be useful for round-tripping the .proto file. For consistency we - // give message fields a synthetic oneof also, even though it is not required - // to track presence. This is especially important because the parser can't - // tell if a field is a message or an enum, so it must always create a - // synthetic oneof. - // - // Proto2 optional fields do not set this flag, because they already indicate - // optional with `LABEL_OPTIONAL`. - Proto3Optional *bool `protobuf:"varint,17,opt,name=proto3_optional,json=proto3Optional" json:"proto3_optional,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FieldDescriptorProto) Reset() { - *x = FieldDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FieldDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldDescriptorProto) ProtoMessage() {} - -func (x *FieldDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FieldDescriptorProto.ProtoReflect.Descriptor instead. -func (*FieldDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4} -} - -func (x *FieldDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *FieldDescriptorProto) GetNumber() int32 { - if x != nil && x.Number != nil { - return *x.Number - } - return 0 -} - -func (x *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label { - if x != nil && x.Label != nil { - return *x.Label - } - return FieldDescriptorProto_LABEL_OPTIONAL -} - -func (x *FieldDescriptorProto) GetType() FieldDescriptorProto_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return FieldDescriptorProto_TYPE_DOUBLE -} - -func (x *FieldDescriptorProto) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" -} - -func (x *FieldDescriptorProto) GetExtendee() string { - if x != nil && x.Extendee != nil { - return *x.Extendee - } - return "" -} - -func (x *FieldDescriptorProto) GetDefaultValue() string { - if x != nil && x.DefaultValue != nil { - return *x.DefaultValue - } - return "" -} - -func (x *FieldDescriptorProto) GetOneofIndex() int32 { - if x != nil && x.OneofIndex != nil { - return *x.OneofIndex - } - return 0 -} - -func (x *FieldDescriptorProto) GetJsonName() string { - if x != nil && x.JsonName != nil { - return *x.JsonName - } - return "" -} - -func (x *FieldDescriptorProto) GetOptions() *FieldOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *FieldDescriptorProto) GetProto3Optional() bool { - if x != nil && x.Proto3Optional != nil { - return *x.Proto3Optional - } - return false -} - -// Describes a oneof. -type OneofDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OneofDescriptorProto) Reset() { - *x = OneofDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OneofDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OneofDescriptorProto) ProtoMessage() {} - -func (x *OneofDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OneofDescriptorProto.ProtoReflect.Descriptor instead. -func (*OneofDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{5} -} - -func (x *OneofDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *OneofDescriptorProto) GetOptions() *OneofOptions { - if x != nil { - return x.Options - } - return nil -} - -// Describes an enum type. -type EnumDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` - Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - // Range of reserved numeric values. Reserved numeric values may not be used - // by enum values in the same enum declaration. Reserved ranges may not - // overlap. - ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` - // Reserved enum value names, which may not be reused. A given name may only - // be reserved once. - ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnumDescriptorProto) Reset() { - *x = EnumDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumDescriptorProto) ProtoMessage() {} - -func (x *EnumDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnumDescriptorProto.ProtoReflect.Descriptor instead. -func (*EnumDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6} -} - -func (x *EnumDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto { - if x != nil { - return x.Value - } - return nil -} - -func (x *EnumDescriptorProto) GetOptions() *EnumOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange { - if x != nil { - return x.ReservedRange - } - return nil -} - -func (x *EnumDescriptorProto) GetReservedName() []string { - if x != nil { - return x.ReservedName - } - return nil -} - -// Describes a value within an enum. -type EnumValueDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` - Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnumValueDescriptorProto) Reset() { - *x = EnumValueDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumValueDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumValueDescriptorProto) ProtoMessage() {} - -func (x *EnumValueDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnumValueDescriptorProto.ProtoReflect.Descriptor instead. -func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{7} -} - -func (x *EnumValueDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *EnumValueDescriptorProto) GetNumber() int32 { - if x != nil && x.Number != nil { - return *x.Number - } - return 0 -} - -func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions { - if x != nil { - return x.Options - } - return nil -} - -// Describes a service. -type ServiceDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"` - Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceDescriptorProto) Reset() { - *x = ServiceDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceDescriptorProto) ProtoMessage() {} - -func (x *ServiceDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServiceDescriptorProto.ProtoReflect.Descriptor instead. -func (*ServiceDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{8} -} - -func (x *ServiceDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto { - if x != nil { - return x.Method - } - return nil -} - -func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions { - if x != nil { - return x.Options - } - return nil -} - -// Describes a method of a service. -type MethodDescriptorProto struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - // Input and output type names. These are resolved in the same way as - // FieldDescriptorProto.type_name, but must refer to a message type. - InputType *string `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"` - OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"` - Options *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"` - // Identifies if client streams multiple client messages - ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"` - // Identifies if server streams multiple server messages - ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for MethodDescriptorProto fields. -const ( - Default_MethodDescriptorProto_ClientStreaming = bool(false) - Default_MethodDescriptorProto_ServerStreaming = bool(false) -) - -func (x *MethodDescriptorProto) Reset() { - *x = MethodDescriptorProto{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MethodDescriptorProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MethodDescriptorProto) ProtoMessage() {} - -func (x *MethodDescriptorProto) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MethodDescriptorProto.ProtoReflect.Descriptor instead. -func (*MethodDescriptorProto) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{9} -} - -func (x *MethodDescriptorProto) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *MethodDescriptorProto) GetInputType() string { - if x != nil && x.InputType != nil { - return *x.InputType - } - return "" -} - -func (x *MethodDescriptorProto) GetOutputType() string { - if x != nil && x.OutputType != nil { - return *x.OutputType - } - return "" -} - -func (x *MethodDescriptorProto) GetOptions() *MethodOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *MethodDescriptorProto) GetClientStreaming() bool { - if x != nil && x.ClientStreaming != nil { - return *x.ClientStreaming - } - return Default_MethodDescriptorProto_ClientStreaming -} - -func (x *MethodDescriptorProto) GetServerStreaming() bool { - if x != nil && x.ServerStreaming != nil { - return *x.ServerStreaming - } - return Default_MethodDescriptorProto_ServerStreaming -} - -type FileOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Sets the Java package where classes generated from this .proto will be - // placed. By default, the proto package is used, but this is often - // inappropriate because proto packages do not normally start with backwards - // domain names. - JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"` - // Controls the name of the wrapper Java class generated for the .proto file. - // That class will always contain the .proto file's getDescriptor() method as - // well as any top-level extensions defined in the .proto file. - // If java_multiple_files is disabled, then all the other classes from the - // .proto file will be nested inside the single wrapper outer class. - JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"` - // If enabled, then the Java code generator will generate a separate .java - // file for each top-level message, enum, and service defined in the .proto - // file. Thus, these types will *not* be nested inside the wrapper class - // named by java_outer_classname. However, the wrapper class will still be - // generated to contain the file's getDescriptor() method as well as any - // top-level extensions defined in the file. - JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"` - // This option does nothing. - // - // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. - JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"` - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. - JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"` - OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"` - // Sets the Go package where structs generated from this .proto will be - // placed. If omitted, the Go package will be derived from the following: - // - The basename of the package import path, if provided. - // - Otherwise, the package statement in the .proto file, if present. - // - Otherwise, the basename of the .proto file, without extension. - GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"` - // Should generic services be generated in each language? "Generic" services - // are not specific to any particular RPC system. They are generated by the - // main code generators in each language (without additional plugins). - // Generic services were the only kind of service generation supported by - // early versions of google.protobuf. - // - // Generic services are now considered deprecated in favor of using plugins - // that generate code specific to your particular RPC system. Therefore, - // these default to false. Old code which depends on generic services should - // explicitly set them to true. - CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"` - JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"` - PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"` - PhpGenericServices *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"` - // Is this file deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for everything in the file, or it will be completely ignored; in the very - // least, this is a formalization for deprecating files. - Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // Enables the use of arenas for the proto messages in this file. This applies - // only to generated classes for C++. - CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=1" json:"cc_enable_arenas,omitempty"` - // Sets the objective c class prefix which is prepended to all objective c - // generated classes from this .proto. There is no default. - ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"` - // Namespace for generated classes; defaults to the package. - CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"` - // By default Swift generators will take the proto package and CamelCase it - // replacing '.' with underscore and use that to prefix the types/symbols - // defined. When this options is provided, they will use this value instead - // to prefix the types/symbols defined. - SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"` - // Sets the php class prefix which is prepended to all php generated classes - // from this .proto. Default is empty. - PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"` - // Use this option to change the namespace of php generated classes. Default - // is empty. When this option is empty, the package name will be used for - // determining the namespace. - PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"` - // Use this option to change the namespace of php generated metadata classes. - // Default is empty. When this option is empty, the proto file name will be - // used for determining the namespace. - PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"` - // Use this option to change the package of ruby generated classes. Default - // is empty. When this option is not set, the package name will be used for - // determining the ruby package. - RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. - // See the documentation for the "Options" section above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for FileOptions fields. -const ( - Default_FileOptions_JavaMultipleFiles = bool(false) - Default_FileOptions_JavaStringCheckUtf8 = bool(false) - Default_FileOptions_OptimizeFor = FileOptions_SPEED - Default_FileOptions_CcGenericServices = bool(false) - Default_FileOptions_JavaGenericServices = bool(false) - Default_FileOptions_PyGenericServices = bool(false) - Default_FileOptions_PhpGenericServices = bool(false) - Default_FileOptions_Deprecated = bool(false) - Default_FileOptions_CcEnableArenas = bool(true) -) - -func (x *FileOptions) Reset() { - *x = FileOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileOptions) ProtoMessage() {} - -func (x *FileOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FileOptions.ProtoReflect.Descriptor instead. -func (*FileOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10} -} - -func (x *FileOptions) GetJavaPackage() string { - if x != nil && x.JavaPackage != nil { - return *x.JavaPackage - } - return "" -} - -func (x *FileOptions) GetJavaOuterClassname() string { - if x != nil && x.JavaOuterClassname != nil { - return *x.JavaOuterClassname - } - return "" -} - -func (x *FileOptions) GetJavaMultipleFiles() bool { - if x != nil && x.JavaMultipleFiles != nil { - return *x.JavaMultipleFiles - } - return Default_FileOptions_JavaMultipleFiles -} - -// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. -func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool { - if x != nil && x.JavaGenerateEqualsAndHash != nil { - return *x.JavaGenerateEqualsAndHash - } - return false -} - -func (x *FileOptions) GetJavaStringCheckUtf8() bool { - if x != nil && x.JavaStringCheckUtf8 != nil { - return *x.JavaStringCheckUtf8 - } - return Default_FileOptions_JavaStringCheckUtf8 -} - -func (x *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode { - if x != nil && x.OptimizeFor != nil { - return *x.OptimizeFor - } - return Default_FileOptions_OptimizeFor -} - -func (x *FileOptions) GetGoPackage() string { - if x != nil && x.GoPackage != nil { - return *x.GoPackage - } - return "" -} - -func (x *FileOptions) GetCcGenericServices() bool { - if x != nil && x.CcGenericServices != nil { - return *x.CcGenericServices - } - return Default_FileOptions_CcGenericServices -} - -func (x *FileOptions) GetJavaGenericServices() bool { - if x != nil && x.JavaGenericServices != nil { - return *x.JavaGenericServices - } - return Default_FileOptions_JavaGenericServices -} - -func (x *FileOptions) GetPyGenericServices() bool { - if x != nil && x.PyGenericServices != nil { - return *x.PyGenericServices - } - return Default_FileOptions_PyGenericServices -} - -func (x *FileOptions) GetPhpGenericServices() bool { - if x != nil && x.PhpGenericServices != nil { - return *x.PhpGenericServices - } - return Default_FileOptions_PhpGenericServices -} - -func (x *FileOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_FileOptions_Deprecated -} - -func (x *FileOptions) GetCcEnableArenas() bool { - if x != nil && x.CcEnableArenas != nil { - return *x.CcEnableArenas - } - return Default_FileOptions_CcEnableArenas -} - -func (x *FileOptions) GetObjcClassPrefix() string { - if x != nil && x.ObjcClassPrefix != nil { - return *x.ObjcClassPrefix - } - return "" -} - -func (x *FileOptions) GetCsharpNamespace() string { - if x != nil && x.CsharpNamespace != nil { - return *x.CsharpNamespace - } - return "" -} - -func (x *FileOptions) GetSwiftPrefix() string { - if x != nil && x.SwiftPrefix != nil { - return *x.SwiftPrefix - } - return "" -} - -func (x *FileOptions) GetPhpClassPrefix() string { - if x != nil && x.PhpClassPrefix != nil { - return *x.PhpClassPrefix - } - return "" -} - -func (x *FileOptions) GetPhpNamespace() string { - if x != nil && x.PhpNamespace != nil { - return *x.PhpNamespace - } - return "" -} - -func (x *FileOptions) GetPhpMetadataNamespace() string { - if x != nil && x.PhpMetadataNamespace != nil { - return *x.PhpMetadataNamespace - } - return "" -} - -func (x *FileOptions) GetRubyPackage() string { - if x != nil && x.RubyPackage != nil { - return *x.RubyPackage - } - return "" -} - -func (x *FileOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type MessageOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Set true to use the old proto1 MessageSet wire format for extensions. - // This is provided for backwards-compatibility with the MessageSet wire - // format. You should not use this for any other reason: It's less - // efficient, has fewer features, and is more complicated. - // - // The message must be defined exactly as follows: - // - // message Foo { - // option message_set_wire_format = true; - // extensions 4 to max; - // } - // - // Note that the message cannot have any defined fields; MessageSets only - // have extensions. - // - // All extensions of your type must be singular messages; e.g. they cannot - // be int32s, enums, or repeated messages. - // - // Because this is an option, the above two restrictions are not enforced by - // the protocol compiler. - MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"` - // Disables the generation of the standard "descriptor()" accessor, which can - // conflict with a field of the same name. This is meant to make migration - // from proto1 easier; new code should avoid fields named "descriptor". - NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"` - // Is this message deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the message, or it will be completely ignored; in the very least, - // this is a formalization for deprecating messages. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // NOTE: Do not set the option in .proto files. Always use the maps syntax - // instead. The option should only be implicitly set by the proto compiler - // parser. - // - // Whether the message is an automatically generated map entry type for the - // maps field. - // - // For maps fields: - // - // map map_field = 1; - // - // The parsed descriptor looks like: - // - // message MapFieldEntry { - // option map_entry = true; - // optional KeyType key = 1; - // optional ValueType value = 2; - // } - // repeated MapFieldEntry map_field = 1; - // - // Implementations may choose not to generate the map_entry=true message, but - // use a native map in the target language to hold the keys and values. - // The reflection APIs in such implementations still need to work as - // if the field is a repeated message field. - MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"` - // Enable the legacy handling of JSON field name conflicts. This lowercases - // and strips underscored from the fields before comparison in proto3 only. - // The new behavior takes `json_name` into account and applies to proto2 as - // well. - // - // This should only be used as a temporary measure against broken builds due - // to the change in behavior for JSON field name conflicts. - // - // TODO This is legacy behavior we plan to remove once downstream - // teams have had time to migrate. - // - // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. - DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,11,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,12,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for MessageOptions fields. -const ( - Default_MessageOptions_MessageSetWireFormat = bool(false) - Default_MessageOptions_NoStandardDescriptorAccessor = bool(false) - Default_MessageOptions_Deprecated = bool(false) -) - -func (x *MessageOptions) Reset() { - *x = MessageOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MessageOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOptions) ProtoMessage() {} - -func (x *MessageOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead. -func (*MessageOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{11} -} - -func (x *MessageOptions) GetMessageSetWireFormat() bool { - if x != nil && x.MessageSetWireFormat != nil { - return *x.MessageSetWireFormat - } - return Default_MessageOptions_MessageSetWireFormat -} - -func (x *MessageOptions) GetNoStandardDescriptorAccessor() bool { - if x != nil && x.NoStandardDescriptorAccessor != nil { - return *x.NoStandardDescriptorAccessor - } - return Default_MessageOptions_NoStandardDescriptorAccessor -} - -func (x *MessageOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_MessageOptions_Deprecated -} - -func (x *MessageOptions) GetMapEntry() bool { - if x != nil && x.MapEntry != nil { - return *x.MapEntry - } - return false -} - -// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. -func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool { - if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil { - return *x.DeprecatedLegacyJsonFieldConflicts - } - return false -} - -func (x *MessageOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type FieldOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ctype option instructs the C++ code generator to use a different - // representation of the field than it normally would. See the specific - // options below. This option is only implemented to support use of - // [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - // type "bytes" in the open source release -- sorry, we'll try to include - // other types in a future version! - Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"` - // The packed option can be enabled for repeated primitive fields to enable - // a more efficient representation on the wire. Rather than repeatedly - // writing the tag and type for each element, the entire array is encoded as - // a single length-delimited blob. In proto3, only explicit setting it to - // false will avoid using packed encoding. - Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"` - // The jstype option determines the JavaScript type used for values of the - // field. The option is permitted only for 64 bit integral and fixed types - // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - // is represented as JavaScript string, which avoids loss of precision that - // can happen when a large value is converted to a floating point JavaScript. - // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - // use the JavaScript "number" type. The behavior of the default option - // JS_NORMAL is implementation dependent. - // - // This option is an enum to permit additional types to be added, e.g. - // goog.math.Integer. - Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"` - // Should this field be parsed lazily? Lazy applies only to message-type - // fields. It means that when the outer message is initially parsed, the - // inner message's contents will not be parsed but instead stored in encoded - // form. The inner message will actually be parsed when it is first accessed. - // - // This is only a hint. Implementations are free to choose whether to use - // eager or lazy parsing regardless of the value of this option. However, - // setting this option true suggests that the protocol author believes that - // using lazy parsing on this field is worth the additional bookkeeping - // overhead typically needed to implement it. - // - // This option does not affect the public interface of any generated code; - // all method signatures remain the same. Furthermore, thread-safety of the - // interface is not affected by this option; const methods remain safe to - // call from multiple threads concurrently, while non-const methods continue - // to require exclusive access. - // - // Note that implementations may choose not to check required fields within - // a lazy sub-message. That is, calling IsInitialized() on the outer message - // may return true even if the inner message has missing required fields. - // This is necessary because otherwise the inner message would have to be - // parsed in order to perform the check, defeating the purpose of lazy - // parsing. An implementation which chooses not to check required fields - // must be consistent about it. That is, for any particular sub-message, the - // implementation must either *always* check its required fields, or *never* - // check its required fields, regardless of whether or not the message has - // been parsed. - // - // As of May 2022, lazy verifies the contents of the byte stream during - // parsing. An invalid byte stream will cause the overall parsing to fail. - Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"` - // unverified_lazy does no correctness checks on the byte stream. This should - // only be used where lazy with verification is prohibitive for performance - // reasons. - UnverifiedLazy *bool `protobuf:"varint,15,opt,name=unverified_lazy,json=unverifiedLazy,def=0" json:"unverified_lazy,omitempty"` - // Is this field deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for accessors, or it will be completely ignored; in the very least, this - // is a formalization for deprecating fields. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // For Google-internal migration only. Do not use. - Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"` - // Indicate that the field value should not be printed out when using debug - // formats, e.g. when the field contains sensitive credentials. - DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` - Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"` - Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"` - EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for FieldOptions fields. -const ( - Default_FieldOptions_Ctype = FieldOptions_STRING - Default_FieldOptions_Jstype = FieldOptions_JS_NORMAL - Default_FieldOptions_Lazy = bool(false) - Default_FieldOptions_UnverifiedLazy = bool(false) - Default_FieldOptions_Deprecated = bool(false) - Default_FieldOptions_Weak = bool(false) - Default_FieldOptions_DebugRedact = bool(false) -) - -func (x *FieldOptions) Reset() { - *x = FieldOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FieldOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldOptions) ProtoMessage() {} - -func (x *FieldOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead. -func (*FieldOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12} -} - -func (x *FieldOptions) GetCtype() FieldOptions_CType { - if x != nil && x.Ctype != nil { - return *x.Ctype - } - return Default_FieldOptions_Ctype -} - -func (x *FieldOptions) GetPacked() bool { - if x != nil && x.Packed != nil { - return *x.Packed - } - return false -} - -func (x *FieldOptions) GetJstype() FieldOptions_JSType { - if x != nil && x.Jstype != nil { - return *x.Jstype - } - return Default_FieldOptions_Jstype -} - -func (x *FieldOptions) GetLazy() bool { - if x != nil && x.Lazy != nil { - return *x.Lazy - } - return Default_FieldOptions_Lazy -} - -func (x *FieldOptions) GetUnverifiedLazy() bool { - if x != nil && x.UnverifiedLazy != nil { - return *x.UnverifiedLazy - } - return Default_FieldOptions_UnverifiedLazy -} - -func (x *FieldOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_FieldOptions_Deprecated -} - -func (x *FieldOptions) GetWeak() bool { - if x != nil && x.Weak != nil { - return *x.Weak - } - return Default_FieldOptions_Weak -} - -func (x *FieldOptions) GetDebugRedact() bool { - if x != nil && x.DebugRedact != nil { - return *x.DebugRedact - } - return Default_FieldOptions_DebugRedact -} - -func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention { - if x != nil && x.Retention != nil { - return *x.Retention - } - return FieldOptions_RETENTION_UNKNOWN -} - -func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType { - if x != nil { - return x.Targets - } - return nil -} - -func (x *FieldOptions) GetEditionDefaults() []*FieldOptions_EditionDefault { - if x != nil { - return x.EditionDefaults - } - return nil -} - -func (x *FieldOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type OneofOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OneofOptions) Reset() { - *x = OneofOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OneofOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OneofOptions) ProtoMessage() {} - -func (x *OneofOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead. -func (*OneofOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{13} -} - -func (x *OneofOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type EnumOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Set this option to true to allow mapping different tag names to the same - // value. - AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"` - // Is this enum deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum, or it will be completely ignored; in the very least, this - // is a formalization for deprecating enums. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // Enable the legacy handling of JSON field name conflicts. This lowercases - // and strips underscored from the fields before comparison in proto3 only. - // The new behavior takes `json_name` into account and applies to proto2 as - // well. - // TODO Remove this legacy behavior once downstream teams have - // had time to migrate. - // - // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. - DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,6,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,7,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for EnumOptions fields. -const ( - Default_EnumOptions_Deprecated = bool(false) -) - -func (x *EnumOptions) Reset() { - *x = EnumOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumOptions) ProtoMessage() {} - -func (x *EnumOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead. -func (*EnumOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{14} -} - -func (x *EnumOptions) GetAllowAlias() bool { - if x != nil && x.AllowAlias != nil { - return *x.AllowAlias - } - return false -} - -func (x *EnumOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_EnumOptions_Deprecated -} - -// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. -func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool { - if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil { - return *x.DeprecatedLegacyJsonFieldConflicts - } - return false -} - -func (x *EnumOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type EnumValueOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Is this enum value deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum value, or it will be completely ignored; in the very least, - // this is a formalization for deprecating enum values. - Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"` - // Indicate that fields annotated with this enum value should not be printed - // out when using debug formats, e.g. when the field contains sensitive - // credentials. - DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for EnumValueOptions fields. -const ( - Default_EnumValueOptions_Deprecated = bool(false) - Default_EnumValueOptions_DebugRedact = bool(false) -) - -func (x *EnumValueOptions) Reset() { - *x = EnumValueOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumValueOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumValueOptions) ProtoMessage() {} - -func (x *EnumValueOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead. -func (*EnumValueOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{15} -} - -func (x *EnumValueOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_EnumValueOptions_Deprecated -} - -func (x *EnumValueOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *EnumValueOptions) GetDebugRedact() bool { - if x != nil && x.DebugRedact != nil { - return *x.DebugRedact - } - return Default_EnumValueOptions_DebugRedact -} - -func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type ServiceOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,34,opt,name=features" json:"features,omitempty"` - // Is this service deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the service, or it will be completely ignored; in the very least, - // this is a formalization for deprecating services. - Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for ServiceOptions fields. -const ( - Default_ServiceOptions_Deprecated = bool(false) -) - -func (x *ServiceOptions) Reset() { - *x = ServiceOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceOptions) ProtoMessage() {} - -func (x *ServiceOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead. -func (*ServiceOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{16} -} - -func (x *ServiceOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *ServiceOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_ServiceOptions_Deprecated -} - -func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -type MethodOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Is this method deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the method, or it will be completely ignored; in the very least, - // this is a formalization for deprecating methods. - Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"` - // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,35,opt,name=features" json:"features,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Default values for MethodOptions fields. -const ( - Default_MethodOptions_Deprecated = bool(false) - Default_MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN -) - -func (x *MethodOptions) Reset() { - *x = MethodOptions{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MethodOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MethodOptions) ProtoMessage() {} - -func (x *MethodOptions) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead. -func (*MethodOptions) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17} -} - -func (x *MethodOptions) GetDeprecated() bool { - if x != nil && x.Deprecated != nil { - return *x.Deprecated - } - return Default_MethodOptions_Deprecated -} - -func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel { - if x != nil && x.IdempotencyLevel != nil { - return *x.IdempotencyLevel - } - return Default_MethodOptions_IdempotencyLevel -} - -func (x *MethodOptions) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption { - if x != nil { - return x.UninterpretedOption - } - return nil -} - -// A message representing a option the parser does not recognize. This only -// appears in options protos created by the compiler::Parser class. -// DescriptorPool resolves these when building Descriptor objects. Therefore, -// options protos in descriptor objects (e.g. returned by Descriptor::options(), -// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -// in them. -type UninterpretedOption struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"` - // The value of the uninterpreted option, in whatever type the tokenizer - // identified it as during parsing. Exactly one of these should be set. - IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"` - PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"` - NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"` - DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` - StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` - AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UninterpretedOption) Reset() { - *x = UninterpretedOption{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UninterpretedOption) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UninterpretedOption) ProtoMessage() {} - -func (x *UninterpretedOption) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UninterpretedOption.ProtoReflect.Descriptor instead. -func (*UninterpretedOption) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18} -} - -func (x *UninterpretedOption) GetName() []*UninterpretedOption_NamePart { - if x != nil { - return x.Name - } - return nil -} - -func (x *UninterpretedOption) GetIdentifierValue() string { - if x != nil && x.IdentifierValue != nil { - return *x.IdentifierValue - } - return "" -} - -func (x *UninterpretedOption) GetPositiveIntValue() uint64 { - if x != nil && x.PositiveIntValue != nil { - return *x.PositiveIntValue - } - return 0 -} - -func (x *UninterpretedOption) GetNegativeIntValue() int64 { - if x != nil && x.NegativeIntValue != nil { - return *x.NegativeIntValue - } - return 0 -} - -func (x *UninterpretedOption) GetDoubleValue() float64 { - if x != nil && x.DoubleValue != nil { - return *x.DoubleValue - } - return 0 -} - -func (x *UninterpretedOption) GetStringValue() []byte { - if x != nil { - return x.StringValue - } - return nil -} - -func (x *UninterpretedOption) GetAggregateValue() string { - if x != nil && x.AggregateValue != nil { - return *x.AggregateValue - } - return "" -} - -// TODO Enums in C++ gencode (and potentially other languages) are -// not well scoped. This means that each of the feature enums below can clash -// with each other. The short names we've chosen maximize call-site -// readability, but leave us very open to this scenario. A future feature will -// be designed and implemented to handle this, hopefully before we ever hit a -// conflict here. -type FeatureSet struct { - state protoimpl.MessageState `protogen:"open.v1"` - FieldPresence *FeatureSet_FieldPresence `protobuf:"varint,1,opt,name=field_presence,json=fieldPresence,enum=google.protobuf.FeatureSet_FieldPresence" json:"field_presence,omitempty"` - EnumType *FeatureSet_EnumType `protobuf:"varint,2,opt,name=enum_type,json=enumType,enum=google.protobuf.FeatureSet_EnumType" json:"enum_type,omitempty"` - RepeatedFieldEncoding *FeatureSet_RepeatedFieldEncoding `protobuf:"varint,3,opt,name=repeated_field_encoding,json=repeatedFieldEncoding,enum=google.protobuf.FeatureSet_RepeatedFieldEncoding" json:"repeated_field_encoding,omitempty"` - Utf8Validation *FeatureSet_Utf8Validation `protobuf:"varint,4,opt,name=utf8_validation,json=utf8Validation,enum=google.protobuf.FeatureSet_Utf8Validation" json:"utf8_validation,omitempty"` - MessageEncoding *FeatureSet_MessageEncoding `protobuf:"varint,5,opt,name=message_encoding,json=messageEncoding,enum=google.protobuf.FeatureSet_MessageEncoding" json:"message_encoding,omitempty"` - JsonFormat *FeatureSet_JsonFormat `protobuf:"varint,6,opt,name=json_format,json=jsonFormat,enum=google.protobuf.FeatureSet_JsonFormat" json:"json_format,omitempty"` - extensionFields protoimpl.ExtensionFields - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FeatureSet) Reset() { - *x = FeatureSet{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FeatureSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FeatureSet) ProtoMessage() {} - -func (x *FeatureSet) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FeatureSet.ProtoReflect.Descriptor instead. -func (*FeatureSet) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19} -} - -func (x *FeatureSet) GetFieldPresence() FeatureSet_FieldPresence { - if x != nil && x.FieldPresence != nil { - return *x.FieldPresence - } - return FeatureSet_FIELD_PRESENCE_UNKNOWN -} - -func (x *FeatureSet) GetEnumType() FeatureSet_EnumType { - if x != nil && x.EnumType != nil { - return *x.EnumType - } - return FeatureSet_ENUM_TYPE_UNKNOWN -} - -func (x *FeatureSet) GetRepeatedFieldEncoding() FeatureSet_RepeatedFieldEncoding { - if x != nil && x.RepeatedFieldEncoding != nil { - return *x.RepeatedFieldEncoding - } - return FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN -} - -func (x *FeatureSet) GetUtf8Validation() FeatureSet_Utf8Validation { - if x != nil && x.Utf8Validation != nil { - return *x.Utf8Validation - } - return FeatureSet_UTF8_VALIDATION_UNKNOWN -} - -func (x *FeatureSet) GetMessageEncoding() FeatureSet_MessageEncoding { - if x != nil && x.MessageEncoding != nil { - return *x.MessageEncoding - } - return FeatureSet_MESSAGE_ENCODING_UNKNOWN -} - -func (x *FeatureSet) GetJsonFormat() FeatureSet_JsonFormat { - if x != nil && x.JsonFormat != nil { - return *x.JsonFormat - } - return FeatureSet_JSON_FORMAT_UNKNOWN -} - -// A compiled specification for the defaults of a set of features. These -// messages are generated from FeatureSet extensions and can be used to seed -// feature resolution. The resolution with this object becomes a simple search -// for the closest matching edition, followed by proto merges. -type FeatureSetDefaults struct { - state protoimpl.MessageState `protogen:"open.v1"` - Defaults []*FeatureSetDefaults_FeatureSetEditionDefault `protobuf:"bytes,1,rep,name=defaults" json:"defaults,omitempty"` - // The minimum supported edition (inclusive) when this was constructed. - // Editions before this will not have defaults. - MinimumEdition *Edition `protobuf:"varint,4,opt,name=minimum_edition,json=minimumEdition,enum=google.protobuf.Edition" json:"minimum_edition,omitempty"` - // The maximum known edition (inclusive) when this was constructed. Editions - // after this will not have reliable defaults. - MaximumEdition *Edition `protobuf:"varint,5,opt,name=maximum_edition,json=maximumEdition,enum=google.protobuf.Edition" json:"maximum_edition,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FeatureSetDefaults) Reset() { - *x = FeatureSetDefaults{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FeatureSetDefaults) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FeatureSetDefaults) ProtoMessage() {} - -func (x *FeatureSetDefaults) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FeatureSetDefaults.ProtoReflect.Descriptor instead. -func (*FeatureSetDefaults) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20} -} - -func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault { - if x != nil { - return x.Defaults - } - return nil -} - -func (x *FeatureSetDefaults) GetMinimumEdition() Edition { - if x != nil && x.MinimumEdition != nil { - return *x.MinimumEdition - } - return Edition_EDITION_UNKNOWN -} - -func (x *FeatureSetDefaults) GetMaximumEdition() Edition { - if x != nil && x.MaximumEdition != nil { - return *x.MaximumEdition - } - return Edition_EDITION_UNKNOWN -} - -// Encapsulates information about the original source file from which a -// FileDescriptorProto was generated. -type SourceCodeInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A Location identifies a piece of source code in a .proto file which - // corresponds to a particular definition. This information is intended - // to be useful to IDEs, code indexers, documentation generators, and similar - // tools. - // - // For example, say we have a file like: - // - // message Foo { - // optional string foo = 1; - // } - // - // Let's look at just the field definition: - // - // optional string foo = 1; - // ^ ^^ ^^ ^ ^^^ - // a bc de f ghi - // - // We have the following locations: - // - // span path represents - // [a,i) [ 4, 0, 2, 0 ] The whole field definition. - // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - // - // Notes: - // - A location may refer to a repeated field itself (i.e. not to any - // particular index within it). This is used whenever a set of elements are - // logically enclosed in a single code segment. For example, an entire - // extend block (possibly containing multiple extension definitions) will - // have an outer location whose path refers to the "extensions" repeated - // field without an index. - // - Multiple locations may have the same path. This happens when a single - // logical declaration is spread out across multiple places. The most - // obvious example is the "extend" block again -- there may be multiple - // extend blocks in the same scope, each of which will have the same path. - // - A location's span is not always a subset of its parent's span. For - // example, the "extendee" of an extension declaration appears at the - // beginning of the "extend" block and is shared by all extensions within - // the block. - // - Just because a location's span is a subset of some other location's span - // does not mean that it is a descendant. For example, a "group" defines - // both a type and a field in a single declaration. Thus, the locations - // corresponding to the type and field and their components will overlap. - // - Code which tries to interpret locations should probably be designed to - // ignore those that it doesn't understand, as more types of locations could - // be recorded in the future. - Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SourceCodeInfo) Reset() { - *x = SourceCodeInfo{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SourceCodeInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SourceCodeInfo) ProtoMessage() {} - -func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SourceCodeInfo.ProtoReflect.Descriptor instead. -func (*SourceCodeInfo) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21} -} - -func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location { - if x != nil { - return x.Location - } - return nil -} - -// Describes the relationship between generated code and its original source -// file. A GeneratedCodeInfo message is associated with only one generated -// source file, but may contain references to different source .proto files. -type GeneratedCodeInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An Annotation connects some span of text in generated code to an element - // of its generating .proto file. - Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GeneratedCodeInfo) Reset() { - *x = GeneratedCodeInfo{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GeneratedCodeInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeneratedCodeInfo) ProtoMessage() {} - -func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead. -func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22} -} - -func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation { - if x != nil { - return x.Annotation - } - return nil -} - -type DescriptorProto_ExtensionRange struct { - state protoimpl.MessageState `protogen:"open.v1"` - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive. - Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescriptorProto_ExtensionRange) Reset() { - *x = DescriptorProto_ExtensionRange{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescriptorProto_ExtensionRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescriptorProto_ExtensionRange) ProtoMessage() {} - -func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescriptorProto_ExtensionRange.ProtoReflect.Descriptor instead. -func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *DescriptorProto_ExtensionRange) GetStart() int32 { - if x != nil && x.Start != nil { - return *x.Start - } - return 0 -} - -func (x *DescriptorProto_ExtensionRange) GetEnd() int32 { - if x != nil && x.End != nil { - return *x.End - } - return 0 -} - -func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions { - if x != nil { - return x.Options - } - return nil -} - -// Range of reserved tag numbers. Reserved tag numbers may not be used by -// fields or extension ranges in the same message. Reserved ranges may -// not overlap. -type DescriptorProto_ReservedRange struct { - state protoimpl.MessageState `protogen:"open.v1"` - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescriptorProto_ReservedRange) Reset() { - *x = DescriptorProto_ReservedRange{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescriptorProto_ReservedRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescriptorProto_ReservedRange) ProtoMessage() {} - -func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescriptorProto_ReservedRange.ProtoReflect.Descriptor instead. -func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *DescriptorProto_ReservedRange) GetStart() int32 { - if x != nil && x.Start != nil { - return *x.Start - } - return 0 -} - -func (x *DescriptorProto_ReservedRange) GetEnd() int32 { - if x != nil && x.End != nil { - return *x.End - } - return 0 -} - -type ExtensionRangeOptions_Declaration struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The extension number declared within the extension range. - Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"` - // The fully-qualified name of the extension field. There must be a leading - // dot in front of the full name. - FullName *string `protobuf:"bytes,2,opt,name=full_name,json=fullName" json:"full_name,omitempty"` - // The fully-qualified type name of the extension field. Unlike - // Metadata.type, Declaration.type must have a leading dot for messages - // and enums. - Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` - // If true, indicates that the number is reserved in the extension range, - // and any extension field with the number will fail to compile. Set this - // when a declared extension field is deleted. - Reserved *bool `protobuf:"varint,5,opt,name=reserved" json:"reserved,omitempty"` - // If true, indicates that the extension must be defined as repeated. - // Otherwise the extension must be defined as optional. - Repeated *bool `protobuf:"varint,6,opt,name=repeated" json:"repeated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExtensionRangeOptions_Declaration) Reset() { - *x = ExtensionRangeOptions_Declaration{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExtensionRangeOptions_Declaration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionRangeOptions_Declaration) ProtoMessage() {} - -func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtensionRangeOptions_Declaration.ProtoReflect.Descriptor instead. -func (*ExtensionRangeOptions_Declaration) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *ExtensionRangeOptions_Declaration) GetNumber() int32 { - if x != nil && x.Number != nil { - return *x.Number - } - return 0 -} - -func (x *ExtensionRangeOptions_Declaration) GetFullName() string { - if x != nil && x.FullName != nil { - return *x.FullName - } - return "" -} - -func (x *ExtensionRangeOptions_Declaration) GetType() string { - if x != nil && x.Type != nil { - return *x.Type - } - return "" -} - -func (x *ExtensionRangeOptions_Declaration) GetReserved() bool { - if x != nil && x.Reserved != nil { - return *x.Reserved - } - return false -} - -func (x *ExtensionRangeOptions_Declaration) GetRepeated() bool { - if x != nil && x.Repeated != nil { - return *x.Repeated - } - return false -} - -// Range of reserved numeric values. Reserved values may not be used by -// entries in the same enum. Reserved ranges may not overlap. -// -// Note that this is distinct from DescriptorProto.ReservedRange in that it -// is inclusive such that it can appropriately represent the entire int32 -// domain. -type EnumDescriptorProto_EnumReservedRange struct { - state protoimpl.MessageState `protogen:"open.v1"` - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Inclusive. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnumDescriptorProto_EnumReservedRange) Reset() { - *x = EnumDescriptorProto_EnumReservedRange{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumDescriptorProto_EnumReservedRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {} - -func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnumDescriptorProto_EnumReservedRange.ProtoReflect.Descriptor instead. -func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6, 0} -} - -func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32 { - if x != nil && x.Start != nil { - return *x.Start - } - return 0 -} - -func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 { - if x != nil && x.End != nil { - return *x.End - } - return 0 -} - -type FieldOptions_EditionDefault struct { - state protoimpl.MessageState `protogen:"open.v1"` - Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // Textproto value. - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FieldOptions_EditionDefault) Reset() { - *x = FieldOptions_EditionDefault{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FieldOptions_EditionDefault) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldOptions_EditionDefault) ProtoMessage() {} - -func (x *FieldOptions_EditionDefault) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FieldOptions_EditionDefault.ProtoReflect.Descriptor instead. -func (*FieldOptions_EditionDefault) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0} -} - -func (x *FieldOptions_EditionDefault) GetEdition() Edition { - if x != nil && x.Edition != nil { - return *x.Edition - } - return Edition_EDITION_UNKNOWN -} - -func (x *FieldOptions_EditionDefault) GetValue() string { - if x != nil && x.Value != nil { - return *x.Value - } - return "" -} - -// The name of the uninterpreted option. Each string represents a segment in -// a dot-separated name. is_extension is true iff a segment represents an -// extension (denoted with parentheses in options specs in .proto files). -// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents -// "foo.(bar.baz).moo". -type UninterpretedOption_NamePart struct { - state protoimpl.MessageState `protogen:"open.v1"` - NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"` - IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UninterpretedOption_NamePart) Reset() { - *x = UninterpretedOption_NamePart{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UninterpretedOption_NamePart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UninterpretedOption_NamePart) ProtoMessage() {} - -func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UninterpretedOption_NamePart.ProtoReflect.Descriptor instead. -func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18, 0} -} - -func (x *UninterpretedOption_NamePart) GetNamePart() string { - if x != nil && x.NamePart != nil { - return *x.NamePart - } - return "" -} - -func (x *UninterpretedOption_NamePart) GetIsExtension() bool { - if x != nil && x.IsExtension != nil { - return *x.IsExtension - } - return false -} - -// A map from every known edition with a unique set of defaults to its -// defaults. Not all editions may be contained here. For a given edition, -// the defaults at the closest matching edition ordered at or before it should -// be used. This field must be in strict ascending order by edition. -type FeatureSetDefaults_FeatureSetEditionDefault struct { - state protoimpl.MessageState `protogen:"open.v1"` - Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset() { - *x = FeatureSetDefaults_FeatureSetEditionDefault{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage() {} - -func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FeatureSetDefaults_FeatureSetEditionDefault.ProtoReflect.Descriptor instead. -func (*FeatureSetDefaults_FeatureSetEditionDefault) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0} -} - -func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition { - if x != nil && x.Edition != nil { - return *x.Edition - } - return Edition_EDITION_UNKNOWN -} - -func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet { - if x != nil { - return x.Features - } - return nil -} - -type SourceCodeInfo_Location struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Identifies which part of the FileDescriptorProto was defined at this - // location. - // - // Each element is a field number or an index. They form a path from - // the root FileDescriptorProto to the place where the definition occurs. - // For example, this path: - // - // [ 4, 3, 2, 7, 1 ] - // - // refers to: - // - // file.message_type(3) // 4, 3 - // .field(7) // 2, 7 - // .name() // 1 - // - // This is because FileDescriptorProto.message_type has field number 4: - // - // repeated DescriptorProto message_type = 4; - // - // and DescriptorProto.field has field number 2: - // - // repeated FieldDescriptorProto field = 2; - // - // and FieldDescriptorProto.name has field number 1: - // - // optional string name = 1; - // - // Thus, the above path gives the location of a field name. If we removed - // the last element: - // - // [ 4, 3, 2, 7 ] - // - // this path refers to the whole field declaration (from the beginning - // of the label to the terminating semicolon). - Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` - // Always has exactly three or four elements: start line, start column, - // end line (optional, otherwise assumed same as start line), end column. - // These are packed into a single field for efficiency. Note that line - // and column numbers are zero-based -- typically you will want to add - // 1 to each before displaying to a user. - Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"` - // If this SourceCodeInfo represents a complete declaration, these are any - // comments appearing before and after the declaration which appear to be - // attached to the declaration. - // - // A series of line comments appearing on consecutive lines, with no other - // tokens appearing on those lines, will be treated as a single comment. - // - // leading_detached_comments will keep paragraphs of comments that appear - // before (but not connected to) the current element. Each paragraph, - // separated by empty lines, will be one comment element in the repeated - // field. - // - // Only the comment content is provided; comment markers (e.g. //) are - // stripped out. For block comments, leading whitespace and an asterisk - // will be stripped from the beginning of each line other than the first. - // Newlines are included in the output. - // - // Examples: - // - // optional int32 foo = 1; // Comment attached to foo. - // // Comment attached to bar. - // optional int32 bar = 2; - // - // optional string baz = 3; - // // Comment attached to baz. - // // Another line attached to baz. - // - // // Comment attached to moo. - // // - // // Another line attached to moo. - // optional double moo = 4; - // - // // Detached comment for corge. This is not leading or trailing comments - // // to moo or corge because there are blank lines separating it from - // // both. - // - // // Detached comment for corge paragraph 2. - // - // optional string corge = 5; - // /* Block comment attached - // * to corge. Leading asterisks - // * will be removed. */ - // /* Block comment attached to - // * grault. */ - // optional int32 grault = 6; - // - // // ignored detached comments. - LeadingComments *string `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"` - TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"` - LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SourceCodeInfo_Location) Reset() { - *x = SourceCodeInfo_Location{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SourceCodeInfo_Location) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SourceCodeInfo_Location) ProtoMessage() {} - -func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SourceCodeInfo_Location.ProtoReflect.Descriptor instead. -func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21, 0} -} - -func (x *SourceCodeInfo_Location) GetPath() []int32 { - if x != nil { - return x.Path - } - return nil -} - -func (x *SourceCodeInfo_Location) GetSpan() []int32 { - if x != nil { - return x.Span - } - return nil -} - -func (x *SourceCodeInfo_Location) GetLeadingComments() string { - if x != nil && x.LeadingComments != nil { - return *x.LeadingComments - } - return "" -} - -func (x *SourceCodeInfo_Location) GetTrailingComments() string { - if x != nil && x.TrailingComments != nil { - return *x.TrailingComments - } - return "" -} - -func (x *SourceCodeInfo_Location) GetLeadingDetachedComments() []string { - if x != nil { - return x.LeadingDetachedComments - } - return nil -} - -type GeneratedCodeInfo_Annotation struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Identifies the element in the original source .proto file. This field - // is formatted the same as SourceCodeInfo.Location.path. - Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` - // Identifies the filesystem path to the original source .proto. - SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"` - // Identifies the starting offset in bytes in the generated code - // that relates to the identified object. - Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"` - // Identifies the ending offset in bytes in the generated code that - // relates to the identified object. The end offset should be one past - // the last relevant byte (so the length of the text = end - begin). - End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"` - Semantic *GeneratedCodeInfo_Annotation_Semantic `protobuf:"varint,5,opt,name=semantic,enum=google.protobuf.GeneratedCodeInfo_Annotation_Semantic" json:"semantic,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GeneratedCodeInfo_Annotation) Reset() { - *x = GeneratedCodeInfo_Annotation{} - mi := &file_google_protobuf_descriptor_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GeneratedCodeInfo_Annotation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeneratedCodeInfo_Annotation) ProtoMessage() {} - -func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GeneratedCodeInfo_Annotation.ProtoReflect.Descriptor instead. -func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) { - return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0} -} - -func (x *GeneratedCodeInfo_Annotation) GetPath() []int32 { - if x != nil { - return x.Path - } - return nil -} - -func (x *GeneratedCodeInfo_Annotation) GetSourceFile() string { - if x != nil && x.SourceFile != nil { - return *x.SourceFile - } - return "" -} - -func (x *GeneratedCodeInfo_Annotation) GetBegin() int32 { - if x != nil && x.Begin != nil { - return *x.Begin - } - return 0 -} - -func (x *GeneratedCodeInfo_Annotation) GetEnd() int32 { - if x != nil && x.End != nil { - return *x.End - } - return 0 -} - -func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotation_Semantic { - if x != nil && x.Semantic != nil { - return *x.Semantic - } - return GeneratedCodeInfo_Annotation_NONE -} - -var File_google_protobuf_descriptor_proto protoreflect.FileDescriptor - -const file_google_protobuf_descriptor_proto_rawDesc = "" + - "\n" + - " google/protobuf/descriptor.proto\x12\x0fgoogle.protobuf\"M\n" + - "\x11FileDescriptorSet\x128\n" + - "\x04file\x18\x01 \x03(\v2$.google.protobuf.FileDescriptorProtoR\x04file\"\x98\x05\n" + - "\x13FileDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + - "\apackage\x18\x02 \x01(\tR\apackage\x12\x1e\n" + - "\n" + - "dependency\x18\x03 \x03(\tR\n" + - "dependency\x12+\n" + - "\x11public_dependency\x18\n" + - " \x03(\x05R\x10publicDependency\x12'\n" + - "\x0fweak_dependency\x18\v \x03(\x05R\x0eweakDependency\x12C\n" + - "\fmessage_type\x18\x04 \x03(\v2 .google.protobuf.DescriptorProtoR\vmessageType\x12A\n" + - "\tenum_type\x18\x05 \x03(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\x12A\n" + - "\aservice\x18\x06 \x03(\v2'.google.protobuf.ServiceDescriptorProtoR\aservice\x12C\n" + - "\textension\x18\a \x03(\v2%.google.protobuf.FieldDescriptorProtoR\textension\x126\n" + - "\aoptions\x18\b \x01(\v2\x1c.google.protobuf.FileOptionsR\aoptions\x12I\n" + - "\x10source_code_info\x18\t \x01(\v2\x1f.google.protobuf.SourceCodeInfoR\x0esourceCodeInfo\x12\x16\n" + - "\x06syntax\x18\f \x01(\tR\x06syntax\x122\n" + - "\aedition\x18\x0e \x01(\x0e2\x18.google.protobuf.EditionR\aedition\"\xb9\x06\n" + - "\x0fDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12;\n" + - "\x05field\x18\x02 \x03(\v2%.google.protobuf.FieldDescriptorProtoR\x05field\x12C\n" + - "\textension\x18\x06 \x03(\v2%.google.protobuf.FieldDescriptorProtoR\textension\x12A\n" + - "\vnested_type\x18\x03 \x03(\v2 .google.protobuf.DescriptorProtoR\n" + - "nestedType\x12A\n" + - "\tenum_type\x18\x04 \x03(\v2$.google.protobuf.EnumDescriptorProtoR\benumType\x12X\n" + - "\x0fextension_range\x18\x05 \x03(\v2/.google.protobuf.DescriptorProto.ExtensionRangeR\x0eextensionRange\x12D\n" + - "\n" + - "oneof_decl\x18\b \x03(\v2%.google.protobuf.OneofDescriptorProtoR\toneofDecl\x129\n" + - "\aoptions\x18\a \x01(\v2\x1f.google.protobuf.MessageOptionsR\aoptions\x12U\n" + - "\x0ereserved_range\x18\t \x03(\v2..google.protobuf.DescriptorProto.ReservedRangeR\rreservedRange\x12#\n" + - "\rreserved_name\x18\n" + - " \x03(\tR\freservedName\x1az\n" + - "\x0eExtensionRange\x12\x14\n" + - "\x05start\x18\x01 \x01(\x05R\x05start\x12\x10\n" + - "\x03end\x18\x02 \x01(\x05R\x03end\x12@\n" + - "\aoptions\x18\x03 \x01(\v2&.google.protobuf.ExtensionRangeOptionsR\aoptions\x1a7\n" + - "\rReservedRange\x12\x14\n" + - "\x05start\x18\x01 \x01(\x05R\x05start\x12\x10\n" + - "\x03end\x18\x02 \x01(\x05R\x03end\"\xc7\x04\n" + - "\x15ExtensionRangeOptions\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption\x12Y\n" + - "\vdeclaration\x18\x02 \x03(\v22.google.protobuf.ExtensionRangeOptions.DeclarationB\x03\x88\x01\x02R\vdeclaration\x127\n" + - "\bfeatures\x182 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12h\n" + - "\fverification\x18\x03 \x01(\x0e28.google.protobuf.ExtensionRangeOptions.VerificationState:\n" + - "UNVERIFIEDR\fverification\x1a\x94\x01\n" + - "\vDeclaration\x12\x16\n" + - "\x06number\x18\x01 \x01(\x05R\x06number\x12\x1b\n" + - "\tfull_name\x18\x02 \x01(\tR\bfullName\x12\x12\n" + - "\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" + - "\breserved\x18\x05 \x01(\bR\breserved\x12\x1a\n" + - "\brepeated\x18\x06 \x01(\bR\brepeatedJ\x04\b\x04\x10\x05\"4\n" + - "\x11VerificationState\x12\x0f\n" + - "\vDECLARATION\x10\x00\x12\x0e\n" + - "\n" + - "UNVERIFIED\x10\x01*\t\b\xe8\a\x10\x80\x80\x80\x80\x02\"\xc1\x06\n" + - "\x14FieldDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" + - "\x06number\x18\x03 \x01(\x05R\x06number\x12A\n" + - "\x05label\x18\x04 \x01(\x0e2+.google.protobuf.FieldDescriptorProto.LabelR\x05label\x12>\n" + - "\x04type\x18\x05 \x01(\x0e2*.google.protobuf.FieldDescriptorProto.TypeR\x04type\x12\x1b\n" + - "\ttype_name\x18\x06 \x01(\tR\btypeName\x12\x1a\n" + - "\bextendee\x18\x02 \x01(\tR\bextendee\x12#\n" + - "\rdefault_value\x18\a \x01(\tR\fdefaultValue\x12\x1f\n" + - "\voneof_index\x18\t \x01(\x05R\n" + - "oneofIndex\x12\x1b\n" + - "\tjson_name\x18\n" + - " \x01(\tR\bjsonName\x127\n" + - "\aoptions\x18\b \x01(\v2\x1d.google.protobuf.FieldOptionsR\aoptions\x12'\n" + - "\x0fproto3_optional\x18\x11 \x01(\bR\x0eproto3Optional\"\xb6\x02\n" + - "\x04Type\x12\x0f\n" + - "\vTYPE_DOUBLE\x10\x01\x12\x0e\n" + - "\n" + - "TYPE_FLOAT\x10\x02\x12\x0e\n" + - "\n" + - "TYPE_INT64\x10\x03\x12\x0f\n" + - "\vTYPE_UINT64\x10\x04\x12\x0e\n" + - "\n" + - "TYPE_INT32\x10\x05\x12\x10\n" + - "\fTYPE_FIXED64\x10\x06\x12\x10\n" + - "\fTYPE_FIXED32\x10\a\x12\r\n" + - "\tTYPE_BOOL\x10\b\x12\x0f\n" + - "\vTYPE_STRING\x10\t\x12\x0e\n" + - "\n" + - "TYPE_GROUP\x10\n" + - "\x12\x10\n" + - "\fTYPE_MESSAGE\x10\v\x12\x0e\n" + - "\n" + - "TYPE_BYTES\x10\f\x12\x0f\n" + - "\vTYPE_UINT32\x10\r\x12\r\n" + - "\tTYPE_ENUM\x10\x0e\x12\x11\n" + - "\rTYPE_SFIXED32\x10\x0f\x12\x11\n" + - "\rTYPE_SFIXED64\x10\x10\x12\x0f\n" + - "\vTYPE_SINT32\x10\x11\x12\x0f\n" + - "\vTYPE_SINT64\x10\x12\"C\n" + - "\x05Label\x12\x12\n" + - "\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n" + - "\x0eLABEL_REQUIRED\x10\x02\x12\x12\n" + - "\x0eLABEL_REPEATED\x10\x03\"c\n" + - "\x14OneofDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x127\n" + - "\aoptions\x18\x02 \x01(\v2\x1d.google.protobuf.OneofOptionsR\aoptions\"\xe3\x02\n" + - "\x13EnumDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12?\n" + - "\x05value\x18\x02 \x03(\v2).google.protobuf.EnumValueDescriptorProtoR\x05value\x126\n" + - "\aoptions\x18\x03 \x01(\v2\x1c.google.protobuf.EnumOptionsR\aoptions\x12]\n" + - "\x0ereserved_range\x18\x04 \x03(\v26.google.protobuf.EnumDescriptorProto.EnumReservedRangeR\rreservedRange\x12#\n" + - "\rreserved_name\x18\x05 \x03(\tR\freservedName\x1a;\n" + - "\x11EnumReservedRange\x12\x14\n" + - "\x05start\x18\x01 \x01(\x05R\x05start\x12\x10\n" + - "\x03end\x18\x02 \x01(\x05R\x03end\"\x83\x01\n" + - "\x18EnumValueDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" + - "\x06number\x18\x02 \x01(\x05R\x06number\x12;\n" + - "\aoptions\x18\x03 \x01(\v2!.google.protobuf.EnumValueOptionsR\aoptions\"\xa7\x01\n" + - "\x16ServiceDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12>\n" + - "\x06method\x18\x02 \x03(\v2&.google.protobuf.MethodDescriptorProtoR\x06method\x129\n" + - "\aoptions\x18\x03 \x01(\v2\x1f.google.protobuf.ServiceOptionsR\aoptions\"\x89\x02\n" + - "\x15MethodDescriptorProto\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" + - "\n" + - "input_type\x18\x02 \x01(\tR\tinputType\x12\x1f\n" + - "\voutput_type\x18\x03 \x01(\tR\n" + - "outputType\x128\n" + - "\aoptions\x18\x04 \x01(\v2\x1e.google.protobuf.MethodOptionsR\aoptions\x120\n" + - "\x10client_streaming\x18\x05 \x01(\b:\x05falseR\x0fclientStreaming\x120\n" + - "\x10server_streaming\x18\x06 \x01(\b:\x05falseR\x0fserverStreaming\"\xca\t\n" + - "\vFileOptions\x12!\n" + - "\fjava_package\x18\x01 \x01(\tR\vjavaPackage\x120\n" + - "\x14java_outer_classname\x18\b \x01(\tR\x12javaOuterClassname\x125\n" + - "\x13java_multiple_files\x18\n" + - " \x01(\b:\x05falseR\x11javaMultipleFiles\x12D\n" + - "\x1djava_generate_equals_and_hash\x18\x14 \x01(\bB\x02\x18\x01R\x19javaGenerateEqualsAndHash\x12:\n" + - "\x16java_string_check_utf8\x18\x1b \x01(\b:\x05falseR\x13javaStringCheckUtf8\x12S\n" + - "\foptimize_for\x18\t \x01(\x0e2).google.protobuf.FileOptions.OptimizeMode:\x05SPEEDR\voptimizeFor\x12\x1d\n" + - "\n" + - "go_package\x18\v \x01(\tR\tgoPackage\x125\n" + - "\x13cc_generic_services\x18\x10 \x01(\b:\x05falseR\x11ccGenericServices\x129\n" + - "\x15java_generic_services\x18\x11 \x01(\b:\x05falseR\x13javaGenericServices\x125\n" + - "\x13py_generic_services\x18\x12 \x01(\b:\x05falseR\x11pyGenericServices\x127\n" + - "\x14php_generic_services\x18* \x01(\b:\x05falseR\x12phpGenericServices\x12%\n" + - "\n" + - "deprecated\x18\x17 \x01(\b:\x05falseR\n" + - "deprecated\x12.\n" + - "\x10cc_enable_arenas\x18\x1f \x01(\b:\x04trueR\x0eccEnableArenas\x12*\n" + - "\x11objc_class_prefix\x18$ \x01(\tR\x0fobjcClassPrefix\x12)\n" + - "\x10csharp_namespace\x18% \x01(\tR\x0fcsharpNamespace\x12!\n" + - "\fswift_prefix\x18' \x01(\tR\vswiftPrefix\x12(\n" + - "\x10php_class_prefix\x18( \x01(\tR\x0ephpClassPrefix\x12#\n" + - "\rphp_namespace\x18) \x01(\tR\fphpNamespace\x124\n" + - "\x16php_metadata_namespace\x18, \x01(\tR\x14phpMetadataNamespace\x12!\n" + - "\fruby_package\x18- \x01(\tR\vrubyPackage\x127\n" + - "\bfeatures\x182 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption\":\n" + - "\fOptimizeMode\x12\t\n" + - "\x05SPEED\x10\x01\x12\r\n" + - "\tCODE_SIZE\x10\x02\x12\x10\n" + - "\fLITE_RUNTIME\x10\x03*\t\b\xe8\a\x10\x80\x80\x80\x80\x02J\x04\b&\x10'\"\xf4\x03\n" + - "\x0eMessageOptions\x12<\n" + - "\x17message_set_wire_format\x18\x01 \x01(\b:\x05falseR\x14messageSetWireFormat\x12L\n" + - "\x1fno_standard_descriptor_accessor\x18\x02 \x01(\b:\x05falseR\x1cnoStandardDescriptorAccessor\x12%\n" + - "\n" + - "deprecated\x18\x03 \x01(\b:\x05falseR\n" + - "deprecated\x12\x1b\n" + - "\tmap_entry\x18\a \x01(\bR\bmapEntry\x12V\n" + - "&deprecated_legacy_json_field_conflicts\x18\v \x01(\bB\x02\x18\x01R\"deprecatedLegacyJsonFieldConflicts\x127\n" + - "\bfeatures\x18\f \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption*\t\b\xe8\a\x10\x80\x80\x80\x80\x02J\x04\b\x04\x10\x05J\x04\b\x05\x10\x06J\x04\b\x06\x10\aJ\x04\b\b\x10\tJ\x04\b\t\x10\n" + - "\"\xad\n" + - "\n" + - "\fFieldOptions\x12A\n" + - "\x05ctype\x18\x01 \x01(\x0e2#.google.protobuf.FieldOptions.CType:\x06STRINGR\x05ctype\x12\x16\n" + - "\x06packed\x18\x02 \x01(\bR\x06packed\x12G\n" + - "\x06jstype\x18\x06 \x01(\x0e2$.google.protobuf.FieldOptions.JSType:\tJS_NORMALR\x06jstype\x12\x19\n" + - "\x04lazy\x18\x05 \x01(\b:\x05falseR\x04lazy\x12.\n" + - "\x0funverified_lazy\x18\x0f \x01(\b:\x05falseR\x0eunverifiedLazy\x12%\n" + - "\n" + - "deprecated\x18\x03 \x01(\b:\x05falseR\n" + - "deprecated\x12\x19\n" + - "\x04weak\x18\n" + - " \x01(\b:\x05falseR\x04weak\x12(\n" + - "\fdebug_redact\x18\x10 \x01(\b:\x05falseR\vdebugRedact\x12K\n" + - "\tretention\x18\x11 \x01(\x0e2-.google.protobuf.FieldOptions.OptionRetentionR\tretention\x12H\n" + - "\atargets\x18\x13 \x03(\x0e2..google.protobuf.FieldOptions.OptionTargetTypeR\atargets\x12W\n" + - "\x10edition_defaults\x18\x14 \x03(\v2,.google.protobuf.FieldOptions.EditionDefaultR\x0feditionDefaults\x127\n" + - "\bfeatures\x18\x15 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption\x1aZ\n" + - "\x0eEditionDefault\x122\n" + - "\aedition\x18\x03 \x01(\x0e2\x18.google.protobuf.EditionR\aedition\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value\"/\n" + - "\x05CType\x12\n" + - "\n" + - "\x06STRING\x10\x00\x12\b\n" + - "\x04CORD\x10\x01\x12\x10\n" + - "\fSTRING_PIECE\x10\x02\"5\n" + - "\x06JSType\x12\r\n" + - "\tJS_NORMAL\x10\x00\x12\r\n" + - "\tJS_STRING\x10\x01\x12\r\n" + - "\tJS_NUMBER\x10\x02\"U\n" + - "\x0fOptionRetention\x12\x15\n" + - "\x11RETENTION_UNKNOWN\x10\x00\x12\x15\n" + - "\x11RETENTION_RUNTIME\x10\x01\x12\x14\n" + - "\x10RETENTION_SOURCE\x10\x02\"\x8c\x02\n" + - "\x10OptionTargetType\x12\x17\n" + - "\x13TARGET_TYPE_UNKNOWN\x10\x00\x12\x14\n" + - "\x10TARGET_TYPE_FILE\x10\x01\x12\x1f\n" + - "\x1bTARGET_TYPE_EXTENSION_RANGE\x10\x02\x12\x17\n" + - "\x13TARGET_TYPE_MESSAGE\x10\x03\x12\x15\n" + - "\x11TARGET_TYPE_FIELD\x10\x04\x12\x15\n" + - "\x11TARGET_TYPE_ONEOF\x10\x05\x12\x14\n" + - "\x10TARGET_TYPE_ENUM\x10\x06\x12\x1a\n" + - "\x16TARGET_TYPE_ENUM_ENTRY\x10\a\x12\x17\n" + - "\x13TARGET_TYPE_SERVICE\x10\b\x12\x16\n" + - "\x12TARGET_TYPE_METHOD\x10\t*\t\b\xe8\a\x10\x80\x80\x80\x80\x02J\x04\b\x04\x10\x05J\x04\b\x12\x10\x13\"\xac\x01\n" + - "\fOneofOptions\x127\n" + - "\bfeatures\x18\x01 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption*\t\b\xe8\a\x10\x80\x80\x80\x80\x02\"\xd1\x02\n" + - "\vEnumOptions\x12\x1f\n" + - "\vallow_alias\x18\x02 \x01(\bR\n" + - "allowAlias\x12%\n" + - "\n" + - "deprecated\x18\x03 \x01(\b:\x05falseR\n" + - "deprecated\x12V\n" + - "&deprecated_legacy_json_field_conflicts\x18\x06 \x01(\bB\x02\x18\x01R\"deprecatedLegacyJsonFieldConflicts\x127\n" + - "\bfeatures\x18\a \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption*\t\b\xe8\a\x10\x80\x80\x80\x80\x02J\x04\b\x05\x10\x06\"\x81\x02\n" + - "\x10EnumValueOptions\x12%\n" + - "\n" + - "deprecated\x18\x01 \x01(\b:\x05falseR\n" + - "deprecated\x127\n" + - "\bfeatures\x18\x02 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12(\n" + - "\fdebug_redact\x18\x03 \x01(\b:\x05falseR\vdebugRedact\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption*\t\b\xe8\a\x10\x80\x80\x80\x80\x02\"\xd5\x01\n" + - "\x0eServiceOptions\x127\n" + - "\bfeatures\x18\" \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12%\n" + - "\n" + - "deprecated\x18! \x01(\b:\x05falseR\n" + - "deprecated\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption*\t\b\xe8\a\x10\x80\x80\x80\x80\x02\"\x99\x03\n" + - "\rMethodOptions\x12%\n" + - "\n" + - "deprecated\x18! \x01(\b:\x05falseR\n" + - "deprecated\x12q\n" + - "\x11idempotency_level\x18\" \x01(\x0e2/.google.protobuf.MethodOptions.IdempotencyLevel:\x13IDEMPOTENCY_UNKNOWNR\x10idempotencyLevel\x127\n" + - "\bfeatures\x18# \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\x12X\n" + - "\x14uninterpreted_option\x18\xe7\a \x03(\v2$.google.protobuf.UninterpretedOptionR\x13uninterpretedOption\"P\n" + - "\x10IdempotencyLevel\x12\x17\n" + - "\x13IDEMPOTENCY_UNKNOWN\x10\x00\x12\x13\n" + - "\x0fNO_SIDE_EFFECTS\x10\x01\x12\x0e\n" + - "\n" + - "IDEMPOTENT\x10\x02*\t\b\xe8\a\x10\x80\x80\x80\x80\x02\"\x9a\x03\n" + - "\x13UninterpretedOption\x12A\n" + - "\x04name\x18\x02 \x03(\v2-.google.protobuf.UninterpretedOption.NamePartR\x04name\x12)\n" + - "\x10identifier_value\x18\x03 \x01(\tR\x0fidentifierValue\x12,\n" + - "\x12positive_int_value\x18\x04 \x01(\x04R\x10positiveIntValue\x12,\n" + - "\x12negative_int_value\x18\x05 \x01(\x03R\x10negativeIntValue\x12!\n" + - "\fdouble_value\x18\x06 \x01(\x01R\vdoubleValue\x12!\n" + - "\fstring_value\x18\a \x01(\fR\vstringValue\x12'\n" + - "\x0faggregate_value\x18\b \x01(\tR\x0eaggregateValue\x1aJ\n" + - "\bNamePart\x12\x1b\n" + - "\tname_part\x18\x01 \x02(\tR\bnamePart\x12!\n" + - "\fis_extension\x18\x02 \x02(\bR\visExtension\"\x88\n" + - "\n" + - "\n" + - "FeatureSet\x12\x8b\x01\n" + - "\x0efield_presence\x18\x01 \x01(\x0e2).google.protobuf.FeatureSet.FieldPresenceB9\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\r\x12\bEXPLICIT\x18\xe6\a\xa2\x01\r\x12\bIMPLICIT\x18\xe7\a\xa2\x01\r\x12\bEXPLICIT\x18\xe8\aR\rfieldPresence\x12f\n" + - "\tenum_type\x18\x02 \x01(\x0e2$.google.protobuf.FeatureSet.EnumTypeB#\x88\x01\x01\x98\x01\x06\x98\x01\x01\xa2\x01\v\x12\x06CLOSED\x18\xe6\a\xa2\x01\t\x12\x04OPEN\x18\xe7\aR\benumType\x12\x92\x01\n" + - "\x17repeated_field_encoding\x18\x03 \x01(\x0e21.google.protobuf.FeatureSet.RepeatedFieldEncodingB'\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\r\x12\bEXPANDED\x18\xe6\a\xa2\x01\v\x12\x06PACKED\x18\xe7\aR\x15repeatedFieldEncoding\x12~\n" + - "\x0futf8_validation\x18\x04 \x01(\x0e2*.google.protobuf.FeatureSet.Utf8ValidationB)\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\x0f\x12\n" + - "UNVERIFIED\x18\xe6\a\xa2\x01\v\x12\x06VERIFY\x18\xe7\aR\x0eutf8Validation\x12x\n" + - "\x10message_encoding\x18\x05 \x01(\x0e2+.google.protobuf.FeatureSet.MessageEncodingB \x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\x14\x12\x0fLENGTH_PREFIXED\x18\xe6\aR\x0fmessageEncoding\x12|\n" + - "\vjson_format\x18\x06 \x01(\x0e2&.google.protobuf.FeatureSet.JsonFormatB3\x88\x01\x01\x98\x01\x03\x98\x01\x06\x98\x01\x01\xa2\x01\x17\x12\x12LEGACY_BEST_EFFORT\x18\xe6\a\xa2\x01\n" + - "\x12\x05ALLOW\x18\xe7\aR\n" + - "jsonFormat\"\\\n" + - "\rFieldPresence\x12\x1a\n" + - "\x16FIELD_PRESENCE_UNKNOWN\x10\x00\x12\f\n" + - "\bEXPLICIT\x10\x01\x12\f\n" + - "\bIMPLICIT\x10\x02\x12\x13\n" + - "\x0fLEGACY_REQUIRED\x10\x03\"7\n" + - "\bEnumType\x12\x15\n" + - "\x11ENUM_TYPE_UNKNOWN\x10\x00\x12\b\n" + - "\x04OPEN\x10\x01\x12\n" + - "\n" + - "\x06CLOSED\x10\x02\"V\n" + - "\x15RepeatedFieldEncoding\x12#\n" + - "\x1fREPEATED_FIELD_ENCODING_UNKNOWN\x10\x00\x12\n" + - "\n" + - "\x06PACKED\x10\x01\x12\f\n" + - "\bEXPANDED\x10\x02\"I\n" + - "\x0eUtf8Validation\x12\x1b\n" + - "\x17UTF8_VALIDATION_UNKNOWN\x10\x00\x12\x0e\n" + - "\n" + - "UNVERIFIED\x10\x01\x12\n" + - "\n" + - "\x06VERIFY\x10\x02\"S\n" + - "\x0fMessageEncoding\x12\x1c\n" + - "\x18MESSAGE_ENCODING_UNKNOWN\x10\x00\x12\x13\n" + - "\x0fLENGTH_PREFIXED\x10\x01\x12\r\n" + - "\tDELIMITED\x10\x02\"H\n" + - "\n" + - "JsonFormat\x12\x17\n" + - "\x13JSON_FORMAT_UNKNOWN\x10\x00\x12\t\n" + - "\x05ALLOW\x10\x01\x12\x16\n" + - "\x12LEGACY_BEST_EFFORT\x10\x02*\x06\b\xe8\a\x10\xe9\a*\x06\b\xe9\a\x10\xea\a*\x06\b\x8bN\x10\x90NJ\x06\b\xe7\a\x10\xe8\a\"\xfe\x02\n" + - "\x12FeatureSetDefaults\x12X\n" + - "\bdefaults\x18\x01 \x03(\v2<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultR\bdefaults\x12A\n" + - "\x0fminimum_edition\x18\x04 \x01(\x0e2\x18.google.protobuf.EditionR\x0eminimumEdition\x12A\n" + - "\x0fmaximum_edition\x18\x05 \x01(\x0e2\x18.google.protobuf.EditionR\x0emaximumEdition\x1a\x87\x01\n" + - "\x18FeatureSetEditionDefault\x122\n" + - "\aedition\x18\x03 \x01(\x0e2\x18.google.protobuf.EditionR\aedition\x127\n" + - "\bfeatures\x18\x02 \x01(\v2\x1b.google.protobuf.FeatureSetR\bfeatures\"\xa7\x02\n" + - "\x0eSourceCodeInfo\x12D\n" + - "\blocation\x18\x01 \x03(\v2(.google.protobuf.SourceCodeInfo.LocationR\blocation\x1a\xce\x01\n" + - "\bLocation\x12\x16\n" + - "\x04path\x18\x01 \x03(\x05B\x02\x10\x01R\x04path\x12\x16\n" + - "\x04span\x18\x02 \x03(\x05B\x02\x10\x01R\x04span\x12)\n" + - "\x10leading_comments\x18\x03 \x01(\tR\x0fleadingComments\x12+\n" + - "\x11trailing_comments\x18\x04 \x01(\tR\x10trailingComments\x12:\n" + - "\x19leading_detached_comments\x18\x06 \x03(\tR\x17leadingDetachedComments\"\xd0\x02\n" + - "\x11GeneratedCodeInfo\x12M\n" + - "\n" + - "annotation\x18\x01 \x03(\v2-.google.protobuf.GeneratedCodeInfo.AnnotationR\n" + - "annotation\x1a\xeb\x01\n" + - "\n" + - "Annotation\x12\x16\n" + - "\x04path\x18\x01 \x03(\x05B\x02\x10\x01R\x04path\x12\x1f\n" + - "\vsource_file\x18\x02 \x01(\tR\n" + - "sourceFile\x12\x14\n" + - "\x05begin\x18\x03 \x01(\x05R\x05begin\x12\x10\n" + - "\x03end\x18\x04 \x01(\x05R\x03end\x12R\n" + - "\bsemantic\x18\x05 \x01(\x0e26.google.protobuf.GeneratedCodeInfo.Annotation.SemanticR\bsemantic\"(\n" + - "\bSemantic\x12\b\n" + - "\x04NONE\x10\x00\x12\a\n" + - "\x03SET\x10\x01\x12\t\n" + - "\x05ALIAS\x10\x02*\xea\x01\n" + - "\aEdition\x12\x13\n" + - "\x0fEDITION_UNKNOWN\x10\x00\x12\x13\n" + - "\x0eEDITION_PROTO2\x10\xe6\a\x12\x13\n" + - "\x0eEDITION_PROTO3\x10\xe7\a\x12\x11\n" + - "\fEDITION_2023\x10\xe8\a\x12\x17\n" + - "\x13EDITION_1_TEST_ONLY\x10\x01\x12\x17\n" + - "\x13EDITION_2_TEST_ONLY\x10\x02\x12\x1d\n" + - "\x17EDITION_99997_TEST_ONLY\x10\x9d\x8d\x06\x12\x1d\n" + - "\x17EDITION_99998_TEST_ONLY\x10\x9e\x8d\x06\x12\x1d\n" + - "\x17EDITION_99999_TEST_ONLY\x10\x9f\x8d\x06B~\n" + - "\x13com.google.protobufB\x10DescriptorProtosH\x01Z-google.golang.org/protobuf/types/descriptorpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1aGoogle.Protobuf.Reflection" - -var ( - file_google_protobuf_descriptor_proto_rawDescOnce sync.Once - file_google_protobuf_descriptor_proto_rawDescData []byte -) - -func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte { - file_google_protobuf_descriptor_proto_rawDescOnce.Do(func() { - file_google_protobuf_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_descriptor_proto_rawDesc), len(file_google_protobuf_descriptor_proto_rawDesc))) - }) - return file_google_protobuf_descriptor_proto_rawDescData -} - -var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 17) -var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 32) -var file_google_protobuf_descriptor_proto_goTypes = []any{ - (Edition)(0), // 0: google.protobuf.Edition - (ExtensionRangeOptions_VerificationState)(0), // 1: google.protobuf.ExtensionRangeOptions.VerificationState - (FieldDescriptorProto_Type)(0), // 2: google.protobuf.FieldDescriptorProto.Type - (FieldDescriptorProto_Label)(0), // 3: google.protobuf.FieldDescriptorProto.Label - (FileOptions_OptimizeMode)(0), // 4: google.protobuf.FileOptions.OptimizeMode - (FieldOptions_CType)(0), // 5: google.protobuf.FieldOptions.CType - (FieldOptions_JSType)(0), // 6: google.protobuf.FieldOptions.JSType - (FieldOptions_OptionRetention)(0), // 7: google.protobuf.FieldOptions.OptionRetention - (FieldOptions_OptionTargetType)(0), // 8: google.protobuf.FieldOptions.OptionTargetType - (MethodOptions_IdempotencyLevel)(0), // 9: google.protobuf.MethodOptions.IdempotencyLevel - (FeatureSet_FieldPresence)(0), // 10: google.protobuf.FeatureSet.FieldPresence - (FeatureSet_EnumType)(0), // 11: google.protobuf.FeatureSet.EnumType - (FeatureSet_RepeatedFieldEncoding)(0), // 12: google.protobuf.FeatureSet.RepeatedFieldEncoding - (FeatureSet_Utf8Validation)(0), // 13: google.protobuf.FeatureSet.Utf8Validation - (FeatureSet_MessageEncoding)(0), // 14: google.protobuf.FeatureSet.MessageEncoding - (FeatureSet_JsonFormat)(0), // 15: google.protobuf.FeatureSet.JsonFormat - (GeneratedCodeInfo_Annotation_Semantic)(0), // 16: google.protobuf.GeneratedCodeInfo.Annotation.Semantic - (*FileDescriptorSet)(nil), // 17: google.protobuf.FileDescriptorSet - (*FileDescriptorProto)(nil), // 18: google.protobuf.FileDescriptorProto - (*DescriptorProto)(nil), // 19: google.protobuf.DescriptorProto - (*ExtensionRangeOptions)(nil), // 20: google.protobuf.ExtensionRangeOptions - (*FieldDescriptorProto)(nil), // 21: google.protobuf.FieldDescriptorProto - (*OneofDescriptorProto)(nil), // 22: google.protobuf.OneofDescriptorProto - (*EnumDescriptorProto)(nil), // 23: google.protobuf.EnumDescriptorProto - (*EnumValueDescriptorProto)(nil), // 24: google.protobuf.EnumValueDescriptorProto - (*ServiceDescriptorProto)(nil), // 25: google.protobuf.ServiceDescriptorProto - (*MethodDescriptorProto)(nil), // 26: google.protobuf.MethodDescriptorProto - (*FileOptions)(nil), // 27: google.protobuf.FileOptions - (*MessageOptions)(nil), // 28: google.protobuf.MessageOptions - (*FieldOptions)(nil), // 29: google.protobuf.FieldOptions - (*OneofOptions)(nil), // 30: google.protobuf.OneofOptions - (*EnumOptions)(nil), // 31: google.protobuf.EnumOptions - (*EnumValueOptions)(nil), // 32: google.protobuf.EnumValueOptions - (*ServiceOptions)(nil), // 33: google.protobuf.ServiceOptions - (*MethodOptions)(nil), // 34: google.protobuf.MethodOptions - (*UninterpretedOption)(nil), // 35: google.protobuf.UninterpretedOption - (*FeatureSet)(nil), // 36: google.protobuf.FeatureSet - (*FeatureSetDefaults)(nil), // 37: google.protobuf.FeatureSetDefaults - (*SourceCodeInfo)(nil), // 38: google.protobuf.SourceCodeInfo - (*GeneratedCodeInfo)(nil), // 39: google.protobuf.GeneratedCodeInfo - (*DescriptorProto_ExtensionRange)(nil), // 40: google.protobuf.DescriptorProto.ExtensionRange - (*DescriptorProto_ReservedRange)(nil), // 41: google.protobuf.DescriptorProto.ReservedRange - (*ExtensionRangeOptions_Declaration)(nil), // 42: google.protobuf.ExtensionRangeOptions.Declaration - (*EnumDescriptorProto_EnumReservedRange)(nil), // 43: google.protobuf.EnumDescriptorProto.EnumReservedRange - (*FieldOptions_EditionDefault)(nil), // 44: google.protobuf.FieldOptions.EditionDefault - (*UninterpretedOption_NamePart)(nil), // 45: google.protobuf.UninterpretedOption.NamePart - (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 46: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - (*SourceCodeInfo_Location)(nil), // 47: google.protobuf.SourceCodeInfo.Location - (*GeneratedCodeInfo_Annotation)(nil), // 48: google.protobuf.GeneratedCodeInfo.Annotation -} -var file_google_protobuf_descriptor_proto_depIdxs = []int32{ - 18, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto - 19, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto - 23, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto - 25, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto - 21, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto - 27, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions - 38, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo - 0, // 7: google.protobuf.FileDescriptorProto.edition:type_name -> google.protobuf.Edition - 21, // 8: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto - 21, // 9: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto - 19, // 10: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto - 23, // 11: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto - 40, // 12: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange - 22, // 13: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto - 28, // 14: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions - 41, // 15: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange - 35, // 16: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 42, // 17: google.protobuf.ExtensionRangeOptions.declaration:type_name -> google.protobuf.ExtensionRangeOptions.Declaration - 36, // 18: google.protobuf.ExtensionRangeOptions.features:type_name -> google.protobuf.FeatureSet - 1, // 19: google.protobuf.ExtensionRangeOptions.verification:type_name -> google.protobuf.ExtensionRangeOptions.VerificationState - 3, // 20: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label - 2, // 21: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type - 29, // 22: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions - 30, // 23: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions - 24, // 24: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto - 31, // 25: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions - 43, // 26: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange - 32, // 27: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions - 26, // 28: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto - 33, // 29: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions - 34, // 30: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions - 4, // 31: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode - 36, // 32: google.protobuf.FileOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 33: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 34: google.protobuf.MessageOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 35: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 5, // 36: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType - 6, // 37: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType - 7, // 38: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention - 8, // 39: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType - 44, // 40: google.protobuf.FieldOptions.edition_defaults:type_name -> google.protobuf.FieldOptions.EditionDefault - 36, // 41: google.protobuf.FieldOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 42: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 43: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 44: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 45: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 46: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 47: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 48: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 49: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 50: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 9, // 51: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel - 36, // 52: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 53: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 45, // 54: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart - 10, // 55: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence - 11, // 56: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType - 12, // 57: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding - 13, // 58: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation - 14, // 59: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding - 15, // 60: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat - 46, // 61: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - 0, // 62: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition - 0, // 63: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition - 47, // 64: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location - 48, // 65: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation - 20, // 66: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions - 0, // 67: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition - 0, // 68: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition - 36, // 69: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features:type_name -> google.protobuf.FeatureSet - 16, // 70: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic - 71, // [71:71] is the sub-list for method output_type - 71, // [71:71] is the sub-list for method input_type - 71, // [71:71] is the sub-list for extension type_name - 71, // [71:71] is the sub-list for extension extendee - 0, // [0:71] is the sub-list for field type_name -} - -func init() { file_google_protobuf_descriptor_proto_init() } -func file_google_protobuf_descriptor_proto_init() { - if File_google_protobuf_descriptor_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_descriptor_proto_rawDesc), len(file_google_protobuf_descriptor_proto_rawDesc)), - NumEnums: 17, - NumMessages: 32, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_descriptor_proto_goTypes, - DependencyIndexes: file_google_protobuf_descriptor_proto_depIdxs, - EnumInfos: file_google_protobuf_descriptor_proto_enumTypes, - MessageInfos: file_google_protobuf_descriptor_proto_msgTypes, - }.Build() - File_google_protobuf_descriptor_proto = out.File - file_google_protobuf_descriptor_proto_goTypes = nil - file_google_protobuf_descriptor_proto_depIdxs = nil -} diff --git a/build/google/protobuf/duration.pb.go b/build/google/protobuf/duration.pb.go deleted file mode 100644 index 803d756..0000000 --- a/build/google/protobuf/duration.pb.go +++ /dev/null @@ -1,356 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/duration.proto - -// Package durationpb contains generated types for google/protobuf/duration.proto. -// -// The Duration message represents a signed span of time. -// -// # Conversion to a Go Duration -// -// The AsDuration method can be used to convert a Duration message to a -// standard Go time.Duration value: -// -// d := dur.AsDuration() -// ... // make use of d as a time.Duration -// -// Converting to a time.Duration is a common operation so that the extensive -// set of time-based operations provided by the time package can be leveraged. -// See https://golang.org/pkg/time for more information. -// -// The AsDuration method performs the conversion on a best-effort basis. -// Durations with denormal values (e.g., nanoseconds beyond -99999999 and -// +99999999, inclusive; or seconds and nanoseconds with opposite signs) -// are normalized during the conversion to a time.Duration. To manually check for -// invalid Duration per the documented limitations in duration.proto, -// additionally call the CheckValid method: -// -// if err := dur.CheckValid(); err != nil { -// ... // handle error -// } -// -// Note that the documented limitations in duration.proto does not protect a -// Duration from overflowing the representable range of a time.Duration in Go. -// The AsDuration method uses saturation arithmetic such that an overflow clamps -// the resulting value to the closest representable value (e.g., math.MaxInt64 -// for positive overflow and math.MinInt64 for negative overflow). -// -// # Conversion from a Go Duration -// -// The durationpb.New function can be used to construct a Duration message -// from a standard Go time.Duration value: -// -// dur := durationpb.New(d) -// ... // make use of d as a *durationpb.Duration -package durationpb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - math "math" - reflect "reflect" - sync "sync" - time "time" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// A Duration represents a signed, fixed-length span of time represented -// as a count of seconds and fractions of seconds at nanosecond -// resolution. It is independent of any calendar and concepts like "day" -// or "month". It is related to Timestamp in that the difference between -// two Timestamp values is a Duration and it can be added or subtracted -// from a Timestamp. Range is approximately +-10,000 years. -// -// # Examples -// -// Example 1: Compute Duration from two Timestamps in pseudo code. -// -// Timestamp start = ...; -// Timestamp end = ...; -// Duration duration = ...; -// -// duration.seconds = end.seconds - start.seconds; -// duration.nanos = end.nanos - start.nanos; -// -// if (duration.seconds < 0 && duration.nanos > 0) { -// duration.seconds += 1; -// duration.nanos -= 1000000000; -// } else if (duration.seconds > 0 && duration.nanos < 0) { -// duration.seconds -= 1; -// duration.nanos += 1000000000; -// } -// -// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. -// -// Timestamp start = ...; -// Duration duration = ...; -// Timestamp end = ...; -// -// end.seconds = start.seconds + duration.seconds; -// end.nanos = start.nanos + duration.nanos; -// -// if (end.nanos < 0) { -// end.seconds -= 1; -// end.nanos += 1000000000; -// } else if (end.nanos >= 1000000000) { -// end.seconds += 1; -// end.nanos -= 1000000000; -// } -// -// Example 3: Compute Duration from datetime.timedelta in Python. -// -// td = datetime.timedelta(days=3, minutes=10) -// duration = Duration() -// duration.FromTimedelta(td) -// -// # JSON Mapping -// -// In JSON format, the Duration type is encoded as a string rather than an -// object, where the string ends in the suffix "s" (indicating seconds) and -// is preceded by the number of seconds, with nanoseconds expressed as -// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -// microsecond should be expressed in JSON format as "3.000001s". -type Duration struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Signed seconds of the span of time. Must be from -315,576,000,000 - // to +315,576,000,000 inclusive. Note: these bounds are computed from: - // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` - // Signed fractions of a second at nanosecond resolution of the span - // of time. Durations less than one second are represented with a 0 - // `seconds` field and a positive or negative `nanos` field. For durations - // of one second or more, a non-zero value for the `nanos` field must be - // of the same sign as the `seconds` field. Must be from -999,999,999 - // to +999,999,999 inclusive. - Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// New constructs a new Duration from the provided time.Duration. -func New(d time.Duration) *Duration { - nanos := d.Nanoseconds() - secs := nanos / 1e9 - nanos -= secs * 1e9 - return &Duration{Seconds: int64(secs), Nanos: int32(nanos)} -} - -// AsDuration converts x to a time.Duration, -// returning the closest duration value in the event of overflow. -func (x *Duration) AsDuration() time.Duration { - secs := x.GetSeconds() - nanos := x.GetNanos() - d := time.Duration(secs) * time.Second - overflow := d/time.Second != time.Duration(secs) - d += time.Duration(nanos) * time.Nanosecond - overflow = overflow || (secs < 0 && nanos < 0 && d > 0) - overflow = overflow || (secs > 0 && nanos > 0 && d < 0) - if overflow { - switch { - case secs < 0: - return time.Duration(math.MinInt64) - case secs > 0: - return time.Duration(math.MaxInt64) - } - } - return d -} - -// IsValid reports whether the duration is valid. -// It is equivalent to CheckValid == nil. -func (x *Duration) IsValid() bool { - return x.check() == 0 -} - -// CheckValid returns an error if the duration is invalid. -// In particular, it checks whether the value is within the range of -// -10000 years to +10000 years inclusive. -// An error is reported for a nil Duration. -func (x *Duration) CheckValid() error { - switch x.check() { - case invalidNil: - return protoimpl.X.NewError("invalid nil Duration") - case invalidUnderflow: - return protoimpl.X.NewError("duration (%v) exceeds -10000 years", x) - case invalidOverflow: - return protoimpl.X.NewError("duration (%v) exceeds +10000 years", x) - case invalidNanosRange: - return protoimpl.X.NewError("duration (%v) has out-of-range nanos", x) - case invalidNanosSign: - return protoimpl.X.NewError("duration (%v) has seconds and nanos with different signs", x) - default: - return nil - } -} - -const ( - _ = iota - invalidNil - invalidUnderflow - invalidOverflow - invalidNanosRange - invalidNanosSign -) - -func (x *Duration) check() uint { - const absDuration = 315576000000 // 10000yr * 365.25day/yr * 24hr/day * 60min/hr * 60sec/min - secs := x.GetSeconds() - nanos := x.GetNanos() - switch { - case x == nil: - return invalidNil - case secs < -absDuration: - return invalidUnderflow - case secs > +absDuration: - return invalidOverflow - case nanos <= -1e9 || nanos >= +1e9: - return invalidNanosRange - case (secs > 0 && nanos < 0) || (secs < 0 && nanos > 0): - return invalidNanosSign - default: - return 0 - } -} - -func (x *Duration) Reset() { - *x = Duration{} - mi := &file_google_protobuf_duration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Duration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Duration) ProtoMessage() {} - -func (x *Duration) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_duration_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Duration.ProtoReflect.Descriptor instead. -func (*Duration) Descriptor() ([]byte, []int) { - return file_google_protobuf_duration_proto_rawDescGZIP(), []int{0} -} - -func (x *Duration) GetSeconds() int64 { - if x != nil { - return x.Seconds - } - return 0 -} - -func (x *Duration) GetNanos() int32 { - if x != nil { - return x.Nanos - } - return 0 -} - -var File_google_protobuf_duration_proto protoreflect.FileDescriptor - -const file_google_protobuf_duration_proto_rawDesc = "" + - "\n" + - "\x1egoogle/protobuf/duration.proto\x12\x0fgoogle.protobuf\":\n" + - "\bDuration\x12\x18\n" + - "\aseconds\x18\x01 \x01(\x03R\aseconds\x12\x14\n" + - "\x05nanos\x18\x02 \x01(\x05R\x05nanosB\x83\x01\n" + - "\x13com.google.protobufB\rDurationProtoP\x01Z1google.golang.org/protobuf/types/known/durationpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_duration_proto_rawDescOnce sync.Once - file_google_protobuf_duration_proto_rawDescData []byte -) - -func file_google_protobuf_duration_proto_rawDescGZIP() []byte { - file_google_protobuf_duration_proto_rawDescOnce.Do(func() { - file_google_protobuf_duration_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc))) - }) - return file_google_protobuf_duration_proto_rawDescData -} - -var file_google_protobuf_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_duration_proto_goTypes = []any{ - (*Duration)(nil), // 0: google.protobuf.Duration -} -var file_google_protobuf_duration_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_duration_proto_init() } -func file_google_protobuf_duration_proto_init() { - if File_google_protobuf_duration_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_duration_proto_goTypes, - DependencyIndexes: file_google_protobuf_duration_proto_depIdxs, - MessageInfos: file_google_protobuf_duration_proto_msgTypes, - }.Build() - File_google_protobuf_duration_proto = out.File - file_google_protobuf_duration_proto_goTypes = nil - file_google_protobuf_duration_proto_depIdxs = nil -} diff --git a/build/google/protobuf/empty.pb.go b/build/google/protobuf/empty.pb.go deleted file mode 100644 index c2ed05a..0000000 --- a/build/google/protobuf/empty.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/empty.proto - -package emptypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// A generic empty message that you can re-use to avoid defining duplicated -// empty messages in your APIs. A typical example is to use it as the request -// or the response type of an API method. For instance: -// -// service Foo { -// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -// } -type Empty struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Empty) Reset() { - *x = Empty{} - mi := &file_google_protobuf_empty_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Empty) ProtoMessage() {} - -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_empty_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_google_protobuf_empty_proto_rawDescGZIP(), []int{0} -} - -var File_google_protobuf_empty_proto protoreflect.FileDescriptor - -const file_google_protobuf_empty_proto_rawDesc = "" + - "\n" + - "\x1bgoogle/protobuf/empty.proto\x12\x0fgoogle.protobuf\"\a\n" + - "\x05EmptyB}\n" + - "\x13com.google.protobufB\n" + - "EmptyProtoP\x01Z.google.golang.org/protobuf/types/known/emptypb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_empty_proto_rawDescOnce sync.Once - file_google_protobuf_empty_proto_rawDescData []byte -) - -func file_google_protobuf_empty_proto_rawDescGZIP() []byte { - file_google_protobuf_empty_proto_rawDescOnce.Do(func() { - file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_empty_proto_rawDesc), len(file_google_protobuf_empty_proto_rawDesc))) - }) - return file_google_protobuf_empty_proto_rawDescData -} - -var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_empty_proto_goTypes = []any{ - (*Empty)(nil), // 0: google.protobuf.Empty -} -var file_google_protobuf_empty_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_empty_proto_init() } -func file_google_protobuf_empty_proto_init() { - if File_google_protobuf_empty_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_empty_proto_rawDesc), len(file_google_protobuf_empty_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_empty_proto_goTypes, - DependencyIndexes: file_google_protobuf_empty_proto_depIdxs, - MessageInfos: file_google_protobuf_empty_proto_msgTypes, - }.Build() - File_google_protobuf_empty_proto = out.File - file_google_protobuf_empty_proto_goTypes = nil - file_google_protobuf_empty_proto_depIdxs = nil -} diff --git a/build/google/protobuf/struct.pb.go b/build/google/protobuf/struct.pb.go deleted file mode 100644 index 8ed58a9..0000000 --- a/build/google/protobuf/struct.pb.go +++ /dev/null @@ -1,777 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/struct.proto - -// Package structpb contains generated types for google/protobuf/struct.proto. -// -// The messages (i.e., Value, Struct, and ListValue) defined in struct.proto are -// used to represent arbitrary JSON. The Value message represents a JSON value, -// the Struct message represents a JSON object, and the ListValue message -// represents a JSON array. See https://json.org for more information. -// -// The Value, Struct, and ListValue types have generated MarshalJSON and -// UnmarshalJSON methods such that they serialize JSON equivalent to what the -// messages themselves represent. Use of these types with the -// "google.golang.org/protobuf/encoding/protojson" package -// ensures that they will be serialized as their JSON equivalent. -// -// # Conversion to and from a Go interface -// -// The standard Go "encoding/json" package has functionality to serialize -// arbitrary types to a large degree. The Value.AsInterface, Struct.AsMap, and -// ListValue.AsSlice methods can convert the protobuf message representation into -// a form represented by any, map[string]any, and []any. -// This form can be used with other packages that operate on such data structures -// and also directly with the standard json package. -// -// In order to convert the any, map[string]any, and []any -// forms back as Value, Struct, and ListValue messages, use the NewStruct, -// NewList, and NewValue constructor functions. -// -// # Example usage -// -// Consider the following example JSON object: -// -// { -// "firstName": "John", -// "lastName": "Smith", -// "isAlive": true, -// "age": 27, -// "address": { -// "streetAddress": "21 2nd Street", -// "city": "New York", -// "state": "NY", -// "postalCode": "10021-3100" -// }, -// "phoneNumbers": [ -// { -// "type": "home", -// "number": "212 555-1234" -// }, -// { -// "type": "office", -// "number": "646 555-4567" -// } -// ], -// "children": [], -// "spouse": null -// } -// -// To construct a Value message representing the above JSON object: -// -// m, err := structpb.NewValue(map[string]any{ -// "firstName": "John", -// "lastName": "Smith", -// "isAlive": true, -// "age": 27, -// "address": map[string]any{ -// "streetAddress": "21 2nd Street", -// "city": "New York", -// "state": "NY", -// "postalCode": "10021-3100", -// }, -// "phoneNumbers": []any{ -// map[string]any{ -// "type": "home", -// "number": "212 555-1234", -// }, -// map[string]any{ -// "type": "office", -// "number": "646 555-4567", -// }, -// }, -// "children": []any{}, -// "spouse": nil, -// }) -// if err != nil { -// ... // handle error -// } -// ... // make use of m as a *structpb.Value -package structpb - -import ( - base64 "encoding/base64" - json "encoding/json" - protojson "google.golang.org/protobuf/encoding/protojson" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - math "math" - reflect "reflect" - sync "sync" - utf8 "unicode/utf8" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// `NullValue` is a singleton enumeration to represent the null value for the -// `Value` type union. -// -// The JSON representation for `NullValue` is JSON `null`. -type NullValue int32 - -const ( - // Null value. - NullValue_NULL_VALUE NullValue = 0 -) - -// Enum value maps for NullValue. -var ( - NullValue_name = map[int32]string{ - 0: "NULL_VALUE", - } - NullValue_value = map[string]int32{ - "NULL_VALUE": 0, - } -) - -func (x NullValue) Enum() *NullValue { - p := new(NullValue) - *p = x - return p -} - -func (x NullValue) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NullValue) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_struct_proto_enumTypes[0].Descriptor() -} - -func (NullValue) Type() protoreflect.EnumType { - return &file_google_protobuf_struct_proto_enumTypes[0] -} - -func (x NullValue) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use NullValue.Descriptor instead. -func (NullValue) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} -} - -// `Struct` represents a structured data value, consisting of fields -// which map to dynamically typed values. In some languages, `Struct` -// might be supported by a native representation. For example, in -// scripting languages like JS a struct is represented as an -// object. The details of that representation are described together -// with the proto support for the language. -// -// The JSON representation for `Struct` is JSON object. -type Struct struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Unordered map of dynamically typed values. - Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// NewStruct constructs a Struct from a general-purpose Go map. -// The map keys must be valid UTF-8. -// The map values are converted using NewValue. -func NewStruct(v map[string]any) (*Struct, error) { - x := &Struct{Fields: make(map[string]*Value, len(v))} - for k, v := range v { - if !utf8.ValidString(k) { - return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", k) - } - var err error - x.Fields[k], err = NewValue(v) - if err != nil { - return nil, err - } - } - return x, nil -} - -// AsMap converts x to a general-purpose Go map. -// The map values are converted by calling Value.AsInterface. -func (x *Struct) AsMap() map[string]any { - f := x.GetFields() - vs := make(map[string]any, len(f)) - for k, v := range f { - vs[k] = v.AsInterface() - } - return vs -} - -func (x *Struct) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *Struct) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *Struct) Reset() { - *x = Struct{} - mi := &file_google_protobuf_struct_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Struct) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Struct) ProtoMessage() {} - -func (x *Struct) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Struct.ProtoReflect.Descriptor instead. -func (*Struct) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} -} - -func (x *Struct) GetFields() map[string]*Value { - if x != nil { - return x.Fields - } - return nil -} - -// `Value` represents a dynamically typed value which can be either -// null, a number, a string, a boolean, a recursive struct value, or a -// list of values. A producer of value is expected to set one of these -// variants. Absence of any variant indicates an error. -// -// The JSON representation for `Value` is JSON value. -type Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The kind of value. - // - // Types that are valid to be assigned to Kind: - // - // *Value_NullValue - // *Value_NumberValue - // *Value_StringValue - // *Value_BoolValue - // *Value_StructValue - // *Value_ListValue - Kind isValue_Kind `protobuf_oneof:"kind"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// NewValue constructs a Value from a general-purpose Go interface. -// -// ╔═══════════════════════════════════════╤════════════════════════════════════════════╗ -// ║ Go type │ Conversion ║ -// ╠═══════════════════════════════════════╪════════════════════════════════════════════╣ -// ║ nil │ stored as NullValue ║ -// ║ bool │ stored as BoolValue ║ -// ║ int, int8, int16, int32, int64 │ stored as NumberValue ║ -// ║ uint, uint8, uint16, uint32, uint64 │ stored as NumberValue ║ -// ║ float32, float64 │ stored as NumberValue ║ -// ║ json.Number │ stored as NumberValue ║ -// ║ string │ stored as StringValue; must be valid UTF-8 ║ -// ║ []byte │ stored as StringValue; base64-encoded ║ -// ║ map[string]any │ stored as StructValue ║ -// ║ []any │ stored as ListValue ║ -// ╚═══════════════════════════════════════╧════════════════════════════════════════════╝ -// -// When converting an int64 or uint64 to a NumberValue, numeric precision loss -// is possible since they are stored as a float64. -func NewValue(v any) (*Value, error) { - switch v := v.(type) { - case nil: - return NewNullValue(), nil - case bool: - return NewBoolValue(v), nil - case int: - return NewNumberValue(float64(v)), nil - case int8: - return NewNumberValue(float64(v)), nil - case int16: - return NewNumberValue(float64(v)), nil - case int32: - return NewNumberValue(float64(v)), nil - case int64: - return NewNumberValue(float64(v)), nil - case uint: - return NewNumberValue(float64(v)), nil - case uint8: - return NewNumberValue(float64(v)), nil - case uint16: - return NewNumberValue(float64(v)), nil - case uint32: - return NewNumberValue(float64(v)), nil - case uint64: - return NewNumberValue(float64(v)), nil - case float32: - return NewNumberValue(float64(v)), nil - case float64: - return NewNumberValue(float64(v)), nil - case json.Number: - n, err := v.Float64() - if err != nil { - return nil, protoimpl.X.NewError("invalid number format %q, expected a float64: %v", v, err) - } - return NewNumberValue(n), nil - case string: - if !utf8.ValidString(v) { - return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", v) - } - return NewStringValue(v), nil - case []byte: - s := base64.StdEncoding.EncodeToString(v) - return NewStringValue(s), nil - case map[string]any: - v2, err := NewStruct(v) - if err != nil { - return nil, err - } - return NewStructValue(v2), nil - case []any: - v2, err := NewList(v) - if err != nil { - return nil, err - } - return NewListValue(v2), nil - default: - return nil, protoimpl.X.NewError("invalid type: %T", v) - } -} - -// NewNullValue constructs a new null Value. -func NewNullValue() *Value { - return &Value{Kind: &Value_NullValue{NullValue: NullValue_NULL_VALUE}} -} - -// NewBoolValue constructs a new boolean Value. -func NewBoolValue(v bool) *Value { - return &Value{Kind: &Value_BoolValue{BoolValue: v}} -} - -// NewNumberValue constructs a new number Value. -func NewNumberValue(v float64) *Value { - return &Value{Kind: &Value_NumberValue{NumberValue: v}} -} - -// NewStringValue constructs a new string Value. -func NewStringValue(v string) *Value { - return &Value{Kind: &Value_StringValue{StringValue: v}} -} - -// NewStructValue constructs a new struct Value. -func NewStructValue(v *Struct) *Value { - return &Value{Kind: &Value_StructValue{StructValue: v}} -} - -// NewListValue constructs a new list Value. -func NewListValue(v *ListValue) *Value { - return &Value{Kind: &Value_ListValue{ListValue: v}} -} - -// AsInterface converts x to a general-purpose Go interface. -// -// Calling Value.MarshalJSON and "encoding/json".Marshal on this output produce -// semantically equivalent JSON (assuming no errors occur). -// -// Floating-point values (i.e., "NaN", "Infinity", and "-Infinity") are -// converted as strings to remain compatible with MarshalJSON. -func (x *Value) AsInterface() any { - switch v := x.GetKind().(type) { - case *Value_NumberValue: - if v != nil { - switch { - case math.IsNaN(v.NumberValue): - return "NaN" - case math.IsInf(v.NumberValue, +1): - return "Infinity" - case math.IsInf(v.NumberValue, -1): - return "-Infinity" - default: - return v.NumberValue - } - } - case *Value_StringValue: - if v != nil { - return v.StringValue - } - case *Value_BoolValue: - if v != nil { - return v.BoolValue - } - case *Value_StructValue: - if v != nil { - return v.StructValue.AsMap() - } - case *Value_ListValue: - if v != nil { - return v.ListValue.AsSlice() - } - } - return nil -} - -func (x *Value) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *Value) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *Value) Reset() { - *x = Value{} - mi := &file_google_protobuf_struct_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Value) ProtoMessage() {} - -func (x *Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Value.ProtoReflect.Descriptor instead. -func (*Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{1} -} - -func (x *Value) GetKind() isValue_Kind { - if x != nil { - return x.Kind - } - return nil -} - -func (x *Value) GetNullValue() NullValue { - if x != nil { - if x, ok := x.Kind.(*Value_NullValue); ok { - return x.NullValue - } - } - return NullValue_NULL_VALUE -} - -func (x *Value) GetNumberValue() float64 { - if x != nil { - if x, ok := x.Kind.(*Value_NumberValue); ok { - return x.NumberValue - } - } - return 0 -} - -func (x *Value) GetStringValue() string { - if x != nil { - if x, ok := x.Kind.(*Value_StringValue); ok { - return x.StringValue - } - } - return "" -} - -func (x *Value) GetBoolValue() bool { - if x != nil { - if x, ok := x.Kind.(*Value_BoolValue); ok { - return x.BoolValue - } - } - return false -} - -func (x *Value) GetStructValue() *Struct { - if x != nil { - if x, ok := x.Kind.(*Value_StructValue); ok { - return x.StructValue - } - } - return nil -} - -func (x *Value) GetListValue() *ListValue { - if x != nil { - if x, ok := x.Kind.(*Value_ListValue); ok { - return x.ListValue - } - } - return nil -} - -type isValue_Kind interface { - isValue_Kind() -} - -type Value_NullValue struct { - // Represents a null value. - NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` -} - -type Value_NumberValue struct { - // Represents a double value. - NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"` -} - -type Value_StringValue struct { - // Represents a string value. - StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Value_BoolValue struct { - // Represents a boolean value. - BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` -} - -type Value_StructValue struct { - // Represents a structured value. - StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"` -} - -type Value_ListValue struct { - // Represents a repeated `Value`. - ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"` -} - -func (*Value_NullValue) isValue_Kind() {} - -func (*Value_NumberValue) isValue_Kind() {} - -func (*Value_StringValue) isValue_Kind() {} - -func (*Value_BoolValue) isValue_Kind() {} - -func (*Value_StructValue) isValue_Kind() {} - -func (*Value_ListValue) isValue_Kind() {} - -// `ListValue` is a wrapper around a repeated field of values. -// -// The JSON representation for `ListValue` is JSON array. -type ListValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Repeated field of dynamically typed values. - Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// NewList constructs a ListValue from a general-purpose Go slice. -// The slice elements are converted using NewValue. -func NewList(v []any) (*ListValue, error) { - x := &ListValue{Values: make([]*Value, len(v))} - for i, v := range v { - var err error - x.Values[i], err = NewValue(v) - if err != nil { - return nil, err - } - } - return x, nil -} - -// AsSlice converts x to a general-purpose Go slice. -// The slice elements are converted by calling Value.AsInterface. -func (x *ListValue) AsSlice() []any { - vals := x.GetValues() - vs := make([]any, len(vals)) - for i, v := range vals { - vs[i] = v.AsInterface() - } - return vs -} - -func (x *ListValue) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *ListValue) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *ListValue) Reset() { - *x = ListValue{} - mi := &file_google_protobuf_struct_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListValue) ProtoMessage() {} - -func (x *ListValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListValue.ProtoReflect.Descriptor instead. -func (*ListValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{2} -} - -func (x *ListValue) GetValues() []*Value { - if x != nil { - return x.Values - } - return nil -} - -var File_google_protobuf_struct_proto protoreflect.FileDescriptor - -const file_google_protobuf_struct_proto_rawDesc = "" + - "\n" + - "\x1cgoogle/protobuf/struct.proto\x12\x0fgoogle.protobuf\"\x98\x01\n" + - "\x06Struct\x12;\n" + - "\x06fields\x18\x01 \x03(\v2#.google.protobuf.Struct.FieldsEntryR\x06fields\x1aQ\n" + - "\vFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12,\n" + - "\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"\xb2\x02\n" + - "\x05Value\x12;\n" + - "\n" + - "null_value\x18\x01 \x01(\x0e2\x1a.google.protobuf.NullValueH\x00R\tnullValue\x12#\n" + - "\fnumber_value\x18\x02 \x01(\x01H\x00R\vnumberValue\x12#\n" + - "\fstring_value\x18\x03 \x01(\tH\x00R\vstringValue\x12\x1f\n" + - "\n" + - "bool_value\x18\x04 \x01(\bH\x00R\tboolValue\x12<\n" + - "\fstruct_value\x18\x05 \x01(\v2\x17.google.protobuf.StructH\x00R\vstructValue\x12;\n" + - "\n" + - "list_value\x18\x06 \x01(\v2\x1a.google.protobuf.ListValueH\x00R\tlistValueB\x06\n" + - "\x04kind\";\n" + - "\tListValue\x12.\n" + - "\x06values\x18\x01 \x03(\v2\x16.google.protobuf.ValueR\x06values*\x1b\n" + - "\tNullValue\x12\x0e\n" + - "\n" + - "NULL_VALUE\x10\x00B\x7f\n" + - "\x13com.google.protobufB\vStructProtoP\x01Z/google.golang.org/protobuf/types/known/structpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_struct_proto_rawDescOnce sync.Once - file_google_protobuf_struct_proto_rawDescData []byte -) - -func file_google_protobuf_struct_proto_rawDescGZIP() []byte { - file_google_protobuf_struct_proto_rawDescOnce.Do(func() { - file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_struct_proto_rawDesc), len(file_google_protobuf_struct_proto_rawDesc))) - }) - return file_google_protobuf_struct_proto_rawDescData -} - -var file_google_protobuf_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_google_protobuf_struct_proto_goTypes = []any{ - (NullValue)(0), // 0: google.protobuf.NullValue - (*Struct)(nil), // 1: google.protobuf.Struct - (*Value)(nil), // 2: google.protobuf.Value - (*ListValue)(nil), // 3: google.protobuf.ListValue - nil, // 4: google.protobuf.Struct.FieldsEntry -} -var file_google_protobuf_struct_proto_depIdxs = []int32{ - 4, // 0: google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry - 0, // 1: google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue - 1, // 2: google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct - 3, // 3: google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue - 2, // 4: google.protobuf.ListValue.values:type_name -> google.protobuf.Value - 2, // 5: google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_google_protobuf_struct_proto_init() } -func file_google_protobuf_struct_proto_init() { - if File_google_protobuf_struct_proto != nil { - return - } - file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []any{ - (*Value_NullValue)(nil), - (*Value_NumberValue)(nil), - (*Value_StringValue)(nil), - (*Value_BoolValue)(nil), - (*Value_StructValue)(nil), - (*Value_ListValue)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_struct_proto_rawDesc), len(file_google_protobuf_struct_proto_rawDesc)), - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_struct_proto_goTypes, - DependencyIndexes: file_google_protobuf_struct_proto_depIdxs, - EnumInfos: file_google_protobuf_struct_proto_enumTypes, - MessageInfos: file_google_protobuf_struct_proto_msgTypes, - }.Build() - File_google_protobuf_struct_proto = out.File - file_google_protobuf_struct_proto_goTypes = nil - file_google_protobuf_struct_proto_depIdxs = nil -} diff --git a/build/google/protobuf/timestamp.pb.go b/build/google/protobuf/timestamp.pb.go deleted file mode 100644 index 226a126..0000000 --- a/build/google/protobuf/timestamp.pb.go +++ /dev/null @@ -1,365 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/timestamp.proto - -// Package timestamppb contains generated types for google/protobuf/timestamp.proto. -// -// The Timestamp message represents a timestamp, -// an instant in time since the Unix epoch (January 1st, 1970). -// -// # Conversion to a Go Time -// -// The AsTime method can be used to convert a Timestamp message to a -// standard Go time.Time value in UTC: -// -// t := ts.AsTime() -// ... // make use of t as a time.Time -// -// Converting to a time.Time is a common operation so that the extensive -// set of time-based operations provided by the time package can be leveraged. -// See https://golang.org/pkg/time for more information. -// -// The AsTime method performs the conversion on a best-effort basis. Timestamps -// with denormal values (e.g., nanoseconds beyond 0 and 99999999, inclusive) -// are normalized during the conversion to a time.Time. To manually check for -// invalid Timestamps per the documented limitations in timestamp.proto, -// additionally call the CheckValid method: -// -// if err := ts.CheckValid(); err != nil { -// ... // handle error -// } -// -// # Conversion from a Go Time -// -// The timestamppb.New function can be used to construct a Timestamp message -// from a standard Go time.Time value: -// -// ts := timestamppb.New(t) -// ... // make use of ts as a *timestamppb.Timestamp -// -// In order to construct a Timestamp representing the current time, use Now: -// -// ts := timestamppb.Now() -// ... // make use of ts as a *timestamppb.Timestamp -package timestamppb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - time "time" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// A Timestamp represents a point in time independent of any time zone or local -// calendar, encoded as a count of seconds and fractions of seconds at -// nanosecond resolution. The count is relative to an epoch at UTC midnight on -// January 1, 1970, in the proleptic Gregorian calendar which extends the -// Gregorian calendar backwards to year one. -// -// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -// second table is needed for interpretation, using a [24-hour linear -// smear](https://developers.google.com/time/smear). -// -// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -// restricting to that range, we ensure that we can convert to and from [RFC -// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. -// -// # Examples -// -// Example 1: Compute Timestamp from POSIX `time()`. -// -// Timestamp timestamp; -// timestamp.set_seconds(time(NULL)); -// timestamp.set_nanos(0); -// -// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -// -// struct timeval tv; -// gettimeofday(&tv, NULL); -// -// Timestamp timestamp; -// timestamp.set_seconds(tv.tv_sec); -// timestamp.set_nanos(tv.tv_usec * 1000); -// -// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -// -// FILETIME ft; -// GetSystemTimeAsFileTime(&ft); -// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -// -// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -// Timestamp timestamp; -// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -// -// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -// -// long millis = System.currentTimeMillis(); -// -// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -// .setNanos((int) ((millis % 1000) * 1000000)).build(); -// -// Example 5: Compute Timestamp from Java `Instant.now()`. -// -// Instant now = Instant.now(); -// -// Timestamp timestamp = -// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) -// .setNanos(now.getNano()).build(); -// -// Example 6: Compute Timestamp from current time in Python. -// -// timestamp = Timestamp() -// timestamp.GetCurrentTime() -// -// # JSON Mapping -// -// In JSON format, the Timestamp type is encoded as a string in the -// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -// where {year} is always expressed using four digits while {month}, {day}, -// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -// is required. A proto3 JSON serializer should always use UTC (as indicated by -// "Z") when printing the Timestamp type and a proto3 JSON parser should be -// able to accept both UTC and other timezones (as indicated by an offset). -// -// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -// 01:30 UTC on January 15, 2017. -// -// In JavaScript, one can convert a Date object to this format using the -// standard -// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -// method. In Python, a standard `datetime.datetime` object can be converted -// to this format using -// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() -// ) to obtain a formatter capable of generating timestamps in this format. -type Timestamp struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Represents seconds of UTC time since Unix epoch - // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - // 9999-12-31T23:59:59Z inclusive. - Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` - // Non-negative fractions of a second at nanosecond resolution. Negative - // second values with fractions must still have non-negative nanos values - // that count forward in time. Must be from 0 to 999,999,999 - // inclusive. - Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Now constructs a new Timestamp from the current time. -func Now() *Timestamp { - return New(time.Now()) -} - -// New constructs a new Timestamp from the provided time.Time. -func New(t time.Time) *Timestamp { - return &Timestamp{Seconds: int64(t.Unix()), Nanos: int32(t.Nanosecond())} -} - -// AsTime converts x to a time.Time. -func (x *Timestamp) AsTime() time.Time { - return time.Unix(int64(x.GetSeconds()), int64(x.GetNanos())).UTC() -} - -// IsValid reports whether the timestamp is valid. -// It is equivalent to CheckValid == nil. -func (x *Timestamp) IsValid() bool { - return x.check() == 0 -} - -// CheckValid returns an error if the timestamp is invalid. -// In particular, it checks whether the value represents a date that is -// in the range of 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. -// An error is reported for a nil Timestamp. -func (x *Timestamp) CheckValid() error { - switch x.check() { - case invalidNil: - return protoimpl.X.NewError("invalid nil Timestamp") - case invalidUnderflow: - return protoimpl.X.NewError("timestamp (%v) before 0001-01-01", x) - case invalidOverflow: - return protoimpl.X.NewError("timestamp (%v) after 9999-12-31", x) - case invalidNanos: - return protoimpl.X.NewError("timestamp (%v) has out-of-range nanos", x) - default: - return nil - } -} - -const ( - _ = iota - invalidNil - invalidUnderflow - invalidOverflow - invalidNanos -) - -func (x *Timestamp) check() uint { - const minTimestamp = -62135596800 // Seconds between 1970-01-01T00:00:00Z and 0001-01-01T00:00:00Z, inclusive - const maxTimestamp = +253402300799 // Seconds between 1970-01-01T00:00:00Z and 9999-12-31T23:59:59Z, inclusive - secs := x.GetSeconds() - nanos := x.GetNanos() - switch { - case x == nil: - return invalidNil - case secs < minTimestamp: - return invalidUnderflow - case secs > maxTimestamp: - return invalidOverflow - case nanos < 0 || nanos >= 1e9: - return invalidNanos - default: - return 0 - } -} - -func (x *Timestamp) Reset() { - *x = Timestamp{} - mi := &file_google_protobuf_timestamp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Timestamp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Timestamp) ProtoMessage() {} - -func (x *Timestamp) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_timestamp_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Timestamp.ProtoReflect.Descriptor instead. -func (*Timestamp) Descriptor() ([]byte, []int) { - return file_google_protobuf_timestamp_proto_rawDescGZIP(), []int{0} -} - -func (x *Timestamp) GetSeconds() int64 { - if x != nil { - return x.Seconds - } - return 0 -} - -func (x *Timestamp) GetNanos() int32 { - if x != nil { - return x.Nanos - } - return 0 -} - -var File_google_protobuf_timestamp_proto protoreflect.FileDescriptor - -const file_google_protobuf_timestamp_proto_rawDesc = "" + - "\n" + - "\x1fgoogle/protobuf/timestamp.proto\x12\x0fgoogle.protobuf\";\n" + - "\tTimestamp\x12\x18\n" + - "\aseconds\x18\x01 \x01(\x03R\aseconds\x12\x14\n" + - "\x05nanos\x18\x02 \x01(\x05R\x05nanosB\x85\x01\n" + - "\x13com.google.protobufB\x0eTimestampProtoP\x01Z2google.golang.org/protobuf/types/known/timestamppb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_timestamp_proto_rawDescOnce sync.Once - file_google_protobuf_timestamp_proto_rawDescData []byte -) - -func file_google_protobuf_timestamp_proto_rawDescGZIP() []byte { - file_google_protobuf_timestamp_proto_rawDescOnce.Do(func() { - file_google_protobuf_timestamp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc))) - }) - return file_google_protobuf_timestamp_proto_rawDescData -} - -var file_google_protobuf_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_timestamp_proto_goTypes = []any{ - (*Timestamp)(nil), // 0: google.protobuf.Timestamp -} -var file_google_protobuf_timestamp_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_timestamp_proto_init() } -func file_google_protobuf_timestamp_proto_init() { - if File_google_protobuf_timestamp_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_timestamp_proto_goTypes, - DependencyIndexes: file_google_protobuf_timestamp_proto_depIdxs, - MessageInfos: file_google_protobuf_timestamp_proto_msgTypes, - }.Build() - File_google_protobuf_timestamp_proto = out.File - file_google_protobuf_timestamp_proto_goTypes = nil - file_google_protobuf_timestamp_proto_depIdxs = nil -} diff --git a/build/google/protobuf/wrappers.pb.go b/build/google/protobuf/wrappers.pb.go deleted file mode 100644 index 1b359c6..0000000 --- a/build/google/protobuf/wrappers.pb.go +++ /dev/null @@ -1,624 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// Wrappers for primitive (non-message) types. These types are useful -// for embedding primitives in the `google.protobuf.Any` type and for places -// where we need to distinguish between the absence of a primitive -// typed field and its default value. -// -// These wrappers have no meaningful use within repeated fields as they lack -// the ability to detect presence on individual elements. -// These wrappers have no meaningful use within a map or a oneof since -// individual entries of a map or fields of a oneof can already detect presence. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: google/protobuf/wrappers.proto - -package wrapperspb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Wrapper message for `double`. -// -// The JSON representation for `DoubleValue` is JSON number. -type DoubleValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The double value. - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Double stores v in a new DoubleValue and returns a pointer to it. -func Double(v float64) *DoubleValue { - return &DoubleValue{Value: v} -} - -func (x *DoubleValue) Reset() { - *x = DoubleValue{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DoubleValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DoubleValue) ProtoMessage() {} - -func (x *DoubleValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead. -func (*DoubleValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{0} -} - -func (x *DoubleValue) GetValue() float64 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `float`. -// -// The JSON representation for `FloatValue` is JSON number. -type FloatValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The float value. - Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Float stores v in a new FloatValue and returns a pointer to it. -func Float(v float32) *FloatValue { - return &FloatValue{Value: v} -} - -func (x *FloatValue) Reset() { - *x = FloatValue{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FloatValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FloatValue) ProtoMessage() {} - -func (x *FloatValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FloatValue.ProtoReflect.Descriptor instead. -func (*FloatValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{1} -} - -func (x *FloatValue) GetValue() float32 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `int64`. -// -// The JSON representation for `Int64Value` is JSON string. -type Int64Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The int64 value. - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Int64 stores v in a new Int64Value and returns a pointer to it. -func Int64(v int64) *Int64Value { - return &Int64Value{Value: v} -} - -func (x *Int64Value) Reset() { - *x = Int64Value{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Int64Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Int64Value) ProtoMessage() {} - -func (x *Int64Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Int64Value.ProtoReflect.Descriptor instead. -func (*Int64Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{2} -} - -func (x *Int64Value) GetValue() int64 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `uint64`. -// -// The JSON representation for `UInt64Value` is JSON string. -type UInt64Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The uint64 value. - Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// UInt64 stores v in a new UInt64Value and returns a pointer to it. -func UInt64(v uint64) *UInt64Value { - return &UInt64Value{Value: v} -} - -func (x *UInt64Value) Reset() { - *x = UInt64Value{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UInt64Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UInt64Value) ProtoMessage() {} - -func (x *UInt64Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead. -func (*UInt64Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{3} -} - -func (x *UInt64Value) GetValue() uint64 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `int32`. -// -// The JSON representation for `Int32Value` is JSON number. -type Int32Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The int32 value. - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Int32 stores v in a new Int32Value and returns a pointer to it. -func Int32(v int32) *Int32Value { - return &Int32Value{Value: v} -} - -func (x *Int32Value) Reset() { - *x = Int32Value{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Int32Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Int32Value) ProtoMessage() {} - -func (x *Int32Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Int32Value.ProtoReflect.Descriptor instead. -func (*Int32Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{4} -} - -func (x *Int32Value) GetValue() int32 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `uint32`. -// -// The JSON representation for `UInt32Value` is JSON number. -type UInt32Value struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The uint32 value. - Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// UInt32 stores v in a new UInt32Value and returns a pointer to it. -func UInt32(v uint32) *UInt32Value { - return &UInt32Value{Value: v} -} - -func (x *UInt32Value) Reset() { - *x = UInt32Value{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UInt32Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UInt32Value) ProtoMessage() {} - -func (x *UInt32Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead. -func (*UInt32Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{5} -} - -func (x *UInt32Value) GetValue() uint32 { - if x != nil { - return x.Value - } - return 0 -} - -// Wrapper message for `bool`. -// -// The JSON representation for `BoolValue` is JSON `true` and `false`. -type BoolValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The bool value. - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Bool stores v in a new BoolValue and returns a pointer to it. -func Bool(v bool) *BoolValue { - return &BoolValue{Value: v} -} - -func (x *BoolValue) Reset() { - *x = BoolValue{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BoolValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BoolValue) ProtoMessage() {} - -func (x *BoolValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BoolValue.ProtoReflect.Descriptor instead. -func (*BoolValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{6} -} - -func (x *BoolValue) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -// Wrapper message for `string`. -// -// The JSON representation for `StringValue` is JSON string. -type StringValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The string value. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// String stores v in a new StringValue and returns a pointer to it. -func String(v string) *StringValue { - return &StringValue{Value: v} -} - -func (x *StringValue) Reset() { - *x = StringValue{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StringValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StringValue) ProtoMessage() {} - -func (x *StringValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StringValue.ProtoReflect.Descriptor instead. -func (*StringValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{7} -} - -func (x *StringValue) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -// Wrapper message for `bytes`. -// -// The JSON representation for `BytesValue` is JSON string. -type BytesValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The bytes value. - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -// Bytes stores v in a new BytesValue and returns a pointer to it. -func Bytes(v []byte) *BytesValue { - return &BytesValue{Value: v} -} - -func (x *BytesValue) Reset() { - *x = BytesValue{} - mi := &file_google_protobuf_wrappers_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BytesValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BytesValue) ProtoMessage() {} - -func (x *BytesValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_wrappers_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BytesValue.ProtoReflect.Descriptor instead. -func (*BytesValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{8} -} - -func (x *BytesValue) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -var File_google_protobuf_wrappers_proto protoreflect.FileDescriptor - -const file_google_protobuf_wrappers_proto_rawDesc = "" + - "\n" + - "\x1egoogle/protobuf/wrappers.proto\x12\x0fgoogle.protobuf\"#\n" + - "\vDoubleValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\x01R\x05value\"\"\n" + - "\n" + - "FloatValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\x02R\x05value\"\"\n" + - "\n" + - "Int64Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\x03R\x05value\"#\n" + - "\vUInt64Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\x04R\x05value\"\"\n" + - "\n" + - "Int32Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\x05R\x05value\"#\n" + - "\vUInt32Value\x12\x14\n" + - "\x05value\x18\x01 \x01(\rR\x05value\"!\n" + - "\tBoolValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\bR\x05value\"#\n" + - "\vStringValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\tR\x05value\"\"\n" + - "\n" + - "BytesValue\x12\x14\n" + - "\x05value\x18\x01 \x01(\fR\x05valueB\x83\x01\n" + - "\x13com.google.protobufB\rWrappersProtoP\x01Z1google.golang.org/protobuf/types/known/wrapperspb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" - -var ( - file_google_protobuf_wrappers_proto_rawDescOnce sync.Once - file_google_protobuf_wrappers_proto_rawDescData []byte -) - -func file_google_protobuf_wrappers_proto_rawDescGZIP() []byte { - file_google_protobuf_wrappers_proto_rawDescOnce.Do(func() { - file_google_protobuf_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_wrappers_proto_rawDesc), len(file_google_protobuf_wrappers_proto_rawDesc))) - }) - return file_google_protobuf_wrappers_proto_rawDescData -} - -var file_google_protobuf_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_google_protobuf_wrappers_proto_goTypes = []any{ - (*DoubleValue)(nil), // 0: google.protobuf.DoubleValue - (*FloatValue)(nil), // 1: google.protobuf.FloatValue - (*Int64Value)(nil), // 2: google.protobuf.Int64Value - (*UInt64Value)(nil), // 3: google.protobuf.UInt64Value - (*Int32Value)(nil), // 4: google.protobuf.Int32Value - (*UInt32Value)(nil), // 5: google.protobuf.UInt32Value - (*BoolValue)(nil), // 6: google.protobuf.BoolValue - (*StringValue)(nil), // 7: google.protobuf.StringValue - (*BytesValue)(nil), // 8: google.protobuf.BytesValue -} -var file_google_protobuf_wrappers_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_wrappers_proto_init() } -func file_google_protobuf_wrappers_proto_init() { - if File_google_protobuf_wrappers_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_wrappers_proto_rawDesc), len(file_google_protobuf_wrappers_proto_rawDesc)), - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_wrappers_proto_goTypes, - DependencyIndexes: file_google_protobuf_wrappers_proto_depIdxs, - MessageInfos: file_google_protobuf_wrappers_proto_msgTypes, - }.Build() - File_google_protobuf_wrappers_proto = out.File - file_google_protobuf_wrappers_proto_goTypes = nil - file_google_protobuf_wrappers_proto_depIdxs = nil -} diff --git a/build/http/v1/http.pb.go b/build/http/v1/http.pb.go deleted file mode 100644 index 965bf0f..0000000 --- a/build/http/v1/http.pb.go +++ /dev/null @@ -1,388 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: http/v1/http.proto - -package httpV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// proto http request -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"` - Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` - Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` - Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` - Header map[string]*HeaderValue `protobuf:"bytes,5,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Cookies map[string]*HeaderValue `protobuf:"bytes,6,rep,name=cookies,proto3" json:"cookies,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - RawQuery string `protobuf:"bytes,7,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"` - Parsed bool `protobuf:"varint,8,opt,name=parsed,proto3" json:"parsed,omitempty"` - Uploads []byte `protobuf:"bytes,9,opt,name=uploads,proto3" json:"uploads,omitempty"` - Attributes map[string]*HeaderValue `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_http_v1_http_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_http_v1_http_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_http_v1_http_proto_rawDescGZIP(), []int{0} -} - -func (x *Request) GetRemoteAddr() string { - if x != nil { - return x.RemoteAddr - } - return "" -} - -func (x *Request) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *Request) GetMethod() string { - if x != nil { - return x.Method - } - return "" -} - -func (x *Request) GetUri() string { - if x != nil { - return x.Uri - } - return "" -} - -func (x *Request) GetHeader() map[string]*HeaderValue { - if x != nil { - return x.Header - } - return nil -} - -func (x *Request) GetCookies() map[string]*HeaderValue { - if x != nil { - return x.Cookies - } - return nil -} - -func (x *Request) GetRawQuery() string { - if x != nil { - return x.RawQuery - } - return "" -} - -func (x *Request) GetParsed() bool { - if x != nil { - return x.Parsed - } - return false -} - -func (x *Request) GetUploads() []byte { - if x != nil { - return x.Uploads - } - return nil -} - -func (x *Request) GetAttributes() map[string]*HeaderValue { - if x != nil { - return x.Attributes - } - return nil -} - -type Header struct { - state protoimpl.MessageState `protogen:"open.v1"` - Header map[string]*HeaderValue `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Header) Reset() { - *x = Header{} - mi := &file_http_v1_http_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Header) ProtoMessage() {} - -func (x *Header) ProtoReflect() protoreflect.Message { - mi := &file_http_v1_http_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Header.ProtoReflect.Descriptor instead. -func (*Header) Descriptor() ([]byte, []int) { - return file_http_v1_http_proto_rawDescGZIP(), []int{1} -} - -func (x *Header) GetHeader() map[string]*HeaderValue { - if x != nil { - return x.Header - } - return nil -} - -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` - Headers map[string]*HeaderValue `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_http_v1_http_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_http_v1_http_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_http_v1_http_proto_rawDescGZIP(), []int{2} -} - -func (x *Response) GetStatus() int64 { - if x != nil { - return x.Status - } - return 0 -} - -func (x *Response) GetHeaders() map[string]*HeaderValue { - if x != nil { - return x.Headers - } - return nil -} - -type HeaderValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HeaderValue) Reset() { - *x = HeaderValue{} - mi := &file_http_v1_http_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HeaderValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HeaderValue) ProtoMessage() {} - -func (x *HeaderValue) ProtoReflect() protoreflect.Message { - mi := &file_http_v1_http_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead. -func (*HeaderValue) Descriptor() ([]byte, []int) { - return file_http_v1_http_proto_rawDescGZIP(), []int{3} -} - -func (x *HeaderValue) GetValue() [][]byte { - if x != nil { - return x.Value - } - return nil -} - -var File_http_v1_http_proto protoreflect.FileDescriptor - -const file_http_v1_http_proto_rawDesc = "" + - "\n" + - "\x12http/v1/http.proto\x12\ahttp.v1\"\xe8\x04\n" + - "\aRequest\x12\x1f\n" + - "\vremote_addr\x18\x01 \x01(\tR\n" + - "remoteAddr\x12\x1a\n" + - "\bprotocol\x18\x02 \x01(\tR\bprotocol\x12\x16\n" + - "\x06method\x18\x03 \x01(\tR\x06method\x12\x10\n" + - "\x03uri\x18\x04 \x01(\tR\x03uri\x124\n" + - "\x06header\x18\x05 \x03(\v2\x1c.http.v1.Request.HeaderEntryR\x06header\x127\n" + - "\acookies\x18\x06 \x03(\v2\x1d.http.v1.Request.CookiesEntryR\acookies\x12\x1b\n" + - "\traw_query\x18\a \x01(\tR\brawQuery\x12\x16\n" + - "\x06parsed\x18\b \x01(\bR\x06parsed\x12\x18\n" + - "\auploads\x18\t \x01(\fR\auploads\x12@\n" + - "\n" + - "attributes\x18\n" + - " \x03(\v2 .http.v1.Request.AttributesEntryR\n" + - "attributes\x1aO\n" + - "\vHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.http.v1.HeaderValueR\x05value:\x028\x01\x1aP\n" + - "\fCookiesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.http.v1.HeaderValueR\x05value:\x028\x01\x1aS\n" + - "\x0fAttributesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.http.v1.HeaderValueR\x05value:\x028\x01\"\x8e\x01\n" + - "\x06Header\x123\n" + - "\x06header\x18\x01 \x03(\v2\x1b.http.v1.Header.HeaderEntryR\x06header\x1aO\n" + - "\vHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.http.v1.HeaderValueR\x05value:\x028\x01\"\xae\x01\n" + - "\bResponse\x12\x16\n" + - "\x06status\x18\x01 \x01(\x03R\x06status\x128\n" + - "\aheaders\x18\x02 \x03(\v2\x1e.http.v1.Response.HeadersEntryR\aheaders\x1aP\n" + - "\fHeadersEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.http.v1.HeaderValueR\x05value:\x028\x01\"#\n" + - "\vHeaderValue\x12\x14\n" + - "\x05value\x18\x01 \x03(\fR\x05valueBxZ8github.com/roadrunner-server/api/v4/build/http/v1;httpV1\xca\x02\x16RoadRunner\\HTTP\\DTO\\V1\xe2\x02\"RoadRunner\\HTTP\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_http_v1_http_proto_rawDescOnce sync.Once - file_http_v1_http_proto_rawDescData []byte -) - -func file_http_v1_http_proto_rawDescGZIP() []byte { - file_http_v1_http_proto_rawDescOnce.Do(func() { - file_http_v1_http_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_http_v1_http_proto_rawDesc), len(file_http_v1_http_proto_rawDesc))) - }) - return file_http_v1_http_proto_rawDescData -} - -var file_http_v1_http_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_http_v1_http_proto_goTypes = []any{ - (*Request)(nil), // 0: http.v1.Request - (*Header)(nil), // 1: http.v1.Header - (*Response)(nil), // 2: http.v1.Response - (*HeaderValue)(nil), // 3: http.v1.HeaderValue - nil, // 4: http.v1.Request.HeaderEntry - nil, // 5: http.v1.Request.CookiesEntry - nil, // 6: http.v1.Request.AttributesEntry - nil, // 7: http.v1.Header.HeaderEntry - nil, // 8: http.v1.Response.HeadersEntry -} -var file_http_v1_http_proto_depIdxs = []int32{ - 4, // 0: http.v1.Request.header:type_name -> http.v1.Request.HeaderEntry - 5, // 1: http.v1.Request.cookies:type_name -> http.v1.Request.CookiesEntry - 6, // 2: http.v1.Request.attributes:type_name -> http.v1.Request.AttributesEntry - 7, // 3: http.v1.Header.header:type_name -> http.v1.Header.HeaderEntry - 8, // 4: http.v1.Response.headers:type_name -> http.v1.Response.HeadersEntry - 3, // 5: http.v1.Request.HeaderEntry.value:type_name -> http.v1.HeaderValue - 3, // 6: http.v1.Request.CookiesEntry.value:type_name -> http.v1.HeaderValue - 3, // 7: http.v1.Request.AttributesEntry.value:type_name -> http.v1.HeaderValue - 3, // 8: http.v1.Header.HeaderEntry.value:type_name -> http.v1.HeaderValue - 3, // 9: http.v1.Response.HeadersEntry.value:type_name -> http.v1.HeaderValue - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_http_v1_http_proto_init() } -func file_http_v1_http_proto_init() { - if File_http_v1_http_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_http_v1_http_proto_rawDesc), len(file_http_v1_http_proto_rawDesc)), - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_http_v1_http_proto_goTypes, - DependencyIndexes: file_http_v1_http_proto_depIdxs, - MessageInfos: file_http_v1_http_proto_msgTypes, - }.Build() - File_http_v1_http_proto = out.File - file_http_v1_http_proto_goTypes = nil - file_http_v1_http_proto_depIdxs = nil -} diff --git a/build/jobs/v1/jobs.pb.go b/build/jobs/v1/jobs.pb.go deleted file mode 100644 index c196c43..0000000 --- a/build/jobs/v1/jobs.pb.go +++ /dev/null @@ -1,738 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: jobs/v1/jobs.proto - -package jobsV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// single job request (jobs.Push RPC endpoint) -> Push(j *jobsProto.PushRequest, _ *jobsProto.Empty) -// response `message Empty` -type PushRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PushRequest) Reset() { - *x = PushRequest{} - mi := &file_jobs_v1_jobs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushRequest) ProtoMessage() {} - -func (x *PushRequest) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushRequest.ProtoReflect.Descriptor instead. -func (*PushRequest) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{0} -} - -func (x *PushRequest) GetJob() *Job { - if x != nil { - return x.Job - } - return nil -} - -// batch jobs request (jobs.PushBatch RPC endpoint) -> PushBatch(j *jobsProto.PushBatchRequest, _ *jobsProto.Empty) -// response `message Empty` -type PushBatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PushBatchRequest) Reset() { - *x = PushBatchRequest{} - mi := &file_jobs_v1_jobs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushBatchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushBatchRequest) ProtoMessage() {} - -func (x *PushBatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushBatchRequest.ProtoReflect.Descriptor instead. -func (*PushBatchRequest) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{1} -} - -func (x *PushBatchRequest) GetJobs() []*Job { - if x != nil { - return x.Jobs - } - return nil -} - -// Job is a main message which user might send to the RR jobs plugin -type Job struct { - state protoimpl.MessageState `protogen:"open.v1"` - // job name, usually PHP class - Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - // unique job id - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // payload, might be embedded json or just byte-string - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // headers map[string][]string - Headers map[string]*HeaderValue `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // job options, contains common and driver specific fields - Options *Options `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Job) Reset() { - *x = Job{} - mi := &file_jobs_v1_jobs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Job) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Job) ProtoMessage() {} - -func (x *Job) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Job.ProtoReflect.Descriptor instead. -func (*Job) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{2} -} - -func (x *Job) GetJob() string { - if x != nil { - return x.Job - } - return "" -} - -func (x *Job) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Job) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -func (x *Job) GetHeaders() map[string]*HeaderValue { - if x != nil { - return x.Headers - } - return nil -} - -func (x *Job) GetOptions() *Options { - if x != nil { - return x.Options - } - return nil -} - -// Options message represents all Jobs' options -type Options struct { - state protoimpl.MessageState `protogen:"open.v1"` - Priority int64 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` - Pipeline string `protobuf:"bytes,2,opt,name=pipeline,proto3" json:"pipeline,omitempty"` - Delay int64 `protobuf:"varint,3,opt,name=delay,proto3" json:"delay,omitempty"` - // new in 2.10 - AutoAck bool `protobuf:"varint,6,opt,name=auto_ack,json=autoAck,proto3" json:"auto_ack,omitempty"` - // -------------- - // new in 2.11 (kafka related) - Topic string `protobuf:"bytes,7,opt,name=topic,proto3" json:"topic,omitempty"` - Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` - Offset int64 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"` - Partition int32 `protobuf:"varint,10,opt,name=partition,proto3" json:"partition,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Options) Reset() { - *x = Options{} - mi := &file_jobs_v1_jobs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Options) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Options) ProtoMessage() {} - -func (x *Options) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Options.ProtoReflect.Descriptor instead. -func (*Options) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{3} -} - -func (x *Options) GetPriority() int64 { - if x != nil { - return x.Priority - } - return 0 -} - -func (x *Options) GetPipeline() string { - if x != nil { - return x.Pipeline - } - return "" -} - -func (x *Options) GetDelay() int64 { - if x != nil { - return x.Delay - } - return 0 -} - -func (x *Options) GetAutoAck() bool { - if x != nil { - return x.AutoAck - } - return false -} - -func (x *Options) GetTopic() string { - if x != nil { - return x.Topic - } - return "" -} - -func (x *Options) GetMetadata() string { - if x != nil { - return x.Metadata - } - return "" -} - -func (x *Options) GetOffset() int64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *Options) GetPartition() int32 { - if x != nil { - return x.Partition - } - return 0 -} - -// HeaderValue represents []string value for the header (map[string][]string) -type HeaderValue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HeaderValue) Reset() { - *x = HeaderValue{} - mi := &file_jobs_v1_jobs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HeaderValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HeaderValue) ProtoMessage() {} - -func (x *HeaderValue) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead. -func (*HeaderValue) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{4} -} - -func (x *HeaderValue) GetValue() []string { - if x != nil { - return x.Value - } - return nil -} - -// --------------------------------------------- -// DeclareRequest used to dynamically declare pipeline -> Declare(req *jobsProto.DeclareRequest, _ *jobsProto.Empty) -// response `message Empty` -type DeclareRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Pipeline map[string]string `protobuf:"bytes,1,rep,name=pipeline,proto3" json:"pipeline,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeclareRequest) Reset() { - *x = DeclareRequest{} - mi := &file_jobs_v1_jobs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeclareRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeclareRequest) ProtoMessage() {} - -func (x *DeclareRequest) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeclareRequest.ProtoReflect.Descriptor instead. -func (*DeclareRequest) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{5} -} - -func (x *DeclareRequest) GetPipeline() map[string]string { - if x != nil { - return x.Pipeline - } - return nil -} - -type Stats struct { - state protoimpl.MessageState `protogen:"open.v1"` - Stats []*Stat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Stats) Reset() { - *x = Stats{} - mi := &file_jobs_v1_jobs_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Stats) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Stats) ProtoMessage() {} - -func (x *Stats) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Stats.ProtoReflect.Descriptor instead. -func (*Stats) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{6} -} - -func (x *Stats) GetStats() []*Stat { - if x != nil { - return x.Stats - } - return nil -} - -// Stat used as a response for the Stats RPC call -type Stat struct { - state protoimpl.MessageState `protogen:"open.v1"` - Pipeline string `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` - Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"` - Queue string `protobuf:"bytes,3,opt,name=queue,proto3" json:"queue,omitempty"` - Active int64 `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` - Delayed int64 `protobuf:"varint,5,opt,name=delayed,proto3" json:"delayed,omitempty"` - Reserved int64 `protobuf:"varint,6,opt,name=reserved,proto3" json:"reserved,omitempty"` - Ready bool `protobuf:"varint,7,opt,name=ready,proto3" json:"ready,omitempty"` - // new in 2.10.5 - Priority uint64 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Stat) Reset() { - *x = Stat{} - mi := &file_jobs_v1_jobs_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Stat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Stat) ProtoMessage() {} - -func (x *Stat) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Stat.ProtoReflect.Descriptor instead. -func (*Stat) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{7} -} - -func (x *Stat) GetPipeline() string { - if x != nil { - return x.Pipeline - } - return "" -} - -func (x *Stat) GetDriver() string { - if x != nil { - return x.Driver - } - return "" -} - -func (x *Stat) GetQueue() string { - if x != nil { - return x.Queue - } - return "" -} - -func (x *Stat) GetActive() int64 { - if x != nil { - return x.Active - } - return 0 -} - -func (x *Stat) GetDelayed() int64 { - if x != nil { - return x.Delayed - } - return 0 -} - -func (x *Stat) GetReserved() int64 { - if x != nil { - return x.Reserved - } - return 0 -} - -func (x *Stat) GetReady() bool { - if x != nil { - return x.Ready - } - return false -} - -func (x *Stat) GetPriority() uint64 { - if x != nil { - return x.Priority - } - return 0 -} - -// --------------------------------------------- -// request to pause/resume/list/destroy/declare -type Pipelines struct { - state protoimpl.MessageState `protogen:"open.v1"` - Pipelines []string `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Pipelines) Reset() { - *x = Pipelines{} - mi := &file_jobs_v1_jobs_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Pipelines) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Pipelines) ProtoMessage() {} - -func (x *Pipelines) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Pipelines.ProtoReflect.Descriptor instead. -func (*Pipelines) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{8} -} - -func (x *Pipelines) GetPipelines() []string { - if x != nil { - return x.Pipelines - } - return nil -} - -// some endpoints receives nothing -// all endpoints returns nothing, except error -type Empty struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Empty) Reset() { - *x = Empty{} - mi := &file_jobs_v1_jobs_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Empty) ProtoMessage() {} - -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_jobs_v1_jobs_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_jobs_v1_jobs_proto_rawDescGZIP(), []int{9} -} - -var File_jobs_v1_jobs_proto protoreflect.FileDescriptor - -const file_jobs_v1_jobs_proto_rawDesc = "" + - "\n" + - "\x12jobs/v1/jobs.proto\x12\ajobs.v1\"-\n" + - "\vPushRequest\x12\x1e\n" + - "\x03job\x18\x01 \x01(\v2\f.jobs.v1.JobR\x03job\"4\n" + - "\x10PushBatchRequest\x12 \n" + - "\x04jobs\x18\x01 \x03(\v2\f.jobs.v1.JobR\x04jobs\"\xf4\x01\n" + - "\x03Job\x12\x10\n" + - "\x03job\x18\x01 \x01(\tR\x03job\x12\x0e\n" + - "\x02id\x18\x02 \x01(\tR\x02id\x12\x18\n" + - "\apayload\x18\x03 \x01(\fR\apayload\x123\n" + - "\aheaders\x18\x04 \x03(\v2\x19.jobs.v1.Job.HeadersEntryR\aheaders\x12*\n" + - "\aoptions\x18\x05 \x01(\v2\x10.jobs.v1.OptionsR\aoptions\x1aP\n" + - "\fHeadersEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + - "\x05value\x18\x02 \x01(\v2\x14.jobs.v1.HeaderValueR\x05value:\x028\x01\"\xda\x01\n" + - "\aOptions\x12\x1a\n" + - "\bpriority\x18\x01 \x01(\x03R\bpriority\x12\x1a\n" + - "\bpipeline\x18\x02 \x01(\tR\bpipeline\x12\x14\n" + - "\x05delay\x18\x03 \x01(\x03R\x05delay\x12\x19\n" + - "\bauto_ack\x18\x06 \x01(\bR\aautoAck\x12\x14\n" + - "\x05topic\x18\a \x01(\tR\x05topic\x12\x1a\n" + - "\bmetadata\x18\b \x01(\tR\bmetadata\x12\x16\n" + - "\x06offset\x18\t \x01(\x03R\x06offset\x12\x1c\n" + - "\tpartition\x18\n" + - " \x01(\x05R\tpartition\"#\n" + - "\vHeaderValue\x12\x14\n" + - "\x05value\x18\x01 \x03(\tR\x05value\"\x90\x01\n" + - "\x0eDeclareRequest\x12A\n" + - "\bpipeline\x18\x01 \x03(\v2%.jobs.v1.DeclareRequest.PipelineEntryR\bpipeline\x1a;\n" + - "\rPipelineEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\",\n" + - "\x05Stats\x12#\n" + - "\x05stats\x18\x01 \x03(\v2\r.jobs.v1.StatR\x05stats\"\xd0\x01\n" + - "\x04Stat\x12\x1a\n" + - "\bpipeline\x18\x01 \x01(\tR\bpipeline\x12\x16\n" + - "\x06driver\x18\x02 \x01(\tR\x06driver\x12\x14\n" + - "\x05queue\x18\x03 \x01(\tR\x05queue\x12\x16\n" + - "\x06active\x18\x04 \x01(\x03R\x06active\x12\x18\n" + - "\adelayed\x18\x05 \x01(\x03R\adelayed\x12\x1a\n" + - "\breserved\x18\x06 \x01(\x03R\breserved\x12\x14\n" + - "\x05ready\x18\a \x01(\bR\x05ready\x12\x1a\n" + - "\bpriority\x18\b \x01(\x04R\bpriority\")\n" + - "\tPipelines\x12\x1c\n" + - "\tpipelines\x18\x01 \x03(\tR\tpipelines\"\a\n" + - "\x05EmptyBxZ8github.com/roadrunner-server/api/v4/build/jobs/v1;jobsV1\xca\x02\x16RoadRunner\\Jobs\\DTO\\V1\xe2\x02\"RoadRunner\\Jobs\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_jobs_v1_jobs_proto_rawDescOnce sync.Once - file_jobs_v1_jobs_proto_rawDescData []byte -) - -func file_jobs_v1_jobs_proto_rawDescGZIP() []byte { - file_jobs_v1_jobs_proto_rawDescOnce.Do(func() { - file_jobs_v1_jobs_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_jobs_v1_jobs_proto_rawDesc), len(file_jobs_v1_jobs_proto_rawDesc))) - }) - return file_jobs_v1_jobs_proto_rawDescData -} - -var file_jobs_v1_jobs_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_jobs_v1_jobs_proto_goTypes = []any{ - (*PushRequest)(nil), // 0: jobs.v1.PushRequest - (*PushBatchRequest)(nil), // 1: jobs.v1.PushBatchRequest - (*Job)(nil), // 2: jobs.v1.Job - (*Options)(nil), // 3: jobs.v1.Options - (*HeaderValue)(nil), // 4: jobs.v1.HeaderValue - (*DeclareRequest)(nil), // 5: jobs.v1.DeclareRequest - (*Stats)(nil), // 6: jobs.v1.Stats - (*Stat)(nil), // 7: jobs.v1.Stat - (*Pipelines)(nil), // 8: jobs.v1.Pipelines - (*Empty)(nil), // 9: jobs.v1.Empty - nil, // 10: jobs.v1.Job.HeadersEntry - nil, // 11: jobs.v1.DeclareRequest.PipelineEntry -} -var file_jobs_v1_jobs_proto_depIdxs = []int32{ - 2, // 0: jobs.v1.PushRequest.job:type_name -> jobs.v1.Job - 2, // 1: jobs.v1.PushBatchRequest.jobs:type_name -> jobs.v1.Job - 10, // 2: jobs.v1.Job.headers:type_name -> jobs.v1.Job.HeadersEntry - 3, // 3: jobs.v1.Job.options:type_name -> jobs.v1.Options - 11, // 4: jobs.v1.DeclareRequest.pipeline:type_name -> jobs.v1.DeclareRequest.PipelineEntry - 7, // 5: jobs.v1.Stats.stats:type_name -> jobs.v1.Stat - 4, // 6: jobs.v1.Job.HeadersEntry.value:type_name -> jobs.v1.HeaderValue - 7, // [7:7] is the sub-list for method output_type - 7, // [7:7] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_jobs_v1_jobs_proto_init() } -func file_jobs_v1_jobs_proto_init() { - if File_jobs_v1_jobs_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_jobs_v1_jobs_proto_rawDesc), len(file_jobs_v1_jobs_proto_rawDesc)), - NumEnums: 0, - NumMessages: 12, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_jobs_v1_jobs_proto_goTypes, - DependencyIndexes: file_jobs_v1_jobs_proto_depIdxs, - MessageInfos: file_jobs_v1_jobs_proto_msgTypes, - }.Build() - File_jobs_v1_jobs_proto = out.File - file_jobs_v1_jobs_proto_goTypes = nil - file_jobs_v1_jobs_proto_depIdxs = nil -} diff --git a/build/kv/v1/kv.pb.go b/build/kv/v1/kv.pb.go deleted file mode 100644 index b3ab5f9..0000000 --- a/build/kv/v1/kv.pb.go +++ /dev/null @@ -1,248 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: kv/v1/kv.proto - -package kvV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - // could be an enum in the future - Storage string `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` - Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_kv_v1_kv_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_kv_v1_kv_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_kv_v1_kv_proto_rawDescGZIP(), []int{0} -} - -func (x *Request) GetStorage() string { - if x != nil { - return x.Storage - } - return "" -} - -func (x *Request) GetItems() []*Item { - if x != nil { - return x.Items - } - return nil -} - -type Item struct { - state protoimpl.MessageState `protogen:"open.v1"` - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // RFC 3339 - Timeout string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Item) Reset() { - *x = Item{} - mi := &file_kv_v1_kv_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Item) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Item) ProtoMessage() {} - -func (x *Item) ProtoReflect() protoreflect.Message { - mi := &file_kv_v1_kv_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Item.ProtoReflect.Descriptor instead. -func (*Item) Descriptor() ([]byte, []int) { - return file_kv_v1_kv_proto_rawDescGZIP(), []int{1} -} - -func (x *Item) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *Item) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -func (x *Item) GetTimeout() string { - if x != nil { - return x.Timeout - } - return "" -} - -// KV response for the KV RPC methods -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_kv_v1_kv_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_kv_v1_kv_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_kv_v1_kv_proto_rawDescGZIP(), []int{2} -} - -func (x *Response) GetItems() []*Item { - if x != nil { - return x.Items - } - return nil -} - -var File_kv_v1_kv_proto protoreflect.FileDescriptor - -const file_kv_v1_kv_proto_rawDesc = "" + - "\n" + - "\x0ekv/v1/kv.proto\x12\x05kv.v1\"F\n" + - "\aRequest\x12\x18\n" + - "\astorage\x18\x01 \x01(\tR\astorage\x12!\n" + - "\x05items\x18\x02 \x03(\v2\v.kv.v1.ItemR\x05items\"H\n" + - "\x04Item\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\fR\x05value\x12\x18\n" + - "\atimeout\x18\x03 \x01(\tR\atimeout\"-\n" + - "\bResponse\x12!\n" + - "\x05items\x18\x01 \x03(\v2\v.kv.v1.ItemR\x05itemsBpZ4github.com/roadrunner-server/api/v4/build/kv/v1;kvV1\xca\x02\x14RoadRunner\\KV\\DTO\\V1\xe2\x02 RoadRunner\\KV\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_kv_v1_kv_proto_rawDescOnce sync.Once - file_kv_v1_kv_proto_rawDescData []byte -) - -func file_kv_v1_kv_proto_rawDescGZIP() []byte { - file_kv_v1_kv_proto_rawDescOnce.Do(func() { - file_kv_v1_kv_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kv_v1_kv_proto_rawDesc), len(file_kv_v1_kv_proto_rawDesc))) - }) - return file_kv_v1_kv_proto_rawDescData -} - -var file_kv_v1_kv_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_kv_v1_kv_proto_goTypes = []any{ - (*Request)(nil), // 0: kv.v1.Request - (*Item)(nil), // 1: kv.v1.Item - (*Response)(nil), // 2: kv.v1.Response -} -var file_kv_v1_kv_proto_depIdxs = []int32{ - 1, // 0: kv.v1.Request.items:type_name -> kv.v1.Item - 1, // 1: kv.v1.Response.items:type_name -> kv.v1.Item - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_kv_v1_kv_proto_init() } -func file_kv_v1_kv_proto_init() { - if File_kv_v1_kv_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_kv_v1_kv_proto_rawDesc), len(file_kv_v1_kv_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_kv_v1_kv_proto_goTypes, - DependencyIndexes: file_kv_v1_kv_proto_depIdxs, - MessageInfos: file_kv_v1_kv_proto_msgTypes, - }.Build() - File_kv_v1_kv_proto = out.File - file_kv_v1_kv_proto_goTypes = nil - file_kv_v1_kv_proto_depIdxs = nil -} diff --git a/build/lock/v1beta1/lock.pb.go b/build/lock/v1beta1/lock.pb.go deleted file mode 100644 index 501403a..0000000 --- a/build/lock/v1beta1/lock.pb.go +++ /dev/null @@ -1,199 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: lock/v1beta1/lock.proto - -package lockV1Beta1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Ttl *int64 `protobuf:"varint,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` - Wait *int64 `protobuf:"varint,4,opt,name=wait,proto3,oneof" json:"wait,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_lock_v1beta1_lock_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_lock_v1beta1_lock_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_lock_v1beta1_lock_proto_rawDescGZIP(), []int{0} -} - -func (x *Request) GetResource() string { - if x != nil { - return x.Resource - } - return "" -} - -func (x *Request) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Request) GetTtl() int64 { - if x != nil && x.Ttl != nil { - return *x.Ttl - } - return 0 -} - -func (x *Request) GetWait() int64 { - if x != nil && x.Wait != nil { - return *x.Wait - } - return 0 -} - -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_lock_v1beta1_lock_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_lock_v1beta1_lock_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_lock_v1beta1_lock_proto_rawDescGZIP(), []int{1} -} - -func (x *Response) GetOk() bool { - if x != nil { - return x.Ok - } - return false -} - -var File_lock_v1beta1_lock_proto protoreflect.FileDescriptor - -const file_lock_v1beta1_lock_proto_rawDesc = "" + - "\n" + - "\x17lock/v1beta1/lock.proto\x12\flock.v1beta1\"v\n" + - "\aRequest\x12\x1a\n" + - "\bresource\x18\x01 \x01(\tR\bresource\x12\x0e\n" + - "\x02id\x18\x02 \x01(\tR\x02id\x12\x15\n" + - "\x03ttl\x18\x03 \x01(\x03H\x00R\x03ttl\x88\x01\x01\x12\x17\n" + - "\x04wait\x18\x04 \x01(\x03H\x01R\x04wait\x88\x01\x01B\x06\n" + - "\x04_ttlB\a\n" + - "\x05_wait\"\x1a\n" + - "\bResponse\x12\x0e\n" + - "\x02ok\x18\x01 \x01(\bR\x02okB\x8c\x01ZBgithub.com/roadrunner-server/api/v4/build/lock/v1beta1;lockV1Beta1\xca\x02\x1bRoadRunner\\Lock\\DTO\\V1BETA1\xe2\x02'RoadRunner\\Lock\\DTO\\V1BETA1\\GPBMetadatab\x06proto3" - -var ( - file_lock_v1beta1_lock_proto_rawDescOnce sync.Once - file_lock_v1beta1_lock_proto_rawDescData []byte -) - -func file_lock_v1beta1_lock_proto_rawDescGZIP() []byte { - file_lock_v1beta1_lock_proto_rawDescOnce.Do(func() { - file_lock_v1beta1_lock_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_lock_v1beta1_lock_proto_rawDesc), len(file_lock_v1beta1_lock_proto_rawDesc))) - }) - return file_lock_v1beta1_lock_proto_rawDescData -} - -var file_lock_v1beta1_lock_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_lock_v1beta1_lock_proto_goTypes = []any{ - (*Request)(nil), // 0: lock.v1beta1.Request - (*Response)(nil), // 1: lock.v1beta1.Response -} -var file_lock_v1beta1_lock_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_lock_v1beta1_lock_proto_init() } -func file_lock_v1beta1_lock_proto_init() { - if File_lock_v1beta1_lock_proto != nil { - return - } - file_lock_v1beta1_lock_proto_msgTypes[0].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_lock_v1beta1_lock_proto_rawDesc), len(file_lock_v1beta1_lock_proto_rawDesc)), - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_lock_v1beta1_lock_proto_goTypes, - DependencyIndexes: file_lock_v1beta1_lock_proto_depIdxs, - MessageInfos: file_lock_v1beta1_lock_proto_msgTypes, - }.Build() - File_lock_v1beta1_lock_proto = out.File - file_lock_v1beta1_lock_proto_goTypes = nil - file_lock_v1beta1_lock_proto_depIdxs = nil -} diff --git a/build/service/v1/service.pb.go b/build/service/v1/service.pb.go deleted file mode 100644 index 8ef4d55..0000000 --- a/build/service/v1/service.pb.go +++ /dev/null @@ -1,489 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: service/v1/service.proto - -package serviceV1 - -import ( - v1 "github.com/roadrunner-server/api/v4/build/common/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Ok bool `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_service_v1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{0} -} - -func (x *Response) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Response) GetOk() bool { - if x != nil { - return x.Ok - } - return false -} - -type Create struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` - ProcessNum int64 `protobuf:"varint,3,opt,name=process_num,json=processNum,proto3" json:"process_num,omitempty"` - ExecTimeout int64 `protobuf:"varint,4,opt,name=exec_timeout,json=execTimeout,proto3" json:"exec_timeout,omitempty"` - RemainAfterExit bool `protobuf:"varint,5,opt,name=remain_after_exit,json=remainAfterExit,proto3" json:"remain_after_exit,omitempty"` - Env map[string]string `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - RestartSec uint64 `protobuf:"varint,7,opt,name=restart_sec,json=restartSec,proto3" json:"restart_sec,omitempty"` - // new in 2023.2 - ServiceNameInLogs bool `protobuf:"varint,8,opt,name=service_name_in_logs,json=serviceNameInLogs,proto3" json:"service_name_in_logs,omitempty"` - TimeoutStopSec uint64 `protobuf:"varint,9,opt,name=timeout_stop_sec,json=timeoutStopSec,proto3" json:"timeout_stop_sec,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Create) Reset() { - *x = Create{} - mi := &file_service_v1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Create) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Create) ProtoMessage() {} - -func (x *Create) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Create.ProtoReflect.Descriptor instead. -func (*Create) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{1} -} - -func (x *Create) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *Create) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *Create) GetProcessNum() int64 { - if x != nil { - return x.ProcessNum - } - return 0 -} - -func (x *Create) GetExecTimeout() int64 { - if x != nil { - return x.ExecTimeout - } - return 0 -} - -func (x *Create) GetRemainAfterExit() bool { - if x != nil { - return x.RemainAfterExit - } - return false -} - -func (x *Create) GetEnv() map[string]string { - if x != nil { - return x.Env - } - return nil -} - -func (x *Create) GetRestartSec() uint64 { - if x != nil { - return x.RestartSec - } - return 0 -} - -func (x *Create) GetServiceNameInLogs() bool { - if x != nil { - return x.ServiceNameInLogs - } - return false -} - -func (x *Create) GetTimeoutStopSec() uint64 { - if x != nil { - return x.TimeoutStopSec - } - return 0 -} - -type Statuses struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status []*Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Statuses) Reset() { - *x = Statuses{} - mi := &file_service_v1_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Statuses) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Statuses) ProtoMessage() {} - -func (x *Statuses) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Statuses.ProtoReflect.Descriptor instead. -func (*Statuses) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{2} -} - -func (x *Statuses) GetStatus() []*Status { - if x != nil { - return x.Status - } - return nil -} - -type Status struct { - state protoimpl.MessageState `protogen:"open.v1"` - CpuPercent float32 `protobuf:"fixed32,1,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"` - Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` - MemoryUsage uint64 `protobuf:"varint,3,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` - Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - // error state - Status *v1.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Status) Reset() { - *x = Status{} - mi := &file_service_v1_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Status) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Status) ProtoMessage() {} - -func (x *Status) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Status.ProtoReflect.Descriptor instead. -func (*Status) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{3} -} - -func (x *Status) GetCpuPercent() float32 { - if x != nil { - return x.CpuPercent - } - return 0 -} - -func (x *Status) GetPid() int32 { - if x != nil { - return x.Pid - } - return 0 -} - -func (x *Status) GetMemoryUsage() uint64 { - if x != nil { - return x.MemoryUsage - } - return 0 -} - -func (x *Status) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *Status) GetStatus() *v1.Status { - if x != nil { - return x.Status - } - return nil -} - -type Service struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Service) Reset() { - *x = Service{} - mi := &file_service_v1_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Service) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Service) ProtoMessage() {} - -func (x *Service) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Service.ProtoReflect.Descriptor instead. -func (*Service) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{4} -} - -func (x *Service) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type List struct { - state protoimpl.MessageState `protogen:"open.v1"` - Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *List) Reset() { - *x = List{} - mi := &file_service_v1_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *List) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*List) ProtoMessage() {} - -func (x *List) ProtoReflect() protoreflect.Message { - mi := &file_service_v1_service_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use List.ProtoReflect.Descriptor instead. -func (*List) Descriptor() ([]byte, []int) { - return file_service_v1_service_proto_rawDescGZIP(), []int{5} -} - -func (x *List) GetServices() []string { - if x != nil { - return x.Services - } - return nil -} - -var File_service_v1_service_proto protoreflect.FileDescriptor - -const file_service_v1_service_proto_rawDesc = "" + - "\n" + - "\x18service/v1/service.proto\x12\n" + - "service.v1\x1a\x1bcommon/v1/grpc_status.proto\"4\n" + - "\bResponse\x12\x18\n" + - "\amessage\x18\x01 \x01(\tR\amessage\x12\x0e\n" + - "\x02ok\x18\x02 \x01(\bR\x02ok\"\x89\x03\n" + - "\x06Create\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + - "\acommand\x18\x02 \x01(\tR\acommand\x12\x1f\n" + - "\vprocess_num\x18\x03 \x01(\x03R\n" + - "processNum\x12!\n" + - "\fexec_timeout\x18\x04 \x01(\x03R\vexecTimeout\x12*\n" + - "\x11remain_after_exit\x18\x05 \x01(\bR\x0fremainAfterExit\x12-\n" + - "\x03env\x18\x06 \x03(\v2\x1b.service.v1.Create.EnvEntryR\x03env\x12\x1f\n" + - "\vrestart_sec\x18\a \x01(\x04R\n" + - "restartSec\x12/\n" + - "\x14service_name_in_logs\x18\b \x01(\bR\x11serviceNameInLogs\x12(\n" + - "\x10timeout_stop_sec\x18\t \x01(\x04R\x0etimeoutStopSec\x1a6\n" + - "\bEnvEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"6\n" + - "\bStatuses\x12*\n" + - "\x06status\x18\x01 \x03(\v2\x12.service.v1.StatusR\x06status\"\xa3\x01\n" + - "\x06Status\x12\x1f\n" + - "\vcpu_percent\x18\x01 \x01(\x02R\n" + - "cpuPercent\x12\x10\n" + - "\x03pid\x18\x02 \x01(\x05R\x03pid\x12!\n" + - "\fmemory_usage\x18\x03 \x01(\x04R\vmemoryUsage\x12\x18\n" + - "\acommand\x18\x04 \x01(\tR\acommand\x12)\n" + - "\x06status\x18\x05 \x01(\v2\x11.common.v1.StatusR\x06status\"\x1d\n" + - "\aService\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\"\"\n" + - "\x04List\x12\x1a\n" + - "\bservices\x18\x01 \x03(\tR\bservicesB\x84\x01Z>github.com/roadrunner-server/api/v4/build/service/v1;serviceV1\xca\x02\x19RoadRunner\\Service\\DTO\\V1\xe2\x02%RoadRunner\\Service\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_service_v1_service_proto_rawDescOnce sync.Once - file_service_v1_service_proto_rawDescData []byte -) - -func file_service_v1_service_proto_rawDescGZIP() []byte { - file_service_v1_service_proto_rawDescOnce.Do(func() { - file_service_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_v1_service_proto_rawDesc), len(file_service_v1_service_proto_rawDesc))) - }) - return file_service_v1_service_proto_rawDescData -} - -var file_service_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_service_v1_service_proto_goTypes = []any{ - (*Response)(nil), // 0: service.v1.Response - (*Create)(nil), // 1: service.v1.Create - (*Statuses)(nil), // 2: service.v1.Statuses - (*Status)(nil), // 3: service.v1.Status - (*Service)(nil), // 4: service.v1.Service - (*List)(nil), // 5: service.v1.List - nil, // 6: service.v1.Create.EnvEntry - (*v1.Status)(nil), // 7: common.v1.Status -} -var file_service_v1_service_proto_depIdxs = []int32{ - 6, // 0: service.v1.Create.env:type_name -> service.v1.Create.EnvEntry - 3, // 1: service.v1.Statuses.status:type_name -> service.v1.Status - 7, // 2: service.v1.Status.status:type_name -> common.v1.Status - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_service_v1_service_proto_init() } -func file_service_v1_service_proto_init() { - if File_service_v1_service_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_v1_service_proto_rawDesc), len(file_service_v1_service_proto_rawDesc)), - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_service_v1_service_proto_goTypes, - DependencyIndexes: file_service_v1_service_proto_depIdxs, - MessageInfos: file_service_v1_service_proto_msgTypes, - }.Build() - File_service_v1_service_proto = out.File - file_service_v1_service_proto_goTypes = nil - file_service_v1_service_proto_depIdxs = nil -} diff --git a/build/status/v1/status.pb.go b/build/status/v1/status.pb.go deleted file mode 100644 index b19859c..0000000 --- a/build/status/v1/status.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: status/v1/status.proto - -package statusV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_status_v1_status_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_status_v1_status_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_status_v1_status_proto_rawDescGZIP(), []int{0} -} - -func (x *Request) GetPlugin() string { - if x != nil { - return x.Plugin - } - return "" -} - -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_status_v1_status_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_status_v1_status_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_status_v1_status_proto_rawDescGZIP(), []int{1} -} - -func (x *Response) GetCode() int64 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Response) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -var File_status_v1_status_proto protoreflect.FileDescriptor - -const file_status_v1_status_proto_rawDesc = "" + - "\n" + - "\x16status/v1/status.proto\x12\tstatus.v1\"!\n" + - "\aRequest\x12\x16\n" + - "\x06plugin\x18\x01 \x01(\tR\x06plugin\"8\n" + - "\bResponse\x12\x12\n" + - "\x04code\x18\x01 \x01(\x03R\x04code\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessageB\x80\x01Z temporal.api.taskqueue.v1.TaskQueue - 2, // 1: temporal.api.activity.v1.ActivityOptions.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 2, // 2: temporal.api.activity.v1.ActivityOptions.schedule_to_start_timeout:type_name -> google.protobuf.Duration - 2, // 3: temporal.api.activity.v1.ActivityOptions.start_to_close_timeout:type_name -> google.protobuf.Duration - 2, // 4: temporal.api.activity.v1.ActivityOptions.heartbeat_timeout:type_name -> google.protobuf.Duration - 3, // 5: temporal.api.activity.v1.ActivityOptions.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_temporal_api_activity_v1_message_proto_init() } -func file_temporal_api_activity_v1_message_proto_init() { - if File_temporal_api_activity_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_activity_v1_message_proto_rawDesc), len(file_temporal_api_activity_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_activity_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_activity_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_activity_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_activity_v1_message_proto = out.File - file_temporal_api_activity_v1_message_proto_goTypes = nil - file_temporal_api_activity_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/batch/v1/message.pb.go b/build/temporal/api/batch/v1/message.pb.go deleted file mode 100644 index eb166af..0000000 --- a/build/temporal/api/batch/v1/message.pb.go +++ /dev/null @@ -1,1150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/batch/v1/message.proto - -package batch - -import ( - v14 "go.temporal.io/api/activity/v1" - v11 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/enums/v1" - v13 "go.temporal.io/api/rules/v1" - v12 "go.temporal.io/api/workflow/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type BatchOperationInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Batch job ID - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Batch operation state - State v1.BatchOperationState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.enums.v1.BatchOperationState" json:"state,omitempty"` - // Batch operation start time - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Batch operation close time - CloseTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationInfo) Reset() { - *x = BatchOperationInfo{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationInfo) ProtoMessage() {} - -func (x *BatchOperationInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationInfo.ProtoReflect.Descriptor instead. -func (*BatchOperationInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *BatchOperationInfo) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -func (x *BatchOperationInfo) GetState() v1.BatchOperationState { - if x != nil { - return x.State - } - return v1.BatchOperationState(0) -} - -func (x *BatchOperationInfo) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *BatchOperationInfo) GetCloseTime() *timestamppb.Timestamp { - if x != nil { - return x.CloseTime - } - return nil -} - -// BatchOperationTermination sends terminate requests to batch workflows. -// Keep the parameter in sync with temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest. -// Ignore first_execution_run_id because this is used for single workflow operation. -type BatchOperationTermination struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Serialized value(s) to provide to the termination event - Details *v11.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationTermination) Reset() { - *x = BatchOperationTermination{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationTermination) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationTermination) ProtoMessage() {} - -func (x *BatchOperationTermination) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationTermination.ProtoReflect.Descriptor instead. -func (*BatchOperationTermination) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *BatchOperationTermination) GetDetails() *v11.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *BatchOperationTermination) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// BatchOperationSignal sends signals to batch workflows. -// Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest. -type BatchOperationSignal struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The workflow author-defined name of the signal to send to the workflow - Signal string `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"` - // Serialized value(s) to provide with the signal - Input *v11.Payloads `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` - // Headers that are passed with the signal to the processing workflow. - // These can include things like auth or tracing tokens. - Header *v11.Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationSignal) Reset() { - *x = BatchOperationSignal{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationSignal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationSignal) ProtoMessage() {} - -func (x *BatchOperationSignal) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationSignal.ProtoReflect.Descriptor instead. -func (*BatchOperationSignal) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *BatchOperationSignal) GetSignal() string { - if x != nil { - return x.Signal - } - return "" -} - -func (x *BatchOperationSignal) GetInput() *v11.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *BatchOperationSignal) GetHeader() *v11.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *BatchOperationSignal) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// BatchOperationCancellation sends cancel requests to batch workflows. -// Keep the parameter in sync with temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest. -// Ignore first_execution_run_id because this is used for single workflow operation. -type BatchOperationCancellation struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationCancellation) Reset() { - *x = BatchOperationCancellation{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationCancellation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationCancellation) ProtoMessage() {} - -func (x *BatchOperationCancellation) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationCancellation.ProtoReflect.Descriptor instead. -func (*BatchOperationCancellation) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *BatchOperationCancellation) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// BatchOperationDeletion sends deletion requests to batch workflows. -// Keep the parameter in sync with temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest. -type BatchOperationDeletion struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationDeletion) Reset() { - *x = BatchOperationDeletion{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationDeletion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationDeletion) ProtoMessage() {} - -func (x *BatchOperationDeletion) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationDeletion.ProtoReflect.Descriptor instead. -func (*BatchOperationDeletion) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *BatchOperationDeletion) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// BatchOperationReset sends reset requests to batch workflows. -// Keep the parameter in sync with temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest. -type BatchOperationReset struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored. - Options *v11.ResetOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` - // Deprecated. Use `options`. - // - // Deprecated: Marked as deprecated in temporal/api/batch/v1/message.proto. - ResetType v1.ResetType `protobuf:"varint,1,opt,name=reset_type,json=resetType,proto3,enum=temporal.api.enums.v1.ResetType" json:"reset_type,omitempty"` - // Deprecated. Use `options`. - // - // Deprecated: Marked as deprecated in temporal/api/batch/v1/message.proto. - ResetReapplyType v1.ResetReapplyType `protobuf:"varint,2,opt,name=reset_reapply_type,json=resetReapplyType,proto3,enum=temporal.api.enums.v1.ResetReapplyType" json:"reset_reapply_type,omitempty"` - // Operations to perform after the workflow has been reset. These operations will be applied - // to the *new* run of the workflow execution in the order they are provided. - // All operations are applied to the workflow before the first new workflow task is generated - PostResetOperations []*v12.PostResetOperation `protobuf:"bytes,5,rep,name=post_reset_operations,json=postResetOperations,proto3" json:"post_reset_operations,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationReset) Reset() { - *x = BatchOperationReset{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationReset) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationReset) ProtoMessage() {} - -func (x *BatchOperationReset) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationReset.ProtoReflect.Descriptor instead. -func (*BatchOperationReset) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *BatchOperationReset) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationReset) GetOptions() *v11.ResetOptions { - if x != nil { - return x.Options - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/batch/v1/message.proto. -func (x *BatchOperationReset) GetResetType() v1.ResetType { - if x != nil { - return x.ResetType - } - return v1.ResetType(0) -} - -// Deprecated: Marked as deprecated in temporal/api/batch/v1/message.proto. -func (x *BatchOperationReset) GetResetReapplyType() v1.ResetReapplyType { - if x != nil { - return x.ResetReapplyType - } - return v1.ResetReapplyType(0) -} - -func (x *BatchOperationReset) GetPostResetOperations() []*v12.PostResetOperation { - if x != nil { - return x.PostResetOperations - } - return nil -} - -// BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows. -// Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. -type BatchOperationUpdateWorkflowExecutionOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask. - WorkflowExecutionOptions *v12.WorkflowExecutionOptions `protobuf:"bytes,2,opt,name=workflow_execution_options,json=workflowExecutionOptions,proto3" json:"workflow_execution_options,omitempty"` - // Controls which fields from `workflow_execution_options` will be applied. - // To unset a field, set it to null and use the update mask to indicate that it should be mutated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) Reset() { - *x = BatchOperationUpdateWorkflowExecutionOptions{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationUpdateWorkflowExecutionOptions) ProtoMessage() {} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationUpdateWorkflowExecutionOptions.ProtoReflect.Descriptor instead. -func (*BatchOperationUpdateWorkflowExecutionOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) GetWorkflowExecutionOptions() *v12.WorkflowExecutionOptions { - if x != nil { - return x.WorkflowExecutionOptions - } - return nil -} - -func (x *BatchOperationUpdateWorkflowExecutionOptions) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -// BatchOperationUnpauseActivities sends unpause requests to batch workflows. -type BatchOperationUnpauseActivities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // The activity to unpause. If match_all is set to true, all activities will be unpaused. - // - // Types that are valid to be assigned to Activity: - // - // *BatchOperationUnpauseActivities_Type - // *BatchOperationUnpauseActivities_MatchAll - Activity isBatchOperationUnpauseActivities_Activity `protobuf_oneof:"activity"` - // Setting this flag will also reset the number of attempts. - ResetAttempts bool `protobuf:"varint,4,opt,name=reset_attempts,json=resetAttempts,proto3" json:"reset_attempts,omitempty"` - // Setting this flag will also reset the heartbeat details. - ResetHeartbeat bool `protobuf:"varint,5,opt,name=reset_heartbeat,json=resetHeartbeat,proto3" json:"reset_heartbeat,omitempty"` - // If set, the activity will start at a random time within the specified jitter - // duration, introducing variability to the start time. - Jitter *durationpb.Duration `protobuf:"bytes,6,opt,name=jitter,proto3" json:"jitter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationUnpauseActivities) Reset() { - *x = BatchOperationUnpauseActivities{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationUnpauseActivities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationUnpauseActivities) ProtoMessage() {} - -func (x *BatchOperationUnpauseActivities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationUnpauseActivities.ProtoReflect.Descriptor instead. -func (*BatchOperationUnpauseActivities) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *BatchOperationUnpauseActivities) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationUnpauseActivities) GetActivity() isBatchOperationUnpauseActivities_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *BatchOperationUnpauseActivities) GetType() string { - if x != nil { - if x, ok := x.Activity.(*BatchOperationUnpauseActivities_Type); ok { - return x.Type - } - } - return "" -} - -func (x *BatchOperationUnpauseActivities) GetMatchAll() bool { - if x != nil { - if x, ok := x.Activity.(*BatchOperationUnpauseActivities_MatchAll); ok { - return x.MatchAll - } - } - return false -} - -func (x *BatchOperationUnpauseActivities) GetResetAttempts() bool { - if x != nil { - return x.ResetAttempts - } - return false -} - -func (x *BatchOperationUnpauseActivities) GetResetHeartbeat() bool { - if x != nil { - return x.ResetHeartbeat - } - return false -} - -func (x *BatchOperationUnpauseActivities) GetJitter() *durationpb.Duration { - if x != nil { - return x.Jitter - } - return nil -} - -type isBatchOperationUnpauseActivities_Activity interface { - isBatchOperationUnpauseActivities_Activity() -} - -type BatchOperationUnpauseActivities_Type struct { - Type string `protobuf:"bytes,2,opt,name=type,proto3,oneof"` -} - -type BatchOperationUnpauseActivities_MatchAll struct { - MatchAll bool `protobuf:"varint,3,opt,name=match_all,json=matchAll,proto3,oneof"` -} - -func (*BatchOperationUnpauseActivities_Type) isBatchOperationUnpauseActivities_Activity() {} - -func (*BatchOperationUnpauseActivities_MatchAll) isBatchOperationUnpauseActivities_Activity() {} - -// BatchOperationTriggerWorkflowRule sends TriggerWorkflowRule requests to batch workflows. -type BatchOperationTriggerWorkflowRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // Types that are valid to be assigned to Rule: - // - // *BatchOperationTriggerWorkflowRule_Id - // *BatchOperationTriggerWorkflowRule_Spec - Rule isBatchOperationTriggerWorkflowRule_Rule `protobuf_oneof:"rule"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationTriggerWorkflowRule) Reset() { - *x = BatchOperationTriggerWorkflowRule{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationTriggerWorkflowRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationTriggerWorkflowRule) ProtoMessage() {} - -func (x *BatchOperationTriggerWorkflowRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationTriggerWorkflowRule.ProtoReflect.Descriptor instead. -func (*BatchOperationTriggerWorkflowRule) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *BatchOperationTriggerWorkflowRule) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationTriggerWorkflowRule) GetRule() isBatchOperationTriggerWorkflowRule_Rule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *BatchOperationTriggerWorkflowRule) GetId() string { - if x != nil { - if x, ok := x.Rule.(*BatchOperationTriggerWorkflowRule_Id); ok { - return x.Id - } - } - return "" -} - -func (x *BatchOperationTriggerWorkflowRule) GetSpec() *v13.WorkflowRuleSpec { - if x != nil { - if x, ok := x.Rule.(*BatchOperationTriggerWorkflowRule_Spec); ok { - return x.Spec - } - } - return nil -} - -type isBatchOperationTriggerWorkflowRule_Rule interface { - isBatchOperationTriggerWorkflowRule_Rule() -} - -type BatchOperationTriggerWorkflowRule_Id struct { - // ID of existing rule. - Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"` -} - -type BatchOperationTriggerWorkflowRule_Spec struct { - // Rule specification to be applied to the workflow without creating a new rule. - Spec *v13.WorkflowRuleSpec `protobuf:"bytes,3,opt,name=spec,proto3,oneof"` -} - -func (*BatchOperationTriggerWorkflowRule_Id) isBatchOperationTriggerWorkflowRule_Rule() {} - -func (*BatchOperationTriggerWorkflowRule_Spec) isBatchOperationTriggerWorkflowRule_Rule() {} - -// BatchOperationResetActivities sends activity reset requests in a batch. -// NOTE: keep in sync with temporal.api.workflowservice.v1.ResetActivityRequest -type BatchOperationResetActivities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // The activities to reset. If match_all is set to true, all activities will be reset. - // - // Types that are valid to be assigned to Activity: - // - // *BatchOperationResetActivities_Type - // *BatchOperationResetActivities_MatchAll - Activity isBatchOperationResetActivities_Activity `protobuf_oneof:"activity"` - // Setting this flag will also reset the number of attempts. - ResetAttempts bool `protobuf:"varint,4,opt,name=reset_attempts,json=resetAttempts,proto3" json:"reset_attempts,omitempty"` - // Setting this flag will also reset the heartbeat details. - ResetHeartbeat bool `protobuf:"varint,5,opt,name=reset_heartbeat,json=resetHeartbeat,proto3" json:"reset_heartbeat,omitempty"` - // If activity is paused, it will remain paused after reset - KeepPaused bool `protobuf:"varint,6,opt,name=keep_paused,json=keepPaused,proto3" json:"keep_paused,omitempty"` - // If set, the activity will start at a random time within the specified jitter - // duration, introducing variability to the start time. - Jitter *durationpb.Duration `protobuf:"bytes,7,opt,name=jitter,proto3" json:"jitter,omitempty"` - // If set, the activity options will be restored to the defaults. - // Default options are then options activity was created with. - // They are part of the first ActivityTaskScheduled event. - RestoreOriginalOptions bool `protobuf:"varint,8,opt,name=restore_original_options,json=restoreOriginalOptions,proto3" json:"restore_original_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationResetActivities) Reset() { - *x = BatchOperationResetActivities{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationResetActivities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationResetActivities) ProtoMessage() {} - -func (x *BatchOperationResetActivities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationResetActivities.ProtoReflect.Descriptor instead. -func (*BatchOperationResetActivities) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *BatchOperationResetActivities) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationResetActivities) GetActivity() isBatchOperationResetActivities_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *BatchOperationResetActivities) GetType() string { - if x != nil { - if x, ok := x.Activity.(*BatchOperationResetActivities_Type); ok { - return x.Type - } - } - return "" -} - -func (x *BatchOperationResetActivities) GetMatchAll() bool { - if x != nil { - if x, ok := x.Activity.(*BatchOperationResetActivities_MatchAll); ok { - return x.MatchAll - } - } - return false -} - -func (x *BatchOperationResetActivities) GetResetAttempts() bool { - if x != nil { - return x.ResetAttempts - } - return false -} - -func (x *BatchOperationResetActivities) GetResetHeartbeat() bool { - if x != nil { - return x.ResetHeartbeat - } - return false -} - -func (x *BatchOperationResetActivities) GetKeepPaused() bool { - if x != nil { - return x.KeepPaused - } - return false -} - -func (x *BatchOperationResetActivities) GetJitter() *durationpb.Duration { - if x != nil { - return x.Jitter - } - return nil -} - -func (x *BatchOperationResetActivities) GetRestoreOriginalOptions() bool { - if x != nil { - return x.RestoreOriginalOptions - } - return false -} - -type isBatchOperationResetActivities_Activity interface { - isBatchOperationResetActivities_Activity() -} - -type BatchOperationResetActivities_Type struct { - Type string `protobuf:"bytes,2,opt,name=type,proto3,oneof"` -} - -type BatchOperationResetActivities_MatchAll struct { - MatchAll bool `protobuf:"varint,3,opt,name=match_all,json=matchAll,proto3,oneof"` -} - -func (*BatchOperationResetActivities_Type) isBatchOperationResetActivities_Activity() {} - -func (*BatchOperationResetActivities_MatchAll) isBatchOperationResetActivities_Activity() {} - -// BatchOperationUpdateActivityOptions sends an update-activity-options requests in a batch. -// NOTE: keep in sync with temporal.api.workflowservice.v1.UpdateActivityRequest -type BatchOperationUpdateActivityOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the worker/client. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // The activity to update. If match_all is set to true, all activities will be updated. - // - // Types that are valid to be assigned to Activity: - // - // *BatchOperationUpdateActivityOptions_Type - // *BatchOperationUpdateActivityOptions_MatchAll - Activity isBatchOperationUpdateActivityOptions_Activity `protobuf_oneof:"activity"` - // Update Activity options. Partial updates are accepted and controlled by update_mask. - ActivityOptions *v14.ActivityOptions `protobuf:"bytes,4,opt,name=activity_options,json=activityOptions,proto3" json:"activity_options,omitempty"` - // Controls which fields from `activity_options` will be applied - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // If set, the activity options will be restored to the default. - // Default options are then options activity was created with. - // They are part of the first ActivityTaskScheduled event. - // This flag cannot be combined with any other option; if you supply - // restore_original together with other options, the request will be rejected. - RestoreOriginal bool `protobuf:"varint,6,opt,name=restore_original,json=restoreOriginal,proto3" json:"restore_original,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BatchOperationUpdateActivityOptions) Reset() { - *x = BatchOperationUpdateActivityOptions{} - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BatchOperationUpdateActivityOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchOperationUpdateActivityOptions) ProtoMessage() {} - -func (x *BatchOperationUpdateActivityOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_batch_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchOperationUpdateActivityOptions.ProtoReflect.Descriptor instead. -func (*BatchOperationUpdateActivityOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_batch_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *BatchOperationUpdateActivityOptions) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *BatchOperationUpdateActivityOptions) GetActivity() isBatchOperationUpdateActivityOptions_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *BatchOperationUpdateActivityOptions) GetType() string { - if x != nil { - if x, ok := x.Activity.(*BatchOperationUpdateActivityOptions_Type); ok { - return x.Type - } - } - return "" -} - -func (x *BatchOperationUpdateActivityOptions) GetMatchAll() bool { - if x != nil { - if x, ok := x.Activity.(*BatchOperationUpdateActivityOptions_MatchAll); ok { - return x.MatchAll - } - } - return false -} - -func (x *BatchOperationUpdateActivityOptions) GetActivityOptions() *v14.ActivityOptions { - if x != nil { - return x.ActivityOptions - } - return nil -} - -func (x *BatchOperationUpdateActivityOptions) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -func (x *BatchOperationUpdateActivityOptions) GetRestoreOriginal() bool { - if x != nil { - return x.RestoreOriginal - } - return false -} - -type isBatchOperationUpdateActivityOptions_Activity interface { - isBatchOperationUpdateActivityOptions_Activity() -} - -type BatchOperationUpdateActivityOptions_Type struct { - Type string `protobuf:"bytes,2,opt,name=type,proto3,oneof"` -} - -type BatchOperationUpdateActivityOptions_MatchAll struct { - MatchAll bool `protobuf:"varint,3,opt,name=match_all,json=matchAll,proto3,oneof"` -} - -func (*BatchOperationUpdateActivityOptions_Type) isBatchOperationUpdateActivityOptions_Activity() {} - -func (*BatchOperationUpdateActivityOptions_MatchAll) isBatchOperationUpdateActivityOptions_Activity() { -} - -var File_temporal_api_batch_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_batch_v1_message_proto_rawDesc = "" + - "\n" + - "#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\"\xe3\x01\n" + - "\x12BatchOperationInfo\x12\x15\n" + - "\x06job_id\x18\x01 \x01(\tR\x05jobId\x12@\n" + - "\x05state\x18\x02 \x01(\x0e2*.temporal.api.enums.v1.BatchOperationStateR\x05state\x129\n" + - "\n" + - "start_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x129\n" + - "\n" + - "close_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\"s\n" + - "\x19BatchOperationTermination\x12:\n" + - "\adetails\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\"\xba\x01\n" + - "\x14BatchOperationSignal\x12\x16\n" + - "\x06signal\x18\x01 \x01(\tR\x06signal\x126\n" + - "\x05input\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x126\n" + - "\x06header\x18\x03 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\"8\n" + - "\x1aBatchOperationCancellation\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\"4\n" + - "\x16BatchOperationDeletion\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\"\xf3\x02\n" + - "\x13BatchOperationReset\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12>\n" + - "\aoptions\x18\x04 \x01(\v2$.temporal.api.common.v1.ResetOptionsR\aoptions\x12C\n" + - "\n" + - "reset_type\x18\x01 \x01(\x0e2 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01R\tresetType\x12Y\n" + - "\x12reset_reapply_type\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01R\x10resetReapplyType\x12`\n" + - "\x15post_reset_operations\x18\x05 \x03(\v2,.temporal.api.workflow.v1.PostResetOperationR\x13postResetOperations\"\xf9\x01\n" + - ",BatchOperationUpdateWorkflowExecutionOptions\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12p\n" + - "\x1aworkflow_execution_options\x18\x02 \x01(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\x18workflowExecutionOptions\x12;\n" + - "\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMask\"\x81\x02\n" + - "\x1fBatchOperationUnpauseActivities\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x14\n" + - "\x04type\x18\x02 \x01(\tH\x00R\x04type\x12\x1d\n" + - "\tmatch_all\x18\x03 \x01(\bH\x00R\bmatchAll\x12%\n" + - "\x0ereset_attempts\x18\x04 \x01(\bR\rresetAttempts\x12'\n" + - "\x0freset_heartbeat\x18\x05 \x01(\bR\x0eresetHeartbeat\x121\n" + - "\x06jitter\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x06jitterB\n" + - "\n" + - "\bactivity\"\x98\x01\n" + - "!BatchOperationTriggerWorkflowRule\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x10\n" + - "\x02id\x18\x02 \x01(\tH\x00R\x02id\x12=\n" + - "\x04spec\x18\x03 \x01(\v2'.temporal.api.rules.v1.WorkflowRuleSpecH\x00R\x04specB\x06\n" + - "\x04rule\"\xda\x02\n" + - "\x1dBatchOperationResetActivities\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x14\n" + - "\x04type\x18\x02 \x01(\tH\x00R\x04type\x12\x1d\n" + - "\tmatch_all\x18\x03 \x01(\bH\x00R\bmatchAll\x12%\n" + - "\x0ereset_attempts\x18\x04 \x01(\bR\rresetAttempts\x12'\n" + - "\x0freset_heartbeat\x18\x05 \x01(\bR\x0eresetHeartbeat\x12\x1f\n" + - "\vkeep_paused\x18\x06 \x01(\bR\n" + - "keepPaused\x121\n" + - "\x06jitter\x18\a \x01(\v2\x19.google.protobuf.DurationR\x06jitter\x128\n" + - "\x18restore_original_options\x18\b \x01(\bR\x16restoreOriginalOptionsB\n" + - "\n" + - "\bactivity\"\xc0\x02\n" + - "#BatchOperationUpdateActivityOptions\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x14\n" + - "\x04type\x18\x02 \x01(\tH\x00R\x04type\x12\x1d\n" + - "\tmatch_all\x18\x03 \x01(\bH\x00R\bmatchAll\x12T\n" + - "\x10activity_options\x18\x04 \x01(\v2).temporal.api.activity.v1.ActivityOptionsR\x0factivityOptions\x12;\n" + - "\vupdate_mask\x18\x05 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMask\x12)\n" + - "\x10restore_original\x18\x06 \x01(\bR\x0frestoreOriginalB\n" + - "\n" + - "\bactivityB\x84\x01\n" + - "\x18io.temporal.api.batch.v1B\fMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3" - -var ( - file_temporal_api_batch_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_batch_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_batch_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_batch_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_batch_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_batch_v1_message_proto_rawDesc), len(file_temporal_api_batch_v1_message_proto_rawDesc))) - }) - return file_temporal_api_batch_v1_message_proto_rawDescData -} - -var file_temporal_api_batch_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_temporal_api_batch_v1_message_proto_goTypes = []any{ - (*BatchOperationInfo)(nil), // 0: temporal.api.batch.v1.BatchOperationInfo - (*BatchOperationTermination)(nil), // 1: temporal.api.batch.v1.BatchOperationTermination - (*BatchOperationSignal)(nil), // 2: temporal.api.batch.v1.BatchOperationSignal - (*BatchOperationCancellation)(nil), // 3: temporal.api.batch.v1.BatchOperationCancellation - (*BatchOperationDeletion)(nil), // 4: temporal.api.batch.v1.BatchOperationDeletion - (*BatchOperationReset)(nil), // 5: temporal.api.batch.v1.BatchOperationReset - (*BatchOperationUpdateWorkflowExecutionOptions)(nil), // 6: temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions - (*BatchOperationUnpauseActivities)(nil), // 7: temporal.api.batch.v1.BatchOperationUnpauseActivities - (*BatchOperationTriggerWorkflowRule)(nil), // 8: temporal.api.batch.v1.BatchOperationTriggerWorkflowRule - (*BatchOperationResetActivities)(nil), // 9: temporal.api.batch.v1.BatchOperationResetActivities - (*BatchOperationUpdateActivityOptions)(nil), // 10: temporal.api.batch.v1.BatchOperationUpdateActivityOptions - (v1.BatchOperationState)(0), // 11: temporal.api.enums.v1.BatchOperationState - (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp - (*v11.Payloads)(nil), // 13: temporal.api.common.v1.Payloads - (*v11.Header)(nil), // 14: temporal.api.common.v1.Header - (*v11.ResetOptions)(nil), // 15: temporal.api.common.v1.ResetOptions - (v1.ResetType)(0), // 16: temporal.api.enums.v1.ResetType - (v1.ResetReapplyType)(0), // 17: temporal.api.enums.v1.ResetReapplyType - (*v12.PostResetOperation)(nil), // 18: temporal.api.workflow.v1.PostResetOperation - (*v12.WorkflowExecutionOptions)(nil), // 19: temporal.api.workflow.v1.WorkflowExecutionOptions - (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask - (*durationpb.Duration)(nil), // 21: google.protobuf.Duration - (*v13.WorkflowRuleSpec)(nil), // 22: temporal.api.rules.v1.WorkflowRuleSpec - (*v14.ActivityOptions)(nil), // 23: temporal.api.activity.v1.ActivityOptions -} -var file_temporal_api_batch_v1_message_proto_depIdxs = []int32{ - 11, // 0: temporal.api.batch.v1.BatchOperationInfo.state:type_name -> temporal.api.enums.v1.BatchOperationState - 12, // 1: temporal.api.batch.v1.BatchOperationInfo.start_time:type_name -> google.protobuf.Timestamp - 12, // 2: temporal.api.batch.v1.BatchOperationInfo.close_time:type_name -> google.protobuf.Timestamp - 13, // 3: temporal.api.batch.v1.BatchOperationTermination.details:type_name -> temporal.api.common.v1.Payloads - 13, // 4: temporal.api.batch.v1.BatchOperationSignal.input:type_name -> temporal.api.common.v1.Payloads - 14, // 5: temporal.api.batch.v1.BatchOperationSignal.header:type_name -> temporal.api.common.v1.Header - 15, // 6: temporal.api.batch.v1.BatchOperationReset.options:type_name -> temporal.api.common.v1.ResetOptions - 16, // 7: temporal.api.batch.v1.BatchOperationReset.reset_type:type_name -> temporal.api.enums.v1.ResetType - 17, // 8: temporal.api.batch.v1.BatchOperationReset.reset_reapply_type:type_name -> temporal.api.enums.v1.ResetReapplyType - 18, // 9: temporal.api.batch.v1.BatchOperationReset.post_reset_operations:type_name -> temporal.api.workflow.v1.PostResetOperation - 19, // 10: temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions.workflow_execution_options:type_name -> temporal.api.workflow.v1.WorkflowExecutionOptions - 20, // 11: temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions.update_mask:type_name -> google.protobuf.FieldMask - 21, // 12: temporal.api.batch.v1.BatchOperationUnpauseActivities.jitter:type_name -> google.protobuf.Duration - 22, // 13: temporal.api.batch.v1.BatchOperationTriggerWorkflowRule.spec:type_name -> temporal.api.rules.v1.WorkflowRuleSpec - 21, // 14: temporal.api.batch.v1.BatchOperationResetActivities.jitter:type_name -> google.protobuf.Duration - 23, // 15: temporal.api.batch.v1.BatchOperationUpdateActivityOptions.activity_options:type_name -> temporal.api.activity.v1.ActivityOptions - 20, // 16: temporal.api.batch.v1.BatchOperationUpdateActivityOptions.update_mask:type_name -> google.protobuf.FieldMask - 17, // [17:17] is the sub-list for method output_type - 17, // [17:17] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name -} - -func init() { file_temporal_api_batch_v1_message_proto_init() } -func file_temporal_api_batch_v1_message_proto_init() { - if File_temporal_api_batch_v1_message_proto != nil { - return - } - file_temporal_api_batch_v1_message_proto_msgTypes[7].OneofWrappers = []any{ - (*BatchOperationUnpauseActivities_Type)(nil), - (*BatchOperationUnpauseActivities_MatchAll)(nil), - } - file_temporal_api_batch_v1_message_proto_msgTypes[8].OneofWrappers = []any{ - (*BatchOperationTriggerWorkflowRule_Id)(nil), - (*BatchOperationTriggerWorkflowRule_Spec)(nil), - } - file_temporal_api_batch_v1_message_proto_msgTypes[9].OneofWrappers = []any{ - (*BatchOperationResetActivities_Type)(nil), - (*BatchOperationResetActivities_MatchAll)(nil), - } - file_temporal_api_batch_v1_message_proto_msgTypes[10].OneofWrappers = []any{ - (*BatchOperationUpdateActivityOptions_Type)(nil), - (*BatchOperationUpdateActivityOptions_MatchAll)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_batch_v1_message_proto_rawDesc), len(file_temporal_api_batch_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_batch_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_batch_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_batch_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_batch_v1_message_proto = out.File - file_temporal_api_batch_v1_message_proto_goTypes = nil - file_temporal_api_batch_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/command/v1/message.pb.go b/build/temporal/api/command/v1/message.pb.go deleted file mode 100644 index 91dc2b9..0000000 --- a/build/temporal/api/command/v1/message.pb.go +++ /dev/null @@ -1,2065 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/command/v1/message.proto - -package command - -import ( - v1 "go.temporal.io/api/common/v1" - v13 "go.temporal.io/api/enums/v1" - v12 "go.temporal.io/api/failure/v1" - v14 "go.temporal.io/api/sdk/v1" - v11 "go.temporal.io/api/taskqueue/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ScheduleActivityTaskCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - ActivityType *v1.ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Header *v1.Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` - Input *v1.Payloads `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` - // Indicates how long the caller is willing to wait for activity completion. The "schedule" time - // is when the activity is initially scheduled, not when the most recent retry is scheduled. - // Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be - // specified. When not specified, defaults to the workflow execution timeout. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // Limits the time an activity task can stay in a task queue before a worker picks it up. The - // "schedule" time is when the most recent retry is scheduled. This timeout should usually not - // be set: it's useful in specific scenarios like worker-specific task queues. This timeout is - // always non retryable, as all a retry would achieve is to put it back into the same queue. - // Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not - // specified. More info: - // https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/ - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` - // Maximum time an activity is allowed to execute after being picked up by a worker. This - // timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` - // Maximum permitted time between successful worker heartbeats. - HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` - // Activities are provided by a default retry policy which is controlled through the service's - // dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has - // elapsed. To disable retries set retry_policy.maximum_attempts to 1. - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // Request to start the activity directly bypassing matching service and worker polling - // The slot for executing the activity should be reserved when setting this field to true. - RequestEagerExecution bool `protobuf:"varint,12,opt,name=request_eager_execution,json=requestEagerExecution,proto3" json:"request_eager_execution,omitempty"` - // If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - // Assignment rules of the activity's Task Queue will be used to determine the Build ID. - UseWorkflowBuildId bool `protobuf:"varint,13,opt,name=use_workflow_build_id,json=useWorkflowBuildId,proto3" json:"use_workflow_build_id,omitempty"` - // Priority metadata. If this message is not present, or any fields are not - // present, they inherit the values from the workflow. - Priority *v1.Priority `protobuf:"bytes,14,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleActivityTaskCommandAttributes) Reset() { - *x = ScheduleActivityTaskCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleActivityTaskCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleActivityTaskCommandAttributes) ProtoMessage() {} - -func (x *ScheduleActivityTaskCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleActivityTaskCommandAttributes.ProtoReflect.Descriptor instead. -func (*ScheduleActivityTaskCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *ScheduleActivityTaskCommandAttributes) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *ScheduleActivityTaskCommandAttributes) GetActivityType() *v1.ActivityType { - if x != nil { - return x.ActivityType - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetScheduleToStartTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToStartTimeout - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetStartToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.StartToCloseTimeout - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetHeartbeatTimeout() *durationpb.Duration { - if x != nil { - return x.HeartbeatTimeout - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *ScheduleActivityTaskCommandAttributes) GetRequestEagerExecution() bool { - if x != nil { - return x.RequestEagerExecution - } - return false -} - -func (x *ScheduleActivityTaskCommandAttributes) GetUseWorkflowBuildId() bool { - if x != nil { - return x.UseWorkflowBuildId - } - return false -} - -func (x *ScheduleActivityTaskCommandAttributes) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type RequestCancelActivityTaskCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelActivityTaskCommandAttributes) Reset() { - *x = RequestCancelActivityTaskCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelActivityTaskCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelActivityTaskCommandAttributes) ProtoMessage() {} - -func (x *RequestCancelActivityTaskCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelActivityTaskCommandAttributes.ProtoReflect.Descriptor instead. -func (*RequestCancelActivityTaskCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *RequestCancelActivityTaskCommandAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -type StartTimerCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An id for the timer, currently live timers must have different ids. Typically autogenerated - // by the SDK. - TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` - // How long until the timer fires, producing a `TIMER_FIRED` event. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToFireTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3" json:"start_to_fire_timeout,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartTimerCommandAttributes) Reset() { - *x = StartTimerCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartTimerCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartTimerCommandAttributes) ProtoMessage() {} - -func (x *StartTimerCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartTimerCommandAttributes.ProtoReflect.Descriptor instead. -func (*StartTimerCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *StartTimerCommandAttributes) GetTimerId() string { - if x != nil { - return x.TimerId - } - return "" -} - -func (x *StartTimerCommandAttributes) GetStartToFireTimeout() *durationpb.Duration { - if x != nil { - return x.StartToFireTimeout - } - return nil -} - -type CompleteWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CompleteWorkflowExecutionCommandAttributes) Reset() { - *x = CompleteWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CompleteWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompleteWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *CompleteWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CompleteWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*CompleteWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *CompleteWorkflowExecutionCommandAttributes) GetResult() *v1.Payloads { - if x != nil { - return x.Result - } - return nil -} - -type FailWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Failure *v12.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FailWorkflowExecutionCommandAttributes) Reset() { - *x = FailWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FailWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FailWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *FailWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FailWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*FailWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *FailWorkflowExecutionCommandAttributes) GetFailure() *v12.Failure { - if x != nil { - return x.Failure - } - return nil -} - -type CancelTimerCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The same timer id from the start timer command - TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelTimerCommandAttributes) Reset() { - *x = CancelTimerCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelTimerCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelTimerCommandAttributes) ProtoMessage() {} - -func (x *CancelTimerCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelTimerCommandAttributes.ProtoReflect.Descriptor instead. -func (*CancelTimerCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *CancelTimerCommandAttributes) GetTimerId() string { - if x != nil { - return x.TimerId - } - return "" -} - -type CancelWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelWorkflowExecutionCommandAttributes) Reset() { - *x = CancelWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *CancelWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*CancelWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *CancelWorkflowExecutionCommandAttributes) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -type RequestCancelExternalWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. - Control string `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` - // Set this to true if the workflow being cancelled is a child of the workflow originating this - // command. The request will be rejected if it is set to true and the target workflow is *not* - // a child of the requesting workflow. - ChildWorkflowOnly bool `protobuf:"varint,5,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` - // Reason for requesting the cancellation - Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) Reset() { - *x = RequestCancelExternalWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelExternalWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelExternalWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*RequestCancelExternalWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetChildWorkflowOnly() bool { - if x != nil { - return x.ChildWorkflowOnly - } - return false -} - -func (x *RequestCancelExternalWorkflowExecutionCommandAttributes) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type SignalExternalWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // The workflow author-defined name of the signal to send to the workflow. - SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Serialized value(s) to provide with the signal. - Input *v1.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // Deprecated - // - // Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. - Control string `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"` - // Set this to true if the workflow being cancelled is a child of the workflow originating this - // command. The request will be rejected if it is set to true and the target workflow is *not* - // a child of the requesting workflow. - ChildWorkflowOnly bool `protobuf:"varint,6,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` - // Headers that are passed by the workflow that is sending a signal to the external - // workflow that is receiving this signal. - Header *v1.Header `protobuf:"bytes,7,opt,name=header,proto3" json:"header,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) Reset() { - *x = SignalExternalWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalExternalWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalExternalWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*SignalExternalWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetExecution() *v1.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetChildWorkflowOnly() bool { - if x != nil { - return x.ChildWorkflowOnly - } - return false -} - -func (x *SignalExternalWorkflowExecutionCommandAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -type UpsertWorkflowSearchAttributesCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,1,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpsertWorkflowSearchAttributesCommandAttributes) Reset() { - *x = UpsertWorkflowSearchAttributesCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpsertWorkflowSearchAttributesCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpsertWorkflowSearchAttributesCommandAttributes) ProtoMessage() {} - -func (x *UpsertWorkflowSearchAttributesCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpsertWorkflowSearchAttributesCommandAttributes.ProtoReflect.Descriptor instead. -func (*UpsertWorkflowSearchAttributesCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *UpsertWorkflowSearchAttributesCommandAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -type ModifyWorkflowPropertiesCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If set, update the workflow memo with the provided values. The values will be merged with - // the existing memo. If the user wants to delete values, a default/empty Payload should be - // used as the value for the key being deleted. - UpsertedMemo *v1.Memo `protobuf:"bytes,1,opt,name=upserted_memo,json=upsertedMemo,proto3" json:"upserted_memo,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModifyWorkflowPropertiesCommandAttributes) Reset() { - *x = ModifyWorkflowPropertiesCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModifyWorkflowPropertiesCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModifyWorkflowPropertiesCommandAttributes) ProtoMessage() {} - -func (x *ModifyWorkflowPropertiesCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ModifyWorkflowPropertiesCommandAttributes.ProtoReflect.Descriptor instead. -func (*ModifyWorkflowPropertiesCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *ModifyWorkflowPropertiesCommandAttributes) GetUpsertedMemo() *v1.Memo { - if x != nil { - return x.UpsertedMemo - } - return nil -} - -type RecordMarkerCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"` - Details map[string]*v1.Payloads `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Header *v1.Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` - Failure *v12.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordMarkerCommandAttributes) Reset() { - *x = RecordMarkerCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordMarkerCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordMarkerCommandAttributes) ProtoMessage() {} - -func (x *RecordMarkerCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordMarkerCommandAttributes.ProtoReflect.Descriptor instead. -func (*RecordMarkerCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *RecordMarkerCommandAttributes) GetMarkerName() string { - if x != nil { - return x.MarkerName - } - return "" -} - -func (x *RecordMarkerCommandAttributes) GetDetails() map[string]*v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *RecordMarkerCommandAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *RecordMarkerCommandAttributes) GetFailure() *v12.Failure { - if x != nil { - return x.Failure - } - return nil -} - -type ContinueAsNewWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Input *v1.Payloads `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // How long the workflow start will be delayed - not really a "backoff" in the traditional sense. - BackoffStartInterval *durationpb.Duration `protobuf:"bytes,6,opt,name=backoff_start_interval,json=backoffStartInterval,proto3" json:"backoff_start_interval,omitempty"` - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,7,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // Should be removed - Initiator v13.ContinueAsNewInitiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=temporal.api.enums.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` - // Should be removed - Failure *v12.Failure `protobuf:"bytes,9,opt,name=failure,proto3" json:"failure,omitempty"` - // Should be removed - LastCompletionResult *v1.Payloads `protobuf:"bytes,10,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` - // Should be removed. Not necessarily unused but unclear and not exposed by SDKs. - CronSchedule string `protobuf:"bytes,11,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Header *v1.Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"` - Memo *v1.Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - // If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - // the assignment rules will be used to independently assign a Build ID to the new execution. - // Deprecated. Only considered for versioning v0.2. - // - // Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. - InheritBuildId bool `protobuf:"varint,15,opt,name=inherit_build_id,json=inheritBuildId,proto3" json:"inherit_build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) Reset() { - *x = ContinueAsNewWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContinueAsNewWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContinueAsNewWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*ContinueAsNewWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetBackoffStartInterval() *durationpb.Duration { - if x != nil { - return x.BackoffStartInterval - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetInitiator() v13.ContinueAsNewInitiator { - if x != nil { - return x.Initiator - } - return v13.ContinueAsNewInitiator(0) -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetFailure() *v12.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetLastCompletionResult() *v1.Payloads { - if x != nil { - return x.LastCompletionResult - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. -func (x *ContinueAsNewWorkflowExecutionCommandAttributes) GetInheritBuildId() bool { - if x != nil { - return x.InheritBuildId - } - return false -} - -type StartChildWorkflowExecutionCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Input *v1.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new. - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // Default: PARENT_CLOSE_POLICY_TERMINATE. - ParentClosePolicy v13.ParentClosePolicy `protobuf:"varint,9,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=temporal.api.enums.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` - Control string `protobuf:"bytes,10,opt,name=control,proto3" json:"control,omitempty"` - // Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - WorkflowIdReusePolicy v13.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // Establish a cron schedule for the child workflow. - CronSchedule string `protobuf:"bytes,13,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Header *v1.Header `protobuf:"bytes,14,opt,name=header,proto3" json:"header,omitempty"` - Memo *v1.Memo `protobuf:"bytes,15,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,16,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - // If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - // rules of the child's Task Queue will be used to independently assign a Build ID to it. - // Deprecated. Only considered for versioning v0.2. - // - // Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. - InheritBuildId bool `protobuf:"varint,17,opt,name=inherit_build_id,json=inheritBuildId,proto3" json:"inherit_build_id,omitempty"` - // Priority metadata. If this message is not present, or any fields are not - // present, they inherit the values from the workflow. - Priority *v1.Priority `protobuf:"bytes,18,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartChildWorkflowExecutionCommandAttributes) Reset() { - *x = StartChildWorkflowExecutionCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartChildWorkflowExecutionCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartChildWorkflowExecutionCommandAttributes) ProtoMessage() {} - -func (x *StartChildWorkflowExecutionCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartChildWorkflowExecutionCommandAttributes.ProtoReflect.Descriptor instead. -func (*StartChildWorkflowExecutionCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetParentClosePolicy() v13.ParentClosePolicy { - if x != nil { - return x.ParentClosePolicy - } - return v13.ParentClosePolicy(0) -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetWorkflowIdReusePolicy() v13.WorkflowIdReusePolicy { - if x != nil { - return x.WorkflowIdReusePolicy - } - return v13.WorkflowIdReusePolicy(0) -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/command/v1/message.proto. -func (x *StartChildWorkflowExecutionCommandAttributes) GetInheritBuildId() bool { - if x != nil { - return x.InheritBuildId - } - return false -} - -func (x *StartChildWorkflowExecutionCommandAttributes) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type ProtocolMessageCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The message ID of the message to which this command is a pointer. - MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ProtocolMessageCommandAttributes) Reset() { - *x = ProtocolMessageCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ProtocolMessageCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtocolMessageCommandAttributes) ProtoMessage() {} - -func (x *ProtocolMessageCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtocolMessageCommandAttributes.ProtoReflect.Descriptor instead. -func (*ProtocolMessageCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *ProtocolMessageCommandAttributes) GetMessageId() string { - if x != nil { - return x.MessageId - } - return "" -} - -type ScheduleNexusOperationCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Endpoint name, must exist in the endpoint registry or this command will fail. - Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // Service name. - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // Operation name. - Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` - // Input for the operation. The server converts this into Nexus request content and the appropriate content headers - // internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the - // content is transformed back to the original Payload sent in this command. - Input *v1.Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // Schedule-to-close timeout for this operation. - // Indicates how long the caller is willing to wait for operation completion. - // Calls are retried internally by the server. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // Header to attach to the Nexus request. - // Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and - // transmitted to external services as-is. - // This is useful for propagating tracing information. - // Note these headers are not the same as Temporal headers on internal activities and child workflows, these are - // transmitted to Nexus operations that may be external and are not traditional payloads. - NexusHeader map[string]string `protobuf:"bytes,6,rep,name=nexus_header,json=nexusHeader,proto3" json:"nexus_header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleNexusOperationCommandAttributes) Reset() { - *x = ScheduleNexusOperationCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleNexusOperationCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleNexusOperationCommandAttributes) ProtoMessage() {} - -func (x *ScheduleNexusOperationCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleNexusOperationCommandAttributes.ProtoReflect.Descriptor instead. -func (*ScheduleNexusOperationCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *ScheduleNexusOperationCommandAttributes) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *ScheduleNexusOperationCommandAttributes) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *ScheduleNexusOperationCommandAttributes) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -func (x *ScheduleNexusOperationCommandAttributes) GetInput() *v1.Payload { - if x != nil { - return x.Input - } - return nil -} - -func (x *ScheduleNexusOperationCommandAttributes) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *ScheduleNexusOperationCommandAttributes) GetNexusHeader() map[string]string { - if x != nil { - return x.NexusHeader - } - return nil -} - -type RequestCancelNexusOperationCommandAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled. - // The operation may ignore cancellation and end up with any completion state. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelNexusOperationCommandAttributes) Reset() { - *x = RequestCancelNexusOperationCommandAttributes{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelNexusOperationCommandAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelNexusOperationCommandAttributes) ProtoMessage() {} - -func (x *RequestCancelNexusOperationCommandAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelNexusOperationCommandAttributes.ProtoReflect.Descriptor instead. -func (*RequestCancelNexusOperationCommandAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{16} -} - -func (x *RequestCancelNexusOperationCommandAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -type Command struct { - state protoimpl.MessageState `protogen:"open.v1"` - CommandType v13.CommandType `protobuf:"varint,1,opt,name=command_type,json=commandType,proto3,enum=temporal.api.enums.v1.CommandType" json:"command_type,omitempty"` - // Metadata on the command. This is sometimes carried over to the history event if one is - // created as a result of the command. Most commands won't have this information, and how this - // information is used is dependent upon the interface that reads it. - // - // Current well-known uses: - // - start_child_workflow_execution_command_attributes - populates - // temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details - // are used by user interfaces to show fixed as-of-start workflow summary and details. - // - start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer - // started where the summary is used to identify the timer. - UserMetadata *v14.UserMetadata `protobuf:"bytes,301,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - // The command details. The type must match that in `command_type`. - // - // Types that are valid to be assigned to Attributes: - // - // *Command_ScheduleActivityTaskCommandAttributes - // *Command_StartTimerCommandAttributes - // *Command_CompleteWorkflowExecutionCommandAttributes - // *Command_FailWorkflowExecutionCommandAttributes - // *Command_RequestCancelActivityTaskCommandAttributes - // *Command_CancelTimerCommandAttributes - // *Command_CancelWorkflowExecutionCommandAttributes - // *Command_RequestCancelExternalWorkflowExecutionCommandAttributes - // *Command_RecordMarkerCommandAttributes - // *Command_ContinueAsNewWorkflowExecutionCommandAttributes - // *Command_StartChildWorkflowExecutionCommandAttributes - // *Command_SignalExternalWorkflowExecutionCommandAttributes - // *Command_UpsertWorkflowSearchAttributesCommandAttributes - // *Command_ProtocolMessageCommandAttributes - // *Command_ModifyWorkflowPropertiesCommandAttributes - // *Command_ScheduleNexusOperationCommandAttributes - // *Command_RequestCancelNexusOperationCommandAttributes - Attributes isCommand_Attributes `protobuf_oneof:"attributes"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Command) Reset() { - *x = Command{} - mi := &file_temporal_api_command_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Command) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Command) ProtoMessage() {} - -func (x *Command) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_command_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Command.ProtoReflect.Descriptor instead. -func (*Command) Descriptor() ([]byte, []int) { - return file_temporal_api_command_v1_message_proto_rawDescGZIP(), []int{17} -} - -func (x *Command) GetCommandType() v13.CommandType { - if x != nil { - return x.CommandType - } - return v13.CommandType(0) -} - -func (x *Command) GetUserMetadata() *v14.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -func (x *Command) GetAttributes() isCommand_Attributes { - if x != nil { - return x.Attributes - } - return nil -} - -func (x *Command) GetScheduleActivityTaskCommandAttributes() *ScheduleActivityTaskCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_ScheduleActivityTaskCommandAttributes); ok { - return x.ScheduleActivityTaskCommandAttributes - } - } - return nil -} - -func (x *Command) GetStartTimerCommandAttributes() *StartTimerCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_StartTimerCommandAttributes); ok { - return x.StartTimerCommandAttributes - } - } - return nil -} - -func (x *Command) GetCompleteWorkflowExecutionCommandAttributes() *CompleteWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_CompleteWorkflowExecutionCommandAttributes); ok { - return x.CompleteWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetFailWorkflowExecutionCommandAttributes() *FailWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_FailWorkflowExecutionCommandAttributes); ok { - return x.FailWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetRequestCancelActivityTaskCommandAttributes() *RequestCancelActivityTaskCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_RequestCancelActivityTaskCommandAttributes); ok { - return x.RequestCancelActivityTaskCommandAttributes - } - } - return nil -} - -func (x *Command) GetCancelTimerCommandAttributes() *CancelTimerCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_CancelTimerCommandAttributes); ok { - return x.CancelTimerCommandAttributes - } - } - return nil -} - -func (x *Command) GetCancelWorkflowExecutionCommandAttributes() *CancelWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_CancelWorkflowExecutionCommandAttributes); ok { - return x.CancelWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetRequestCancelExternalWorkflowExecutionCommandAttributes() *RequestCancelExternalWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_RequestCancelExternalWorkflowExecutionCommandAttributes); ok { - return x.RequestCancelExternalWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetRecordMarkerCommandAttributes() *RecordMarkerCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_RecordMarkerCommandAttributes); ok { - return x.RecordMarkerCommandAttributes - } - } - return nil -} - -func (x *Command) GetContinueAsNewWorkflowExecutionCommandAttributes() *ContinueAsNewWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_ContinueAsNewWorkflowExecutionCommandAttributes); ok { - return x.ContinueAsNewWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetStartChildWorkflowExecutionCommandAttributes() *StartChildWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_StartChildWorkflowExecutionCommandAttributes); ok { - return x.StartChildWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetSignalExternalWorkflowExecutionCommandAttributes() *SignalExternalWorkflowExecutionCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_SignalExternalWorkflowExecutionCommandAttributes); ok { - return x.SignalExternalWorkflowExecutionCommandAttributes - } - } - return nil -} - -func (x *Command) GetUpsertWorkflowSearchAttributesCommandAttributes() *UpsertWorkflowSearchAttributesCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_UpsertWorkflowSearchAttributesCommandAttributes); ok { - return x.UpsertWorkflowSearchAttributesCommandAttributes - } - } - return nil -} - -func (x *Command) GetProtocolMessageCommandAttributes() *ProtocolMessageCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_ProtocolMessageCommandAttributes); ok { - return x.ProtocolMessageCommandAttributes - } - } - return nil -} - -func (x *Command) GetModifyWorkflowPropertiesCommandAttributes() *ModifyWorkflowPropertiesCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_ModifyWorkflowPropertiesCommandAttributes); ok { - return x.ModifyWorkflowPropertiesCommandAttributes - } - } - return nil -} - -func (x *Command) GetScheduleNexusOperationCommandAttributes() *ScheduleNexusOperationCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_ScheduleNexusOperationCommandAttributes); ok { - return x.ScheduleNexusOperationCommandAttributes - } - } - return nil -} - -func (x *Command) GetRequestCancelNexusOperationCommandAttributes() *RequestCancelNexusOperationCommandAttributes { - if x != nil { - if x, ok := x.Attributes.(*Command_RequestCancelNexusOperationCommandAttributes); ok { - return x.RequestCancelNexusOperationCommandAttributes - } - } - return nil -} - -type isCommand_Attributes interface { - isCommand_Attributes() -} - -type Command_ScheduleActivityTaskCommandAttributes struct { - ScheduleActivityTaskCommandAttributes *ScheduleActivityTaskCommandAttributes `protobuf:"bytes,2,opt,name=schedule_activity_task_command_attributes,json=scheduleActivityTaskCommandAttributes,proto3,oneof"` -} - -type Command_StartTimerCommandAttributes struct { - StartTimerCommandAttributes *StartTimerCommandAttributes `protobuf:"bytes,3,opt,name=start_timer_command_attributes,json=startTimerCommandAttributes,proto3,oneof"` -} - -type Command_CompleteWorkflowExecutionCommandAttributes struct { - CompleteWorkflowExecutionCommandAttributes *CompleteWorkflowExecutionCommandAttributes `protobuf:"bytes,4,opt,name=complete_workflow_execution_command_attributes,json=completeWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_FailWorkflowExecutionCommandAttributes struct { - FailWorkflowExecutionCommandAttributes *FailWorkflowExecutionCommandAttributes `protobuf:"bytes,5,opt,name=fail_workflow_execution_command_attributes,json=failWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_RequestCancelActivityTaskCommandAttributes struct { - RequestCancelActivityTaskCommandAttributes *RequestCancelActivityTaskCommandAttributes `protobuf:"bytes,6,opt,name=request_cancel_activity_task_command_attributes,json=requestCancelActivityTaskCommandAttributes,proto3,oneof"` -} - -type Command_CancelTimerCommandAttributes struct { - CancelTimerCommandAttributes *CancelTimerCommandAttributes `protobuf:"bytes,7,opt,name=cancel_timer_command_attributes,json=cancelTimerCommandAttributes,proto3,oneof"` -} - -type Command_CancelWorkflowExecutionCommandAttributes struct { - CancelWorkflowExecutionCommandAttributes *CancelWorkflowExecutionCommandAttributes `protobuf:"bytes,8,opt,name=cancel_workflow_execution_command_attributes,json=cancelWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_RequestCancelExternalWorkflowExecutionCommandAttributes struct { - RequestCancelExternalWorkflowExecutionCommandAttributes *RequestCancelExternalWorkflowExecutionCommandAttributes `protobuf:"bytes,9,opt,name=request_cancel_external_workflow_execution_command_attributes,json=requestCancelExternalWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_RecordMarkerCommandAttributes struct { - RecordMarkerCommandAttributes *RecordMarkerCommandAttributes `protobuf:"bytes,10,opt,name=record_marker_command_attributes,json=recordMarkerCommandAttributes,proto3,oneof"` -} - -type Command_ContinueAsNewWorkflowExecutionCommandAttributes struct { - ContinueAsNewWorkflowExecutionCommandAttributes *ContinueAsNewWorkflowExecutionCommandAttributes `protobuf:"bytes,11,opt,name=continue_as_new_workflow_execution_command_attributes,json=continueAsNewWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_StartChildWorkflowExecutionCommandAttributes struct { - StartChildWorkflowExecutionCommandAttributes *StartChildWorkflowExecutionCommandAttributes `protobuf:"bytes,12,opt,name=start_child_workflow_execution_command_attributes,json=startChildWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_SignalExternalWorkflowExecutionCommandAttributes struct { - SignalExternalWorkflowExecutionCommandAttributes *SignalExternalWorkflowExecutionCommandAttributes `protobuf:"bytes,13,opt,name=signal_external_workflow_execution_command_attributes,json=signalExternalWorkflowExecutionCommandAttributes,proto3,oneof"` -} - -type Command_UpsertWorkflowSearchAttributesCommandAttributes struct { - UpsertWorkflowSearchAttributesCommandAttributes *UpsertWorkflowSearchAttributesCommandAttributes `protobuf:"bytes,14,opt,name=upsert_workflow_search_attributes_command_attributes,json=upsertWorkflowSearchAttributesCommandAttributes,proto3,oneof"` -} - -type Command_ProtocolMessageCommandAttributes struct { - ProtocolMessageCommandAttributes *ProtocolMessageCommandAttributes `protobuf:"bytes,15,opt,name=protocol_message_command_attributes,json=protocolMessageCommandAttributes,proto3,oneof"` -} - -type Command_ModifyWorkflowPropertiesCommandAttributes struct { - // 16 is available for use - it was used as part of a prototype that never made it into a release - ModifyWorkflowPropertiesCommandAttributes *ModifyWorkflowPropertiesCommandAttributes `protobuf:"bytes,17,opt,name=modify_workflow_properties_command_attributes,json=modifyWorkflowPropertiesCommandAttributes,proto3,oneof"` -} - -type Command_ScheduleNexusOperationCommandAttributes struct { - ScheduleNexusOperationCommandAttributes *ScheduleNexusOperationCommandAttributes `protobuf:"bytes,18,opt,name=schedule_nexus_operation_command_attributes,json=scheduleNexusOperationCommandAttributes,proto3,oneof"` -} - -type Command_RequestCancelNexusOperationCommandAttributes struct { - RequestCancelNexusOperationCommandAttributes *RequestCancelNexusOperationCommandAttributes `protobuf:"bytes,19,opt,name=request_cancel_nexus_operation_command_attributes,json=requestCancelNexusOperationCommandAttributes,proto3,oneof"` -} - -func (*Command_ScheduleActivityTaskCommandAttributes) isCommand_Attributes() {} - -func (*Command_StartTimerCommandAttributes) isCommand_Attributes() {} - -func (*Command_CompleteWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_FailWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_RequestCancelActivityTaskCommandAttributes) isCommand_Attributes() {} - -func (*Command_CancelTimerCommandAttributes) isCommand_Attributes() {} - -func (*Command_CancelWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_RequestCancelExternalWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_RecordMarkerCommandAttributes) isCommand_Attributes() {} - -func (*Command_ContinueAsNewWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_StartChildWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_SignalExternalWorkflowExecutionCommandAttributes) isCommand_Attributes() {} - -func (*Command_UpsertWorkflowSearchAttributesCommandAttributes) isCommand_Attributes() {} - -func (*Command_ProtocolMessageCommandAttributes) isCommand_Attributes() {} - -func (*Command_ModifyWorkflowPropertiesCommandAttributes) isCommand_Attributes() {} - -func (*Command_ScheduleNexusOperationCommandAttributes) isCommand_Attributes() {} - -func (*Command_RequestCancelNexusOperationCommandAttributes) isCommand_Attributes() {} - -var File_temporal_api_command_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_command_v1_message_proto_rawDesc = "" + - "\n" + - "%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a'temporal/api/sdk/v1/user_metadata.proto\"\x83\a\n" + - "%ScheduleActivityTaskCommandAttributes\x12\x1f\n" + - "\vactivity_id\x18\x01 \x01(\tR\n" + - "activityId\x12I\n" + - "\ractivity_type\x18\x02 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x06header\x18\x05 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x126\n" + - "\x05input\x18\x06 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12T\n" + - "\x19schedule_to_close_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12T\n" + - "\x19schedule_to_start_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToStartTimeout\x12N\n" + - "\x16start_to_close_timeout\x18\t \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12F\n" + - "\x11heartbeat_timeout\x18\n" + - " \x01(\v2\x19.google.protobuf.DurationR\x10heartbeatTimeout\x12F\n" + - "\fretry_policy\x18\v \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x126\n" + - "\x17request_eager_execution\x18\f \x01(\bR\x15requestEagerExecution\x121\n" + - "\x15use_workflow_build_id\x18\r \x01(\bR\x12useWorkflowBuildId\x12<\n" + - "\bpriority\x18\x0e \x01(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\x04\b\x03\x10\x04\"Z\n" + - "*RequestCancelActivityTaskCommandAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\"\x86\x01\n" + - "\x1bStartTimerCommandAttributes\x12\x19\n" + - "\btimer_id\x18\x01 \x01(\tR\atimerId\x12L\n" + - "\x15start_to_fire_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x12startToFireTimeout\"f\n" + - "*CompleteWorkflowExecutionCommandAttributes\x128\n" + - "\x06result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\"d\n" + - "&FailWorkflowExecutionCommandAttributes\x12:\n" + - "\afailure\x18\x01 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\"9\n" + - "\x1cCancelTimerCommandAttributes\x12\x19\n" + - "\btimer_id\x18\x01 \x01(\tR\atimerId\"f\n" + - "(CancelWorkflowExecutionCommandAttributes\x12:\n" + - "\adetails\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\xf5\x01\n" + - "7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x1c\n" + - "\acontrol\x18\x04 \x01(\tB\x02\x18\x01R\acontrol\x12.\n" + - "\x13child_workflow_only\x18\x05 \x01(\bR\x11childWorkflowOnly\x12\x16\n" + - "\x06reason\x18\x06 \x01(\tR\x06reason\"\xf8\x02\n" + - "0SignalExternalWorkflowExecutionCommandAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x1f\n" + - "\vsignal_name\x18\x03 \x01(\tR\n" + - "signalName\x126\n" + - "\x05input\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12\x1c\n" + - "\acontrol\x18\x05 \x01(\tB\x02\x18\x01R\acontrol\x12.\n" + - "\x13child_workflow_only\x18\x06 \x01(\bR\x11childWorkflowOnly\x126\n" + - "\x06header\x18\a \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\"\x88\x01\n" + - "/UpsertWorkflowSearchAttributesCommandAttributes\x12U\n" + - "\x11search_attributes\x18\x01 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\"n\n" + - ")ModifyWorkflowPropertiesCommandAttributes\x12A\n" + - "\rupserted_memo\x18\x01 \x01(\v2\x1c.temporal.api.common.v1.MemoR\fupsertedMemo\"\xf1\x02\n" + - "\x1dRecordMarkerCommandAttributes\x12\x1f\n" + - "\vmarker_name\x18\x01 \x01(\tR\n" + - "markerName\x12]\n" + - "\adetails\x18\x02 \x03(\v2C.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntryR\adetails\x126\n" + - "\x06header\x18\x03 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12:\n" + - "\afailure\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x1a\\\n" + - "\fDetailsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x126\n" + - "\x05value\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05value:\x028\x01\"\xa3\b\n" + - "/ContinueAsNewWorkflowExecutionCommandAttributes\x12I\n" + - "\rworkflow_type\x18\x01 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x02 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x03 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12K\n" + - "\x14workflow_run_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12O\n" + - "\x16backoff_start_interval\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x14backoffStartInterval\x12F\n" + - "\fretry_policy\x18\a \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12K\n" + - "\tinitiator\x18\b \x01(\x0e2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\x12:\n" + - "\afailure\x18\t \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12V\n" + - "\x16last_completion_result\x18\n" + - " \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastCompletionResult\x12#\n" + - "\rcron_schedule\x18\v \x01(\tR\fcronSchedule\x126\n" + - "\x06header\x18\f \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x120\n" + - "\x04memo\x18\r \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x0e \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12,\n" + - "\x10inherit_build_id\x18\x0f \x01(\bB\x02\x18\x01R\x0einheritBuildId\"\x9f\t\n" + - ",StartChildWorkflowExecutionCommandAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12X\n" + - "\x13parent_close_policy\x18\t \x01(\x0e2(.temporal.api.enums.v1.ParentClosePolicyR\x11parentClosePolicy\x12\x18\n" + - "\acontrol\x18\n" + - " \x01(\tR\acontrol\x12e\n" + - "\x18workflow_id_reuse_policy\x18\v \x01(\x0e2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\x15workflowIdReusePolicy\x12F\n" + - "\fretry_policy\x18\f \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12#\n" + - "\rcron_schedule\x18\r \x01(\tR\fcronSchedule\x126\n" + - "\x06header\x18\x0e \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x120\n" + - "\x04memo\x18\x0f \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x10 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12,\n" + - "\x10inherit_build_id\x18\x11 \x01(\bB\x02\x18\x01R\x0einheritBuildId\x12<\n" + - "\bpriority\x18\x12 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"A\n" + - " ProtocolMessageCommandAttributes\x12\x1d\n" + - "\n" + - "message_id\x18\x01 \x01(\tR\tmessageId\"\xc0\x03\n" + - "'ScheduleNexusOperationCommandAttributes\x12\x1a\n" + - "\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x18\n" + - "\aservice\x18\x02 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x03 \x01(\tR\toperation\x125\n" + - "\x05input\x18\x04 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05input\x12T\n" + - "\x19schedule_to_close_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12t\n" + - "\fnexus_header\x18\x06 \x03(\v2Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntryR\vnexusHeader\x1a>\n" + - "\x10NexusHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\\\n" + - ",RequestCancelNexusOperationCommandAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\"\xb0\x17\n" + - "\aCommand\x12E\n" + - "\fcommand_type\x18\x01 \x01(\x0e2\".temporal.api.enums.v1.CommandTypeR\vcommandType\x12G\n" + - "\ruser_metadata\x18\xad\x02 \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x12\x9a\x01\n" + - ")schedule_activity_task_command_attributes\x18\x02 \x01(\v2>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00R%scheduleActivityTaskCommandAttributes\x12{\n" + - "\x1estart_timer_command_attributes\x18\x03 \x01(\v24.temporal.api.command.v1.StartTimerCommandAttributesH\x00R\x1bstartTimerCommandAttributes\x12\xa9\x01\n" + - ".complete_workflow_execution_command_attributes\x18\x04 \x01(\v2C.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00R*completeWorkflowExecutionCommandAttributes\x12\x9d\x01\n" + - "*fail_workflow_execution_command_attributes\x18\x05 \x01(\v2?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00R&failWorkflowExecutionCommandAttributes\x12\xaa\x01\n" + - "/request_cancel_activity_task_command_attributes\x18\x06 \x01(\v2C.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00R*requestCancelActivityTaskCommandAttributes\x12~\n" + - "\x1fcancel_timer_command_attributes\x18\a \x01(\v25.temporal.api.command.v1.CancelTimerCommandAttributesH\x00R\x1ccancelTimerCommandAttributes\x12\xa3\x01\n" + - ",cancel_workflow_execution_command_attributes\x18\b \x01(\v2A.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00R(cancelWorkflowExecutionCommandAttributes\x12\xd2\x01\n" + - "=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\v2P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00R7requestCancelExternalWorkflowExecutionCommandAttributes\x12\x81\x01\n" + - " record_marker_command_attributes\x18\n" + - " \x01(\v26.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00R\x1drecordMarkerCommandAttributes\x12\xba\x01\n" + - "5continue_as_new_workflow_execution_command_attributes\x18\v \x01(\v2H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00R/continueAsNewWorkflowExecutionCommandAttributes\x12\xb0\x01\n" + - "1start_child_workflow_execution_command_attributes\x18\f \x01(\v2E.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00R,startChildWorkflowExecutionCommandAttributes\x12\xbc\x01\n" + - "5signal_external_workflow_execution_command_attributes\x18\r \x01(\v2I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00R0signalExternalWorkflowExecutionCommandAttributes\x12\xb9\x01\n" + - "4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\v2H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00R/upsertWorkflowSearchAttributesCommandAttributes\x12\x8a\x01\n" + - "#protocol_message_command_attributes\x18\x0f \x01(\v29.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00R protocolMessageCommandAttributes\x12\xa6\x01\n" + - "-modify_workflow_properties_command_attributes\x18\x11 \x01(\v2B.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00R)modifyWorkflowPropertiesCommandAttributes\x12\xa0\x01\n" + - "+schedule_nexus_operation_command_attributes\x18\x12 \x01(\v2@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00R'scheduleNexusOperationCommandAttributes\x12\xb0\x01\n" + - "1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\v2E.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00R,requestCancelNexusOperationCommandAttributesB\f\n" + - "\n" + - "attributesB\x8e\x01\n" + - "\x1aio.temporal.api.command.v1B\fMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3" - -var ( - file_temporal_api_command_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_command_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_command_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_command_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_command_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_command_v1_message_proto_rawDesc), len(file_temporal_api_command_v1_message_proto_rawDesc))) - }) - return file_temporal_api_command_v1_message_proto_rawDescData -} - -var file_temporal_api_command_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_temporal_api_command_v1_message_proto_goTypes = []any{ - (*ScheduleActivityTaskCommandAttributes)(nil), // 0: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes - (*RequestCancelActivityTaskCommandAttributes)(nil), // 1: temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes - (*StartTimerCommandAttributes)(nil), // 2: temporal.api.command.v1.StartTimerCommandAttributes - (*CompleteWorkflowExecutionCommandAttributes)(nil), // 3: temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes - (*FailWorkflowExecutionCommandAttributes)(nil), // 4: temporal.api.command.v1.FailWorkflowExecutionCommandAttributes - (*CancelTimerCommandAttributes)(nil), // 5: temporal.api.command.v1.CancelTimerCommandAttributes - (*CancelWorkflowExecutionCommandAttributes)(nil), // 6: temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes - (*RequestCancelExternalWorkflowExecutionCommandAttributes)(nil), // 7: temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes - (*SignalExternalWorkflowExecutionCommandAttributes)(nil), // 8: temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes - (*UpsertWorkflowSearchAttributesCommandAttributes)(nil), // 9: temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes - (*ModifyWorkflowPropertiesCommandAttributes)(nil), // 10: temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes - (*RecordMarkerCommandAttributes)(nil), // 11: temporal.api.command.v1.RecordMarkerCommandAttributes - (*ContinueAsNewWorkflowExecutionCommandAttributes)(nil), // 12: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes - (*StartChildWorkflowExecutionCommandAttributes)(nil), // 13: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes - (*ProtocolMessageCommandAttributes)(nil), // 14: temporal.api.command.v1.ProtocolMessageCommandAttributes - (*ScheduleNexusOperationCommandAttributes)(nil), // 15: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes - (*RequestCancelNexusOperationCommandAttributes)(nil), // 16: temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes - (*Command)(nil), // 17: temporal.api.command.v1.Command - nil, // 18: temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry - nil, // 19: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry - (*v1.ActivityType)(nil), // 20: temporal.api.common.v1.ActivityType - (*v11.TaskQueue)(nil), // 21: temporal.api.taskqueue.v1.TaskQueue - (*v1.Header)(nil), // 22: temporal.api.common.v1.Header - (*v1.Payloads)(nil), // 23: temporal.api.common.v1.Payloads - (*durationpb.Duration)(nil), // 24: google.protobuf.Duration - (*v1.RetryPolicy)(nil), // 25: temporal.api.common.v1.RetryPolicy - (*v1.Priority)(nil), // 26: temporal.api.common.v1.Priority - (*v12.Failure)(nil), // 27: temporal.api.failure.v1.Failure - (*v1.WorkflowExecution)(nil), // 28: temporal.api.common.v1.WorkflowExecution - (*v1.SearchAttributes)(nil), // 29: temporal.api.common.v1.SearchAttributes - (*v1.Memo)(nil), // 30: temporal.api.common.v1.Memo - (*v1.WorkflowType)(nil), // 31: temporal.api.common.v1.WorkflowType - (v13.ContinueAsNewInitiator)(0), // 32: temporal.api.enums.v1.ContinueAsNewInitiator - (v13.ParentClosePolicy)(0), // 33: temporal.api.enums.v1.ParentClosePolicy - (v13.WorkflowIdReusePolicy)(0), // 34: temporal.api.enums.v1.WorkflowIdReusePolicy - (*v1.Payload)(nil), // 35: temporal.api.common.v1.Payload - (v13.CommandType)(0), // 36: temporal.api.enums.v1.CommandType - (*v14.UserMetadata)(nil), // 37: temporal.api.sdk.v1.UserMetadata -} -var file_temporal_api_command_v1_message_proto_depIdxs = []int32{ - 20, // 0: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.activity_type:type_name -> temporal.api.common.v1.ActivityType - 21, // 1: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 22, // 2: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.header:type_name -> temporal.api.common.v1.Header - 23, // 3: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.input:type_name -> temporal.api.common.v1.Payloads - 24, // 4: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 24, // 5: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.schedule_to_start_timeout:type_name -> google.protobuf.Duration - 24, // 6: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.start_to_close_timeout:type_name -> google.protobuf.Duration - 24, // 7: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.heartbeat_timeout:type_name -> google.protobuf.Duration - 25, // 8: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 26, // 9: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.priority:type_name -> temporal.api.common.v1.Priority - 24, // 10: temporal.api.command.v1.StartTimerCommandAttributes.start_to_fire_timeout:type_name -> google.protobuf.Duration - 23, // 11: temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.result:type_name -> temporal.api.common.v1.Payloads - 27, // 12: temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 23, // 13: temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.details:type_name -> temporal.api.common.v1.Payloads - 28, // 14: temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 23, // 15: temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.input:type_name -> temporal.api.common.v1.Payloads - 22, // 16: temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.header:type_name -> temporal.api.common.v1.Header - 29, // 17: temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 30, // 18: temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.upserted_memo:type_name -> temporal.api.common.v1.Memo - 18, // 19: temporal.api.command.v1.RecordMarkerCommandAttributes.details:type_name -> temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry - 22, // 20: temporal.api.command.v1.RecordMarkerCommandAttributes.header:type_name -> temporal.api.common.v1.Header - 27, // 21: temporal.api.command.v1.RecordMarkerCommandAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 31, // 22: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 21, // 23: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 23, // 24: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.input:type_name -> temporal.api.common.v1.Payloads - 24, // 25: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.workflow_run_timeout:type_name -> google.protobuf.Duration - 24, // 26: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.workflow_task_timeout:type_name -> google.protobuf.Duration - 24, // 27: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.backoff_start_interval:type_name -> google.protobuf.Duration - 25, // 28: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 32, // 29: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.initiator:type_name -> temporal.api.enums.v1.ContinueAsNewInitiator - 27, // 30: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 23, // 31: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.last_completion_result:type_name -> temporal.api.common.v1.Payloads - 22, // 32: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.header:type_name -> temporal.api.common.v1.Header - 30, // 33: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.memo:type_name -> temporal.api.common.v1.Memo - 29, // 34: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 31, // 35: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 21, // 36: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 23, // 37: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.input:type_name -> temporal.api.common.v1.Payloads - 24, // 38: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.workflow_execution_timeout:type_name -> google.protobuf.Duration - 24, // 39: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.workflow_run_timeout:type_name -> google.protobuf.Duration - 24, // 40: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.workflow_task_timeout:type_name -> google.protobuf.Duration - 33, // 41: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.parent_close_policy:type_name -> temporal.api.enums.v1.ParentClosePolicy - 34, // 42: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.workflow_id_reuse_policy:type_name -> temporal.api.enums.v1.WorkflowIdReusePolicy - 25, // 43: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 22, // 44: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.header:type_name -> temporal.api.common.v1.Header - 30, // 45: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.memo:type_name -> temporal.api.common.v1.Memo - 29, // 46: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 26, // 47: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.priority:type_name -> temporal.api.common.v1.Priority - 35, // 48: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.input:type_name -> temporal.api.common.v1.Payload - 24, // 49: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 19, // 50: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.nexus_header:type_name -> temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry - 36, // 51: temporal.api.command.v1.Command.command_type:type_name -> temporal.api.enums.v1.CommandType - 37, // 52: temporal.api.command.v1.Command.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 0, // 53: temporal.api.command.v1.Command.schedule_activity_task_command_attributes:type_name -> temporal.api.command.v1.ScheduleActivityTaskCommandAttributes - 2, // 54: temporal.api.command.v1.Command.start_timer_command_attributes:type_name -> temporal.api.command.v1.StartTimerCommandAttributes - 3, // 55: temporal.api.command.v1.Command.complete_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes - 4, // 56: temporal.api.command.v1.Command.fail_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.FailWorkflowExecutionCommandAttributes - 1, // 57: temporal.api.command.v1.Command.request_cancel_activity_task_command_attributes:type_name -> temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes - 5, // 58: temporal.api.command.v1.Command.cancel_timer_command_attributes:type_name -> temporal.api.command.v1.CancelTimerCommandAttributes - 6, // 59: temporal.api.command.v1.Command.cancel_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes - 7, // 60: temporal.api.command.v1.Command.request_cancel_external_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes - 11, // 61: temporal.api.command.v1.Command.record_marker_command_attributes:type_name -> temporal.api.command.v1.RecordMarkerCommandAttributes - 12, // 62: temporal.api.command.v1.Command.continue_as_new_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes - 13, // 63: temporal.api.command.v1.Command.start_child_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes - 8, // 64: temporal.api.command.v1.Command.signal_external_workflow_execution_command_attributes:type_name -> temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes - 9, // 65: temporal.api.command.v1.Command.upsert_workflow_search_attributes_command_attributes:type_name -> temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes - 14, // 66: temporal.api.command.v1.Command.protocol_message_command_attributes:type_name -> temporal.api.command.v1.ProtocolMessageCommandAttributes - 10, // 67: temporal.api.command.v1.Command.modify_workflow_properties_command_attributes:type_name -> temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes - 15, // 68: temporal.api.command.v1.Command.schedule_nexus_operation_command_attributes:type_name -> temporal.api.command.v1.ScheduleNexusOperationCommandAttributes - 16, // 69: temporal.api.command.v1.Command.request_cancel_nexus_operation_command_attributes:type_name -> temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes - 23, // 70: temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry.value:type_name -> temporal.api.common.v1.Payloads - 71, // [71:71] is the sub-list for method output_type - 71, // [71:71] is the sub-list for method input_type - 71, // [71:71] is the sub-list for extension type_name - 71, // [71:71] is the sub-list for extension extendee - 0, // [0:71] is the sub-list for field type_name -} - -func init() { file_temporal_api_command_v1_message_proto_init() } -func file_temporal_api_command_v1_message_proto_init() { - if File_temporal_api_command_v1_message_proto != nil { - return - } - file_temporal_api_command_v1_message_proto_msgTypes[17].OneofWrappers = []any{ - (*Command_ScheduleActivityTaskCommandAttributes)(nil), - (*Command_StartTimerCommandAttributes)(nil), - (*Command_CompleteWorkflowExecutionCommandAttributes)(nil), - (*Command_FailWorkflowExecutionCommandAttributes)(nil), - (*Command_RequestCancelActivityTaskCommandAttributes)(nil), - (*Command_CancelTimerCommandAttributes)(nil), - (*Command_CancelWorkflowExecutionCommandAttributes)(nil), - (*Command_RequestCancelExternalWorkflowExecutionCommandAttributes)(nil), - (*Command_RecordMarkerCommandAttributes)(nil), - (*Command_ContinueAsNewWorkflowExecutionCommandAttributes)(nil), - (*Command_StartChildWorkflowExecutionCommandAttributes)(nil), - (*Command_SignalExternalWorkflowExecutionCommandAttributes)(nil), - (*Command_UpsertWorkflowSearchAttributesCommandAttributes)(nil), - (*Command_ProtocolMessageCommandAttributes)(nil), - (*Command_ModifyWorkflowPropertiesCommandAttributes)(nil), - (*Command_ScheduleNexusOperationCommandAttributes)(nil), - (*Command_RequestCancelNexusOperationCommandAttributes)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_command_v1_message_proto_rawDesc), len(file_temporal_api_command_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 20, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_command_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_command_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_command_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_command_v1_message_proto = out.File - file_temporal_api_command_v1_message_proto_goTypes = nil - file_temporal_api_command_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/common/v1/message.pb.go b/build/temporal/api/common/v1/message.pb.go deleted file mode 100644 index 849493f..0000000 --- a/build/temporal/api/common/v1/message.pb.go +++ /dev/null @@ -1,1883 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/common/v1/message.proto - -package common - -import ( - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DataBlob struct { - state protoimpl.MessageState `protogen:"open.v1"` - EncodingType v1.EncodingType `protobuf:"varint,1,opt,name=encoding_type,json=encodingType,proto3,enum=temporal.api.enums.v1.EncodingType" json:"encoding_type,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DataBlob) Reset() { - *x = DataBlob{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DataBlob) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataBlob) ProtoMessage() {} - -func (x *DataBlob) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DataBlob.ProtoReflect.Descriptor instead. -func (*DataBlob) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *DataBlob) GetEncodingType() v1.EncodingType { - if x != nil { - return x.EncodingType - } - return v1.EncodingType(0) -} - -func (x *DataBlob) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// See `Payload` -type Payloads struct { - state protoimpl.MessageState `protogen:"open.v1"` - Payloads []*Payload `protobuf:"bytes,1,rep,name=payloads,proto3" json:"payloads,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Payloads) Reset() { - *x = Payloads{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Payloads) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Payloads) ProtoMessage() {} - -func (x *Payloads) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Payloads.ProtoReflect.Descriptor instead. -func (*Payloads) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *Payloads) GetPayloads() []*Payload { - if x != nil { - return x.Payloads - } - return nil -} - -// Represents some binary (byte array) data (ex: activity input parameters or workflow result) with -// metadata which describes this binary data (format, encoding, encryption, etc). Serialization -// of the data may be user-defined. -type Payload struct { - state protoimpl.MessageState `protogen:"open.v1"` - Metadata map[string][]byte `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Payload) Reset() { - *x = Payload{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Payload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Payload) ProtoMessage() {} - -func (x *Payload) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Payload.ProtoReflect.Descriptor instead. -func (*Payload) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *Payload) GetMetadata() map[string][]byte { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *Payload) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. -// The payload is not serialized in a user-defined way. -type SearchAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - IndexedFields map[string]*Payload `protobuf:"bytes,1,rep,name=indexed_fields,json=indexedFields,proto3" json:"indexed_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchAttributes) Reset() { - *x = SearchAttributes{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchAttributes) ProtoMessage() {} - -func (x *SearchAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchAttributes.ProtoReflect.Descriptor instead. -func (*SearchAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *SearchAttributes) GetIndexedFields() map[string]*Payload { - if x != nil { - return x.IndexedFields - } - return nil -} - -// A user-defined set of *unindexed* fields that are exposed when listing/searching workflows -type Memo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Fields map[string]*Payload `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Memo) Reset() { - *x = Memo{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Memo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Memo) ProtoMessage() {} - -func (x *Memo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Memo.ProtoReflect.Descriptor instead. -func (*Memo) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *Memo) GetFields() map[string]*Payload { - if x != nil { - return x.Fields - } - return nil -} - -// Contains metadata that can be attached to a variety of requests, like starting a workflow, and -// can be propagated between, for example, workflows and activities. -type Header struct { - state protoimpl.MessageState `protogen:"open.v1"` - Fields map[string]*Payload `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Header) Reset() { - *x = Header{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Header) ProtoMessage() {} - -func (x *Header) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Header.ProtoReflect.Descriptor instead. -func (*Header) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *Header) GetFields() map[string]*Payload { - if x != nil { - return x.Fields - } - return nil -} - -// Identifies a specific workflow within a namespace. Practically speaking, because run_id is a -// uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty -// run id as a way of saying "target the latest run of the workflow". -type WorkflowExecution struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecution) Reset() { - *x = WorkflowExecution{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecution) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecution) ProtoMessage() {} - -func (x *WorkflowExecution) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecution.ProtoReflect.Descriptor instead. -func (*WorkflowExecution) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *WorkflowExecution) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *WorkflowExecution) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -// Represents the identifier used by a workflow author to define the workflow. Typically, the -// name of a function. This is sometimes referred to as the workflow's "name" -type WorkflowType struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowType) Reset() { - *x = WorkflowType{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowType) ProtoMessage() {} - -func (x *WorkflowType) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowType.ProtoReflect.Descriptor instead. -func (*WorkflowType) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *WorkflowType) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// Represents the identifier used by a activity author to define the activity. Typically, the -// name of a function. This is sometimes referred to as the activity's "name" -type ActivityType struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityType) Reset() { - *x = ActivityType{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityType) ProtoMessage() {} - -func (x *ActivityType) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityType.ProtoReflect.Descriptor instead. -func (*ActivityType) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *ActivityType) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// How retries ought to be handled, usable by both workflows and activities -type RetryPolicy struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries. - InitialInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=initial_interval,json=initialInterval,proto3" json:"initial_interval,omitempty"` - // Coefficient used to calculate the next retry interval. - // The next retry interval is previous interval multiplied by the coefficient. - // Must be 1 or larger. - BackoffCoefficient float64 `protobuf:"fixed64,2,opt,name=backoff_coefficient,json=backoffCoefficient,proto3" json:"backoff_coefficient,omitempty"` - // Maximum interval between retries. Exponential backoff leads to interval increase. - // This value is the cap of the increase. Default is 100x of the initial interval. - MaximumInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=maximum_interval,json=maximumInterval,proto3" json:"maximum_interval,omitempty"` - // Maximum number of attempts. When exceeded the retries stop even if not expired yet. - // 1 disables retries. 0 means unlimited (up to the timeouts) - MaximumAttempts int32 `protobuf:"varint,4,opt,name=maximum_attempts,json=maximumAttempts,proto3" json:"maximum_attempts,omitempty"` - // Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that - // this is not a substring match, the error *type* (not message) must match exactly. - NonRetryableErrorTypes []string `protobuf:"bytes,5,rep,name=non_retryable_error_types,json=nonRetryableErrorTypes,proto3" json:"non_retryable_error_types,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RetryPolicy) Reset() { - *x = RetryPolicy{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RetryPolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RetryPolicy) ProtoMessage() {} - -func (x *RetryPolicy) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead. -func (*RetryPolicy) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *RetryPolicy) GetInitialInterval() *durationpb.Duration { - if x != nil { - return x.InitialInterval - } - return nil -} - -func (x *RetryPolicy) GetBackoffCoefficient() float64 { - if x != nil { - return x.BackoffCoefficient - } - return 0 -} - -func (x *RetryPolicy) GetMaximumInterval() *durationpb.Duration { - if x != nil { - return x.MaximumInterval - } - return nil -} - -func (x *RetryPolicy) GetMaximumAttempts() int32 { - if x != nil { - return x.MaximumAttempts - } - return 0 -} - -func (x *RetryPolicy) GetNonRetryableErrorTypes() []string { - if x != nil { - return x.NonRetryableErrorTypes - } - return nil -} - -// Metadata relevant for metering purposes -type MeteringMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Count of local activities which have begun an execution attempt during this workflow task, - // and whose first attempt occurred in some previous task. This is used for metering - // purposes, and does not affect workflow state. - // - // (-- api-linter: core::0141::forbidden-types=disabled - // - // aip.dev/not-precedent: Negative values make no sense to represent. --) - NonfirstLocalActivityExecutionAttempts uint32 `protobuf:"varint,13,opt,name=nonfirst_local_activity_execution_attempts,json=nonfirstLocalActivityExecutionAttempts,proto3" json:"nonfirst_local_activity_execution_attempts,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MeteringMetadata) Reset() { - *x = MeteringMetadata{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MeteringMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MeteringMetadata) ProtoMessage() {} - -func (x *MeteringMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MeteringMetadata.ProtoReflect.Descriptor instead. -func (*MeteringMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *MeteringMetadata) GetNonfirstLocalActivityExecutionAttempts() uint32 { - if x != nil { - return x.NonfirstLocalActivityExecutionAttempts - } - return 0 -} - -// Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`. -// Identifies the version(s) of a worker that processed a task -type WorkerVersionStamp struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An opaque whole-worker identifier. Replaces the deprecated `binary_checksum` field when this - // message is included in requests which previously used that. - BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // If set, the worker is opting in to worker versioning. Otherwise, this is used only as a - // marker for workflow reset points and the BuildIDs search attribute. - UseVersioning bool `protobuf:"varint,3,opt,name=use_versioning,json=useVersioning,proto3" json:"use_versioning,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerVersionStamp) Reset() { - *x = WorkerVersionStamp{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerVersionStamp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerVersionStamp) ProtoMessage() {} - -func (x *WorkerVersionStamp) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerVersionStamp.ProtoReflect.Descriptor instead. -func (*WorkerVersionStamp) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *WorkerVersionStamp) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *WorkerVersionStamp) GetUseVersioning() bool { - if x != nil { - return x.UseVersioning - } - return false -} - -// Identifies the version that a worker is compatible with when polling or identifying itself, -// and whether or not this worker is opting into the build-id based versioning feature. This is -// used by matching to determine which workers ought to receive what tasks. -// Deprecated. Use WorkerDeploymentOptions instead. -type WorkerVersionCapabilities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An opaque whole-worker identifier - BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // If set, the worker is opting in to worker versioning, and wishes to only receive appropriate - // tasks. - UseVersioning bool `protobuf:"varint,2,opt,name=use_versioning,json=useVersioning,proto3" json:"use_versioning,omitempty"` - // Must be sent if user has set a deployment series name (versioning-3). - DeploymentSeriesName string `protobuf:"bytes,4,opt,name=deployment_series_name,json=deploymentSeriesName,proto3" json:"deployment_series_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerVersionCapabilities) Reset() { - *x = WorkerVersionCapabilities{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerVersionCapabilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerVersionCapabilities) ProtoMessage() {} - -func (x *WorkerVersionCapabilities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerVersionCapabilities.ProtoReflect.Descriptor instead. -func (*WorkerVersionCapabilities) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *WorkerVersionCapabilities) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *WorkerVersionCapabilities) GetUseVersioning() bool { - if x != nil { - return x.UseVersioning - } - return false -} - -func (x *WorkerVersionCapabilities) GetDeploymentSeriesName() string { - if x != nil { - return x.DeploymentSeriesName - } - return "" -} - -// Describes where and how to reset a workflow, used for batch reset currently -// and may be used for single-workflow reset later. -type ResetOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Which workflow task to reset to. - // - // Types that are valid to be assigned to Target: - // - // *ResetOptions_FirstWorkflowTask - // *ResetOptions_LastWorkflowTask - // *ResetOptions_WorkflowTaskId - // *ResetOptions_BuildId - Target isResetOptions_Target `protobuf_oneof:"target"` - // Deprecated. Use `options`. - // Default: RESET_REAPPLY_TYPE_SIGNAL - // - // Deprecated: Marked as deprecated in temporal/api/common/v1/message.proto. - ResetReapplyType v1.ResetReapplyType `protobuf:"varint,10,opt,name=reset_reapply_type,json=resetReapplyType,proto3,enum=temporal.api.enums.v1.ResetReapplyType" json:"reset_reapply_type,omitempty"` - // If true, limit the reset to only within the current run. (Applies to build_id targets and - // possibly others in the future.) - CurrentRunOnly bool `protobuf:"varint,11,opt,name=current_run_only,json=currentRunOnly,proto3" json:"current_run_only,omitempty"` - // Event types not to be reapplied - ResetReapplyExcludeTypes []v1.ResetReapplyExcludeType `protobuf:"varint,12,rep,packed,name=reset_reapply_exclude_types,json=resetReapplyExcludeTypes,proto3,enum=temporal.api.enums.v1.ResetReapplyExcludeType" json:"reset_reapply_exclude_types,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetOptions) Reset() { - *x = ResetOptions{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetOptions) ProtoMessage() {} - -func (x *ResetOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetOptions.ProtoReflect.Descriptor instead. -func (*ResetOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *ResetOptions) GetTarget() isResetOptions_Target { - if x != nil { - return x.Target - } - return nil -} - -func (x *ResetOptions) GetFirstWorkflowTask() *emptypb.Empty { - if x != nil { - if x, ok := x.Target.(*ResetOptions_FirstWorkflowTask); ok { - return x.FirstWorkflowTask - } - } - return nil -} - -func (x *ResetOptions) GetLastWorkflowTask() *emptypb.Empty { - if x != nil { - if x, ok := x.Target.(*ResetOptions_LastWorkflowTask); ok { - return x.LastWorkflowTask - } - } - return nil -} - -func (x *ResetOptions) GetWorkflowTaskId() int64 { - if x != nil { - if x, ok := x.Target.(*ResetOptions_WorkflowTaskId); ok { - return x.WorkflowTaskId - } - } - return 0 -} - -func (x *ResetOptions) GetBuildId() string { - if x != nil { - if x, ok := x.Target.(*ResetOptions_BuildId); ok { - return x.BuildId - } - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/common/v1/message.proto. -func (x *ResetOptions) GetResetReapplyType() v1.ResetReapplyType { - if x != nil { - return x.ResetReapplyType - } - return v1.ResetReapplyType(0) -} - -func (x *ResetOptions) GetCurrentRunOnly() bool { - if x != nil { - return x.CurrentRunOnly - } - return false -} - -func (x *ResetOptions) GetResetReapplyExcludeTypes() []v1.ResetReapplyExcludeType { - if x != nil { - return x.ResetReapplyExcludeTypes - } - return nil -} - -type isResetOptions_Target interface { - isResetOptions_Target() -} - -type ResetOptions_FirstWorkflowTask struct { - // Resets to the first workflow task completed or started event. - FirstWorkflowTask *emptypb.Empty `protobuf:"bytes,1,opt,name=first_workflow_task,json=firstWorkflowTask,proto3,oneof"` -} - -type ResetOptions_LastWorkflowTask struct { - // Resets to the last workflow task completed or started event. - LastWorkflowTask *emptypb.Empty `protobuf:"bytes,2,opt,name=last_workflow_task,json=lastWorkflowTask,proto3,oneof"` -} - -type ResetOptions_WorkflowTaskId struct { - // The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or - // `WORKFLOW_TASK_STARTED` event to reset to. - // Note that this option doesn't make sense when used as part of a batch request. - WorkflowTaskId int64 `protobuf:"varint,3,opt,name=workflow_task_id,json=workflowTaskId,proto3,oneof"` -} - -type ResetOptions_BuildId struct { - // Resets to the first workflow task processed by this build id. - // If the workflow was not processed by the build id, or the workflow task can't be - // determined, no reset will be performed. - // Note that by default, this reset is allowed to be to a prior run in a chain of - // continue-as-new. - BuildId string `protobuf:"bytes,4,opt,name=build_id,json=buildId,proto3,oneof"` -} - -func (*ResetOptions_FirstWorkflowTask) isResetOptions_Target() {} - -func (*ResetOptions_LastWorkflowTask) isResetOptions_Target() {} - -func (*ResetOptions_WorkflowTaskId) isResetOptions_Target() {} - -func (*ResetOptions_BuildId) isResetOptions_Target() {} - -// Callback to attach to various events in the system, e.g. workflow run completion. -type Callback struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *Callback_Nexus_ - // *Callback_Internal_ - Variant isCallback_Variant `protobuf_oneof:"variant"` - // Links associated with the callback. It can be used to link to underlying resources of the - // callback. - Links []*Link `protobuf:"bytes,100,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Callback) Reset() { - *x = Callback{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Callback) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Callback) ProtoMessage() {} - -func (x *Callback) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Callback.ProtoReflect.Descriptor instead. -func (*Callback) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *Callback) GetVariant() isCallback_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *Callback) GetNexus() *Callback_Nexus { - if x != nil { - if x, ok := x.Variant.(*Callback_Nexus_); ok { - return x.Nexus - } - } - return nil -} - -func (x *Callback) GetInternal() *Callback_Internal { - if x != nil { - if x, ok := x.Variant.(*Callback_Internal_); ok { - return x.Internal - } - } - return nil -} - -func (x *Callback) GetLinks() []*Link { - if x != nil { - return x.Links - } - return nil -} - -type isCallback_Variant interface { - isCallback_Variant() -} - -type Callback_Nexus_ struct { - Nexus *Callback_Nexus `protobuf:"bytes,2,opt,name=nexus,proto3,oneof"` -} - -type Callback_Internal_ struct { - Internal *Callback_Internal `protobuf:"bytes,3,opt,name=internal,proto3,oneof"` -} - -func (*Callback_Nexus_) isCallback_Variant() {} - -func (*Callback_Internal_) isCallback_Variant() {} - -// Link can be associated with history events. It might contain information about an external entity -// related to the history event. For example, workflow A makes a Nexus call that starts workflow B: -// in this case, a history event in workflow A could contain a Link to the workflow started event in -// workflow B, and vice-versa. -type Link struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *Link_WorkflowEvent_ - // *Link_BatchJob_ - Variant isLink_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link) Reset() { - *x = Link{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link) ProtoMessage() {} - -func (x *Link) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link.ProtoReflect.Descriptor instead. -func (*Link) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *Link) GetVariant() isLink_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *Link) GetWorkflowEvent() *Link_WorkflowEvent { - if x != nil { - if x, ok := x.Variant.(*Link_WorkflowEvent_); ok { - return x.WorkflowEvent - } - } - return nil -} - -func (x *Link) GetBatchJob() *Link_BatchJob { - if x != nil { - if x, ok := x.Variant.(*Link_BatchJob_); ok { - return x.BatchJob - } - } - return nil -} - -type isLink_Variant interface { - isLink_Variant() -} - -type Link_WorkflowEvent_ struct { - WorkflowEvent *Link_WorkflowEvent `protobuf:"bytes,1,opt,name=workflow_event,json=workflowEvent,proto3,oneof"` -} - -type Link_BatchJob_ struct { - BatchJob *Link_BatchJob `protobuf:"bytes,2,opt,name=batch_job,json=batchJob,proto3,oneof"` -} - -func (*Link_WorkflowEvent_) isLink_Variant() {} - -func (*Link_BatchJob_) isLink_Variant() {} - -// Priority contains metadata that controls relative ordering of task processing -// when tasks are backed up in a queue. Initially, Priority will be used in -// matching (workflow and activity) task queues. Later it may be used in history -// task queues and in rate limiting decisions. -// -// Priority is attached to workflows and activities. By default, activities -// inherit Priority from the workflow that created them, but may override fields -// when an activity is started or modified. -// -// Despite being named "Priority", this message also contains fields that -// control "fairness" mechanisms. -// -// For all fields, the field not present or equal to zero/empty string means to -// inherit the value from the calling workflow, or if there is no calling -// workflow, then use the default value. -// -// For all fields other than fairness_key, the zero value isn't meaningful so -// there's no confusion between inherit/default and a meaningful value. For -// fairness_key, the empty string will be interpreted as "inherit". This means -// that if a workflow has a non-empty fairness key, you can't override the -// fairness key of its activity to the empty string. -// -// The overall semantics of Priority are: -// 1. First, consider "priority": higher priority (lower number) goes first. -// 2. Then, consider fairness: try to dispatch tasks for different fairness keys -// in proportion to their weight. -// -// Applications may use any subset of mechanisms that are useful to them and -// leave the other fields to use default values. -// -// Not all queues in the system may support the "full" semantics of all priority -// fields. (Currently only support in matching task queues is planned.) -type Priority struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Priority key is a positive integer from 1 to n, where smaller integers - // correspond to higher priorities (tasks run sooner). In general, tasks in - // a queue should be processed in close to priority order, although small - // deviations are possible. - // - // The maximum priority value (minimum priority) is determined by server - // configuration, and defaults to 5. - // - // If priority is not present (or zero), then the effective priority will be - // the default priority, which is calculated by (min+max)/2. With the - // default max of 5, and min of 1, that comes out to 3. - PriorityKey int32 `protobuf:"varint,1,opt,name=priority_key,json=priorityKey,proto3" json:"priority_key,omitempty"` - // Fairness key is a short string that's used as a key for a fairness - // balancing mechanism. It may correspond to a tenant id, or to a fixed - // string like "high" or "low". The default is the empty string. - // - // The fairness mechanism attempts to dispatch tasks for a given key in - // proportion to its weight. For example, using a thousand distinct tenant - // ids, each with a weight of 1.0 (the default) will result in each tenant - // getting a roughly equal share of task dispatch throughput. - // - // (Note: this does not imply equal share of worker capacity! Fairness - // decisions are made based on queue statistics, not - // current worker load.) - // - // As another example, using keys "high" and "low" with weight 9.0 and 1.0 - // respectively will prefer dispatching "high" tasks over "low" tasks at a - // 9:1 ratio, while allowing either key to use all worker capacity if the - // other is not present. - // - // All fairness mechanisms, including rate limits, are best-effort and - // probabilistic. The results may not match what a "perfect" algorithm with - // infinite resources would produce. The more unique keys are used, the less - // accurate the results will be. - // - // Fairness keys are limited to 64 bytes. - FairnessKey string `protobuf:"bytes,2,opt,name=fairness_key,json=fairnessKey,proto3" json:"fairness_key,omitempty"` - // Fairness weight for a task can come from multiple sources for - // flexibility. From highest to lowest precedence: - // 1. Weights for a small set of keys can be overridden in task queue - // configuration with an API. - // 2. It can be attached to the workflow/activity in this field. - // 3. The default weight of 1.0 will be used. - // - // Weight values are clamped to the range [0.001, 1000]. - FairnessWeight float32 `protobuf:"fixed32,3,opt,name=fairness_weight,json=fairnessWeight,proto3" json:"fairness_weight,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Priority) Reset() { - *x = Priority{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Priority) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Priority) ProtoMessage() {} - -func (x *Priority) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Priority.ProtoReflect.Descriptor instead. -func (*Priority) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{16} -} - -func (x *Priority) GetPriorityKey() int32 { - if x != nil { - return x.PriorityKey - } - return 0 -} - -func (x *Priority) GetFairnessKey() string { - if x != nil { - return x.FairnessKey - } - return "" -} - -func (x *Priority) GetFairnessWeight() float32 { - if x != nil { - return x.FairnessWeight - } - return 0 -} - -// This is used to send commands to a specific worker or a group of workers. -// Right now, it is used to send commands to a specific worker instance. -// Will be extended to be able to send command to multiple workers. -type WorkerSelector struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Options are: - // - query (will be used as query to ListWorkers, same format as in ListWorkersRequest.query) - // - task queue (just a shortcut. Same as query=' "TaskQueue"="my-task-queue" ') - // - etc. - // All but 'query' are shortcuts, can be replaced with a query, but it is not convenient. - // - // string query = 5; - // string task_queue = 6; - // ... - // - // Types that are valid to be assigned to Selector: - // - // *WorkerSelector_WorkerInstanceKey - Selector isWorkerSelector_Selector `protobuf_oneof:"selector"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerSelector) Reset() { - *x = WorkerSelector{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerSelector) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerSelector) ProtoMessage() {} - -func (x *WorkerSelector) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerSelector.ProtoReflect.Descriptor instead. -func (*WorkerSelector) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{17} -} - -func (x *WorkerSelector) GetSelector() isWorkerSelector_Selector { - if x != nil { - return x.Selector - } - return nil -} - -func (x *WorkerSelector) GetWorkerInstanceKey() string { - if x != nil { - if x, ok := x.Selector.(*WorkerSelector_WorkerInstanceKey); ok { - return x.WorkerInstanceKey - } - } - return "" -} - -type isWorkerSelector_Selector interface { - isWorkerSelector_Selector() -} - -type WorkerSelector_WorkerInstanceKey struct { - // Worker instance key to which the command should be sent. - WorkerInstanceKey string `protobuf:"bytes,1,opt,name=worker_instance_key,json=workerInstanceKey,proto3,oneof"` -} - -func (*WorkerSelector_WorkerInstanceKey) isWorkerSelector_Selector() {} - -type Callback_Nexus struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Callback URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Header to attach to callback request. - Header map[string]string `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Callback_Nexus) Reset() { - *x = Callback_Nexus{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Callback_Nexus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Callback_Nexus) ProtoMessage() {} - -func (x *Callback_Nexus) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Callback_Nexus.ProtoReflect.Descriptor instead. -func (*Callback_Nexus) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{14, 0} -} - -func (x *Callback_Nexus) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *Callback_Nexus) GetHeader() map[string]string { - if x != nil { - return x.Header - } - return nil -} - -// Callbacks to be delivered internally within the system. -// This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error. -// The only reason that this is exposed is because callbacks are replicated across clusters via the -// WorkflowExecutionStarted event, which is defined in the public API. -type Callback_Internal struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Opaque internal data. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Callback_Internal) Reset() { - *x = Callback_Internal{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Callback_Internal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Callback_Internal) ProtoMessage() {} - -func (x *Callback_Internal) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Callback_Internal.ProtoReflect.Descriptor instead. -func (*Callback_Internal) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{14, 1} -} - -func (x *Callback_Internal) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -type Link_WorkflowEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Additional information about the workflow event. - // Eg: the caller workflow can send the history event details that made the Nexus call. - // - // Types that are valid to be assigned to Reference: - // - // *Link_WorkflowEvent_EventRef - // *Link_WorkflowEvent_RequestIdRef - Reference isLink_WorkflowEvent_Reference `protobuf_oneof:"reference"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link_WorkflowEvent) Reset() { - *x = Link_WorkflowEvent{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link_WorkflowEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link_WorkflowEvent) ProtoMessage() {} - -func (x *Link_WorkflowEvent) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link_WorkflowEvent.ProtoReflect.Descriptor instead. -func (*Link_WorkflowEvent) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{15, 0} -} - -func (x *Link_WorkflowEvent) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *Link_WorkflowEvent) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *Link_WorkflowEvent) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *Link_WorkflowEvent) GetReference() isLink_WorkflowEvent_Reference { - if x != nil { - return x.Reference - } - return nil -} - -func (x *Link_WorkflowEvent) GetEventRef() *Link_WorkflowEvent_EventReference { - if x != nil { - if x, ok := x.Reference.(*Link_WorkflowEvent_EventRef); ok { - return x.EventRef - } - } - return nil -} - -func (x *Link_WorkflowEvent) GetRequestIdRef() *Link_WorkflowEvent_RequestIdReference { - if x != nil { - if x, ok := x.Reference.(*Link_WorkflowEvent_RequestIdRef); ok { - return x.RequestIdRef - } - } - return nil -} - -type isLink_WorkflowEvent_Reference interface { - isLink_WorkflowEvent_Reference() -} - -type Link_WorkflowEvent_EventRef struct { - EventRef *Link_WorkflowEvent_EventReference `protobuf:"bytes,100,opt,name=event_ref,json=eventRef,proto3,oneof"` -} - -type Link_WorkflowEvent_RequestIdRef struct { - RequestIdRef *Link_WorkflowEvent_RequestIdReference `protobuf:"bytes,101,opt,name=request_id_ref,json=requestIdRef,proto3,oneof"` -} - -func (*Link_WorkflowEvent_EventRef) isLink_WorkflowEvent_Reference() {} - -func (*Link_WorkflowEvent_RequestIdRef) isLink_WorkflowEvent_Reference() {} - -// A link to a built-in batch job. -// Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc). -// This link can be put on workflow history events generated by actions taken by a batch job. -type Link_BatchJob struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link_BatchJob) Reset() { - *x = Link_BatchJob{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link_BatchJob) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link_BatchJob) ProtoMessage() {} - -func (x *Link_BatchJob) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link_BatchJob.ProtoReflect.Descriptor instead. -func (*Link_BatchJob) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{15, 1} -} - -func (x *Link_BatchJob) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -// EventReference is a direct reference to a history event through the event ID. -type Link_WorkflowEvent_EventReference struct { - state protoimpl.MessageState `protogen:"open.v1"` - EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - EventType v1.EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=temporal.api.enums.v1.EventType" json:"event_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link_WorkflowEvent_EventReference) Reset() { - *x = Link_WorkflowEvent_EventReference{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link_WorkflowEvent_EventReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link_WorkflowEvent_EventReference) ProtoMessage() {} - -func (x *Link_WorkflowEvent_EventReference) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link_WorkflowEvent_EventReference.ProtoReflect.Descriptor instead. -func (*Link_WorkflowEvent_EventReference) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{15, 0, 0} -} - -func (x *Link_WorkflowEvent_EventReference) GetEventId() int64 { - if x != nil { - return x.EventId - } - return 0 -} - -func (x *Link_WorkflowEvent_EventReference) GetEventType() v1.EventType { - if x != nil { - return x.EventType - } - return v1.EventType(0) -} - -// RequestIdReference is a indirect reference to a history event through the request ID. -type Link_WorkflowEvent_RequestIdReference struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - EventType v1.EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=temporal.api.enums.v1.EventType" json:"event_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link_WorkflowEvent_RequestIdReference) Reset() { - *x = Link_WorkflowEvent_RequestIdReference{} - mi := &file_temporal_api_common_v1_message_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link_WorkflowEvent_RequestIdReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link_WorkflowEvent_RequestIdReference) ProtoMessage() {} - -func (x *Link_WorkflowEvent_RequestIdReference) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_common_v1_message_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link_WorkflowEvent_RequestIdReference.ProtoReflect.Descriptor instead. -func (*Link_WorkflowEvent_RequestIdReference) Descriptor() ([]byte, []int) { - return file_temporal_api_common_v1_message_proto_rawDescGZIP(), []int{15, 0, 1} -} - -func (x *Link_WorkflowEvent_RequestIdReference) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *Link_WorkflowEvent_RequestIdReference) GetEventType() v1.EventType { - if x != nil { - return x.EventType - } - return v1.EventType(0) -} - -var File_temporal_api_common_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_common_v1_message_proto_rawDesc = "" + - "\n" + - "$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto\"h\n" + - "\bDataBlob\x12H\n" + - "\rencoding_type\x18\x01 \x01(\x0e2#.temporal.api.enums.v1.EncodingTypeR\fencodingType\x12\x12\n" + - "\x04data\x18\x02 \x01(\fR\x04data\"G\n" + - "\bPayloads\x12;\n" + - "\bpayloads\x18\x01 \x03(\v2\x1f.temporal.api.common.v1.PayloadR\bpayloads\"\xa5\x01\n" + - "\aPayload\x12I\n" + - "\bmetadata\x18\x01 \x03(\v2-.temporal.api.common.v1.Payload.MetadataEntryR\bmetadata\x12\x12\n" + - "\x04data\x18\x02 \x01(\fR\x04data\x1a;\n" + - "\rMetadataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"\xd9\x01\n" + - "\x10SearchAttributes\x12b\n" + - "\x0eindexed_fields\x18\x01 \x03(\v2;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntryR\rindexedFields\x1aa\n" + - "\x12IndexedFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"\xa4\x01\n" + - "\x04Memo\x12@\n" + - "\x06fields\x18\x01 \x03(\v2(.temporal.api.common.v1.Memo.FieldsEntryR\x06fields\x1aZ\n" + - "\vFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"\xa8\x01\n" + - "\x06Header\x12B\n" + - "\x06fields\x18\x01 \x03(\v2*.temporal.api.common.v1.Header.FieldsEntryR\x06fields\x1aZ\n" + - "\vFieldsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"K\n" + - "\x11WorkflowExecution\x12\x1f\n" + - "\vworkflow_id\x18\x01 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x02 \x01(\tR\x05runId\"\"\n" + - "\fWorkflowType\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\"\"\n" + - "\fActivityType\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\"\xb0\x02\n" + - "\vRetryPolicy\x12D\n" + - "\x10initial_interval\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\x0finitialInterval\x12/\n" + - "\x13backoff_coefficient\x18\x02 \x01(\x01R\x12backoffCoefficient\x12D\n" + - "\x10maximum_interval\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x0fmaximumInterval\x12)\n" + - "\x10maximum_attempts\x18\x04 \x01(\x05R\x0fmaximumAttempts\x129\n" + - "\x19non_retryable_error_types\x18\x05 \x03(\tR\x16nonRetryableErrorTypes\"n\n" + - "\x10MeteringMetadata\x12Z\n" + - "*nonfirst_local_activity_execution_attempts\x18\r \x01(\rR&nonfirstLocalActivityExecutionAttempts\"V\n" + - "\x12WorkerVersionStamp\x12\x19\n" + - "\bbuild_id\x18\x01 \x01(\tR\abuildId\x12%\n" + - "\x0euse_versioning\x18\x03 \x01(\bR\ruseVersioning\"\x93\x01\n" + - "\x19WorkerVersionCapabilities\x12\x19\n" + - "\bbuild_id\x18\x01 \x01(\tR\abuildId\x12%\n" + - "\x0euse_versioning\x18\x02 \x01(\bR\ruseVersioning\x124\n" + - "\x16deployment_series_name\x18\x04 \x01(\tR\x14deploymentSeriesName\"\xe7\x03\n" + - "\fResetOptions\x12H\n" + - "\x13first_workflow_task\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\x11firstWorkflowTask\x12F\n" + - "\x12last_workflow_task\x18\x02 \x01(\v2\x16.google.protobuf.EmptyH\x00R\x10lastWorkflowTask\x12*\n" + - "\x10workflow_task_id\x18\x03 \x01(\x03H\x00R\x0eworkflowTaskId\x12\x1b\n" + - "\bbuild_id\x18\x04 \x01(\tH\x00R\abuildId\x12Y\n" + - "\x12reset_reapply_type\x18\n" + - " \x01(\x0e2'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01R\x10resetReapplyType\x12(\n" + - "\x10current_run_only\x18\v \x01(\bR\x0ecurrentRunOnly\x12m\n" + - "\x1breset_reapply_exclude_types\x18\f \x03(\x0e2..temporal.api.enums.v1.ResetReapplyExcludeTypeR\x18resetReapplyExcludeTypesB\b\n" + - "\x06target\"\x9b\x03\n" + - "\bCallback\x12>\n" + - "\x05nexus\x18\x02 \x01(\v2&.temporal.api.common.v1.Callback.NexusH\x00R\x05nexus\x12G\n" + - "\binternal\x18\x03 \x01(\v2).temporal.api.common.v1.Callback.InternalH\x00R\binternal\x122\n" + - "\x05links\x18d \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x1a\xa0\x01\n" + - "\x05Nexus\x12\x10\n" + - "\x03url\x18\x01 \x01(\tR\x03url\x12J\n" + - "\x06header\x18\x02 \x03(\v22.temporal.api.common.v1.Callback.Nexus.HeaderEntryR\x06header\x1a9\n" + - "\vHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a\x1e\n" + - "\bInternal\x12\x12\n" + - "\x04data\x18\x01 \x01(\fR\x04dataB\t\n" + - "\avariantJ\x04\b\x01\x10\x02\"\xe9\x05\n" + - "\x04Link\x12S\n" + - "\x0eworkflow_event\x18\x01 \x01(\v2*.temporal.api.common.v1.Link.WorkflowEventH\x00R\rworkflowEvent\x12D\n" + - "\tbatch_job\x18\x02 \x01(\v2%.temporal.api.common.v1.Link.BatchJobH\x00R\bbatchJob\x1a\x97\x04\n" + - "\rWorkflowEvent\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12X\n" + - "\tevent_ref\x18d \x01(\v29.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00R\beventRef\x12e\n" + - "\x0erequest_id_ref\x18e \x01(\v2=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00R\frequestIdRef\x1al\n" + - "\x0eEventReference\x12\x19\n" + - "\bevent_id\x18\x01 \x01(\x03R\aeventId\x12?\n" + - "\n" + - "event_type\x18\x02 \x01(\x0e2 .temporal.api.enums.v1.EventTypeR\teventType\x1at\n" + - "\x12RequestIdReference\x12\x1d\n" + - "\n" + - "request_id\x18\x01 \x01(\tR\trequestId\x12?\n" + - "\n" + - "event_type\x18\x02 \x01(\x0e2 .temporal.api.enums.v1.EventTypeR\teventTypeB\v\n" + - "\treference\x1a!\n" + - "\bBatchJob\x12\x15\n" + - "\x06job_id\x18\x01 \x01(\tR\x05jobIdB\t\n" + - "\avariant\"y\n" + - "\bPriority\x12!\n" + - "\fpriority_key\x18\x01 \x01(\x05R\vpriorityKey\x12!\n" + - "\ffairness_key\x18\x02 \x01(\tR\vfairnessKey\x12'\n" + - "\x0ffairness_weight\x18\x03 \x01(\x02R\x0efairnessWeight\"N\n" + - "\x0eWorkerSelector\x120\n" + - "\x13worker_instance_key\x18\x01 \x01(\tH\x00R\x11workerInstanceKeyB\n" + - "\n" + - "\bselectorB\x89\x01\n" + - "\x19io.temporal.api.common.v1B\fMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3" - -var ( - file_temporal_api_common_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_common_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_common_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_common_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_common_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_common_v1_message_proto_rawDesc), len(file_temporal_api_common_v1_message_proto_rawDesc))) - }) - return file_temporal_api_common_v1_message_proto_rawDescData -} - -var file_temporal_api_common_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_temporal_api_common_v1_message_proto_goTypes = []any{ - (*DataBlob)(nil), // 0: temporal.api.common.v1.DataBlob - (*Payloads)(nil), // 1: temporal.api.common.v1.Payloads - (*Payload)(nil), // 2: temporal.api.common.v1.Payload - (*SearchAttributes)(nil), // 3: temporal.api.common.v1.SearchAttributes - (*Memo)(nil), // 4: temporal.api.common.v1.Memo - (*Header)(nil), // 5: temporal.api.common.v1.Header - (*WorkflowExecution)(nil), // 6: temporal.api.common.v1.WorkflowExecution - (*WorkflowType)(nil), // 7: temporal.api.common.v1.WorkflowType - (*ActivityType)(nil), // 8: temporal.api.common.v1.ActivityType - (*RetryPolicy)(nil), // 9: temporal.api.common.v1.RetryPolicy - (*MeteringMetadata)(nil), // 10: temporal.api.common.v1.MeteringMetadata - (*WorkerVersionStamp)(nil), // 11: temporal.api.common.v1.WorkerVersionStamp - (*WorkerVersionCapabilities)(nil), // 12: temporal.api.common.v1.WorkerVersionCapabilities - (*ResetOptions)(nil), // 13: temporal.api.common.v1.ResetOptions - (*Callback)(nil), // 14: temporal.api.common.v1.Callback - (*Link)(nil), // 15: temporal.api.common.v1.Link - (*Priority)(nil), // 16: temporal.api.common.v1.Priority - (*WorkerSelector)(nil), // 17: temporal.api.common.v1.WorkerSelector - nil, // 18: temporal.api.common.v1.Payload.MetadataEntry - nil, // 19: temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry - nil, // 20: temporal.api.common.v1.Memo.FieldsEntry - nil, // 21: temporal.api.common.v1.Header.FieldsEntry - (*Callback_Nexus)(nil), // 22: temporal.api.common.v1.Callback.Nexus - (*Callback_Internal)(nil), // 23: temporal.api.common.v1.Callback.Internal - nil, // 24: temporal.api.common.v1.Callback.Nexus.HeaderEntry - (*Link_WorkflowEvent)(nil), // 25: temporal.api.common.v1.Link.WorkflowEvent - (*Link_BatchJob)(nil), // 26: temporal.api.common.v1.Link.BatchJob - (*Link_WorkflowEvent_EventReference)(nil), // 27: temporal.api.common.v1.Link.WorkflowEvent.EventReference - (*Link_WorkflowEvent_RequestIdReference)(nil), // 28: temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference - (v1.EncodingType)(0), // 29: temporal.api.enums.v1.EncodingType - (*durationpb.Duration)(nil), // 30: google.protobuf.Duration - (*emptypb.Empty)(nil), // 31: google.protobuf.Empty - (v1.ResetReapplyType)(0), // 32: temporal.api.enums.v1.ResetReapplyType - (v1.ResetReapplyExcludeType)(0), // 33: temporal.api.enums.v1.ResetReapplyExcludeType - (v1.EventType)(0), // 34: temporal.api.enums.v1.EventType -} -var file_temporal_api_common_v1_message_proto_depIdxs = []int32{ - 29, // 0: temporal.api.common.v1.DataBlob.encoding_type:type_name -> temporal.api.enums.v1.EncodingType - 2, // 1: temporal.api.common.v1.Payloads.payloads:type_name -> temporal.api.common.v1.Payload - 18, // 2: temporal.api.common.v1.Payload.metadata:type_name -> temporal.api.common.v1.Payload.MetadataEntry - 19, // 3: temporal.api.common.v1.SearchAttributes.indexed_fields:type_name -> temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry - 20, // 4: temporal.api.common.v1.Memo.fields:type_name -> temporal.api.common.v1.Memo.FieldsEntry - 21, // 5: temporal.api.common.v1.Header.fields:type_name -> temporal.api.common.v1.Header.FieldsEntry - 30, // 6: temporal.api.common.v1.RetryPolicy.initial_interval:type_name -> google.protobuf.Duration - 30, // 7: temporal.api.common.v1.RetryPolicy.maximum_interval:type_name -> google.protobuf.Duration - 31, // 8: temporal.api.common.v1.ResetOptions.first_workflow_task:type_name -> google.protobuf.Empty - 31, // 9: temporal.api.common.v1.ResetOptions.last_workflow_task:type_name -> google.protobuf.Empty - 32, // 10: temporal.api.common.v1.ResetOptions.reset_reapply_type:type_name -> temporal.api.enums.v1.ResetReapplyType - 33, // 11: temporal.api.common.v1.ResetOptions.reset_reapply_exclude_types:type_name -> temporal.api.enums.v1.ResetReapplyExcludeType - 22, // 12: temporal.api.common.v1.Callback.nexus:type_name -> temporal.api.common.v1.Callback.Nexus - 23, // 13: temporal.api.common.v1.Callback.internal:type_name -> temporal.api.common.v1.Callback.Internal - 15, // 14: temporal.api.common.v1.Callback.links:type_name -> temporal.api.common.v1.Link - 25, // 15: temporal.api.common.v1.Link.workflow_event:type_name -> temporal.api.common.v1.Link.WorkflowEvent - 26, // 16: temporal.api.common.v1.Link.batch_job:type_name -> temporal.api.common.v1.Link.BatchJob - 2, // 17: temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry.value:type_name -> temporal.api.common.v1.Payload - 2, // 18: temporal.api.common.v1.Memo.FieldsEntry.value:type_name -> temporal.api.common.v1.Payload - 2, // 19: temporal.api.common.v1.Header.FieldsEntry.value:type_name -> temporal.api.common.v1.Payload - 24, // 20: temporal.api.common.v1.Callback.Nexus.header:type_name -> temporal.api.common.v1.Callback.Nexus.HeaderEntry - 27, // 21: temporal.api.common.v1.Link.WorkflowEvent.event_ref:type_name -> temporal.api.common.v1.Link.WorkflowEvent.EventReference - 28, // 22: temporal.api.common.v1.Link.WorkflowEvent.request_id_ref:type_name -> temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference - 34, // 23: temporal.api.common.v1.Link.WorkflowEvent.EventReference.event_type:type_name -> temporal.api.enums.v1.EventType - 34, // 24: temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference.event_type:type_name -> temporal.api.enums.v1.EventType - 25, // [25:25] is the sub-list for method output_type - 25, // [25:25] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name -} - -func init() { file_temporal_api_common_v1_message_proto_init() } -func file_temporal_api_common_v1_message_proto_init() { - if File_temporal_api_common_v1_message_proto != nil { - return - } - file_temporal_api_common_v1_message_proto_msgTypes[13].OneofWrappers = []any{ - (*ResetOptions_FirstWorkflowTask)(nil), - (*ResetOptions_LastWorkflowTask)(nil), - (*ResetOptions_WorkflowTaskId)(nil), - (*ResetOptions_BuildId)(nil), - } - file_temporal_api_common_v1_message_proto_msgTypes[14].OneofWrappers = []any{ - (*Callback_Nexus_)(nil), - (*Callback_Internal_)(nil), - } - file_temporal_api_common_v1_message_proto_msgTypes[15].OneofWrappers = []any{ - (*Link_WorkflowEvent_)(nil), - (*Link_BatchJob_)(nil), - } - file_temporal_api_common_v1_message_proto_msgTypes[17].OneofWrappers = []any{ - (*WorkerSelector_WorkerInstanceKey)(nil), - } - file_temporal_api_common_v1_message_proto_msgTypes[25].OneofWrappers = []any{ - (*Link_WorkflowEvent_EventRef)(nil), - (*Link_WorkflowEvent_RequestIdRef)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_common_v1_message_proto_rawDesc), len(file_temporal_api_common_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 29, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_common_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_common_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_common_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_common_v1_message_proto = out.File - file_temporal_api_common_v1_message_proto_goTypes = nil - file_temporal_api_common_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/deployment/v1/message.pb.go b/build/temporal/api/deployment/v1/message.pb.go deleted file mode 100644 index df49146..0000000 --- a/build/temporal/api/deployment/v1/message.pb.go +++ /dev/null @@ -1,1465 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/deployment/v1/message.proto - -package deployment - -import ( - v11 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Worker Deployment options set in SDK that need to be sent to server in every poll. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type WorkerDeploymentOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Required. Worker Deployment name. - DeploymentName string `protobuf:"bytes,1,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - // The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case, - // the worker will be part of a Deployment Version. - BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Required. Versioning Mode for this worker. Must be the same for all workers with the - // same `deployment_name` and `build_id` combination, across all Task Queues. - // When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version. - WorkerVersioningMode v1.WorkerVersioningMode `protobuf:"varint,3,opt,name=worker_versioning_mode,json=workerVersioningMode,proto3,enum=temporal.api.enums.v1.WorkerVersioningMode" json:"worker_versioning_mode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentOptions) Reset() { - *x = WorkerDeploymentOptions{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentOptions) ProtoMessage() {} - -func (x *WorkerDeploymentOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentOptions.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkerDeploymentOptions) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -func (x *WorkerDeploymentOptions) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *WorkerDeploymentOptions) GetWorkerVersioningMode() v1.WorkerVersioningMode { - if x != nil { - return x.WorkerVersioningMode - } - return v1.WorkerVersioningMode(0) -} - -// `Deployment` identifies a deployment of Temporal workers. The combination of deployment series -// name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker -// programs to specify these values. -// Deprecated. -type Deployment struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Different versions of the same worker service/application are related together by having a - // shared series name. - // Out of all deployments of a series, one can be designated as the current deployment, which - // receives new workflow executions and new tasks of workflows with - // `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior. - SeriesName string `protobuf:"bytes,1,opt,name=series_name,json=seriesName,proto3" json:"series_name,omitempty"` - // Build ID changes with each version of the worker when the worker program code and/or config - // changes. - BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Deployment) Reset() { - *x = Deployment{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Deployment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Deployment) ProtoMessage() {} - -func (x *Deployment) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Deployment.ProtoReflect.Descriptor instead. -func (*Deployment) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *Deployment) GetSeriesName() string { - if x != nil { - return x.SeriesName - } - return "" -} - -func (x *Deployment) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -// `DeploymentInfo` holds information about a deployment. Deployment information is tracked -// automatically by server as soon as the first poll from that deployment reaches the server. There -// can be multiple task queue workers in a single deployment which are listed in this message. -// Deprecated. -type DeploymentInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - TaskQueueInfos []*DeploymentInfo_TaskQueueInfo `protobuf:"bytes,3,rep,name=task_queue_infos,json=taskQueueInfos,proto3" json:"task_queue_infos,omitempty"` - // A user-defined set of key-values. Can be updated as part of write operations to the - // deployment, such as `SetCurrentDeployment`. - Metadata map[string]*v11.Payload `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // If this deployment is the current deployment of its deployment series. - IsCurrent bool `protobuf:"varint,5,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploymentInfo) Reset() { - *x = DeploymentInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploymentInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploymentInfo) ProtoMessage() {} - -func (x *DeploymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploymentInfo.ProtoReflect.Descriptor instead. -func (*DeploymentInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *DeploymentInfo) GetDeployment() *Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *DeploymentInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *DeploymentInfo) GetTaskQueueInfos() []*DeploymentInfo_TaskQueueInfo { - if x != nil { - return x.TaskQueueInfos - } - return nil -} - -func (x *DeploymentInfo) GetMetadata() map[string]*v11.Payload { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *DeploymentInfo) GetIsCurrent() bool { - if x != nil { - return x.IsCurrent - } - return false -} - -// Used as part of Deployment write APIs to update metadata attached to a deployment. -// Deprecated. -type UpdateDeploymentMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - UpsertEntries map[string]*v11.Payload `protobuf:"bytes,1,rep,name=upsert_entries,json=upsertEntries,proto3" json:"upsert_entries,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // List of keys to remove from the metadata. - RemoveEntries []string `protobuf:"bytes,2,rep,name=remove_entries,json=removeEntries,proto3" json:"remove_entries,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateDeploymentMetadata) Reset() { - *x = UpdateDeploymentMetadata{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateDeploymentMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateDeploymentMetadata) ProtoMessage() {} - -func (x *UpdateDeploymentMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateDeploymentMetadata.ProtoReflect.Descriptor instead. -func (*UpdateDeploymentMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateDeploymentMetadata) GetUpsertEntries() map[string]*v11.Payload { - if x != nil { - return x.UpsertEntries - } - return nil -} - -func (x *UpdateDeploymentMetadata) GetRemoveEntries() []string { - if x != nil { - return x.RemoveEntries - } - return nil -} - -// DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in -// ListDeployments. -// Deprecated. -type DeploymentListInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // If this deployment is the current deployment of its deployment series. - IsCurrent bool `protobuf:"varint,3,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploymentListInfo) Reset() { - *x = DeploymentListInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploymentListInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploymentListInfo) ProtoMessage() {} - -func (x *DeploymentListInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploymentListInfo.ProtoReflect.Descriptor instead. -func (*DeploymentListInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *DeploymentListInfo) GetDeployment() *Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *DeploymentListInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *DeploymentListInfo) GetIsCurrent() bool { - if x != nil { - return x.IsCurrent - } - return false -} - -// A Worker Deployment Version (Version, for short) represents all workers of the same -// code and config within a Deployment. Workers of the same Version are expected to -// behave exactly the same so when executions move between them there are no -// non-determinism issues. -// Worker Deployment Versions are created in Temporal server automatically when -// their first poller arrives to the server. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type WorkerDeploymentVersionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // The status of the Worker Deployment Version. - Status v1.WorkerDeploymentVersionStatus `protobuf:"varint,14,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkerDeploymentVersionStatus" json:"status,omitempty"` - // Required. - DeploymentVersion *WorkerDeploymentVersion `protobuf:"bytes,11,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed. - RoutingChangedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=routing_changed_time,json=routingChangedTime,proto3" json:"routing_changed_time,omitempty"` - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) - // - // Unset if not current. - CurrentSinceTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=current_since_time,json=currentSinceTime,proto3" json:"current_since_time,omitempty"` - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) - // - // Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. - RampingSinceTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ramping_since_time,json=rampingSinceTime,proto3" json:"ramping_since_time,omitempty"` - // Timestamp when this version first became current or ramping. - FirstActivationTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=first_activation_time,json=firstActivationTime,proto3" json:"first_activation_time,omitempty"` - // Timestamp when this version last stopped being current or ramping. - LastDeactivationTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=last_deactivation_time,json=lastDeactivationTime,proto3" json:"last_deactivation_time,omitempty"` - // Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). - // Can be in the range [0, 100] if the version is ramping. - RampPercentage float32 `protobuf:"fixed32,7,opt,name=ramp_percentage,json=rampPercentage,proto3" json:"ramp_percentage,omitempty"` - // All the Task Queues that have ever polled from this Deployment version. - // Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. - TaskQueueInfos []*WorkerDeploymentVersionInfo_VersionTaskQueueInfo `protobuf:"bytes,8,rep,name=task_queue_infos,json=taskQueueInfos,proto3" json:"task_queue_infos,omitempty"` - // Helps user determine when it is safe to decommission the workers of this - // Version. Not present when version is current or ramping. - // Current limitations: - // - Not supported for Unversioned mode. - // - Periodically refreshed, may have delays up to few minutes (consult the - // last_checked_time value). - // - Refreshed only when version is not current or ramping AND the status is not - // "drained" yet. - // - Once the status is changed to "drained", it is not changed until the Version - // becomes Current or Ramping again, at which time the drainage info is cleared. - // This means if the Version is "drained" but new workflows are sent to it via - // Pinned Versioning Override, the status does not account for those Pinned-override - // executions and remains "drained". - DrainageInfo *VersionDrainageInfo `protobuf:"bytes,9,opt,name=drainage_info,json=drainageInfo,proto3" json:"drainage_info,omitempty"` - // Arbitrary user-provided metadata attached to this version. - Metadata *VersionMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentVersionInfo) Reset() { - *x = WorkerDeploymentVersionInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentVersionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentVersionInfo) ProtoMessage() {} - -func (x *WorkerDeploymentVersionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentVersionInfo.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentVersionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{5} -} - -// Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. -func (x *WorkerDeploymentVersionInfo) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *WorkerDeploymentVersionInfo) GetStatus() v1.WorkerDeploymentVersionStatus { - if x != nil { - return x.Status - } - return v1.WorkerDeploymentVersionStatus(0) -} - -func (x *WorkerDeploymentVersionInfo) GetDeploymentVersion() *WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -func (x *WorkerDeploymentVersionInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetRoutingChangedTime() *timestamppb.Timestamp { - if x != nil { - return x.RoutingChangedTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetCurrentSinceTime() *timestamppb.Timestamp { - if x != nil { - return x.CurrentSinceTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetRampingSinceTime() *timestamppb.Timestamp { - if x != nil { - return x.RampingSinceTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetFirstActivationTime() *timestamppb.Timestamp { - if x != nil { - return x.FirstActivationTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetLastDeactivationTime() *timestamppb.Timestamp { - if x != nil { - return x.LastDeactivationTime - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetRampPercentage() float32 { - if x != nil { - return x.RampPercentage - } - return 0 -} - -func (x *WorkerDeploymentVersionInfo) GetTaskQueueInfos() []*WorkerDeploymentVersionInfo_VersionTaskQueueInfo { - if x != nil { - return x.TaskQueueInfos - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetDrainageInfo() *VersionDrainageInfo { - if x != nil { - return x.DrainageInfo - } - return nil -} - -func (x *WorkerDeploymentVersionInfo) GetMetadata() *VersionMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -// Information about workflow drainage to help the user determine when it is safe -// to decommission a Version. Not present while version is current or ramping. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type VersionDrainageInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping). - // Set to DRAINED when no more open pinned workflows exist on this version. - Status v1.VersionDrainageStatus `protobuf:"varint,1,opt,name=status,proto3,enum=temporal.api.enums.v1.VersionDrainageStatus" json:"status,omitempty"` - // Last time the drainage status changed. - LastChangedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_changed_time,json=lastChangedTime,proto3" json:"last_changed_time,omitempty"` - // Last time the system checked for drainage of this version. - LastCheckedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_checked_time,json=lastCheckedTime,proto3" json:"last_checked_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *VersionDrainageInfo) Reset() { - *x = VersionDrainageInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *VersionDrainageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VersionDrainageInfo) ProtoMessage() {} - -func (x *VersionDrainageInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VersionDrainageInfo.ProtoReflect.Descriptor instead. -func (*VersionDrainageInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *VersionDrainageInfo) GetStatus() v1.VersionDrainageStatus { - if x != nil { - return x.Status - } - return v1.VersionDrainageStatus(0) -} - -func (x *VersionDrainageInfo) GetLastChangedTime() *timestamppb.Timestamp { - if x != nil { - return x.LastChangedTime - } - return nil -} - -func (x *VersionDrainageInfo) GetLastCheckedTime() *timestamppb.Timestamp { - if x != nil { - return x.LastCheckedTime - } - return nil -} - -// A Worker Deployment (Deployment, for short) represents all workers serving -// a shared set of Task Queues. Typically, a Deployment represents one service or -// application. -// A Deployment contains multiple Deployment Versions, each representing a different -// version of workers. (see documentation of WorkerDeploymentVersionInfo) -// Deployment records are created in Temporal server automatically when their -// first poller arrives to the server. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type WorkerDeploymentInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Identifies a Worker Deployment. Must be unique within the namespace. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be - // cleaned up automatically if all the following conditions meet: - // - It does not receive new executions (is not current or ramping) - // - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - // - It is drained (see WorkerDeploymentVersionInfo.drainage_status) - VersionSummaries []*WorkerDeploymentInfo_WorkerDeploymentVersionSummary `protobuf:"bytes,2,rep,name=version_summaries,json=versionSummaries,proto3" json:"version_summaries,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - RoutingConfig *RoutingConfig `protobuf:"bytes,4,opt,name=routing_config,json=routingConfig,proto3" json:"routing_config,omitempty"` - // Identity of the last client who modified the configuration of this Deployment. Set to the - // `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and - // `SetWorkerDeploymentRampingVersion`. - LastModifierIdentity string `protobuf:"bytes,5,opt,name=last_modifier_identity,json=lastModifierIdentity,proto3" json:"last_modifier_identity,omitempty"` - // Identity of the client that has the exclusive right to make changes to this Worker Deployment. - // Empty by default. - // If this is set, clients whose identity does not match `manager_identity` will not be able to make changes - // to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed. - ManagerIdentity string `protobuf:"bytes,6,opt,name=manager_identity,json=managerIdentity,proto3" json:"manager_identity,omitempty"` - // Indicates whether the routing_config has been fully propagated to all - // relevant task queues and their partitions. - RoutingConfigUpdateState v1.RoutingConfigUpdateState `protobuf:"varint,7,opt,name=routing_config_update_state,json=routingConfigUpdateState,proto3,enum=temporal.api.enums.v1.RoutingConfigUpdateState" json:"routing_config_update_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentInfo) Reset() { - *x = WorkerDeploymentInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentInfo) ProtoMessage() {} - -func (x *WorkerDeploymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentInfo.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *WorkerDeploymentInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *WorkerDeploymentInfo) GetVersionSummaries() []*WorkerDeploymentInfo_WorkerDeploymentVersionSummary { - if x != nil { - return x.VersionSummaries - } - return nil -} - -func (x *WorkerDeploymentInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *WorkerDeploymentInfo) GetRoutingConfig() *RoutingConfig { - if x != nil { - return x.RoutingConfig - } - return nil -} - -func (x *WorkerDeploymentInfo) GetLastModifierIdentity() string { - if x != nil { - return x.LastModifierIdentity - } - return "" -} - -func (x *WorkerDeploymentInfo) GetManagerIdentity() string { - if x != nil { - return x.ManagerIdentity - } - return "" -} - -func (x *WorkerDeploymentInfo) GetRoutingConfigUpdateState() v1.RoutingConfigUpdateState { - if x != nil { - return x.RoutingConfigUpdateState - } - return v1.RoutingConfigUpdateState(0) -} - -// A Worker Deployment Version (Version, for short) represents a -// version of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo) -// Version records are created in Temporal server automatically when their -// first poller arrives to the server. -// Experimental. Worker Deployment Versions are experimental and might significantly change in the future. -type WorkerDeploymentVersion struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A unique identifier for this Version within the Deployment it is a part of. - // Not necessarily unique within the namespace. - // The combination of `deployment_name` and `build_id` uniquely identifies this - // Version within the namespace, because Deployment names are unique within a namespace. - BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Identifies the Worker Deployment this Version is part of. - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentVersion) Reset() { - *x = WorkerDeploymentVersion{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentVersion) ProtoMessage() {} - -func (x *WorkerDeploymentVersion) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentVersion.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentVersion) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *WorkerDeploymentVersion) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *WorkerDeploymentVersion) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -type VersionMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Arbitrary key-values. - Entries map[string]*v11.Payload `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *VersionMetadata) Reset() { - *x = VersionMetadata{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *VersionMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VersionMetadata) ProtoMessage() {} - -func (x *VersionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VersionMetadata.ProtoReflect.Descriptor instead. -func (*VersionMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *VersionMetadata) GetEntries() map[string]*v11.Payload { - if x != nil { - return x.Entries - } - return nil -} - -type RoutingConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Specifies which Deployment Version should receive new workflow executions and tasks of - // existing unversioned or AutoUpgrade workflows. - // Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). - // Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage - // is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). - CurrentDeploymentVersion *WorkerDeploymentVersion `protobuf:"bytes,7,opt,name=current_deployment_version,json=currentDeploymentVersion,proto3" json:"current_deployment_version,omitempty"` - // Deprecated. Use `current_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. - CurrentVersion string `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` - // When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. - // Must always be different from `current_deployment_version` unless both are nil. - // Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) - // Note that it is possible to ramp from one Version to another Version, or from unversioned - // workers to a particular Version, or from a particular Version to unversioned workers. - RampingDeploymentVersion *WorkerDeploymentVersion `protobuf:"bytes,9,opt,name=ramping_deployment_version,json=rampingDeploymentVersion,proto3" json:"ramping_deployment_version,omitempty"` - // Deprecated. Use `ramping_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. - RampingVersion string `protobuf:"bytes,2,opt,name=ramping_version,json=rampingVersion,proto3" json:"ramping_version,omitempty"` - // Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - // Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - // not yet "promoted" to be the Current Version, likely due to pending validations. - // A 0% value means the Ramping Version is receiving no traffic. - RampingVersionPercentage float32 `protobuf:"fixed32,3,opt,name=ramping_version_percentage,json=rampingVersionPercentage,proto3" json:"ramping_version_percentage,omitempty"` - // Last time current version was changed. - CurrentVersionChangedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=current_version_changed_time,json=currentVersionChangedTime,proto3" json:"current_version_changed_time,omitempty"` - // Last time ramping version was changed. Not updated if only the ramp percentage changes. - RampingVersionChangedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ramping_version_changed_time,json=rampingVersionChangedTime,proto3" json:"ramping_version_changed_time,omitempty"` - // Last time ramping version percentage was changed. - // If ramping version is changed, this is also updated, even if the percentage stays the same. - RampingVersionPercentageChangedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ramping_version_percentage_changed_time,json=rampingVersionPercentageChangedTime,proto3" json:"ramping_version_percentage_changed_time,omitempty"` - // Monotonically increasing value which is incremented on every mutation - // to any field of this message to achieve eventual consistency between task queues and their partitions. - RevisionNumber int64 `protobuf:"varint,10,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RoutingConfig) Reset() { - *x = RoutingConfig{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RoutingConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RoutingConfig) ProtoMessage() {} - -func (x *RoutingConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RoutingConfig.ProtoReflect.Descriptor instead. -func (*RoutingConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *RoutingConfig) GetCurrentDeploymentVersion() *WorkerDeploymentVersion { - if x != nil { - return x.CurrentDeploymentVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. -func (x *RoutingConfig) GetCurrentVersion() string { - if x != nil { - return x.CurrentVersion - } - return "" -} - -func (x *RoutingConfig) GetRampingDeploymentVersion() *WorkerDeploymentVersion { - if x != nil { - return x.RampingDeploymentVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. -func (x *RoutingConfig) GetRampingVersion() string { - if x != nil { - return x.RampingVersion - } - return "" -} - -func (x *RoutingConfig) GetRampingVersionPercentage() float32 { - if x != nil { - return x.RampingVersionPercentage - } - return 0 -} - -func (x *RoutingConfig) GetCurrentVersionChangedTime() *timestamppb.Timestamp { - if x != nil { - return x.CurrentVersionChangedTime - } - return nil -} - -func (x *RoutingConfig) GetRampingVersionChangedTime() *timestamppb.Timestamp { - if x != nil { - return x.RampingVersionChangedTime - } - return nil -} - -func (x *RoutingConfig) GetRampingVersionPercentageChangedTime() *timestamppb.Timestamp { - if x != nil { - return x.RampingVersionPercentageChangedTime - } - return nil -} - -func (x *RoutingConfig) GetRevisionNumber() int64 { - if x != nil { - return x.RevisionNumber - } - return 0 -} - -type DeploymentInfo_TaskQueueInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type v1.TaskQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"type,omitempty"` - // When server saw the first poller for this task queue in this deployment. - FirstPollerTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_poller_time,json=firstPollerTime,proto3" json:"first_poller_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploymentInfo_TaskQueueInfo) Reset() { - *x = DeploymentInfo_TaskQueueInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploymentInfo_TaskQueueInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploymentInfo_TaskQueueInfo) ProtoMessage() {} - -func (x *DeploymentInfo_TaskQueueInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploymentInfo_TaskQueueInfo.ProtoReflect.Descriptor instead. -func (*DeploymentInfo_TaskQueueInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *DeploymentInfo_TaskQueueInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *DeploymentInfo_TaskQueueInfo) GetType() v1.TaskQueueType { - if x != nil { - return x.Type - } - return v1.TaskQueueType(0) -} - -func (x *DeploymentInfo_TaskQueueInfo) GetFirstPollerTime() *timestamppb.Timestamp { - if x != nil { - return x.FirstPollerTime - } - return nil -} - -type WorkerDeploymentVersionInfo_VersionTaskQueueInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type v1.TaskQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentVersionInfo_VersionTaskQueueInfo) Reset() { - *x = WorkerDeploymentVersionInfo_VersionTaskQueueInfo{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentVersionInfo_VersionTaskQueueInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentVersionInfo_VersionTaskQueueInfo) ProtoMessage() {} - -func (x *WorkerDeploymentVersionInfo_VersionTaskQueueInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentVersionInfo_VersionTaskQueueInfo.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentVersionInfo_VersionTaskQueueInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{5, 0} -} - -func (x *WorkerDeploymentVersionInfo_VersionTaskQueueInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *WorkerDeploymentVersionInfo_VersionTaskQueueInfo) GetType() v1.TaskQueueType { - if x != nil { - return x.Type - } - return v1.TaskQueueType(0) -} - -type WorkerDeploymentInfo_WorkerDeploymentVersionSummary struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // The status of the Worker Deployment Version. - Status v1.WorkerDeploymentVersionStatus `protobuf:"varint,11,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkerDeploymentVersionStatus" json:"status,omitempty"` - // Required. - DeploymentVersion *WorkerDeploymentVersion `protobuf:"bytes,4,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Deprecated. Use `drainage_info` instead. - DrainageStatus v1.VersionDrainageStatus `protobuf:"varint,3,opt,name=drainage_status,json=drainageStatus,proto3,enum=temporal.api.enums.v1.VersionDrainageStatus" json:"drainage_status,omitempty"` - // Information about workflow drainage to help the user determine when it is safe - // to decommission a Version. Not present while version is current or ramping - DrainageInfo *VersionDrainageInfo `protobuf:"bytes,5,opt,name=drainage_info,json=drainageInfo,proto3" json:"drainage_info,omitempty"` - // Unset if not current. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) - CurrentSinceTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_since_time,json=currentSinceTime,proto3" json:"current_since_time,omitempty"` - // Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) - RampingSinceTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ramping_since_time,json=rampingSinceTime,proto3" json:"ramping_since_time,omitempty"` - // Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed. - RoutingUpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=routing_update_time,json=routingUpdateTime,proto3" json:"routing_update_time,omitempty"` - // Timestamp when this version first became current or ramping. - FirstActivationTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=first_activation_time,json=firstActivationTime,proto3" json:"first_activation_time,omitempty"` - // Timestamp when this version last stopped being current or ramping. - LastDeactivationTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_deactivation_time,json=lastDeactivationTime,proto3" json:"last_deactivation_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) Reset() { - *x = WorkerDeploymentInfo_WorkerDeploymentVersionSummary{} - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerDeploymentInfo_WorkerDeploymentVersionSummary) ProtoMessage() {} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_deployment_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerDeploymentInfo_WorkerDeploymentVersionSummary.ProtoReflect.Descriptor instead. -func (*WorkerDeploymentInfo_WorkerDeploymentVersionSummary) Descriptor() ([]byte, []int) { - return file_temporal_api_deployment_v1_message_proto_rawDescGZIP(), []int{7, 0} -} - -// Deprecated: Marked as deprecated in temporal/api/deployment/v1/message.proto. -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetStatus() v1.WorkerDeploymentVersionStatus { - if x != nil { - return x.Status - } - return v1.WorkerDeploymentVersionStatus(0) -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetDeploymentVersion() *WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetDrainageStatus() v1.VersionDrainageStatus { - if x != nil { - return x.DrainageStatus - } - return v1.VersionDrainageStatus(0) -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetDrainageInfo() *VersionDrainageInfo { - if x != nil { - return x.DrainageInfo - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetCurrentSinceTime() *timestamppb.Timestamp { - if x != nil { - return x.CurrentSinceTime - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetRampingSinceTime() *timestamppb.Timestamp { - if x != nil { - return x.RampingSinceTime - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetRoutingUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.RoutingUpdateTime - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetFirstActivationTime() *timestamppb.Timestamp { - if x != nil { - return x.FirstActivationTime - } - return nil -} - -func (x *WorkerDeploymentInfo_WorkerDeploymentVersionSummary) GetLastDeactivationTime() *timestamppb.Timestamp { - if x != nil { - return x.LastDeactivationTime - } - return nil -} - -var File_temporal_api_deployment_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_deployment_v1_message_proto_rawDesc = "" + - "\n" + - "(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\"\xc0\x01\n" + - "\x17WorkerDeploymentOptions\x12'\n" + - "\x0fdeployment_name\x18\x01 \x01(\tR\x0edeploymentName\x12\x19\n" + - "\bbuild_id\x18\x02 \x01(\tR\abuildId\x12a\n" + - "\x16worker_versioning_mode\x18\x03 \x01(\x0e2+.temporal.api.enums.v1.WorkerVersioningModeR\x14workerVersioningMode\"H\n" + - "\n" + - "Deployment\x12\x1f\n" + - "\vseries_name\x18\x01 \x01(\tR\n" + - "seriesName\x12\x19\n" + - "\bbuild_id\x18\x02 \x01(\tR\abuildId\"\xf4\x04\n" + - "\x0eDeploymentInfo\x12F\n" + - "\n" + - "deployment\x18\x01 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12b\n" + - "\x10task_queue_infos\x18\x03 \x03(\v28.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfoR\x0etaskQueueInfos\x12T\n" + - "\bmetadata\x18\x04 \x03(\v28.temporal.api.deployment.v1.DeploymentInfo.MetadataEntryR\bmetadata\x12\x1d\n" + - "\n" + - "is_current\x18\x05 \x01(\bR\tisCurrent\x1a\\\n" + - "\rMetadataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\x1a\xa5\x01\n" + - "\rTaskQueueInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x128\n" + - "\x04type\x18\x02 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\x04type\x12F\n" + - "\x11first_poller_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0ffirstPollerTime\"\x94\x02\n" + - "\x18UpdateDeploymentMetadata\x12n\n" + - "\x0eupsert_entries\x18\x01 \x03(\v2G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntryR\rupsertEntries\x12%\n" + - "\x0eremove_entries\x18\x02 \x03(\tR\rremoveEntries\x1aa\n" + - "\x12UpsertEntriesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"\xb8\x01\n" + - "\x12DeploymentListInfo\x12F\n" + - "\n" + - "deployment\x18\x01 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12\x1d\n" + - "\n" + - "is_current\x18\x03 \x01(\bR\tisCurrent\"\xfd\b\n" + - "\x1bWorkerDeploymentVersionInfo\x12\x1c\n" + - "\aversion\x18\x01 \x01(\tB\x02\x18\x01R\aversion\x12L\n" + - "\x06status\x18\x0e \x01(\x0e24.temporal.api.enums.v1.WorkerDeploymentVersionStatusR\x06status\x12b\n" + - "\x12deployment_version\x18\v \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\x12;\n" + - "\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12L\n" + - "\x14routing_changed_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x12routingChangedTime\x12H\n" + - "\x12current_since_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x10currentSinceTime\x12H\n" + - "\x12ramping_since_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10rampingSinceTime\x12N\n" + - "\x15first_activation_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\x13firstActivationTime\x12P\n" + - "\x16last_deactivation_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\x14lastDeactivationTime\x12'\n" + - "\x0framp_percentage\x18\a \x01(\x02R\x0erampPercentage\x12v\n" + - "\x10task_queue_infos\x18\b \x03(\v2L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfoR\x0etaskQueueInfos\x12T\n" + - "\rdrainage_info\x18\t \x01(\v2/.temporal.api.deployment.v1.VersionDrainageInfoR\fdrainageInfo\x12G\n" + - "\bmetadata\x18\n" + - " \x01(\v2+.temporal.api.deployment.v1.VersionMetadataR\bmetadata\x1ad\n" + - "\x14VersionTaskQueueInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x128\n" + - "\x04type\x18\x02 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\x04type\"\xeb\x01\n" + - "\x13VersionDrainageInfo\x12D\n" + - "\x06status\x18\x01 \x01(\x0e2,.temporal.api.enums.v1.VersionDrainageStatusR\x06status\x12F\n" + - "\x11last_changed_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x0flastChangedTime\x12F\n" + - "\x11last_checked_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0flastCheckedTime\"\xe7\n" + - "\n" + - "\x14WorkerDeploymentInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12|\n" + - "\x11version_summaries\x18\x02 \x03(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\x10versionSummaries\x12;\n" + - "\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12P\n" + - "\x0erouting_config\x18\x04 \x01(\v2).temporal.api.deployment.v1.RoutingConfigR\rroutingConfig\x124\n" + - "\x16last_modifier_identity\x18\x05 \x01(\tR\x14lastModifierIdentity\x12)\n" + - "\x10manager_identity\x18\x06 \x01(\tR\x0fmanagerIdentity\x12n\n" + - "\x1brouting_config_update_state\x18\a \x01(\x0e2/.temporal.api.enums.v1.RoutingConfigUpdateStateR\x18routingConfigUpdateState\x1a\xdc\x06\n" + - "\x1eWorkerDeploymentVersionSummary\x12\x1c\n" + - "\aversion\x18\x01 \x01(\tB\x02\x18\x01R\aversion\x12L\n" + - "\x06status\x18\v \x01(\x0e24.temporal.api.enums.v1.WorkerDeploymentVersionStatusR\x06status\x12b\n" + - "\x12deployment_version\x18\x04 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12U\n" + - "\x0fdrainage_status\x18\x03 \x01(\x0e2,.temporal.api.enums.v1.VersionDrainageStatusR\x0edrainageStatus\x12T\n" + - "\rdrainage_info\x18\x05 \x01(\v2/.temporal.api.deployment.v1.VersionDrainageInfoR\fdrainageInfo\x12H\n" + - "\x12current_since_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10currentSinceTime\x12H\n" + - "\x12ramping_since_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x10rampingSinceTime\x12J\n" + - "\x13routing_update_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x11routingUpdateTime\x12N\n" + - "\x15first_activation_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\x13firstActivationTime\x12P\n" + - "\x16last_deactivation_time\x18\n" + - " \x01(\v2\x1a.google.protobuf.TimestampR\x14lastDeactivationTime\"]\n" + - "\x17WorkerDeploymentVersion\x12\x19\n" + - "\bbuild_id\x18\x01 \x01(\tR\abuildId\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\"\xc2\x01\n" + - "\x0fVersionMetadata\x12R\n" + - "\aentries\x18\x01 \x03(\v28.temporal.api.deployment.v1.VersionMetadata.EntriesEntryR\aentries\x1a[\n" + - "\fEntriesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"\xe2\x05\n" + - "\rRoutingConfig\x12q\n" + - "\x1acurrent_deployment_version\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x18currentDeploymentVersion\x12+\n" + - "\x0fcurrent_version\x18\x01 \x01(\tB\x02\x18\x01R\x0ecurrentVersion\x12q\n" + - "\x1aramping_deployment_version\x18\t \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x18rampingDeploymentVersion\x12+\n" + - "\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01R\x0erampingVersion\x12<\n" + - "\x1aramping_version_percentage\x18\x03 \x01(\x02R\x18rampingVersionPercentage\x12[\n" + - "\x1ccurrent_version_changed_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x19currentVersionChangedTime\x12[\n" + - "\x1cramping_version_changed_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x19rampingVersionChangedTime\x12p\n" + - "'ramping_version_percentage_changed_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR#rampingVersionPercentageChangedTime\x12'\n" + - "\x0frevision_number\x18\n" + - " \x01(\x03R\x0erevisionNumberB\x9d\x01\n" + - "\x1dio.temporal.api.deployment.v1B\fMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3" - -var ( - file_temporal_api_deployment_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_deployment_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_deployment_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_deployment_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_deployment_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_deployment_v1_message_proto_rawDesc), len(file_temporal_api_deployment_v1_message_proto_rawDesc))) - }) - return file_temporal_api_deployment_v1_message_proto_rawDescData -} - -var file_temporal_api_deployment_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_temporal_api_deployment_v1_message_proto_goTypes = []any{ - (*WorkerDeploymentOptions)(nil), // 0: temporal.api.deployment.v1.WorkerDeploymentOptions - (*Deployment)(nil), // 1: temporal.api.deployment.v1.Deployment - (*DeploymentInfo)(nil), // 2: temporal.api.deployment.v1.DeploymentInfo - (*UpdateDeploymentMetadata)(nil), // 3: temporal.api.deployment.v1.UpdateDeploymentMetadata - (*DeploymentListInfo)(nil), // 4: temporal.api.deployment.v1.DeploymentListInfo - (*WorkerDeploymentVersionInfo)(nil), // 5: temporal.api.deployment.v1.WorkerDeploymentVersionInfo - (*VersionDrainageInfo)(nil), // 6: temporal.api.deployment.v1.VersionDrainageInfo - (*WorkerDeploymentInfo)(nil), // 7: temporal.api.deployment.v1.WorkerDeploymentInfo - (*WorkerDeploymentVersion)(nil), // 8: temporal.api.deployment.v1.WorkerDeploymentVersion - (*VersionMetadata)(nil), // 9: temporal.api.deployment.v1.VersionMetadata - (*RoutingConfig)(nil), // 10: temporal.api.deployment.v1.RoutingConfig - nil, // 11: temporal.api.deployment.v1.DeploymentInfo.MetadataEntry - (*DeploymentInfo_TaskQueueInfo)(nil), // 12: temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo - nil, // 13: temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry - (*WorkerDeploymentVersionInfo_VersionTaskQueueInfo)(nil), // 14: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo - (*WorkerDeploymentInfo_WorkerDeploymentVersionSummary)(nil), // 15: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - nil, // 16: temporal.api.deployment.v1.VersionMetadata.EntriesEntry - (v1.WorkerVersioningMode)(0), // 17: temporal.api.enums.v1.WorkerVersioningMode - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp - (v1.WorkerDeploymentVersionStatus)(0), // 19: temporal.api.enums.v1.WorkerDeploymentVersionStatus - (v1.VersionDrainageStatus)(0), // 20: temporal.api.enums.v1.VersionDrainageStatus - (v1.RoutingConfigUpdateState)(0), // 21: temporal.api.enums.v1.RoutingConfigUpdateState - (*v11.Payload)(nil), // 22: temporal.api.common.v1.Payload - (v1.TaskQueueType)(0), // 23: temporal.api.enums.v1.TaskQueueType -} -var file_temporal_api_deployment_v1_message_proto_depIdxs = []int32{ - 17, // 0: temporal.api.deployment.v1.WorkerDeploymentOptions.worker_versioning_mode:type_name -> temporal.api.enums.v1.WorkerVersioningMode - 1, // 1: temporal.api.deployment.v1.DeploymentInfo.deployment:type_name -> temporal.api.deployment.v1.Deployment - 18, // 2: temporal.api.deployment.v1.DeploymentInfo.create_time:type_name -> google.protobuf.Timestamp - 12, // 3: temporal.api.deployment.v1.DeploymentInfo.task_queue_infos:type_name -> temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo - 11, // 4: temporal.api.deployment.v1.DeploymentInfo.metadata:type_name -> temporal.api.deployment.v1.DeploymentInfo.MetadataEntry - 13, // 5: temporal.api.deployment.v1.UpdateDeploymentMetadata.upsert_entries:type_name -> temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry - 1, // 6: temporal.api.deployment.v1.DeploymentListInfo.deployment:type_name -> temporal.api.deployment.v1.Deployment - 18, // 7: temporal.api.deployment.v1.DeploymentListInfo.create_time:type_name -> google.protobuf.Timestamp - 19, // 8: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.status:type_name -> temporal.api.enums.v1.WorkerDeploymentVersionStatus - 8, // 9: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 18, // 10: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.create_time:type_name -> google.protobuf.Timestamp - 18, // 11: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.routing_changed_time:type_name -> google.protobuf.Timestamp - 18, // 12: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.current_since_time:type_name -> google.protobuf.Timestamp - 18, // 13: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.ramping_since_time:type_name -> google.protobuf.Timestamp - 18, // 14: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.first_activation_time:type_name -> google.protobuf.Timestamp - 18, // 15: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.last_deactivation_time:type_name -> google.protobuf.Timestamp - 14, // 16: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.task_queue_infos:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo - 6, // 17: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.drainage_info:type_name -> temporal.api.deployment.v1.VersionDrainageInfo - 9, // 18: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.metadata:type_name -> temporal.api.deployment.v1.VersionMetadata - 20, // 19: temporal.api.deployment.v1.VersionDrainageInfo.status:type_name -> temporal.api.enums.v1.VersionDrainageStatus - 18, // 20: temporal.api.deployment.v1.VersionDrainageInfo.last_changed_time:type_name -> google.protobuf.Timestamp - 18, // 21: temporal.api.deployment.v1.VersionDrainageInfo.last_checked_time:type_name -> google.protobuf.Timestamp - 15, // 22: temporal.api.deployment.v1.WorkerDeploymentInfo.version_summaries:type_name -> temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - 18, // 23: temporal.api.deployment.v1.WorkerDeploymentInfo.create_time:type_name -> google.protobuf.Timestamp - 10, // 24: temporal.api.deployment.v1.WorkerDeploymentInfo.routing_config:type_name -> temporal.api.deployment.v1.RoutingConfig - 21, // 25: temporal.api.deployment.v1.WorkerDeploymentInfo.routing_config_update_state:type_name -> temporal.api.enums.v1.RoutingConfigUpdateState - 16, // 26: temporal.api.deployment.v1.VersionMetadata.entries:type_name -> temporal.api.deployment.v1.VersionMetadata.EntriesEntry - 8, // 27: temporal.api.deployment.v1.RoutingConfig.current_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 8, // 28: temporal.api.deployment.v1.RoutingConfig.ramping_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 18, // 29: temporal.api.deployment.v1.RoutingConfig.current_version_changed_time:type_name -> google.protobuf.Timestamp - 18, // 30: temporal.api.deployment.v1.RoutingConfig.ramping_version_changed_time:type_name -> google.protobuf.Timestamp - 18, // 31: temporal.api.deployment.v1.RoutingConfig.ramping_version_percentage_changed_time:type_name -> google.protobuf.Timestamp - 22, // 32: temporal.api.deployment.v1.DeploymentInfo.MetadataEntry.value:type_name -> temporal.api.common.v1.Payload - 23, // 33: temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo.type:type_name -> temporal.api.enums.v1.TaskQueueType - 18, // 34: temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo.first_poller_time:type_name -> google.protobuf.Timestamp - 22, // 35: temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry.value:type_name -> temporal.api.common.v1.Payload - 23, // 36: temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo.type:type_name -> temporal.api.enums.v1.TaskQueueType - 19, // 37: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.status:type_name -> temporal.api.enums.v1.WorkerDeploymentVersionStatus - 8, // 38: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 18, // 39: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.create_time:type_name -> google.protobuf.Timestamp - 20, // 40: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.drainage_status:type_name -> temporal.api.enums.v1.VersionDrainageStatus - 6, // 41: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.drainage_info:type_name -> temporal.api.deployment.v1.VersionDrainageInfo - 18, // 42: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.current_since_time:type_name -> google.protobuf.Timestamp - 18, // 43: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.ramping_since_time:type_name -> google.protobuf.Timestamp - 18, // 44: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.routing_update_time:type_name -> google.protobuf.Timestamp - 18, // 45: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.first_activation_time:type_name -> google.protobuf.Timestamp - 18, // 46: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary.last_deactivation_time:type_name -> google.protobuf.Timestamp - 22, // 47: temporal.api.deployment.v1.VersionMetadata.EntriesEntry.value:type_name -> temporal.api.common.v1.Payload - 48, // [48:48] is the sub-list for method output_type - 48, // [48:48] is the sub-list for method input_type - 48, // [48:48] is the sub-list for extension type_name - 48, // [48:48] is the sub-list for extension extendee - 0, // [0:48] is the sub-list for field type_name -} - -func init() { file_temporal_api_deployment_v1_message_proto_init() } -func file_temporal_api_deployment_v1_message_proto_init() { - if File_temporal_api_deployment_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_deployment_v1_message_proto_rawDesc), len(file_temporal_api_deployment_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 17, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_deployment_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_deployment_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_deployment_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_deployment_v1_message_proto = out.File - file_temporal_api_deployment_v1_message_proto_goTypes = nil - file_temporal_api_deployment_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/enums/v1/batch_operation.pb.go b/build/temporal/api/enums/v1/batch_operation.pb.go deleted file mode 100644 index 1feb86d..0000000 --- a/build/temporal/api/enums/v1/batch_operation.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/enums/v1/batch_operation.proto - -package enums - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type BatchOperationType int32 - -const ( - BatchOperationType_BATCH_OPERATION_TYPE_UNSPECIFIED BatchOperationType = 0 - BatchOperationType_BATCH_OPERATION_TYPE_TERMINATE BatchOperationType = 1 - BatchOperationType_BATCH_OPERATION_TYPE_CANCEL BatchOperationType = 2 - BatchOperationType_BATCH_OPERATION_TYPE_SIGNAL BatchOperationType = 3 - BatchOperationType_BATCH_OPERATION_TYPE_DELETE BatchOperationType = 4 - BatchOperationType_BATCH_OPERATION_TYPE_RESET BatchOperationType = 5 - BatchOperationType_BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS BatchOperationType = 6 - BatchOperationType_BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY BatchOperationType = 7 - BatchOperationType_BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS BatchOperationType = 8 - BatchOperationType_BATCH_OPERATION_TYPE_RESET_ACTIVITY BatchOperationType = 9 -) - -// Enum value maps for BatchOperationType. -var ( - BatchOperationType_name = map[int32]string{ - 0: "BATCH_OPERATION_TYPE_UNSPECIFIED", - 1: "BATCH_OPERATION_TYPE_TERMINATE", - 2: "BATCH_OPERATION_TYPE_CANCEL", - 3: "BATCH_OPERATION_TYPE_SIGNAL", - 4: "BATCH_OPERATION_TYPE_DELETE", - 5: "BATCH_OPERATION_TYPE_RESET", - 6: "BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS", - 7: "BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY", - 8: "BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS", - 9: "BATCH_OPERATION_TYPE_RESET_ACTIVITY", - } - BatchOperationType_value = map[string]int32{ - "BATCH_OPERATION_TYPE_UNSPECIFIED": 0, - "BATCH_OPERATION_TYPE_TERMINATE": 1, - "BATCH_OPERATION_TYPE_CANCEL": 2, - "BATCH_OPERATION_TYPE_SIGNAL": 3, - "BATCH_OPERATION_TYPE_DELETE": 4, - "BATCH_OPERATION_TYPE_RESET": 5, - "BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS": 6, - "BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY": 7, - "BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS": 8, - "BATCH_OPERATION_TYPE_RESET_ACTIVITY": 9, - } -) - -func (x BatchOperationType) Enum() *BatchOperationType { - p := new(BatchOperationType) - *p = x - return p -} - -func (x BatchOperationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BatchOperationType) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_batch_operation_proto_enumTypes[0].Descriptor() -} - -func (BatchOperationType) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_batch_operation_proto_enumTypes[0] -} - -func (x BatchOperationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use BatchOperationType.Descriptor instead. -func (BatchOperationType) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_batch_operation_proto_rawDescGZIP(), []int{0} -} - -type BatchOperationState int32 - -const ( - BatchOperationState_BATCH_OPERATION_STATE_UNSPECIFIED BatchOperationState = 0 - BatchOperationState_BATCH_OPERATION_STATE_RUNNING BatchOperationState = 1 - BatchOperationState_BATCH_OPERATION_STATE_COMPLETED BatchOperationState = 2 - BatchOperationState_BATCH_OPERATION_STATE_FAILED BatchOperationState = 3 -) - -// Enum value maps for BatchOperationState. -var ( - BatchOperationState_name = map[int32]string{ - 0: "BATCH_OPERATION_STATE_UNSPECIFIED", - 1: "BATCH_OPERATION_STATE_RUNNING", - 2: "BATCH_OPERATION_STATE_COMPLETED", - 3: "BATCH_OPERATION_STATE_FAILED", - } - BatchOperationState_value = map[string]int32{ - "BATCH_OPERATION_STATE_UNSPECIFIED": 0, - "BATCH_OPERATION_STATE_RUNNING": 1, - "BATCH_OPERATION_STATE_COMPLETED": 2, - "BATCH_OPERATION_STATE_FAILED": 3, - } -) - -func (x BatchOperationState) Enum() *BatchOperationState { - p := new(BatchOperationState) - *p = x - return p -} - -func (x BatchOperationState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BatchOperationState) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_batch_operation_proto_enumTypes[1].Descriptor() -} - -func (BatchOperationState) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_batch_operation_proto_enumTypes[1] -} - -func (x BatchOperationState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use BatchOperationState.Descriptor instead. -func (BatchOperationState) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_batch_operation_proto_rawDescGZIP(), []int{1} -} - -var File_temporal_api_enums_v1_batch_operation_proto protoreflect.FileDescriptor - -const file_temporal_api_enums_v1_batch_operation_proto_rawDesc = "" + - "\n" + - "+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n" + - "\x12BatchOperationType\x12$\n" + - " BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n" + - "\x1eBATCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n" + - "\x1bBATCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n" + - "\x1bBATCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n" + - "\x1bBATCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n" + - "\x1aBATCH_OPERATION_TYPE_RESET\x10\x05\x121\n" + - "-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n" + - "%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\a\x120\n" + - ",BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\b\x12'\n" + - "#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n" + - "\x13BatchOperationState\x12%\n" + - "!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n" + - "\x1dBATCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n" + - "\x1fBATCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n" + - "\x1cBATCH_OPERATION_STATE_FAILED\x10\x03B\x8b\x01\n" + - "\x18io.temporal.api.enums.v1B\x13BatchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" - -var ( - file_temporal_api_enums_v1_batch_operation_proto_rawDescOnce sync.Once - file_temporal_api_enums_v1_batch_operation_proto_rawDescData []byte -) - -func file_temporal_api_enums_v1_batch_operation_proto_rawDescGZIP() []byte { - file_temporal_api_enums_v1_batch_operation_proto_rawDescOnce.Do(func() { - file_temporal_api_enums_v1_batch_operation_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_batch_operation_proto_rawDesc), len(file_temporal_api_enums_v1_batch_operation_proto_rawDesc))) - }) - return file_temporal_api_enums_v1_batch_operation_proto_rawDescData -} - -var file_temporal_api_enums_v1_batch_operation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_temporal_api_enums_v1_batch_operation_proto_goTypes = []any{ - (BatchOperationType)(0), // 0: temporal.api.enums.v1.BatchOperationType - (BatchOperationState)(0), // 1: temporal.api.enums.v1.BatchOperationState -} -var file_temporal_api_enums_v1_batch_operation_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_enums_v1_batch_operation_proto_init() } -func file_temporal_api_enums_v1_batch_operation_proto_init() { - if File_temporal_api_enums_v1_batch_operation_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_batch_operation_proto_rawDesc), len(file_temporal_api_enums_v1_batch_operation_proto_rawDesc)), - NumEnums: 2, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_enums_v1_batch_operation_proto_goTypes, - DependencyIndexes: file_temporal_api_enums_v1_batch_operation_proto_depIdxs, - EnumInfos: file_temporal_api_enums_v1_batch_operation_proto_enumTypes, - }.Build() - File_temporal_api_enums_v1_batch_operation_proto = out.File - file_temporal_api_enums_v1_batch_operation_proto_goTypes = nil - file_temporal_api_enums_v1_batch_operation_proto_depIdxs = nil -} diff --git a/build/temporal/api/enums/v1/command_type.pb.go b/build/temporal/api/enums/v1/command_type.pb.go deleted file mode 100644 index fba58fa..0000000 --- a/build/temporal/api/enums/v1/command_type.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/enums/v1/command_type.proto - -package enums - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Whenever this list of command types is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering. -type CommandType int32 - -const ( - CommandType_COMMAND_TYPE_UNSPECIFIED CommandType = 0 - CommandType_COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK CommandType = 1 - CommandType_COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK CommandType = 2 - CommandType_COMMAND_TYPE_START_TIMER CommandType = 3 - CommandType_COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION CommandType = 4 - CommandType_COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION CommandType = 5 - CommandType_COMMAND_TYPE_CANCEL_TIMER CommandType = 6 - CommandType_COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION CommandType = 7 - CommandType_COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION CommandType = 8 - CommandType_COMMAND_TYPE_RECORD_MARKER CommandType = 9 - CommandType_COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION CommandType = 10 - CommandType_COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION CommandType = 11 - CommandType_COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION CommandType = 12 - CommandType_COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES CommandType = 13 - CommandType_COMMAND_TYPE_PROTOCOL_MESSAGE CommandType = 14 - CommandType_COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES CommandType = 16 - CommandType_COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION CommandType = 17 - CommandType_COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION CommandType = 18 -) - -// Enum value maps for CommandType. -var ( - CommandType_name = map[int32]string{ - 0: "COMMAND_TYPE_UNSPECIFIED", - 1: "COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK", - 2: "COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK", - 3: "COMMAND_TYPE_START_TIMER", - 4: "COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION", - 5: "COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION", - 6: "COMMAND_TYPE_CANCEL_TIMER", - 7: "COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION", - 8: "COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION", - 9: "COMMAND_TYPE_RECORD_MARKER", - 10: "COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION", - 11: "COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION", - 12: "COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION", - 13: "COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES", - 14: "COMMAND_TYPE_PROTOCOL_MESSAGE", - 16: "COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES", - 17: "COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION", - 18: "COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION", - } - CommandType_value = map[string]int32{ - "COMMAND_TYPE_UNSPECIFIED": 0, - "COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK": 1, - "COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK": 2, - "COMMAND_TYPE_START_TIMER": 3, - "COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION": 4, - "COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION": 5, - "COMMAND_TYPE_CANCEL_TIMER": 6, - "COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION": 7, - "COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION": 8, - "COMMAND_TYPE_RECORD_MARKER": 9, - "COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION": 10, - "COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION": 11, - "COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION": 12, - "COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES": 13, - "COMMAND_TYPE_PROTOCOL_MESSAGE": 14, - "COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES": 16, - "COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION": 17, - "COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION": 18, - } -) - -func (x CommandType) Enum() *CommandType { - p := new(CommandType) - *p = x - return p -} - -func (x CommandType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CommandType) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_command_type_proto_enumTypes[0].Descriptor() -} - -func (CommandType) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_command_type_proto_enumTypes[0] -} - -func (x CommandType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommandType.Descriptor instead. -func (CommandType) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_command_type_proto_rawDescGZIP(), []int{0} -} - -var File_temporal_api_enums_v1_command_type_proto protoreflect.FileDescriptor - -const file_temporal_api_enums_v1_command_type_proto_rawDesc = "" + - "\n" + - "(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n" + - "\vCommandType\x12\x1c\n" + - "\x18COMMAND_TYPE_UNSPECIFIED\x10\x00\x12'\n" + - "#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n" + - ")COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n" + - "\x18COMMAND_TYPE_START_TIMER\x10\x03\x12,\n" + - "(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n" + - "$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n" + - "\x19COMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n" + - "&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\a\x12;\n" + - "7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\b\x12\x1e\n" + - "\x1aCOMMAND_TYPE_RECORD_MARKER\x10\t\x123\n" + - "/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n" + - "\x12/\n" + - "+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\v\x123\n" + - "/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\f\x122\n" + - ".COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n" + - "\x1dCOMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n" + - "'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n" + - "%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n" + - "+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12B\x88\x01\n" + - "\x18io.temporal.api.enums.v1B\x10CommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" - -var ( - file_temporal_api_enums_v1_command_type_proto_rawDescOnce sync.Once - file_temporal_api_enums_v1_command_type_proto_rawDescData []byte -) - -func file_temporal_api_enums_v1_command_type_proto_rawDescGZIP() []byte { - file_temporal_api_enums_v1_command_type_proto_rawDescOnce.Do(func() { - file_temporal_api_enums_v1_command_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_command_type_proto_rawDesc), len(file_temporal_api_enums_v1_command_type_proto_rawDesc))) - }) - return file_temporal_api_enums_v1_command_type_proto_rawDescData -} - -var file_temporal_api_enums_v1_command_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_temporal_api_enums_v1_command_type_proto_goTypes = []any{ - (CommandType)(0), // 0: temporal.api.enums.v1.CommandType -} -var file_temporal_api_enums_v1_command_type_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_enums_v1_command_type_proto_init() } -func file_temporal_api_enums_v1_command_type_proto_init() { - if File_temporal_api_enums_v1_command_type_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_command_type_proto_rawDesc), len(file_temporal_api_enums_v1_command_type_proto_rawDesc)), - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_enums_v1_command_type_proto_goTypes, - DependencyIndexes: file_temporal_api_enums_v1_command_type_proto_depIdxs, - EnumInfos: file_temporal_api_enums_v1_command_type_proto_enumTypes, - }.Build() - File_temporal_api_enums_v1_command_type_proto = out.File - file_temporal_api_enums_v1_command_type_proto_goTypes = nil - file_temporal_api_enums_v1_command_type_proto_depIdxs = nil -} diff --git a/build/temporal/api/enums/v1/common.pb.go b/build/temporal/api/enums/v1/common.pb.go deleted file mode 100644 index 83ec627..0000000 --- a/build/temporal/api/enums/v1/common.pb.go +++ /dev/null @@ -1,655 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/enums/v1/common.proto - -package enums - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type EncodingType int32 - -const ( - EncodingType_ENCODING_TYPE_UNSPECIFIED EncodingType = 0 - EncodingType_ENCODING_TYPE_PROTO3 EncodingType = 1 - EncodingType_ENCODING_TYPE_JSON EncodingType = 2 -) - -// Enum value maps for EncodingType. -var ( - EncodingType_name = map[int32]string{ - 0: "ENCODING_TYPE_UNSPECIFIED", - 1: "ENCODING_TYPE_PROTO3", - 2: "ENCODING_TYPE_JSON", - } - EncodingType_value = map[string]int32{ - "ENCODING_TYPE_UNSPECIFIED": 0, - "ENCODING_TYPE_PROTO3": 1, - "ENCODING_TYPE_JSON": 2, - } -) - -func (x EncodingType) Enum() *EncodingType { - p := new(EncodingType) - *p = x - return p -} - -func (x EncodingType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EncodingType) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[0].Descriptor() -} - -func (EncodingType) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[0] -} - -func (x EncodingType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use EncodingType.Descriptor instead. -func (EncodingType) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{0} -} - -type IndexedValueType int32 - -const ( - IndexedValueType_INDEXED_VALUE_TYPE_UNSPECIFIED IndexedValueType = 0 - IndexedValueType_INDEXED_VALUE_TYPE_TEXT IndexedValueType = 1 - IndexedValueType_INDEXED_VALUE_TYPE_KEYWORD IndexedValueType = 2 - IndexedValueType_INDEXED_VALUE_TYPE_INT IndexedValueType = 3 - IndexedValueType_INDEXED_VALUE_TYPE_DOUBLE IndexedValueType = 4 - IndexedValueType_INDEXED_VALUE_TYPE_BOOL IndexedValueType = 5 - IndexedValueType_INDEXED_VALUE_TYPE_DATETIME IndexedValueType = 6 - IndexedValueType_INDEXED_VALUE_TYPE_KEYWORD_LIST IndexedValueType = 7 -) - -// Enum value maps for IndexedValueType. -var ( - IndexedValueType_name = map[int32]string{ - 0: "INDEXED_VALUE_TYPE_UNSPECIFIED", - 1: "INDEXED_VALUE_TYPE_TEXT", - 2: "INDEXED_VALUE_TYPE_KEYWORD", - 3: "INDEXED_VALUE_TYPE_INT", - 4: "INDEXED_VALUE_TYPE_DOUBLE", - 5: "INDEXED_VALUE_TYPE_BOOL", - 6: "INDEXED_VALUE_TYPE_DATETIME", - 7: "INDEXED_VALUE_TYPE_KEYWORD_LIST", - } - IndexedValueType_value = map[string]int32{ - "INDEXED_VALUE_TYPE_UNSPECIFIED": 0, - "INDEXED_VALUE_TYPE_TEXT": 1, - "INDEXED_VALUE_TYPE_KEYWORD": 2, - "INDEXED_VALUE_TYPE_INT": 3, - "INDEXED_VALUE_TYPE_DOUBLE": 4, - "INDEXED_VALUE_TYPE_BOOL": 5, - "INDEXED_VALUE_TYPE_DATETIME": 6, - "INDEXED_VALUE_TYPE_KEYWORD_LIST": 7, - } -) - -func (x IndexedValueType) Enum() *IndexedValueType { - p := new(IndexedValueType) - *p = x - return p -} - -func (x IndexedValueType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IndexedValueType) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[1].Descriptor() -} - -func (IndexedValueType) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[1] -} - -func (x IndexedValueType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IndexedValueType.Descriptor instead. -func (IndexedValueType) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{1} -} - -type Severity int32 - -const ( - Severity_SEVERITY_UNSPECIFIED Severity = 0 - Severity_SEVERITY_HIGH Severity = 1 - Severity_SEVERITY_MEDIUM Severity = 2 - Severity_SEVERITY_LOW Severity = 3 -) - -// Enum value maps for Severity. -var ( - Severity_name = map[int32]string{ - 0: "SEVERITY_UNSPECIFIED", - 1: "SEVERITY_HIGH", - 2: "SEVERITY_MEDIUM", - 3: "SEVERITY_LOW", - } - Severity_value = map[string]int32{ - "SEVERITY_UNSPECIFIED": 0, - "SEVERITY_HIGH": 1, - "SEVERITY_MEDIUM": 2, - "SEVERITY_LOW": 3, - } -) - -func (x Severity) Enum() *Severity { - p := new(Severity) - *p = x - return p -} - -func (x Severity) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Severity) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[2].Descriptor() -} - -func (Severity) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[2] -} - -func (x Severity) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Severity.Descriptor instead. -func (Severity) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{2} -} - -// State of a callback. -type CallbackState int32 - -const ( - // Default value, unspecified state. - CallbackState_CALLBACK_STATE_UNSPECIFIED CallbackState = 0 - // Callback is standing by, waiting to be triggered. - CallbackState_CALLBACK_STATE_STANDBY CallbackState = 1 - // Callback is in the queue waiting to be executed or is currently executing. - CallbackState_CALLBACK_STATE_SCHEDULED CallbackState = 2 - // Callback has failed with a retryable error and is backing off before the next attempt. - CallbackState_CALLBACK_STATE_BACKING_OFF CallbackState = 3 - // Callback has failed. - CallbackState_CALLBACK_STATE_FAILED CallbackState = 4 - // Callback has succeeded. - CallbackState_CALLBACK_STATE_SUCCEEDED CallbackState = 5 - // Callback is blocked (eg: by circuit breaker). - CallbackState_CALLBACK_STATE_BLOCKED CallbackState = 6 -) - -// Enum value maps for CallbackState. -var ( - CallbackState_name = map[int32]string{ - 0: "CALLBACK_STATE_UNSPECIFIED", - 1: "CALLBACK_STATE_STANDBY", - 2: "CALLBACK_STATE_SCHEDULED", - 3: "CALLBACK_STATE_BACKING_OFF", - 4: "CALLBACK_STATE_FAILED", - 5: "CALLBACK_STATE_SUCCEEDED", - 6: "CALLBACK_STATE_BLOCKED", - } - CallbackState_value = map[string]int32{ - "CALLBACK_STATE_UNSPECIFIED": 0, - "CALLBACK_STATE_STANDBY": 1, - "CALLBACK_STATE_SCHEDULED": 2, - "CALLBACK_STATE_BACKING_OFF": 3, - "CALLBACK_STATE_FAILED": 4, - "CALLBACK_STATE_SUCCEEDED": 5, - "CALLBACK_STATE_BLOCKED": 6, - } -) - -func (x CallbackState) Enum() *CallbackState { - p := new(CallbackState) - *p = x - return p -} - -func (x CallbackState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallbackState) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[3].Descriptor() -} - -func (CallbackState) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[3] -} - -func (x CallbackState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CallbackState.Descriptor instead. -func (CallbackState) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{3} -} - -// State of a pending Nexus operation. -type PendingNexusOperationState int32 - -const ( - // Default value, unspecified state. - PendingNexusOperationState_PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED PendingNexusOperationState = 0 - // Operation is in the queue waiting to be executed or is currently executing. - PendingNexusOperationState_PENDING_NEXUS_OPERATION_STATE_SCHEDULED PendingNexusOperationState = 1 - // Operation has failed with a retryable error and is backing off before the next attempt. - PendingNexusOperationState_PENDING_NEXUS_OPERATION_STATE_BACKING_OFF PendingNexusOperationState = 2 - // Operation was started and will complete asynchronously. - PendingNexusOperationState_PENDING_NEXUS_OPERATION_STATE_STARTED PendingNexusOperationState = 3 - // Operation is blocked (eg: by circuit breaker). - PendingNexusOperationState_PENDING_NEXUS_OPERATION_STATE_BLOCKED PendingNexusOperationState = 4 -) - -// Enum value maps for PendingNexusOperationState. -var ( - PendingNexusOperationState_name = map[int32]string{ - 0: "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED", - 1: "PENDING_NEXUS_OPERATION_STATE_SCHEDULED", - 2: "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF", - 3: "PENDING_NEXUS_OPERATION_STATE_STARTED", - 4: "PENDING_NEXUS_OPERATION_STATE_BLOCKED", - } - PendingNexusOperationState_value = map[string]int32{ - "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED": 0, - "PENDING_NEXUS_OPERATION_STATE_SCHEDULED": 1, - "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF": 2, - "PENDING_NEXUS_OPERATION_STATE_STARTED": 3, - "PENDING_NEXUS_OPERATION_STATE_BLOCKED": 4, - } -) - -func (x PendingNexusOperationState) Enum() *PendingNexusOperationState { - p := new(PendingNexusOperationState) - *p = x - return p -} - -func (x PendingNexusOperationState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PendingNexusOperationState) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[4].Descriptor() -} - -func (PendingNexusOperationState) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[4] -} - -func (x PendingNexusOperationState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PendingNexusOperationState.Descriptor instead. -func (PendingNexusOperationState) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{4} -} - -// State of a Nexus operation cancellation. -type NexusOperationCancellationState int32 - -const ( - // Default value, unspecified state. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED NexusOperationCancellationState = 0 - // Cancellation request is in the queue waiting to be executed or is currently executing. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED NexusOperationCancellationState = 1 - // Cancellation request has failed with a retryable error and is backing off before the next attempt. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF NexusOperationCancellationState = 2 - // Cancellation request succeeded. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED NexusOperationCancellationState = 3 - // Cancellation request failed with a non-retryable error. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_FAILED NexusOperationCancellationState = 4 - // The associated operation timed out - exceeded the user supplied schedule-to-close timeout. - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT NexusOperationCancellationState = 5 - // Cancellation request is blocked (eg: by circuit breaker). - NexusOperationCancellationState_NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED NexusOperationCancellationState = 6 -) - -// Enum value maps for NexusOperationCancellationState. -var ( - NexusOperationCancellationState_name = map[int32]string{ - 0: "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED", - 1: "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED", - 2: "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF", - 3: "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED", - 4: "NEXUS_OPERATION_CANCELLATION_STATE_FAILED", - 5: "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT", - 6: "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED", - } - NexusOperationCancellationState_value = map[string]int32{ - "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED": 0, - "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED": 1, - "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF": 2, - "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED": 3, - "NEXUS_OPERATION_CANCELLATION_STATE_FAILED": 4, - "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT": 5, - "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED": 6, - } -) - -func (x NexusOperationCancellationState) Enum() *NexusOperationCancellationState { - p := new(NexusOperationCancellationState) - *p = x - return p -} - -func (x NexusOperationCancellationState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NexusOperationCancellationState) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[5].Descriptor() -} - -func (NexusOperationCancellationState) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[5] -} - -func (x NexusOperationCancellationState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use NexusOperationCancellationState.Descriptor instead. -func (NexusOperationCancellationState) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{5} -} - -type WorkflowRuleActionScope int32 - -const ( - // Default value, unspecified scope. - WorkflowRuleActionScope_WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED WorkflowRuleActionScope = 0 - // The action will be applied to the entire workflow. - WorkflowRuleActionScope_WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW WorkflowRuleActionScope = 1 - // The action will be applied to a specific activity. - WorkflowRuleActionScope_WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY WorkflowRuleActionScope = 2 -) - -// Enum value maps for WorkflowRuleActionScope. -var ( - WorkflowRuleActionScope_name = map[int32]string{ - 0: "WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED", - 1: "WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW", - 2: "WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY", - } - WorkflowRuleActionScope_value = map[string]int32{ - "WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED": 0, - "WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW": 1, - "WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY": 2, - } -) - -func (x WorkflowRuleActionScope) Enum() *WorkflowRuleActionScope { - p := new(WorkflowRuleActionScope) - *p = x - return p -} - -func (x WorkflowRuleActionScope) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WorkflowRuleActionScope) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[6].Descriptor() -} - -func (WorkflowRuleActionScope) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[6] -} - -func (x WorkflowRuleActionScope) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WorkflowRuleActionScope.Descriptor instead. -func (WorkflowRuleActionScope) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{6} -} - -type ApplicationErrorCategory int32 - -const ( - ApplicationErrorCategory_APPLICATION_ERROR_CATEGORY_UNSPECIFIED ApplicationErrorCategory = 0 - // Expected application error with little/no severity. - ApplicationErrorCategory_APPLICATION_ERROR_CATEGORY_BENIGN ApplicationErrorCategory = 1 -) - -// Enum value maps for ApplicationErrorCategory. -var ( - ApplicationErrorCategory_name = map[int32]string{ - 0: "APPLICATION_ERROR_CATEGORY_UNSPECIFIED", - 1: "APPLICATION_ERROR_CATEGORY_BENIGN", - } - ApplicationErrorCategory_value = map[string]int32{ - "APPLICATION_ERROR_CATEGORY_UNSPECIFIED": 0, - "APPLICATION_ERROR_CATEGORY_BENIGN": 1, - } -) - -func (x ApplicationErrorCategory) Enum() *ApplicationErrorCategory { - p := new(ApplicationErrorCategory) - *p = x - return p -} - -func (x ApplicationErrorCategory) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ApplicationErrorCategory) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[7].Descriptor() -} - -func (ApplicationErrorCategory) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[7] -} - -func (x ApplicationErrorCategory) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ApplicationErrorCategory.Descriptor instead. -func (ApplicationErrorCategory) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{7} -} - -// (-- api-linter: core::0216::synonyms=disabled -// -// aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --) -type WorkerStatus int32 - -const ( - WorkerStatus_WORKER_STATUS_UNSPECIFIED WorkerStatus = 0 - WorkerStatus_WORKER_STATUS_RUNNING WorkerStatus = 1 - WorkerStatus_WORKER_STATUS_SHUTTING_DOWN WorkerStatus = 2 - WorkerStatus_WORKER_STATUS_SHUTDOWN WorkerStatus = 3 -) - -// Enum value maps for WorkerStatus. -var ( - WorkerStatus_name = map[int32]string{ - 0: "WORKER_STATUS_UNSPECIFIED", - 1: "WORKER_STATUS_RUNNING", - 2: "WORKER_STATUS_SHUTTING_DOWN", - 3: "WORKER_STATUS_SHUTDOWN", - } - WorkerStatus_value = map[string]int32{ - "WORKER_STATUS_UNSPECIFIED": 0, - "WORKER_STATUS_RUNNING": 1, - "WORKER_STATUS_SHUTTING_DOWN": 2, - "WORKER_STATUS_SHUTDOWN": 3, - } -) - -func (x WorkerStatus) Enum() *WorkerStatus { - p := new(WorkerStatus) - *p = x - return p -} - -func (x WorkerStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WorkerStatus) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_common_proto_enumTypes[8].Descriptor() -} - -func (WorkerStatus) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_common_proto_enumTypes[8] -} - -func (x WorkerStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WorkerStatus.Descriptor instead. -func (WorkerStatus) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_common_proto_rawDescGZIP(), []int{8} -} - -var File_temporal_api_enums_v1_common_proto protoreflect.FileDescriptor - -const file_temporal_api_enums_v1_common_proto_rawDesc = "" + - "\n" + - "\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n" + - "\fEncodingType\x12\x1d\n" + - "\x19ENCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n" + - "\x14ENCODING_TYPE_PROTO3\x10\x01\x12\x16\n" + - "\x12ENCODING_TYPE_JSON\x10\x02*\x91\x02\n" + - "\x10IndexedValueType\x12\"\n" + - "\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n" + - "\x17INDEXED_VALUE_TYPE_TEXT\x10\x01\x12\x1e\n" + - "\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n" + - "\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n" + - "\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n" + - "\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n" + - "\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06\x12#\n" + - "\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\a*^\n" + - "\bSeverity\x12\x18\n" + - "\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n" + - "\rSEVERITY_HIGH\x10\x01\x12\x13\n" + - "\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n" + - "\fSEVERITY_LOW\x10\x03*\xde\x01\n" + - "\rCallbackState\x12\x1e\n" + - "\x1aCALLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n" + - "\x16CALLBACK_STATE_STANDBY\x10\x01\x12\x1c\n" + - "\x18CALLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n" + - "\x1aCALLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n" + - "\x15CALLBACK_STATE_FAILED\x10\x04\x12\x1c\n" + - "\x18CALLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n" + - "\x16CALLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n" + - "\x1aPendingNexusOperationState\x12-\n" + - ")PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n" + - "'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n" + - ")PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n" + - "%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n" + - "%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n" + - "\x1fNexusOperationCancellationState\x122\n" + - ".NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x120\n" + - ",NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x122\n" + - ".NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x120\n" + - ",NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n" + - ")NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x120\n" + - ",NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n" + - "*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n" + - "\x17WorkflowRuleActionScope\x12*\n" + - "&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12'\n" + - "#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12'\n" + - "#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n" + - "\x18ApplicationErrorCategory\x12*\n" + - "&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n" + - "!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n" + - "\fWorkerStatus\x12\x1d\n" + - "\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n" + - "\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n" + - "\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n" + - "\x16WORKER_STATUS_SHUTDOWN\x10\x03B\x83\x01\n" + - "\x18io.temporal.api.enums.v1B\vCommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" - -var ( - file_temporal_api_enums_v1_common_proto_rawDescOnce sync.Once - file_temporal_api_enums_v1_common_proto_rawDescData []byte -) - -func file_temporal_api_enums_v1_common_proto_rawDescGZIP() []byte { - file_temporal_api_enums_v1_common_proto_rawDescOnce.Do(func() { - file_temporal_api_enums_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_common_proto_rawDesc), len(file_temporal_api_enums_v1_common_proto_rawDesc))) - }) - return file_temporal_api_enums_v1_common_proto_rawDescData -} - -var file_temporal_api_enums_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_temporal_api_enums_v1_common_proto_goTypes = []any{ - (EncodingType)(0), // 0: temporal.api.enums.v1.EncodingType - (IndexedValueType)(0), // 1: temporal.api.enums.v1.IndexedValueType - (Severity)(0), // 2: temporal.api.enums.v1.Severity - (CallbackState)(0), // 3: temporal.api.enums.v1.CallbackState - (PendingNexusOperationState)(0), // 4: temporal.api.enums.v1.PendingNexusOperationState - (NexusOperationCancellationState)(0), // 5: temporal.api.enums.v1.NexusOperationCancellationState - (WorkflowRuleActionScope)(0), // 6: temporal.api.enums.v1.WorkflowRuleActionScope - (ApplicationErrorCategory)(0), // 7: temporal.api.enums.v1.ApplicationErrorCategory - (WorkerStatus)(0), // 8: temporal.api.enums.v1.WorkerStatus -} -var file_temporal_api_enums_v1_common_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_enums_v1_common_proto_init() } -func file_temporal_api_enums_v1_common_proto_init() { - if File_temporal_api_enums_v1_common_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_common_proto_rawDesc), len(file_temporal_api_enums_v1_common_proto_rawDesc)), - NumEnums: 9, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_enums_v1_common_proto_goTypes, - DependencyIndexes: file_temporal_api_enums_v1_common_proto_depIdxs, - EnumInfos: file_temporal_api_enums_v1_common_proto_enumTypes, - }.Build() - File_temporal_api_enums_v1_common_proto = out.File - file_temporal_api_enums_v1_common_proto_goTypes = nil - file_temporal_api_enums_v1_common_proto_depIdxs = nil -} diff --git a/build/temporal/api/enums/v1/deployment.pb.go b/build/temporal/api/enums/v1/deployment.pb.go deleted file mode 100644 index 43cfe83..0000000 --- a/build/temporal/api/enums/v1/deployment.pb.go +++ /dev/null @@ -1,375 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/enums/v1/deployment.proto - -package enums - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Specify the reachability level for a deployment so users can decide if it is time to -// decommission the deployment. -type DeploymentReachability int32 - -const ( - // Reachability level is not specified. - DeploymentReachability_DEPLOYMENT_REACHABILITY_UNSPECIFIED DeploymentReachability = 0 - // The deployment is reachable by new and/or open workflows. The deployment cannot be - // decommissioned safely. - DeploymentReachability_DEPLOYMENT_REACHABILITY_REACHABLE DeploymentReachability = 1 - // The deployment is not reachable by new or open workflows, but might be still needed by - // Queries sent to closed workflows. The deployment can be decommissioned safely if user does - // not query closed workflows. - DeploymentReachability_DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY DeploymentReachability = 2 - // The deployment is not reachable by any workflow because all the workflows who needed this - // deployment went out of retention period. The deployment can be decommissioned safely. - DeploymentReachability_DEPLOYMENT_REACHABILITY_UNREACHABLE DeploymentReachability = 3 -) - -// Enum value maps for DeploymentReachability. -var ( - DeploymentReachability_name = map[int32]string{ - 0: "DEPLOYMENT_REACHABILITY_UNSPECIFIED", - 1: "DEPLOYMENT_REACHABILITY_REACHABLE", - 2: "DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY", - 3: "DEPLOYMENT_REACHABILITY_UNREACHABLE", - } - DeploymentReachability_value = map[string]int32{ - "DEPLOYMENT_REACHABILITY_UNSPECIFIED": 0, - "DEPLOYMENT_REACHABILITY_REACHABLE": 1, - "DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY": 2, - "DEPLOYMENT_REACHABILITY_UNREACHABLE": 3, - } -) - -func (x DeploymentReachability) Enum() *DeploymentReachability { - p := new(DeploymentReachability) - *p = x - return p -} - -func (x DeploymentReachability) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DeploymentReachability) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_deployment_proto_enumTypes[0].Descriptor() -} - -func (DeploymentReachability) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_deployment_proto_enumTypes[0] -} - -func (x DeploymentReachability) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DeploymentReachability.Descriptor instead. -func (DeploymentReachability) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_deployment_proto_rawDescGZIP(), []int{0} -} - -// (-- api-linter: core::0216::synonyms=disabled -// -// aip.dev/not-precedent: Call this status because it is . --) -// -// Specify the drainage status for a Worker Deployment Version so users can decide whether they -// can safely decommission the version. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type VersionDrainageStatus int32 - -const ( - // Drainage Status is not specified. - VersionDrainageStatus_VERSION_DRAINAGE_STATUS_UNSPECIFIED VersionDrainageStatus = 0 - // The Worker Deployment Version is not used by new workflows but is still used by - // open pinned workflows. The version cannot be decommissioned safely. - VersionDrainageStatus_VERSION_DRAINAGE_STATUS_DRAINING VersionDrainageStatus = 1 - // The Worker Deployment Version is not used by new or open workflows, but might be still needed by - // Queries sent to closed workflows. The version can be decommissioned safely if user does - // not query closed workflows. If the user does query closed workflows for some time x after - // workflows are closed, they should decommission the version after it has been drained for that duration. - VersionDrainageStatus_VERSION_DRAINAGE_STATUS_DRAINED VersionDrainageStatus = 2 -) - -// Enum value maps for VersionDrainageStatus. -var ( - VersionDrainageStatus_name = map[int32]string{ - 0: "VERSION_DRAINAGE_STATUS_UNSPECIFIED", - 1: "VERSION_DRAINAGE_STATUS_DRAINING", - 2: "VERSION_DRAINAGE_STATUS_DRAINED", - } - VersionDrainageStatus_value = map[string]int32{ - "VERSION_DRAINAGE_STATUS_UNSPECIFIED": 0, - "VERSION_DRAINAGE_STATUS_DRAINING": 1, - "VERSION_DRAINAGE_STATUS_DRAINED": 2, - } -) - -func (x VersionDrainageStatus) Enum() *VersionDrainageStatus { - p := new(VersionDrainageStatus) - *p = x - return p -} - -func (x VersionDrainageStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VersionDrainageStatus) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_deployment_proto_enumTypes[1].Descriptor() -} - -func (VersionDrainageStatus) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_deployment_proto_enumTypes[1] -} - -func (x VersionDrainageStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use VersionDrainageStatus.Descriptor instead. -func (VersionDrainageStatus) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_deployment_proto_rawDescGZIP(), []int{1} -} - -// Versioning Mode of a worker is set by the app developer in the worker code, and specifies the -// behavior of the system in the following related aspects: -// - Whether or not Temporal Server considers this worker's version (Build ID) when dispatching -// tasks to it. -// - Whether or not the workflows processed by this worker are versioned using the worker's version. -// -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type WorkerVersioningMode int32 - -const ( - WorkerVersioningMode_WORKER_VERSIONING_MODE_UNSPECIFIED WorkerVersioningMode = 0 - // Workers with this mode are not distinguished from each other for task routing, even if they - // have different Build IDs. - // Workflows processed by this worker will be unversioned and user needs to use Patching to keep - // the new code compatible with prior versions. - // This mode is recommended to be used along with Rolling Upgrade deployment strategies. - // Workers with this mode are represented by the special string `__unversioned__` in the APIs. - WorkerVersioningMode_WORKER_VERSIONING_MODE_UNVERSIONED WorkerVersioningMode = 1 - // Workers with this mode are part of a Worker Deployment Version which is identified as - // ".". Such workers are called "versioned" as opposed to - // "unversioned". - // Each Deployment Version is distinguished from other Versions for task routing and users can - // configure Temporal Server to send tasks to a particular Version (see - // `WorkerDeploymentInfo.routing_config`). This mode is the best option for Blue/Green and - // Rainbow strategies (but typically not suitable for Rolling upgrades.) - // Workflow Versioning Behaviors are enabled in this mode: each workflow type must choose - // between the Pinned and AutoUpgrade behaviors. Depending on the chosen behavior, the user may - // or may not need to use Patching to keep the new code compatible with prior versions. (see - // VersioningBehavior enum.) - WorkerVersioningMode_WORKER_VERSIONING_MODE_VERSIONED WorkerVersioningMode = 2 -) - -// Enum value maps for WorkerVersioningMode. -var ( - WorkerVersioningMode_name = map[int32]string{ - 0: "WORKER_VERSIONING_MODE_UNSPECIFIED", - 1: "WORKER_VERSIONING_MODE_UNVERSIONED", - 2: "WORKER_VERSIONING_MODE_VERSIONED", - } - WorkerVersioningMode_value = map[string]int32{ - "WORKER_VERSIONING_MODE_UNSPECIFIED": 0, - "WORKER_VERSIONING_MODE_UNVERSIONED": 1, - "WORKER_VERSIONING_MODE_VERSIONED": 2, - } -) - -func (x WorkerVersioningMode) Enum() *WorkerVersioningMode { - p := new(WorkerVersioningMode) - *p = x - return p -} - -func (x WorkerVersioningMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WorkerVersioningMode) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_deployment_proto_enumTypes[2].Descriptor() -} - -func (WorkerVersioningMode) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_deployment_proto_enumTypes[2] -} - -func (x WorkerVersioningMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WorkerVersioningMode.Descriptor instead. -func (WorkerVersioningMode) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_deployment_proto_rawDescGZIP(), []int{2} -} - -// (-- api-linter: core::0216::synonyms=disabled -// -// aip.dev/not-precedent: Call this status because it is . --) -// -// Specify the status of a Worker Deployment Version. -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type WorkerDeploymentVersionStatus int32 - -const ( - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED WorkerDeploymentVersionStatus = 0 - // The Worker Deployment Version has been created inside the Worker Deployment but is not used by any - // workflow executions. These Versions can still have workflows if they have an explicit Versioning Override targeting - // this Version. Such Versioning Override could be set at workflow start time, or at a later time via `UpdateWorkflowExecutionOptions`. - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE WorkerDeploymentVersionStatus = 1 - // The Worker Deployment Version is the current version of the Worker Deployment. All new workflow executions - // and tasks of existing unversioned or AutoUpgrade workflows are routed to this version. - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT WorkerDeploymentVersionStatus = 2 - // The Worker Deployment Version is the ramping version of the Worker Deployment. A subset of new Pinned workflow executions are - // routed to this version. Moreover, a portion of existing unversioned or AutoUpgrade workflow executions are also routed to this version. - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING WorkerDeploymentVersionStatus = 3 - // The Worker Deployment Version is not used by new workflows but is still used by - // open pinned workflows. The version cannot be decommissioned safely. - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING WorkerDeploymentVersionStatus = 4 - // The Worker Deployment Version is not used by new or open workflows, but might be still needed by - // Queries sent to closed workflows. The version can be decommissioned safely if user does - // not query closed workflows. If the user does query closed workflows for some time x after - // workflows are closed, they should decommission the version after it has been drained for that duration. - WorkerDeploymentVersionStatus_WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED WorkerDeploymentVersionStatus = 5 -) - -// Enum value maps for WorkerDeploymentVersionStatus. -var ( - WorkerDeploymentVersionStatus_name = map[int32]string{ - 0: "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED", - 1: "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE", - 2: "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT", - 3: "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING", - 4: "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING", - 5: "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED", - } - WorkerDeploymentVersionStatus_value = map[string]int32{ - "WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED": 0, - "WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE": 1, - "WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT": 2, - "WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING": 3, - "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING": 4, - "WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED": 5, - } -) - -func (x WorkerDeploymentVersionStatus) Enum() *WorkerDeploymentVersionStatus { - p := new(WorkerDeploymentVersionStatus) - *p = x - return p -} - -func (x WorkerDeploymentVersionStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WorkerDeploymentVersionStatus) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_deployment_proto_enumTypes[3].Descriptor() -} - -func (WorkerDeploymentVersionStatus) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_deployment_proto_enumTypes[3] -} - -func (x WorkerDeploymentVersionStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WorkerDeploymentVersionStatus.Descriptor instead. -func (WorkerDeploymentVersionStatus) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_deployment_proto_rawDescGZIP(), []int{3} -} - -var File_temporal_api_enums_v1_deployment_proto protoreflect.FileDescriptor - -const file_temporal_api_enums_v1_deployment_proto_rawDesc = "" + - "\n" + - "&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n" + - "\x16DeploymentReachability\x12'\n" + - "#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n" + - "!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x121\n" + - "-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12'\n" + - "#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n" + - "\x15VersionDrainageStatus\x12'\n" + - "#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n" + - " VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n" + - "\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n" + - "\x14WorkerVersioningMode\x12&\n" + - "\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n" + - "\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n" + - " WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xb9\x02\n" + - "\x1dWorkerDeploymentVersionStatus\x120\n" + - ",WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n" + - ")WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n" + - "(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n" + - "(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n" + - ")WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n" + - "(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05B\x87\x01\n" + - "\x18io.temporal.api.enums.v1B\x0fDeploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" - -var ( - file_temporal_api_enums_v1_deployment_proto_rawDescOnce sync.Once - file_temporal_api_enums_v1_deployment_proto_rawDescData []byte -) - -func file_temporal_api_enums_v1_deployment_proto_rawDescGZIP() []byte { - file_temporal_api_enums_v1_deployment_proto_rawDescOnce.Do(func() { - file_temporal_api_enums_v1_deployment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_deployment_proto_rawDesc), len(file_temporal_api_enums_v1_deployment_proto_rawDesc))) - }) - return file_temporal_api_enums_v1_deployment_proto_rawDescData -} - -var file_temporal_api_enums_v1_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_temporal_api_enums_v1_deployment_proto_goTypes = []any{ - (DeploymentReachability)(0), // 0: temporal.api.enums.v1.DeploymentReachability - (VersionDrainageStatus)(0), // 1: temporal.api.enums.v1.VersionDrainageStatus - (WorkerVersioningMode)(0), // 2: temporal.api.enums.v1.WorkerVersioningMode - (WorkerDeploymentVersionStatus)(0), // 3: temporal.api.enums.v1.WorkerDeploymentVersionStatus -} -var file_temporal_api_enums_v1_deployment_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_enums_v1_deployment_proto_init() } -func file_temporal_api_enums_v1_deployment_proto_init() { - if File_temporal_api_enums_v1_deployment_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_enums_v1_deployment_proto_rawDesc), len(file_temporal_api_enums_v1_deployment_proto_rawDesc)), - NumEnums: 4, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_enums_v1_deployment_proto_goTypes, - DependencyIndexes: file_temporal_api_enums_v1_deployment_proto_depIdxs, - EnumInfos: file_temporal_api_enums_v1_deployment_proto_enumTypes, - }.Build() - File_temporal_api_enums_v1_deployment_proto = out.File - file_temporal_api_enums_v1_deployment_proto_goTypes = nil - file_temporal_api_enums_v1_deployment_proto_depIdxs = nil -} diff --git a/build/temporal/api/enums/v1/event_type.pb.go b/build/temporal/api/enums/v1/event_type.pb.go deleted file mode 100644 index b1eabee..0000000 --- a/build/temporal/api/enums/v1/event_type.pb.go +++ /dev/null @@ -1,452 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/enums/v1/event_type.proto - -package enums - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering -type EventType int32 - -const ( - // Place holder and should never appear in a Workflow execution history - EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 - // Workflow execution has been triggered/started - // It contains Workflow execution inputs, as well as Workflow timeout configurations - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_STARTED EventType = 1 - // Workflow execution has successfully completed and contains Workflow execution results - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED EventType = 2 - // Workflow execution has unsuccessfully completed and contains the Workflow execution error - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_FAILED EventType = 3 - // Workflow execution has timed out by the Temporal Server - // Usually due to the Workflow having not been completed within timeout settings - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT EventType = 4 - // Workflow Task has been scheduled and the SDK client should now be able to process any new history events - EventType_EVENT_TYPE_WORKFLOW_TASK_SCHEDULED EventType = 5 - // Workflow Task has started and the SDK client has picked up the Workflow Task and is processing new history events - EventType_EVENT_TYPE_WORKFLOW_TASK_STARTED EventType = 6 - // Workflow Task has completed - // The SDK client picked up the Workflow Task and processed new history events - // SDK client may or may not ask the Temporal Server to do additional work, such as: - // EVENT_TYPE_ACTIVITY_TASK_SCHEDULED - // EVENT_TYPE_TIMER_STARTED - // EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES - // EVENT_TYPE_MARKER_RECORDED - // EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED - // EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED - // EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED - // EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED - // EVENT_TYPE_WORKFLOW_EXECUTION_FAILED - // EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED - // EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW - EventType_EVENT_TYPE_WORKFLOW_TASK_COMPLETED EventType = 7 - // Workflow Task encountered a timeout - // Either an SDK client with a local cache was not available at the time, or it took too long for the SDK client to process the task - EventType_EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT EventType = 8 - // Workflow Task encountered a failure - // Usually this means that the Workflow was non-deterministic - // However, the Workflow reset functionality also uses this event - EventType_EVENT_TYPE_WORKFLOW_TASK_FAILED EventType = 9 - // Activity Task was scheduled - // The SDK client should pick up this activity task and execute - // This event type contains activity inputs, as well as activity timeout configurations - EventType_EVENT_TYPE_ACTIVITY_TASK_SCHEDULED EventType = 10 - // Activity Task has started executing - // The SDK client has picked up the Activity Task and is processing the Activity invocation - EventType_EVENT_TYPE_ACTIVITY_TASK_STARTED EventType = 11 - // Activity Task has finished successfully - // The SDK client has picked up and successfully completed the Activity Task - // This event type contains Activity execution results - EventType_EVENT_TYPE_ACTIVITY_TASK_COMPLETED EventType = 12 - // Activity Task has finished unsuccessfully - // The SDK picked up the Activity Task but unsuccessfully completed it - // This event type contains Activity execution errors - EventType_EVENT_TYPE_ACTIVITY_TASK_FAILED EventType = 13 - // Activity has timed out according to the Temporal Server - // Activity did not complete within the timeout settings - EventType_EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT EventType = 14 - // A request to cancel the Activity has occurred - // The SDK client will be able to confirm cancellation of an Activity during an Activity heartbeat - EventType_EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED EventType = 15 - // Activity has been cancelled - EventType_EVENT_TYPE_ACTIVITY_TASK_CANCELED EventType = 16 - // A timer has started - EventType_EVENT_TYPE_TIMER_STARTED EventType = 17 - // A timer has fired - EventType_EVENT_TYPE_TIMER_FIRED EventType = 18 - // A time has been cancelled - EventType_EVENT_TYPE_TIMER_CANCELED EventType = 19 - // A request has been made to cancel the Workflow execution - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED EventType = 20 - // SDK client has confirmed the cancellation request and the Workflow execution has been cancelled - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED EventType = 21 - // Workflow has requested that the Temporal Server try to cancel another Workflow - EventType_EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED EventType = 22 - // Temporal Server could not cancel the targeted Workflow - // This is usually because the target Workflow could not be found - EventType_EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED EventType = 23 - // Temporal Server has successfully requested the cancellation of the target Workflow - EventType_EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED EventType = 24 - // A marker has been recorded. - // This event type is transparent to the Temporal Server - // The Server will only store it and will not try to understand it. - EventType_EVENT_TYPE_MARKER_RECORDED EventType = 25 - // Workflow has received a Signal event - // The event type contains the Signal name, as well as a Signal payload - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED EventType = 26 - // Workflow execution has been forcefully terminated - // This is usually because the terminate Workflow API was called - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED EventType = 27 - // Workflow has successfully completed and a new Workflow has been started within the same transaction - // Contains last Workflow execution results as well as new Workflow execution inputs - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW EventType = 28 - // Temporal Server will try to start a child Workflow - EventType_EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED EventType = 29 - // Child Workflow execution cannot be started/triggered - // Usually due to a child Workflow ID collision - EventType_EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED EventType = 30 - // Child Workflow execution has successfully started/triggered - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED EventType = 31 - // Child Workflow execution has successfully completed - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED EventType = 32 - // Child Workflow execution has unsuccessfully completed - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED EventType = 33 - // Child Workflow execution has been cancelled - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED EventType = 34 - // Child Workflow execution has timed out by the Temporal Server - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT EventType = 35 - // Child Workflow execution has been terminated - EventType_EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED EventType = 36 - // Temporal Server will try to Signal the targeted Workflow - // Contains the Signal name, as well as a Signal payload - EventType_EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED EventType = 37 - // Temporal Server cannot Signal the targeted Workflow - // Usually because the Workflow could not be found - EventType_EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED EventType = 38 - // Temporal Server has successfully Signaled the targeted Workflow - EventType_EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED EventType = 39 - // Workflow search attributes should be updated and synchronized with the visibility store - EventType_EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES EventType = 40 - // An update was admitted. Note that not all admitted updates result in this - // event. See UpdateAdmittedEventOrigin for situations in which this event - // is created. - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED EventType = 47 - // An update was accepted (i.e. passed validation, perhaps because no validator was defined) - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED EventType = 41 - // This event is never written to history. - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED EventType = 42 - // An update completed - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED EventType = 43 - // Some property or properties of the workflow as a whole have changed by non-workflow code. - // The distinction of external vs. command-based modification is important so the SDK can - // maintain determinism when using the command-based approach. - EventType_EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY EventType = 44 - // Some property or properties of an already-scheduled activity have changed by non-workflow code. - // The distinction of external vs. command-based modification is important so the SDK can - // maintain determinism when using the command-based approach. - EventType_EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY EventType = 45 - // Workflow properties modified by user workflow code - EventType_EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED EventType = 46 - // A Nexus operation was scheduled using a ScheduleNexusOperation command. - EventType_EVENT_TYPE_NEXUS_OPERATION_SCHEDULED EventType = 48 - // An asynchronous Nexus operation was started by a Nexus handler. - EventType_EVENT_TYPE_NEXUS_OPERATION_STARTED EventType = 49 - // A Nexus operation completed successfully. - EventType_EVENT_TYPE_NEXUS_OPERATION_COMPLETED EventType = 50 - // A Nexus operation failed. - EventType_EVENT_TYPE_NEXUS_OPERATION_FAILED EventType = 51 - // A Nexus operation completed as canceled. - EventType_EVENT_TYPE_NEXUS_OPERATION_CANCELED EventType = 52 - // A Nexus operation timed out. - EventType_EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT EventType = 53 - // A Nexus operation was requested to be canceled using a RequestCancelNexusOperation command. - EventType_EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED EventType = 54 - // Workflow execution options updated by user. - EventType_EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED EventType = 55 - // A cancellation request for a Nexus operation was successfully delivered to the Nexus handler. - EventType_EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED EventType = 56 - // A cancellation request for a Nexus operation resulted in an error. - EventType_EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED EventType = 57 -) - -// Enum value maps for EventType. -var ( - EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNSPECIFIED", - 1: "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED", - 2: "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED", - 3: "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED", - 4: "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT", - 5: "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED", - 6: "EVENT_TYPE_WORKFLOW_TASK_STARTED", - 7: "EVENT_TYPE_WORKFLOW_TASK_COMPLETED", - 8: "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT", - 9: "EVENT_TYPE_WORKFLOW_TASK_FAILED", - 10: "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED", - 11: "EVENT_TYPE_ACTIVITY_TASK_STARTED", - 12: "EVENT_TYPE_ACTIVITY_TASK_COMPLETED", - 13: "EVENT_TYPE_ACTIVITY_TASK_FAILED", - 14: "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT", - 15: "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED", - 16: "EVENT_TYPE_ACTIVITY_TASK_CANCELED", - 17: "EVENT_TYPE_TIMER_STARTED", - 18: "EVENT_TYPE_TIMER_FIRED", - 19: "EVENT_TYPE_TIMER_CANCELED", - 20: "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED", - 21: "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED", - 22: "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED", - 23: "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED", - 24: "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED", - 25: "EVENT_TYPE_MARKER_RECORDED", - 26: "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED", - 27: "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED", - 28: "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW", - 29: "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED", - 30: "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED", - 31: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED", - 32: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED", - 33: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED", - 34: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED", - 35: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT", - 36: "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED", - 37: "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED", - 38: "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED", - 39: "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED", - 40: "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES", - 47: "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED", - 41: "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED", - 42: "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED", - 43: "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED", - 44: "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY", - 45: "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY", - 46: "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED", - 48: "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED", - 49: "EVENT_TYPE_NEXUS_OPERATION_STARTED", - 50: "EVENT_TYPE_NEXUS_OPERATION_COMPLETED", - 51: "EVENT_TYPE_NEXUS_OPERATION_FAILED", - 52: "EVENT_TYPE_NEXUS_OPERATION_CANCELED", - 53: "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT", - 54: "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED", - 55: "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED", - 56: "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED", - 57: "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED", - } - EventType_value = map[string]int32{ - "EVENT_TYPE_UNSPECIFIED": 0, - "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED": 1, - "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED": 2, - "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED": 3, - "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT": 4, - "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED": 5, - "EVENT_TYPE_WORKFLOW_TASK_STARTED": 6, - "EVENT_TYPE_WORKFLOW_TASK_COMPLETED": 7, - "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT": 8, - "EVENT_TYPE_WORKFLOW_TASK_FAILED": 9, - "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED": 10, - "EVENT_TYPE_ACTIVITY_TASK_STARTED": 11, - "EVENT_TYPE_ACTIVITY_TASK_COMPLETED": 12, - "EVENT_TYPE_ACTIVITY_TASK_FAILED": 13, - "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT": 14, - "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED": 15, - "EVENT_TYPE_ACTIVITY_TASK_CANCELED": 16, - "EVENT_TYPE_TIMER_STARTED": 17, - "EVENT_TYPE_TIMER_FIRED": 18, - "EVENT_TYPE_TIMER_CANCELED": 19, - "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED": 20, - "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED": 21, - "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED": 22, - "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED": 23, - "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED": 24, - "EVENT_TYPE_MARKER_RECORDED": 25, - "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED": 26, - "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED": 27, - "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW": 28, - "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED": 29, - "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED": 30, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED": 31, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED": 32, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED": 33, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED": 34, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT": 35, - "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED": 36, - "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED": 37, - "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED": 38, - "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED": 39, - "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES": 40, - "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED": 47, - "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED": 41, - "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED": 42, - "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED": 43, - "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY": 44, - "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY": 45, - "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED": 46, - "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED": 48, - "EVENT_TYPE_NEXUS_OPERATION_STARTED": 49, - "EVENT_TYPE_NEXUS_OPERATION_COMPLETED": 50, - "EVENT_TYPE_NEXUS_OPERATION_FAILED": 51, - "EVENT_TYPE_NEXUS_OPERATION_CANCELED": 52, - "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT": 53, - "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED": 54, - "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED": 55, - "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED": 56, - "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED": 57, - } -) - -func (x EventType) Enum() *EventType { - p := new(EventType) - *p = x - return p -} - -func (x EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EventType) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_enums_v1_event_type_proto_enumTypes[0].Descriptor() -} - -func (EventType) Type() protoreflect.EnumType { - return &file_temporal_api_enums_v1_event_type_proto_enumTypes[0] -} - -func (x EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use EventType.Descriptor instead. -func (EventType) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_enums_v1_event_type_proto_rawDescGZIP(), []int{0} -} - -var File_temporal_api_enums_v1_event_type_proto protoreflect.FileDescriptor - -const file_temporal_api_enums_v1_event_type_proto_rawDesc = "" + - "\n" + - "&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x8a\x15\n" + - "\tEventType\x12\x1a\n" + - "\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12)\n" + - "%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n" + - "'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n" + - "$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n" + - "'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n" + - "\"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n" + - " EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n" + - "\"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\a\x12&\n" + - "\"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\b\x12#\n" + - "\x1fEVENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n" + - "\"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n" + - "\x12$\n" + - " EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\v\x12&\n" + - "\"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\f\x12#\n" + - "\x1fEVENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n" + - "\"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n" + - ")EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n" + - "!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n" + - "\x18EVENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n" + - "\x16EVENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n" + - "\x19EVENT_TYPE_TIMER_CANCELED\x10\x13\x122\n" + - ".EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n" + - "&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12C\n" + - "?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n" + - " temporal.api.enums.v1.NamespaceState - 18, // 1: temporal.api.errordetails.v1.NamespaceInvalidStateFailure.allowed_states:type_name -> temporal.api.enums.v1.NamespaceState - 19, // 2: temporal.api.errordetails.v1.QueryFailedFailure.failure:type_name -> temporal.api.failure.v1.Failure - 20, // 3: temporal.api.errordetails.v1.ResourceExhaustedFailure.cause:type_name -> temporal.api.enums.v1.ResourceExhaustedCause - 21, // 4: temporal.api.errordetails.v1.ResourceExhaustedFailure.scope:type_name -> temporal.api.enums.v1.ResourceExhaustedScope - 22, // 5: temporal.api.errordetails.v1.SystemWorkflowFailure.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 17, // 6: temporal.api.errordetails.v1.MultiOperationExecutionFailure.statuses:type_name -> temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus - 23, // 7: temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus.details:type_name -> google.protobuf.Any - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_temporal_api_errordetails_v1_message_proto_init() } -func file_temporal_api_errordetails_v1_message_proto_init() { - if File_temporal_api_errordetails_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_errordetails_v1_message_proto_rawDesc), len(file_temporal_api_errordetails_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 18, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_errordetails_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_errordetails_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_errordetails_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_errordetails_v1_message_proto = out.File - file_temporal_api_errordetails_v1_message_proto_goTypes = nil - file_temporal_api_errordetails_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/export/v1/message.pb.go b/build/temporal/api/export/v1/message.pb.go deleted file mode 100644 index 2a7113a..0000000 --- a/build/temporal/api/export/v1/message.pb.go +++ /dev/null @@ -1,176 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/export/v1/message.proto - -package export - -import ( - v1 "go.temporal.io/api/history/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkflowExecution struct { - state protoimpl.MessageState `protogen:"open.v1"` - History *v1.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecution) Reset() { - *x = WorkflowExecution{} - mi := &file_temporal_api_export_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecution) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecution) ProtoMessage() {} - -func (x *WorkflowExecution) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_export_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecution.ProtoReflect.Descriptor instead. -func (*WorkflowExecution) Descriptor() ([]byte, []int) { - return file_temporal_api_export_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowExecution) GetHistory() *v1.History { - if x != nil { - return x.History - } - return nil -} - -// WorkflowExecutions is used by the Cloud Export feature to deserialize -// the exported file. It encapsulates a collection of workflow execution information. -type WorkflowExecutions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*WorkflowExecution `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutions) Reset() { - *x = WorkflowExecutions{} - mi := &file_temporal_api_export_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutions) ProtoMessage() {} - -func (x *WorkflowExecutions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_export_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutions.ProtoReflect.Descriptor instead. -func (*WorkflowExecutions) Descriptor() ([]byte, []int) { - return file_temporal_api_export_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowExecutions) GetItems() []*WorkflowExecution { - if x != nil { - return x.Items - } - return nil -} - -var File_temporal_api_export_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_export_v1_message_proto_rawDesc = "" + - "\n" + - "$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto\"O\n" + - "\x11WorkflowExecution\x12:\n" + - "\ahistory\x18\x01 \x01(\v2 .temporal.api.history.v1.HistoryR\ahistory\"U\n" + - "\x12WorkflowExecutions\x12?\n" + - "\x05items\x18\x01 \x03(\v2).temporal.api.export.v1.WorkflowExecutionR\x05itemsB\x89\x01\n" + - "\x19io.temporal.api.export.v1B\fMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3" - -var ( - file_temporal_api_export_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_export_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_export_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_export_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_export_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_export_v1_message_proto_rawDesc), len(file_temporal_api_export_v1_message_proto_rawDesc))) - }) - return file_temporal_api_export_v1_message_proto_rawDescData -} - -var file_temporal_api_export_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_temporal_api_export_v1_message_proto_goTypes = []any{ - (*WorkflowExecution)(nil), // 0: temporal.api.export.v1.WorkflowExecution - (*WorkflowExecutions)(nil), // 1: temporal.api.export.v1.WorkflowExecutions - (*v1.History)(nil), // 2: temporal.api.history.v1.History -} -var file_temporal_api_export_v1_message_proto_depIdxs = []int32{ - 2, // 0: temporal.api.export.v1.WorkflowExecution.history:type_name -> temporal.api.history.v1.History - 0, // 1: temporal.api.export.v1.WorkflowExecutions.items:type_name -> temporal.api.export.v1.WorkflowExecution - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_temporal_api_export_v1_message_proto_init() } -func file_temporal_api_export_v1_message_proto_init() { - if File_temporal_api_export_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_export_v1_message_proto_rawDesc), len(file_temporal_api_export_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_export_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_export_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_export_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_export_v1_message_proto = out.File - file_temporal_api_export_v1_message_proto_goTypes = nil - file_temporal_api_export_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/failure/v1/message.pb.go b/build/temporal/api/failure/v1/message.pb.go deleted file mode 100644 index 757fa04..0000000 --- a/build/temporal/api/failure/v1/message.pb.go +++ /dev/null @@ -1,1123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/failure/v1/message.proto - -package failure - -import ( - v1 "go.temporal.io/api/common/v1" - v11 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ApplicationFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - NonRetryable bool `protobuf:"varint,2,opt,name=non_retryable,json=nonRetryable,proto3" json:"non_retryable,omitempty"` - Details *v1.Payloads `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - // next_retry_delay can be used by the client to override the activity - // retry interval calculated by the retry policy. Retry attempts will - // still be subject to the maximum retries limit and total time limit - // defined by the policy. - NextRetryDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=next_retry_delay,json=nextRetryDelay,proto3" json:"next_retry_delay,omitempty"` - Category v11.ApplicationErrorCategory `protobuf:"varint,5,opt,name=category,proto3,enum=temporal.api.enums.v1.ApplicationErrorCategory" json:"category,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ApplicationFailureInfo) Reset() { - *x = ApplicationFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ApplicationFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplicationFailureInfo) ProtoMessage() {} - -func (x *ApplicationFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplicationFailureInfo.ProtoReflect.Descriptor instead. -func (*ApplicationFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *ApplicationFailureInfo) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *ApplicationFailureInfo) GetNonRetryable() bool { - if x != nil { - return x.NonRetryable - } - return false -} - -func (x *ApplicationFailureInfo) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *ApplicationFailureInfo) GetNextRetryDelay() *durationpb.Duration { - if x != nil { - return x.NextRetryDelay - } - return nil -} - -func (x *ApplicationFailureInfo) GetCategory() v11.ApplicationErrorCategory { - if x != nil { - return x.Category - } - return v11.ApplicationErrorCategory(0) -} - -type TimeoutFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - TimeoutType v11.TimeoutType `protobuf:"varint,1,opt,name=timeout_type,json=timeoutType,proto3,enum=temporal.api.enums.v1.TimeoutType" json:"timeout_type,omitempty"` - LastHeartbeatDetails *v1.Payloads `protobuf:"bytes,2,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimeoutFailureInfo) Reset() { - *x = TimeoutFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimeoutFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeoutFailureInfo) ProtoMessage() {} - -func (x *TimeoutFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimeoutFailureInfo.ProtoReflect.Descriptor instead. -func (*TimeoutFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *TimeoutFailureInfo) GetTimeoutType() v11.TimeoutType { - if x != nil { - return x.TimeoutType - } - return v11.TimeoutType(0) -} - -func (x *TimeoutFailureInfo) GetLastHeartbeatDetails() *v1.Payloads { - if x != nil { - return x.LastHeartbeatDetails - } - return nil -} - -type CanceledFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CanceledFailureInfo) Reset() { - *x = CanceledFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CanceledFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CanceledFailureInfo) ProtoMessage() {} - -func (x *CanceledFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CanceledFailureInfo.ProtoReflect.Descriptor instead. -func (*CanceledFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *CanceledFailureInfo) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -type TerminatedFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TerminatedFailureInfo) Reset() { - *x = TerminatedFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TerminatedFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TerminatedFailureInfo) ProtoMessage() {} - -func (x *TerminatedFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TerminatedFailureInfo.ProtoReflect.Descriptor instead. -func (*TerminatedFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{3} -} - -type ServerFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - NonRetryable bool `protobuf:"varint,1,opt,name=non_retryable,json=nonRetryable,proto3" json:"non_retryable,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServerFailureInfo) Reset() { - *x = ServerFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServerFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerFailureInfo) ProtoMessage() {} - -func (x *ServerFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerFailureInfo.ProtoReflect.Descriptor instead. -func (*ServerFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *ServerFailureInfo) GetNonRetryable() bool { - if x != nil { - return x.NonRetryable - } - return false -} - -type ResetWorkflowFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - LastHeartbeatDetails *v1.Payloads `protobuf:"bytes,1,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetWorkflowFailureInfo) Reset() { - *x = ResetWorkflowFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetWorkflowFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetWorkflowFailureInfo) ProtoMessage() {} - -func (x *ResetWorkflowFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetWorkflowFailureInfo.ProtoReflect.Descriptor instead. -func (*ResetWorkflowFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *ResetWorkflowFailureInfo) GetLastHeartbeatDetails() *v1.Payloads { - if x != nil { - return x.LastHeartbeatDetails - } - return nil -} - -type ActivityFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - ActivityType *v1.ActivityType `protobuf:"bytes,4,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` - ActivityId string `protobuf:"bytes,5,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - RetryState v11.RetryState `protobuf:"varint,6,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityFailureInfo) Reset() { - *x = ActivityFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityFailureInfo) ProtoMessage() {} - -func (x *ActivityFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityFailureInfo.ProtoReflect.Descriptor instead. -func (*ActivityFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *ActivityFailureInfo) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityFailureInfo) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ActivityFailureInfo) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *ActivityFailureInfo) GetActivityType() *v1.ActivityType { - if x != nil { - return x.ActivityType - } - return nil -} - -func (x *ActivityFailureInfo) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *ActivityFailureInfo) GetRetryState() v11.RetryState { - if x != nil { - return x.RetryState - } - return v11.RetryState(0) -} - -type ChildWorkflowExecutionFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - RetryState v11.RetryState `protobuf:"varint,6,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionFailureInfo) Reset() { - *x = ChildWorkflowExecutionFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionFailureInfo) ProtoMessage() {} - -func (x *ChildWorkflowExecutionFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionFailureInfo.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *ChildWorkflowExecutionFailureInfo) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionFailureInfo) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionFailureInfo) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionFailureInfo) GetRetryState() v11.RetryState { - if x != nil { - return x.RetryState - } - return v11.RetryState(0) -} - -type NexusOperationFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The NexusOperationScheduled event ID. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Endpoint name. - Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // Service name. - Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` - // Operation name. - Operation string `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"` - // Operation ID - may be empty if the operation completed synchronously. - // - // Deprecated. Renamed to operation_token. - // - // Deprecated: Marked as deprecated in temporal/api/failure/v1/message.proto. - OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Operation token - may be empty if the operation completed synchronously. - OperationToken string `protobuf:"bytes,6,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationFailureInfo) Reset() { - *x = NexusOperationFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationFailureInfo) ProtoMessage() {} - -func (x *NexusOperationFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationFailureInfo.ProtoReflect.Descriptor instead. -func (*NexusOperationFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *NexusOperationFailureInfo) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationFailureInfo) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *NexusOperationFailureInfo) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *NexusOperationFailureInfo) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/failure/v1/message.proto. -func (x *NexusOperationFailureInfo) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -func (x *NexusOperationFailureInfo) GetOperationToken() string { - if x != nil { - return x.OperationToken - } - return "" -} - -type NexusHandlerFailureInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The Nexus error type as defined in the spec: - // https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Retry behavior, defaults to the retry behavior of the error type as defined in the spec. - RetryBehavior v11.NexusHandlerErrorRetryBehavior `protobuf:"varint,2,opt,name=retry_behavior,json=retryBehavior,proto3,enum=temporal.api.enums.v1.NexusHandlerErrorRetryBehavior" json:"retry_behavior,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusHandlerFailureInfo) Reset() { - *x = NexusHandlerFailureInfo{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusHandlerFailureInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusHandlerFailureInfo) ProtoMessage() {} - -func (x *NexusHandlerFailureInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusHandlerFailureInfo.ProtoReflect.Descriptor instead. -func (*NexusHandlerFailureInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *NexusHandlerFailureInfo) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *NexusHandlerFailureInfo) GetRetryBehavior() v11.NexusHandlerErrorRetryBehavior { - if x != nil { - return x.RetryBehavior - } - return v11.NexusHandlerErrorRetryBehavior(0) -} - -type Failure struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - // The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK - // In some SDKs this is used to rehydrate the stack trace into an exception object. - Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` - // Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of - // errors originating in user code which might contain sensitive information. - // The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto - // message. - // - // SDK authors: - // - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that: - // - Uses a JSON object to represent `{ message, stack_trace }`. - // - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted. - // - Overwrites the original stack_trace with an empty string. - // - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed - // by the user-provided PayloadCodec - // - // - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes. - // (-- api-linter: core::0203::optional=disabled --) - EncodedAttributes *v1.Payload `protobuf:"bytes,20,opt,name=encoded_attributes,json=encodedAttributes,proto3" json:"encoded_attributes,omitempty"` - Cause *Failure `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause,omitempty"` - // Types that are valid to be assigned to FailureInfo: - // - // *Failure_ApplicationFailureInfo - // *Failure_TimeoutFailureInfo - // *Failure_CanceledFailureInfo - // *Failure_TerminatedFailureInfo - // *Failure_ServerFailureInfo - // *Failure_ResetWorkflowFailureInfo - // *Failure_ActivityFailureInfo - // *Failure_ChildWorkflowExecutionFailureInfo - // *Failure_NexusOperationExecutionFailureInfo - // *Failure_NexusHandlerFailureInfo - FailureInfo isFailure_FailureInfo `protobuf_oneof:"failure_info"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Failure) Reset() { - *x = Failure{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Failure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Failure) ProtoMessage() {} - -func (x *Failure) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Failure.ProtoReflect.Descriptor instead. -func (*Failure) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *Failure) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Failure) GetSource() string { - if x != nil { - return x.Source - } - return "" -} - -func (x *Failure) GetStackTrace() string { - if x != nil { - return x.StackTrace - } - return "" -} - -func (x *Failure) GetEncodedAttributes() *v1.Payload { - if x != nil { - return x.EncodedAttributes - } - return nil -} - -func (x *Failure) GetCause() *Failure { - if x != nil { - return x.Cause - } - return nil -} - -func (x *Failure) GetFailureInfo() isFailure_FailureInfo { - if x != nil { - return x.FailureInfo - } - return nil -} - -func (x *Failure) GetApplicationFailureInfo() *ApplicationFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_ApplicationFailureInfo); ok { - return x.ApplicationFailureInfo - } - } - return nil -} - -func (x *Failure) GetTimeoutFailureInfo() *TimeoutFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_TimeoutFailureInfo); ok { - return x.TimeoutFailureInfo - } - } - return nil -} - -func (x *Failure) GetCanceledFailureInfo() *CanceledFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_CanceledFailureInfo); ok { - return x.CanceledFailureInfo - } - } - return nil -} - -func (x *Failure) GetTerminatedFailureInfo() *TerminatedFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_TerminatedFailureInfo); ok { - return x.TerminatedFailureInfo - } - } - return nil -} - -func (x *Failure) GetServerFailureInfo() *ServerFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_ServerFailureInfo); ok { - return x.ServerFailureInfo - } - } - return nil -} - -func (x *Failure) GetResetWorkflowFailureInfo() *ResetWorkflowFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_ResetWorkflowFailureInfo); ok { - return x.ResetWorkflowFailureInfo - } - } - return nil -} - -func (x *Failure) GetActivityFailureInfo() *ActivityFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_ActivityFailureInfo); ok { - return x.ActivityFailureInfo - } - } - return nil -} - -func (x *Failure) GetChildWorkflowExecutionFailureInfo() *ChildWorkflowExecutionFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_ChildWorkflowExecutionFailureInfo); ok { - return x.ChildWorkflowExecutionFailureInfo - } - } - return nil -} - -func (x *Failure) GetNexusOperationExecutionFailureInfo() *NexusOperationFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_NexusOperationExecutionFailureInfo); ok { - return x.NexusOperationExecutionFailureInfo - } - } - return nil -} - -func (x *Failure) GetNexusHandlerFailureInfo() *NexusHandlerFailureInfo { - if x != nil { - if x, ok := x.FailureInfo.(*Failure_NexusHandlerFailureInfo); ok { - return x.NexusHandlerFailureInfo - } - } - return nil -} - -type isFailure_FailureInfo interface { - isFailure_FailureInfo() -} - -type Failure_ApplicationFailureInfo struct { - ApplicationFailureInfo *ApplicationFailureInfo `protobuf:"bytes,5,opt,name=application_failure_info,json=applicationFailureInfo,proto3,oneof"` -} - -type Failure_TimeoutFailureInfo struct { - TimeoutFailureInfo *TimeoutFailureInfo `protobuf:"bytes,6,opt,name=timeout_failure_info,json=timeoutFailureInfo,proto3,oneof"` -} - -type Failure_CanceledFailureInfo struct { - CanceledFailureInfo *CanceledFailureInfo `protobuf:"bytes,7,opt,name=canceled_failure_info,json=canceledFailureInfo,proto3,oneof"` -} - -type Failure_TerminatedFailureInfo struct { - TerminatedFailureInfo *TerminatedFailureInfo `protobuf:"bytes,8,opt,name=terminated_failure_info,json=terminatedFailureInfo,proto3,oneof"` -} - -type Failure_ServerFailureInfo struct { - ServerFailureInfo *ServerFailureInfo `protobuf:"bytes,9,opt,name=server_failure_info,json=serverFailureInfo,proto3,oneof"` -} - -type Failure_ResetWorkflowFailureInfo struct { - ResetWorkflowFailureInfo *ResetWorkflowFailureInfo `protobuf:"bytes,10,opt,name=reset_workflow_failure_info,json=resetWorkflowFailureInfo,proto3,oneof"` -} - -type Failure_ActivityFailureInfo struct { - ActivityFailureInfo *ActivityFailureInfo `protobuf:"bytes,11,opt,name=activity_failure_info,json=activityFailureInfo,proto3,oneof"` -} - -type Failure_ChildWorkflowExecutionFailureInfo struct { - ChildWorkflowExecutionFailureInfo *ChildWorkflowExecutionFailureInfo `protobuf:"bytes,12,opt,name=child_workflow_execution_failure_info,json=childWorkflowExecutionFailureInfo,proto3,oneof"` -} - -type Failure_NexusOperationExecutionFailureInfo struct { - NexusOperationExecutionFailureInfo *NexusOperationFailureInfo `protobuf:"bytes,13,opt,name=nexus_operation_execution_failure_info,json=nexusOperationExecutionFailureInfo,proto3,oneof"` -} - -type Failure_NexusHandlerFailureInfo struct { - NexusHandlerFailureInfo *NexusHandlerFailureInfo `protobuf:"bytes,14,opt,name=nexus_handler_failure_info,json=nexusHandlerFailureInfo,proto3,oneof"` -} - -func (*Failure_ApplicationFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_TimeoutFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_CanceledFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_TerminatedFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_ServerFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_ResetWorkflowFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_ActivityFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_ChildWorkflowExecutionFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_NexusOperationExecutionFailureInfo) isFailure_FailureInfo() {} - -func (*Failure_NexusHandlerFailureInfo) isFailure_FailureInfo() {} - -type MultiOperationExecutionAborted struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MultiOperationExecutionAborted) Reset() { - *x = MultiOperationExecutionAborted{} - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MultiOperationExecutionAborted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiOperationExecutionAborted) ProtoMessage() {} - -func (x *MultiOperationExecutionAborted) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_failure_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiOperationExecutionAborted.ProtoReflect.Descriptor instead. -func (*MultiOperationExecutionAborted) Descriptor() ([]byte, []int) { - return file_temporal_api_failure_v1_message_proto_rawDescGZIP(), []int{11} -} - -var File_temporal_api_failure_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_failure_v1_message_proto_rawDesc = "" + - "\n" + - "%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a\"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\"\x9f\x02\n" + - "\x16ApplicationFailureInfo\x12\x12\n" + - "\x04type\x18\x01 \x01(\tR\x04type\x12#\n" + - "\rnon_retryable\x18\x02 \x01(\bR\fnonRetryable\x12:\n" + - "\adetails\x18\x03 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12C\n" + - "\x10next_retry_delay\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x0enextRetryDelay\x12K\n" + - "\bcategory\x18\x05 \x01(\x0e2/.temporal.api.enums.v1.ApplicationErrorCategoryR\bcategory\"\xb3\x01\n" + - "\x12TimeoutFailureInfo\x12E\n" + - "\ftimeout_type\x18\x01 \x01(\x0e2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType\x12V\n" + - "\x16last_heartbeat_details\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastHeartbeatDetails\"Q\n" + - "\x13CanceledFailureInfo\x12:\n" + - "\adetails\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\x17\n" + - "\x15TerminatedFailureInfo\"8\n" + - "\x11ServerFailureInfo\x12#\n" + - "\rnon_retryable\x18\x01 \x01(\bR\fnonRetryable\"r\n" + - "\x18ResetWorkflowFailureInfo\x12V\n" + - "\x16last_heartbeat_details\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastHeartbeatDetails\"\xb9\x02\n" + - "\x13ActivityFailureInfo\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12I\n" + - "\ractivity_type\x18\x04 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12\x1f\n" + - "\vactivity_id\x18\x05 \x01(\tR\n" + - "activityId\x12B\n" + - "\vretry_state\x18\x06 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\"\x82\x03\n" + - "!ChildWorkflowExecutionFailureInfo\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x04 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x05 \x01(\x03R\x0estartedEventId\x12B\n" + - "\vretry_state\x18\x06 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\"\xed\x01\n" + - "\x19NexusOperationFailureInfo\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12\x1a\n" + - "\bendpoint\x18\x02 \x01(\tR\bendpoint\x12\x18\n" + - "\aservice\x18\x03 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x04 \x01(\tR\toperation\x12%\n" + - "\foperation_id\x18\x05 \x01(\tB\x02\x18\x01R\voperationId\x12'\n" + - "\x0foperation_token\x18\x06 \x01(\tR\x0eoperationToken\"\x8b\x01\n" + - "\x17NexusHandlerFailureInfo\x12\x12\n" + - "\x04type\x18\x01 \x01(\tR\x04type\x12\\\n" + - "\x0eretry_behavior\x18\x02 \x01(\x0e25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior\"\xd3\n" + - "\n" + - "\aFailure\x12\x18\n" + - "\amessage\x18\x01 \x01(\tR\amessage\x12\x16\n" + - "\x06source\x18\x02 \x01(\tR\x06source\x12\x1f\n" + - "\vstack_trace\x18\x03 \x01(\tR\n" + - "stackTrace\x12N\n" + - "\x12encoded_attributes\x18\x14 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x11encodedAttributes\x126\n" + - "\x05cause\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\x05cause\x12k\n" + - "\x18application_failure_info\x18\x05 \x01(\v2/.temporal.api.failure.v1.ApplicationFailureInfoH\x00R\x16applicationFailureInfo\x12_\n" + - "\x14timeout_failure_info\x18\x06 \x01(\v2+.temporal.api.failure.v1.TimeoutFailureInfoH\x00R\x12timeoutFailureInfo\x12b\n" + - "\x15canceled_failure_info\x18\a \x01(\v2,.temporal.api.failure.v1.CanceledFailureInfoH\x00R\x13canceledFailureInfo\x12h\n" + - "\x17terminated_failure_info\x18\b \x01(\v2..temporal.api.failure.v1.TerminatedFailureInfoH\x00R\x15terminatedFailureInfo\x12\\\n" + - "\x13server_failure_info\x18\t \x01(\v2*.temporal.api.failure.v1.ServerFailureInfoH\x00R\x11serverFailureInfo\x12r\n" + - "\x1breset_workflow_failure_info\x18\n" + - " \x01(\v21.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00R\x18resetWorkflowFailureInfo\x12b\n" + - "\x15activity_failure_info\x18\v \x01(\v2,.temporal.api.failure.v1.ActivityFailureInfoH\x00R\x13activityFailureInfo\x12\x8e\x01\n" + - "%child_workflow_execution_failure_info\x18\f \x01(\v2:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00R!childWorkflowExecutionFailureInfo\x12\x88\x01\n" + - "&nexus_operation_execution_failure_info\x18\r \x01(\v22.temporal.api.failure.v1.NexusOperationFailureInfoH\x00R\"nexusOperationExecutionFailureInfo\x12o\n" + - "\x1anexus_handler_failure_info\x18\x0e \x01(\v20.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00R\x17nexusHandlerFailureInfoB\x0e\n" + - "\ffailure_info\" \n" + - "\x1eMultiOperationExecutionAbortedB\x8e\x01\n" + - "\x1aio.temporal.api.failure.v1B\fMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3" - -var ( - file_temporal_api_failure_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_failure_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_failure_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_failure_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_failure_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_failure_v1_message_proto_rawDesc), len(file_temporal_api_failure_v1_message_proto_rawDesc))) - }) - return file_temporal_api_failure_v1_message_proto_rawDescData -} - -var file_temporal_api_failure_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_temporal_api_failure_v1_message_proto_goTypes = []any{ - (*ApplicationFailureInfo)(nil), // 0: temporal.api.failure.v1.ApplicationFailureInfo - (*TimeoutFailureInfo)(nil), // 1: temporal.api.failure.v1.TimeoutFailureInfo - (*CanceledFailureInfo)(nil), // 2: temporal.api.failure.v1.CanceledFailureInfo - (*TerminatedFailureInfo)(nil), // 3: temporal.api.failure.v1.TerminatedFailureInfo - (*ServerFailureInfo)(nil), // 4: temporal.api.failure.v1.ServerFailureInfo - (*ResetWorkflowFailureInfo)(nil), // 5: temporal.api.failure.v1.ResetWorkflowFailureInfo - (*ActivityFailureInfo)(nil), // 6: temporal.api.failure.v1.ActivityFailureInfo - (*ChildWorkflowExecutionFailureInfo)(nil), // 7: temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo - (*NexusOperationFailureInfo)(nil), // 8: temporal.api.failure.v1.NexusOperationFailureInfo - (*NexusHandlerFailureInfo)(nil), // 9: temporal.api.failure.v1.NexusHandlerFailureInfo - (*Failure)(nil), // 10: temporal.api.failure.v1.Failure - (*MultiOperationExecutionAborted)(nil), // 11: temporal.api.failure.v1.MultiOperationExecutionAborted - (*v1.Payloads)(nil), // 12: temporal.api.common.v1.Payloads - (*durationpb.Duration)(nil), // 13: google.protobuf.Duration - (v11.ApplicationErrorCategory)(0), // 14: temporal.api.enums.v1.ApplicationErrorCategory - (v11.TimeoutType)(0), // 15: temporal.api.enums.v1.TimeoutType - (*v1.ActivityType)(nil), // 16: temporal.api.common.v1.ActivityType - (v11.RetryState)(0), // 17: temporal.api.enums.v1.RetryState - (*v1.WorkflowExecution)(nil), // 18: temporal.api.common.v1.WorkflowExecution - (*v1.WorkflowType)(nil), // 19: temporal.api.common.v1.WorkflowType - (v11.NexusHandlerErrorRetryBehavior)(0), // 20: temporal.api.enums.v1.NexusHandlerErrorRetryBehavior - (*v1.Payload)(nil), // 21: temporal.api.common.v1.Payload -} -var file_temporal_api_failure_v1_message_proto_depIdxs = []int32{ - 12, // 0: temporal.api.failure.v1.ApplicationFailureInfo.details:type_name -> temporal.api.common.v1.Payloads - 13, // 1: temporal.api.failure.v1.ApplicationFailureInfo.next_retry_delay:type_name -> google.protobuf.Duration - 14, // 2: temporal.api.failure.v1.ApplicationFailureInfo.category:type_name -> temporal.api.enums.v1.ApplicationErrorCategory - 15, // 3: temporal.api.failure.v1.TimeoutFailureInfo.timeout_type:type_name -> temporal.api.enums.v1.TimeoutType - 12, // 4: temporal.api.failure.v1.TimeoutFailureInfo.last_heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 12, // 5: temporal.api.failure.v1.CanceledFailureInfo.details:type_name -> temporal.api.common.v1.Payloads - 12, // 6: temporal.api.failure.v1.ResetWorkflowFailureInfo.last_heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 16, // 7: temporal.api.failure.v1.ActivityFailureInfo.activity_type:type_name -> temporal.api.common.v1.ActivityType - 17, // 8: temporal.api.failure.v1.ActivityFailureInfo.retry_state:type_name -> temporal.api.enums.v1.RetryState - 18, // 9: temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 19, // 10: temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 17, // 11: temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo.retry_state:type_name -> temporal.api.enums.v1.RetryState - 20, // 12: temporal.api.failure.v1.NexusHandlerFailureInfo.retry_behavior:type_name -> temporal.api.enums.v1.NexusHandlerErrorRetryBehavior - 21, // 13: temporal.api.failure.v1.Failure.encoded_attributes:type_name -> temporal.api.common.v1.Payload - 10, // 14: temporal.api.failure.v1.Failure.cause:type_name -> temporal.api.failure.v1.Failure - 0, // 15: temporal.api.failure.v1.Failure.application_failure_info:type_name -> temporal.api.failure.v1.ApplicationFailureInfo - 1, // 16: temporal.api.failure.v1.Failure.timeout_failure_info:type_name -> temporal.api.failure.v1.TimeoutFailureInfo - 2, // 17: temporal.api.failure.v1.Failure.canceled_failure_info:type_name -> temporal.api.failure.v1.CanceledFailureInfo - 3, // 18: temporal.api.failure.v1.Failure.terminated_failure_info:type_name -> temporal.api.failure.v1.TerminatedFailureInfo - 4, // 19: temporal.api.failure.v1.Failure.server_failure_info:type_name -> temporal.api.failure.v1.ServerFailureInfo - 5, // 20: temporal.api.failure.v1.Failure.reset_workflow_failure_info:type_name -> temporal.api.failure.v1.ResetWorkflowFailureInfo - 6, // 21: temporal.api.failure.v1.Failure.activity_failure_info:type_name -> temporal.api.failure.v1.ActivityFailureInfo - 7, // 22: temporal.api.failure.v1.Failure.child_workflow_execution_failure_info:type_name -> temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo - 8, // 23: temporal.api.failure.v1.Failure.nexus_operation_execution_failure_info:type_name -> temporal.api.failure.v1.NexusOperationFailureInfo - 9, // 24: temporal.api.failure.v1.Failure.nexus_handler_failure_info:type_name -> temporal.api.failure.v1.NexusHandlerFailureInfo - 25, // [25:25] is the sub-list for method output_type - 25, // [25:25] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name -} - -func init() { file_temporal_api_failure_v1_message_proto_init() } -func file_temporal_api_failure_v1_message_proto_init() { - if File_temporal_api_failure_v1_message_proto != nil { - return - } - file_temporal_api_failure_v1_message_proto_msgTypes[10].OneofWrappers = []any{ - (*Failure_ApplicationFailureInfo)(nil), - (*Failure_TimeoutFailureInfo)(nil), - (*Failure_CanceledFailureInfo)(nil), - (*Failure_TerminatedFailureInfo)(nil), - (*Failure_ServerFailureInfo)(nil), - (*Failure_ResetWorkflowFailureInfo)(nil), - (*Failure_ActivityFailureInfo)(nil), - (*Failure_ChildWorkflowExecutionFailureInfo)(nil), - (*Failure_NexusOperationExecutionFailureInfo)(nil), - (*Failure_NexusHandlerFailureInfo)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_failure_v1_message_proto_rawDesc), len(file_temporal_api_failure_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 12, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_failure_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_failure_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_failure_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_failure_v1_message_proto = out.File - file_temporal_api_failure_v1_message_proto_goTypes = nil - file_temporal_api_failure_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/filter/v1/message.pb.go b/build/temporal/api/filter/v1/message.pb.go deleted file mode 100644 index 836bb15..0000000 --- a/build/temporal/api/filter/v1/message.pb.go +++ /dev/null @@ -1,291 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/filter/v1/message.proto - -package filter - -import ( - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkflowExecutionFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionFilter) Reset() { - *x = WorkflowExecutionFilter{} - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionFilter) ProtoMessage() {} - -func (x *WorkflowExecutionFilter) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionFilter.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionFilter) Descriptor() ([]byte, []int) { - return file_temporal_api_filter_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowExecutionFilter) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *WorkflowExecutionFilter) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -type WorkflowTypeFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTypeFilter) Reset() { - *x = WorkflowTypeFilter{} - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTypeFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTypeFilter) ProtoMessage() {} - -func (x *WorkflowTypeFilter) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTypeFilter.ProtoReflect.Descriptor instead. -func (*WorkflowTypeFilter) Descriptor() ([]byte, []int) { - return file_temporal_api_filter_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowTypeFilter) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type StartTimeFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - EarliestTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=earliest_time,json=earliestTime,proto3" json:"earliest_time,omitempty"` - LatestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartTimeFilter) Reset() { - *x = StartTimeFilter{} - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartTimeFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartTimeFilter) ProtoMessage() {} - -func (x *StartTimeFilter) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartTimeFilter.ProtoReflect.Descriptor instead. -func (*StartTimeFilter) Descriptor() ([]byte, []int) { - return file_temporal_api_filter_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *StartTimeFilter) GetEarliestTime() *timestamppb.Timestamp { - if x != nil { - return x.EarliestTime - } - return nil -} - -func (x *StartTimeFilter) GetLatestTime() *timestamppb.Timestamp { - if x != nil { - return x.LatestTime - } - return nil -} - -type StatusFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status v1.WorkflowExecutionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StatusFilter) Reset() { - *x = StatusFilter{} - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StatusFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StatusFilter) ProtoMessage() {} - -func (x *StatusFilter) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_filter_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StatusFilter.ProtoReflect.Descriptor instead. -func (*StatusFilter) Descriptor() ([]byte, []int) { - return file_temporal_api_filter_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *StatusFilter) GetStatus() v1.WorkflowExecutionStatus { - if x != nil { - return x.Status - } - return v1.WorkflowExecutionStatus(0) -} - -var File_temporal_api_filter_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_filter_v1_message_proto_rawDesc = "" + - "\n" + - "$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\"Q\n" + - "\x17WorkflowExecutionFilter\x12\x1f\n" + - "\vworkflow_id\x18\x01 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x02 \x01(\tR\x05runId\"(\n" + - "\x12WorkflowTypeFilter\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\"\x8f\x01\n" + - "\x0fStartTimeFilter\x12?\n" + - "\rearliest_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\fearliestTime\x12;\n" + - "\vlatest_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "latestTime\"V\n" + - "\fStatusFilter\x12F\n" + - "\x06status\x18\x01 \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06statusB\x89\x01\n" + - "\x19io.temporal.api.filter.v1B\fMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3" - -var ( - file_temporal_api_filter_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_filter_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_filter_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_filter_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_filter_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_filter_v1_message_proto_rawDesc), len(file_temporal_api_filter_v1_message_proto_rawDesc))) - }) - return file_temporal_api_filter_v1_message_proto_rawDescData -} - -var file_temporal_api_filter_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_temporal_api_filter_v1_message_proto_goTypes = []any{ - (*WorkflowExecutionFilter)(nil), // 0: temporal.api.filter.v1.WorkflowExecutionFilter - (*WorkflowTypeFilter)(nil), // 1: temporal.api.filter.v1.WorkflowTypeFilter - (*StartTimeFilter)(nil), // 2: temporal.api.filter.v1.StartTimeFilter - (*StatusFilter)(nil), // 3: temporal.api.filter.v1.StatusFilter - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (v1.WorkflowExecutionStatus)(0), // 5: temporal.api.enums.v1.WorkflowExecutionStatus -} -var file_temporal_api_filter_v1_message_proto_depIdxs = []int32{ - 4, // 0: temporal.api.filter.v1.StartTimeFilter.earliest_time:type_name -> google.protobuf.Timestamp - 4, // 1: temporal.api.filter.v1.StartTimeFilter.latest_time:type_name -> google.protobuf.Timestamp - 5, // 2: temporal.api.filter.v1.StatusFilter.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_temporal_api_filter_v1_message_proto_init() } -func file_temporal_api_filter_v1_message_proto_init() { - if File_temporal_api_filter_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_filter_v1_message_proto_rawDesc), len(file_temporal_api_filter_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_filter_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_filter_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_filter_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_filter_v1_message_proto = out.File - file_temporal_api_filter_v1_message_proto_goTypes = nil - file_temporal_api_filter_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/history/v1/message.pb.go b/build/temporal/api/history/v1/message.pb.go deleted file mode 100644 index ff6f3a9..0000000 --- a/build/temporal/api/history/v1/message.pb.go +++ /dev/null @@ -1,7380 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/history/v1/message.proto - -package history - -import ( - v1 "go.temporal.io/api/common/v1" - v15 "go.temporal.io/api/deployment/v1" - v12 "go.temporal.io/api/enums/v1" - v13 "go.temporal.io/api/failure/v1" - v16 "go.temporal.io/api/sdk/v1" - v11 "go.temporal.io/api/taskqueue/v1" - v17 "go.temporal.io/api/update/v1" - v14 "go.temporal.io/api/workflow/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Always the first event in workflow history -type WorkflowExecutionStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // If this workflow is a child, the namespace our parent lives in. - // SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only. - ParentWorkflowNamespace string `protobuf:"bytes,2,opt,name=parent_workflow_namespace,json=parentWorkflowNamespace,proto3" json:"parent_workflow_namespace,omitempty"` - ParentWorkflowNamespaceId string `protobuf:"bytes,27,opt,name=parent_workflow_namespace_id,json=parentWorkflowNamespaceId,proto3" json:"parent_workflow_namespace_id,omitempty"` - // Contains information about parent workflow execution that initiated the child workflow these attributes belong to. - // If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated. - ParentWorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=parent_workflow_execution,json=parentWorkflowExecution,proto3" json:"parent_workflow_execution,omitempty"` - // EventID of the child execution initiated event in parent workflow - ParentInitiatedEventId int64 `protobuf:"varint,4,opt,name=parent_initiated_event_id,json=parentInitiatedEventId,proto3" json:"parent_initiated_event_id,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,5,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // SDK will deserialize this and provide it as arguments to the workflow function - Input *v1.Payloads `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new. - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // Run id of the previous workflow which continued-as-new or retried or cron executed into this - // workflow. - ContinuedExecutionRunId string `protobuf:"bytes,10,opt,name=continued_execution_run_id,json=continuedExecutionRunId,proto3" json:"continued_execution_run_id,omitempty"` - Initiator v12.ContinueAsNewInitiator `protobuf:"varint,11,opt,name=initiator,proto3,enum=temporal.api.enums.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` - ContinuedFailure *v13.Failure `protobuf:"bytes,12,opt,name=continued_failure,json=continuedFailure,proto3" json:"continued_failure,omitempty"` - LastCompletionResult *v1.Payloads `protobuf:"bytes,13,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` - // This is the run id when the WorkflowExecutionStarted event was written. - // A workflow reset changes the execution run_id, but preserves this field. - OriginalExecutionRunId string `protobuf:"bytes,14,opt,name=original_execution_run_id,json=originalExecutionRunId,proto3" json:"original_execution_run_id,omitempty"` - // Identity of the client who requested this execution - Identity string `protobuf:"bytes,15,opt,name=identity,proto3" json:"identity,omitempty"` - // This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. - // Used to identify a chain. - FirstExecutionRunId string `protobuf:"bytes,16,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,17,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // Starting at 1, the number of times we have tried to execute this workflow - Attempt int32 `protobuf:"varint,18,opt,name=attempt,proto3" json:"attempt,omitempty"` - // The absolute time at which the workflow will be timed out. - // This is passed without change to the next run/retry of a workflow. - WorkflowExecutionExpirationTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=workflow_execution_expiration_time,json=workflowExecutionExpirationTime,proto3" json:"workflow_execution_expiration_time,omitempty"` - // If this workflow runs on a cron schedule, it will appear here - CronSchedule string `protobuf:"bytes,20,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - // For a cron workflow, this contains the amount of time between when this iteration of - // the cron workflow was scheduled and when it should run next per its cron_schedule. - FirstWorkflowTaskBackoff *durationpb.Duration `protobuf:"bytes,21,opt,name=first_workflow_task_backoff,json=firstWorkflowTaskBackoff,proto3" json:"first_workflow_task_backoff,omitempty"` - Memo *v1.Memo `protobuf:"bytes,22,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,23,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - PrevAutoResetPoints *v14.ResetPoints `protobuf:"bytes,24,opt,name=prev_auto_reset_points,json=prevAutoResetPoints,proto3" json:"prev_auto_reset_points,omitempty"` - Header *v1.Header `protobuf:"bytes,25,opt,name=header,proto3" json:"header,omitempty"` - // Version of the child execution initiated event in parent workflow - // It should be used together with parent_initiated_event_id to identify - // a child initiated event for global namespace - ParentInitiatedEventVersion int64 `protobuf:"varint,26,opt,name=parent_initiated_event_version,json=parentInitiatedEventVersion,proto3" json:"parent_initiated_event_version,omitempty"` - // This field is new in 1.21. - WorkflowId string `protobuf:"bytes,28,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // If this workflow intends to use anything other than the current overall default version for - // the queue, then we include it here. - // Deprecated. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - SourceVersionStamp *v1.WorkerVersionStamp `protobuf:"bytes,29,opt,name=source_version_stamp,json=sourceVersionStamp,proto3" json:"source_version_stamp,omitempty"` - // Completion callbacks attached when this workflow was started. - CompletionCallbacks []*v1.Callback `protobuf:"bytes,30,rep,name=completion_callbacks,json=completionCallbacks,proto3" json:"completion_callbacks,omitempty"` - // Contains information about the root workflow execution. - // The root workflow execution is defined as follows: - // 1. A workflow without parent workflow is its own root workflow. - // 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. - // - // When the workflow is its own root workflow, then root_workflow_execution is nil. - // Note: workflows continued as new or reseted may or may not have parents, check examples below. - // - // Examples: - // - // Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - // - The root workflow of all three workflows is W1. - // - W1 has root_workflow_execution set to nil. - // - W2 and W3 have root_workflow_execution set to W1. - // Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - // - The root workflow of all three workflows is W1. - // - W1 has root_workflow_execution set to nil. - // - W2 and W3 have root_workflow_execution set to W1. - // Scenario 3: Workflow W1 continued as new W2. - // - The root workflow of W1 is W1 and the root workflow of W2 is W2. - // - W1 and W2 have root_workflow_execution set to nil. - // Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - // - The root workflow of all three workflows is W1. - // - W1 has root_workflow_execution set to nil. - // - W2 and W3 have root_workflow_execution set to W1. - // Scenario 5: Workflow W1 is reseted, creating W2. - // - The root workflow of W1 is W1 and the root workflow of W2 is W2. - // - W1 and W2 have root_workflow_execution set to nil. - RootWorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,31,opt,name=root_workflow_execution,json=rootWorkflowExecution,proto3" json:"root_workflow_execution,omitempty"` - // When present, this execution is assigned to the build ID of its parent or previous execution. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - InheritedBuildId string `protobuf:"bytes,32,opt,name=inherited_build_id,json=inheritedBuildId,proto3" json:"inherited_build_id,omitempty"` - // Versioning override applied to this workflow when it was started. - // Children, crons, retries, and continue-as-new will inherit source run's override if pinned - // and if the new workflow's Task Queue belongs to the override version. - VersioningOverride *v14.VersioningOverride `protobuf:"bytes,33,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // When present, it means this is a child workflow of a parent that is Pinned to this Worker - // Deployment Version. In this case, child workflow will start as Pinned to this Version instead - // of starting on the Current Version of its Task Queue. - // This is set only if the child workflow is starting on a Task Queue belonging to the same - // Worker Deployment Version. - // Deprecated. Use `parent_versioning_info`. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - ParentPinnedWorkerDeploymentVersion string `protobuf:"bytes,34,opt,name=parent_pinned_worker_deployment_version,json=parentPinnedWorkerDeploymentVersion,proto3" json:"parent_pinned_worker_deployment_version,omitempty"` - // Priority metadata - Priority *v1.Priority `protobuf:"bytes,35,opt,name=priority,proto3" json:"priority,omitempty"` - // If present, the new workflow should start on this version with pinned base behavior. - // Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. - // - // New run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the - // new run's Task Queue belongs to that version. - // - // New run initiated by workflow Cron will never inherit. - // - // New run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time - // of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned - // parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). - // - // Pinned override is inherited if Task Queue of new run is compatible with the override version. - // Override is inherited separately and takes precedence over inherited base version. - InheritedPinnedVersion *v15.WorkerDeploymentVersion `protobuf:"bytes,37,opt,name=inherited_pinned_version,json=inheritedPinnedVersion,proto3" json:"inherited_pinned_version,omitempty"` - // A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and - // eager execution was accepted by the server. - // Only populated by server with version >= 1.29.0. - EagerExecutionAccepted bool `protobuf:"varint,38,opt,name=eager_execution_accepted,json=eagerExecutionAccepted,proto3" json:"eager_execution_accepted,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionStartedEventAttributes) Reset() { - *x = WorkflowExecutionStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionStartedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetParentWorkflowNamespace() string { - if x != nil { - return x.ParentWorkflowNamespace - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetParentWorkflowNamespaceId() string { - if x != nil { - return x.ParentWorkflowNamespaceId - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetParentWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.ParentWorkflowExecution - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetParentInitiatedEventId() int64 { - if x != nil { - return x.ParentInitiatedEventId - } - return 0 -} - -func (x *WorkflowExecutionStartedEventAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetContinuedExecutionRunId() string { - if x != nil { - return x.ContinuedExecutionRunId - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetInitiator() v12.ContinueAsNewInitiator { - if x != nil { - return x.Initiator - } - return v12.ContinueAsNewInitiator(0) -} - -func (x *WorkflowExecutionStartedEventAttributes) GetContinuedFailure() *v13.Failure { - if x != nil { - return x.ContinuedFailure - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetLastCompletionResult() *v1.Payloads { - if x != nil { - return x.LastCompletionResult - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetOriginalExecutionRunId() string { - if x != nil { - return x.OriginalExecutionRunId - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetFirstExecutionRunId() string { - if x != nil { - return x.FirstExecutionRunId - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowExecutionExpirationTime() *timestamppb.Timestamp { - if x != nil { - return x.WorkflowExecutionExpirationTime - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetFirstWorkflowTaskBackoff() *durationpb.Duration { - if x != nil { - return x.FirstWorkflowTaskBackoff - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetPrevAutoResetPoints() *v14.ResetPoints { - if x != nil { - return x.PrevAutoResetPoints - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetParentInitiatedEventVersion() int64 { - if x != nil { - return x.ParentInitiatedEventVersion - } - return 0 -} - -func (x *WorkflowExecutionStartedEventAttributes) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionStartedEventAttributes) GetSourceVersionStamp() *v1.WorkerVersionStamp { - if x != nil { - return x.SourceVersionStamp - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetCompletionCallbacks() []*v1.Callback { - if x != nil { - return x.CompletionCallbacks - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetRootWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.RootWorkflowExecution - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionStartedEventAttributes) GetInheritedBuildId() string { - if x != nil { - return x.InheritedBuildId - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetVersioningOverride() *v14.VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionStartedEventAttributes) GetParentPinnedWorkerDeploymentVersion() string { - if x != nil { - return x.ParentPinnedWorkerDeploymentVersion - } - return "" -} - -func (x *WorkflowExecutionStartedEventAttributes) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetInheritedPinnedVersion() *v15.WorkerDeploymentVersion { - if x != nil { - return x.InheritedPinnedVersion - } - return nil -} - -func (x *WorkflowExecutionStartedEventAttributes) GetEagerExecutionAccepted() bool { - if x != nil { - return x.EagerExecutionAccepted - } - return false -} - -type WorkflowExecutionCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Serialized result of workflow completion (ie: The return value of the workflow function) - Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // If another run is started by cron, this contains the new run id. - NewExecutionRunId string `protobuf:"bytes,3,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionCompletedEventAttributes) Reset() { - *x = WorkflowExecutionCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionCompletedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowExecutionCompletedEventAttributes) GetResult() *v1.Payloads { - if x != nil { - return x.Result - } - return nil -} - -func (x *WorkflowExecutionCompletedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *WorkflowExecutionCompletedEventAttributes) GetNewExecutionRunId() string { - if x != nil { - return x.NewExecutionRunId - } - return "" -} - -type WorkflowExecutionFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Serialized result of workflow failure (ex: An exception thrown, or error returned) - Failure *v13.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` - RetryState v12.RetryState `protobuf:"varint,2,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // If another run is started by cron or retry, this contains the new run id. - NewExecutionRunId string `protobuf:"bytes,4,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionFailedEventAttributes) Reset() { - *x = WorkflowExecutionFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionFailedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *WorkflowExecutionFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *WorkflowExecutionFailedEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -func (x *WorkflowExecutionFailedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *WorkflowExecutionFailedEventAttributes) GetNewExecutionRunId() string { - if x != nil { - return x.NewExecutionRunId - } - return "" -} - -type WorkflowExecutionTimedOutEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - RetryState v12.RetryState `protobuf:"varint,1,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - // If another run is started by cron or retry, this contains the new run id. - NewExecutionRunId string `protobuf:"bytes,2,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionTimedOutEventAttributes) Reset() { - *x = WorkflowExecutionTimedOutEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionTimedOutEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionTimedOutEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionTimedOutEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionTimedOutEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionTimedOutEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *WorkflowExecutionTimedOutEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -func (x *WorkflowExecutionTimedOutEventAttributes) GetNewExecutionRunId() string { - if x != nil { - return x.NewExecutionRunId - } - return "" -} - -type WorkflowExecutionContinuedAsNewEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The run ID of the new workflow started by this continue-as-new - NewExecutionRunId string `protobuf:"bytes,1,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Input *v1.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,7,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // TODO: How and is this used? - BackoffStartInterval *durationpb.Duration `protobuf:"bytes,8,opt,name=backoff_start_interval,json=backoffStartInterval,proto3" json:"backoff_start_interval,omitempty"` - Initiator v12.ContinueAsNewInitiator `protobuf:"varint,9,opt,name=initiator,proto3,enum=temporal.api.enums.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` - // TODO: David are these right? - // Deprecated. If a workflow's retry policy would cause a new run to start when the current one - // has failed, this field would be populated with that failure. Now (when supported by server - // and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Failure *v13.Failure `protobuf:"bytes,10,opt,name=failure,proto3" json:"failure,omitempty"` - // TODO: Is this the result of *this* workflow as it continued-as-new? - LastCompletionResult *v1.Payloads `protobuf:"bytes,11,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` - Header *v1.Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"` - Memo *v1.Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - // If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - // the assignment rules will be used to independently assign a Build ID to the new execution. - // Deprecated. Only considered for versioning v0.2. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - InheritBuildId bool `protobuf:"varint,15,opt,name=inherit_build_id,json=inheritBuildId,proto3" json:"inherit_build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) Reset() { - *x = WorkflowExecutionContinuedAsNewEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionContinuedAsNewEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionContinuedAsNewEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionContinuedAsNewEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetNewExecutionRunId() string { - if x != nil { - return x.NewExecutionRunId - } - return "" -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetBackoffStartInterval() *durationpb.Duration { - if x != nil { - return x.BackoffStartInterval - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetInitiator() v12.ContinueAsNewInitiator { - if x != nil { - return x.Initiator - } - return v12.ContinueAsNewInitiator(0) -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetLastCompletionResult() *v1.Payloads { - if x != nil { - return x.LastCompletionResult - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionContinuedAsNewEventAttributes) GetInheritBuildId() bool { - if x != nil { - return x.InheritBuildId - } - return false -} - -type WorkflowTaskScheduledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task queue this workflow task was enqueued in, which could be a normal or sticky queue - TaskQueue *v11.TaskQueue `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // How long the worker has to process this task once receiving it before it times out - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` - // Starting at 1, how many attempts there have been to complete this task - Attempt int32 `protobuf:"varint,3,opt,name=attempt,proto3" json:"attempt,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskScheduledEventAttributes) Reset() { - *x = WorkflowTaskScheduledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskScheduledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskScheduledEventAttributes) ProtoMessage() {} - -func (x *WorkflowTaskScheduledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskScheduledEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowTaskScheduledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *WorkflowTaskScheduledEventAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *WorkflowTaskScheduledEventAttributes) GetStartToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.StartToCloseTimeout - } - return nil -} - -func (x *WorkflowTaskScheduledEventAttributes) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -type WorkflowTaskStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Identity of the worker who picked up this task - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // TODO: ? Appears unused? - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // True if this workflow should continue-as-new soon because its history size (in - // either event count or bytes) is getting large. - SuggestContinueAsNew bool `protobuf:"varint,4,opt,name=suggest_continue_as_new,json=suggestContinueAsNew,proto3" json:"suggest_continue_as_new,omitempty"` - // Total history size in bytes, which the workflow might use to decide when to - // continue-as-new regardless of the suggestion. Note that history event count is - // just the event id of this event, so we don't include it explicitly here. - HistorySizeBytes int64 `protobuf:"varint,5,opt,name=history_size_bytes,json=historySizeBytes,proto3" json:"history_size_bytes,omitempty"` - // Version info of the worker to whom this task was dispatched. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,6,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Used by server internally to properly reapply build ID redirects to an execution - // when rebuilding it from events. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - BuildIdRedirectCounter int64 `protobuf:"varint,7,opt,name=build_id_redirect_counter,json=buildIdRedirectCounter,proto3" json:"build_id_redirect_counter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskStartedEventAttributes) Reset() { - *x = WorkflowTaskStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskStartedEventAttributes) ProtoMessage() {} - -func (x *WorkflowTaskStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowTaskStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *WorkflowTaskStartedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *WorkflowTaskStartedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *WorkflowTaskStartedEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *WorkflowTaskStartedEventAttributes) GetSuggestContinueAsNew() bool { - if x != nil { - return x.SuggestContinueAsNew - } - return false -} - -func (x *WorkflowTaskStartedEventAttributes) GetHistorySizeBytes() int64 { - if x != nil { - return x.HistorySizeBytes - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskStartedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskStartedEventAttributes) GetBuildIdRedirectCounter() int64 { - if x != nil { - return x.BuildIdRedirectCounter - } - return 0 -} - -type WorkflowTaskCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // Identity of the worker who completed this task - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Binary ID of the worker who completed this task - // Deprecated. Replaced with `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - BinaryChecksum string `protobuf:"bytes,4,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - // Version info of the worker who processed this workflow task. If present, the `build_id` field - // within is also used as `binary_checksum`, which may be omitted in that case (it may also be - // populated to preserve compatibility). - // Deprecated. Use `deployment_version` and `versioning_behavior` instead. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,5,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Data the SDK wishes to record for itself, but server need not interpret, and does not - // directly impact workflow state. - SdkMetadata *v16.WorkflowTaskCompletedMetadata `protobuf:"bytes,6,opt,name=sdk_metadata,json=sdkMetadata,proto3" json:"sdk_metadata,omitempty"` - // Local usage data sent during workflow task completion and recorded here for posterity - MeteringMetadata *v1.MeteringMetadata `protobuf:"bytes,13,opt,name=metering_metadata,json=meteringMetadata,proto3" json:"metering_metadata,omitempty"` - // The deployment that completed this task. May or may not be set for unversioned workers, - // depending on whether a value is sent by the SDK. This value updates workflow execution's - // `versioning_info.deployment`. - // Deprecated. Replaced with `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Deployment *v15.Deployment `protobuf:"bytes,7,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Versioning behavior sent by the worker that completed this task for this particular workflow - // execution. UNSPECIFIED means the task was completed by an unversioned worker. This value - // updates workflow execution's `versioning_info.behavior`. - VersioningBehavior v12.VersioningBehavior `protobuf:"varint,8,opt,name=versioning_behavior,json=versioningBehavior,proto3,enum=temporal.api.enums.v1.VersioningBehavior" json:"versioning_behavior,omitempty"` - // The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` - // is set. This value updates workflow execution's `versioning_info.version`. - // Experimental. Worker Deployments are experimental and might significantly change in the future. - // Deprecated. Replaced with `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerDeploymentVersion string `protobuf:"bytes,9,opt,name=worker_deployment_version,json=workerDeploymentVersion,proto3" json:"worker_deployment_version,omitempty"` - // The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` - // is set. This value updates workflow execution's `worker_deployment_name`. - // Experimental. Worker Deployments are experimental and might significantly change in the future. - WorkerDeploymentName string `protobuf:"bytes,10,opt,name=worker_deployment_name,json=workerDeploymentName,proto3" json:"worker_deployment_name,omitempty"` - // The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` - // is set. This value updates workflow execution's `versioning_info.deployment_version`. - // Experimental. Worker Deployments are experimental and might significantly change in the future. - DeploymentVersion *v15.WorkerDeploymentVersion `protobuf:"bytes,11,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskCompletedEventAttributes) Reset() { - *x = WorkflowTaskCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskCompletedEventAttributes) ProtoMessage() {} - -func (x *WorkflowTaskCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowTaskCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *WorkflowTaskCompletedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *WorkflowTaskCompletedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *WorkflowTaskCompletedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskCompletedEventAttributes) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskCompletedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -func (x *WorkflowTaskCompletedEventAttributes) GetSdkMetadata() *v16.WorkflowTaskCompletedMetadata { - if x != nil { - return x.SdkMetadata - } - return nil -} - -func (x *WorkflowTaskCompletedEventAttributes) GetMeteringMetadata() *v1.MeteringMetadata { - if x != nil { - return x.MeteringMetadata - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskCompletedEventAttributes) GetDeployment() *v15.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *WorkflowTaskCompletedEventAttributes) GetVersioningBehavior() v12.VersioningBehavior { - if x != nil { - return x.VersioningBehavior - } - return v12.VersioningBehavior(0) -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskCompletedEventAttributes) GetWorkerDeploymentVersion() string { - if x != nil { - return x.WorkerDeploymentVersion - } - return "" -} - -func (x *WorkflowTaskCompletedEventAttributes) GetWorkerDeploymentName() string { - if x != nil { - return x.WorkerDeploymentName - } - return "" -} - -func (x *WorkflowTaskCompletedEventAttributes) GetDeploymentVersion() *v15.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -type WorkflowTaskTimedOutEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - TimeoutType v12.TimeoutType `protobuf:"varint,3,opt,name=timeout_type,json=timeoutType,proto3,enum=temporal.api.enums.v1.TimeoutType" json:"timeout_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskTimedOutEventAttributes) Reset() { - *x = WorkflowTaskTimedOutEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskTimedOutEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskTimedOutEventAttributes) ProtoMessage() {} - -func (x *WorkflowTaskTimedOutEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskTimedOutEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowTaskTimedOutEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *WorkflowTaskTimedOutEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *WorkflowTaskTimedOutEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *WorkflowTaskTimedOutEventAttributes) GetTimeoutType() v12.TimeoutType { - if x != nil { - return x.TimeoutType - } - return v12.TimeoutType(0) -} - -type WorkflowTaskFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - Cause v12.WorkflowTaskFailedCause `protobuf:"varint,3,opt,name=cause,proto3,enum=temporal.api.enums.v1.WorkflowTaskFailedCause" json:"cause,omitempty"` - // The failure details - Failure *v13.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` - // If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task? - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // The original run id of the workflow. For reset workflow. - BaseRunId string `protobuf:"bytes,6,opt,name=base_run_id,json=baseRunId,proto3" json:"base_run_id,omitempty"` - // If the workflow is being reset, the new run id. - NewRunId string `protobuf:"bytes,7,opt,name=new_run_id,json=newRunId,proto3" json:"new_run_id,omitempty"` - // TODO: ? - ForkEventVersion int64 `protobuf:"varint,8,opt,name=fork_event_version,json=forkEventVersion,proto3" json:"fork_event_version,omitempty"` - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // If a worker explicitly failed this task, its binary id - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - BinaryChecksum string `protobuf:"bytes,9,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - // Version info of the worker who processed this workflow task. If present, the `build_id` field - // within is also used as `binary_checksum`, which may be omitted in that case (it may also be - // populated to preserve compatibility). - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,10,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskFailedEventAttributes) Reset() { - *x = WorkflowTaskFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskFailedEventAttributes) ProtoMessage() {} - -func (x *WorkflowTaskFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowTaskFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *WorkflowTaskFailedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *WorkflowTaskFailedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *WorkflowTaskFailedEventAttributes) GetCause() v12.WorkflowTaskFailedCause { - if x != nil { - return x.Cause - } - return v12.WorkflowTaskFailedCause(0) -} - -func (x *WorkflowTaskFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *WorkflowTaskFailedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *WorkflowTaskFailedEventAttributes) GetBaseRunId() string { - if x != nil { - return x.BaseRunId - } - return "" -} - -func (x *WorkflowTaskFailedEventAttributes) GetNewRunId() string { - if x != nil { - return x.NewRunId - } - return "" -} - -func (x *WorkflowTaskFailedEventAttributes) GetForkEventVersion() int64 { - if x != nil { - return x.ForkEventVersion - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskFailedEventAttributes) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowTaskFailedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -type ActivityTaskScheduledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The worker/user assigned identifier for the activity - ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - ActivityType *v1.ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Header *v1.Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` - Input *v1.Payloads `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` - // Indicates how long the caller is willing to wait for an activity completion. Limits how long - // retries will be attempted. Either this or `start_to_close_timeout` must be specified. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // Limits time an activity task can stay in a task queue before a worker picks it up. This - // timeout is always non retryable, as all a retry would achieve is to put it back into the same - // queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not - // specified. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` - // Maximum time an activity is allowed to execute after being picked up by a worker. This - // timeout is always retryable. Either this or `schedule_to_close_timeout` must be - // specified. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` - // Maximum permitted time between successful worker heartbeats. - HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,11,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Activities are assigned a default retry policy controlled by the service's dynamic - // configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set - // retry_policy.maximum_attempts to 1. - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - // Assignment rules of the activity's Task Queue will be used to determine the Build ID. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - UseWorkflowBuildId bool `protobuf:"varint,13,opt,name=use_workflow_build_id,json=useWorkflowBuildId,proto3" json:"use_workflow_build_id,omitempty"` - // Priority metadata. If this message is not present, or any fields are not - // present, they inherit the values from the workflow. - Priority *v1.Priority `protobuf:"bytes,14,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskScheduledEventAttributes) Reset() { - *x = ActivityTaskScheduledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskScheduledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskScheduledEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskScheduledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskScheduledEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskScheduledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *ActivityTaskScheduledEventAttributes) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *ActivityTaskScheduledEventAttributes) GetActivityType() *v1.ActivityType { - if x != nil { - return x.ActivityType - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetScheduleToStartTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToStartTimeout - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetStartToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.StartToCloseTimeout - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetHeartbeatTimeout() *durationpb.Duration { - if x != nil { - return x.HeartbeatTimeout - } - return nil -} - -func (x *ActivityTaskScheduledEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *ActivityTaskScheduledEventAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskScheduledEventAttributes) GetUseWorkflowBuildId() bool { - if x != nil { - return x.UseWorkflowBuildId - } - return false -} - -func (x *ActivityTaskScheduledEventAttributes) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type ActivityTaskStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // id of the worker that picked up this task - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // TODO ?? - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Starting at 1, the number of times this task has been attempted - Attempt int32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` - // Will be set to the most recent failure details, if this task has previously failed and then - // been retried. - LastFailure *v13.Failure `protobuf:"bytes,5,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"` - // Version info of the worker to whom this task was dispatched. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,6,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Used by server internally to properly reapply build ID redirects to an execution - // when rebuilding it from events. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - BuildIdRedirectCounter int64 `protobuf:"varint,7,opt,name=build_id_redirect_counter,json=buildIdRedirectCounter,proto3" json:"build_id_redirect_counter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskStartedEventAttributes) Reset() { - *x = ActivityTaskStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskStartedEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *ActivityTaskStartedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskStartedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *ActivityTaskStartedEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *ActivityTaskStartedEventAttributes) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *ActivityTaskStartedEventAttributes) GetLastFailure() *v13.Failure { - if x != nil { - return x.LastFailure - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskStartedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskStartedEventAttributes) GetBuildIdRedirectCounter() int64 { - if x != nil { - return x.BuildIdRedirectCounter - } - return 0 -} - -type ActivityTaskCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Serialized results of the activity. IE: The return value of the activity function - Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to - ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to - StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // id of the worker that completed this task - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - // Version info of the worker who processed this workflow task. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,5,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskCompletedEventAttributes) Reset() { - *x = ActivityTaskCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskCompletedEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *ActivityTaskCompletedEventAttributes) GetResult() *v1.Payloads { - if x != nil { - return x.Result - } - return nil -} - -func (x *ActivityTaskCompletedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskCompletedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ActivityTaskCompletedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskCompletedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -type ActivityTaskFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Failure details - Failure *v13.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to - ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to - StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // id of the worker that failed this task - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - RetryState v12.RetryState `protobuf:"varint,5,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - // Version info of the worker who processed this workflow task. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,6,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskFailedEventAttributes) Reset() { - *x = ActivityTaskFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskFailedEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *ActivityTaskFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *ActivityTaskFailedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskFailedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ActivityTaskFailedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *ActivityTaskFailedEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskFailedEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -type ActivityTaskTimedOutEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If this activity had failed, was retried, and then timed out, that failure is stored as the - // `cause` in here. - Failure *v13.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to - ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to - StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - RetryState v12.RetryState `protobuf:"varint,4,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskTimedOutEventAttributes) Reset() { - *x = ActivityTaskTimedOutEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskTimedOutEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskTimedOutEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskTimedOutEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskTimedOutEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskTimedOutEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *ActivityTaskTimedOutEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *ActivityTaskTimedOutEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskTimedOutEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ActivityTaskTimedOutEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -type ActivityTaskCancelRequestedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskCancelRequestedEventAttributes) Reset() { - *x = ActivityTaskCancelRequestedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskCancelRequestedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskCancelRequestedEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskCancelRequestedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskCancelRequestedEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *ActivityTaskCancelRequestedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskCancelRequestedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -type ActivityTaskCanceledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Additional information that the activity reported upon confirming cancellation - Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same - // activity - LatestCancelRequestedEventId int64 `protobuf:"varint,2,opt,name=latest_cancel_requested_event_id,json=latestCancelRequestedEventId,proto3" json:"latest_cancel_requested_event_id,omitempty"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to - ScheduledEventId int64 `protobuf:"varint,3,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to - StartedEventId int64 `protobuf:"varint,4,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // id of the worker who canceled this activity - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // Version info of the worker who processed this workflow task. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - WorkerVersion *v1.WorkerVersionStamp `protobuf:"bytes,6,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityTaskCanceledEventAttributes) Reset() { - *x = ActivityTaskCanceledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityTaskCanceledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityTaskCanceledEventAttributes) ProtoMessage() {} - -func (x *ActivityTaskCanceledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityTaskCanceledEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityTaskCanceledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{16} -} - -func (x *ActivityTaskCanceledEventAttributes) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *ActivityTaskCanceledEventAttributes) GetLatestCancelRequestedEventId() int64 { - if x != nil { - return x.LatestCancelRequestedEventId - } - return 0 -} - -func (x *ActivityTaskCanceledEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityTaskCanceledEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ActivityTaskCanceledEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ActivityTaskCanceledEventAttributes) GetWorkerVersion() *v1.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -type TimerStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The worker/user assigned id for this timer - TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` - // How long until this timer fires - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToFireTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3" json:"start_to_fire_timeout,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimerStartedEventAttributes) Reset() { - *x = TimerStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimerStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimerStartedEventAttributes) ProtoMessage() {} - -func (x *TimerStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimerStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*TimerStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{17} -} - -func (x *TimerStartedEventAttributes) GetTimerId() string { - if x != nil { - return x.TimerId - } - return "" -} - -func (x *TimerStartedEventAttributes) GetStartToFireTimeout() *durationpb.Duration { - if x != nil { - return x.StartToFireTimeout - } - return nil -} - -func (x *TimerStartedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -type TimerFiredEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Will match the `timer_id` from `TIMER_STARTED` event for this timer - TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` - // The id of the `TIMER_STARTED` event itself - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimerFiredEventAttributes) Reset() { - *x = TimerFiredEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimerFiredEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimerFiredEventAttributes) ProtoMessage() {} - -func (x *TimerFiredEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimerFiredEventAttributes.ProtoReflect.Descriptor instead. -func (*TimerFiredEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{18} -} - -func (x *TimerFiredEventAttributes) GetTimerId() string { - if x != nil { - return x.TimerId - } - return "" -} - -func (x *TimerFiredEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -type TimerCanceledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Will match the `timer_id` from `TIMER_STARTED` event for this timer - TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` - // The id of the `TIMER_STARTED` event itself - StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // The id of the worker who requested this cancel - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimerCanceledEventAttributes) Reset() { - *x = TimerCanceledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimerCanceledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimerCanceledEventAttributes) ProtoMessage() {} - -func (x *TimerCanceledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimerCanceledEventAttributes.ProtoReflect.Descriptor instead. -func (*TimerCanceledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{19} -} - -func (x *TimerCanceledEventAttributes) GetTimerId() string { - if x != nil { - return x.TimerId - } - return "" -} - -func (x *TimerCanceledEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *TimerCanceledEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *TimerCanceledEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type WorkflowExecutionCancelRequestedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // User provided reason for requesting cancellation - // TODO: shall we create a new field with name "reason" and deprecate this one? - Cause string `protobuf:"bytes,1,opt,name=cause,proto3" json:"cause,omitempty"` - // TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one? - ExternalInitiatedEventId int64 `protobuf:"varint,2,opt,name=external_initiated_event_id,json=externalInitiatedEventId,proto3" json:"external_initiated_event_id,omitempty"` - ExternalWorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=external_workflow_execution,json=externalWorkflowExecution,proto3" json:"external_workflow_execution,omitempty"` - // id of the worker or client who requested this cancel - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) Reset() { - *x = WorkflowExecutionCancelRequestedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionCancelRequestedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionCancelRequestedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{20} -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) GetCause() string { - if x != nil { - return x.Cause - } - return "" -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) GetExternalInitiatedEventId() int64 { - if x != nil { - return x.ExternalInitiatedEventId - } - return 0 -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) GetExternalWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.ExternalWorkflowExecution - } - return nil -} - -func (x *WorkflowExecutionCancelRequestedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type WorkflowExecutionCanceledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - Details *v1.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionCanceledEventAttributes) Reset() { - *x = WorkflowExecutionCanceledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionCanceledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionCanceledEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionCanceledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionCanceledEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionCanceledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{21} -} - -func (x *WorkflowExecutionCanceledEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *WorkflowExecutionCanceledEventAttributes) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -type MarkerRecordedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Workers use this to identify the "types" of various markers. Ex: Local activity, side effect. - MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"` - // Serialized information recorded in the marker - Details map[string]*v1.Payloads `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - Header *v1.Header `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"` - // Some uses of markers, like a local activity, could "fail". If they did that is recorded here. - Failure *v13.Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MarkerRecordedEventAttributes) Reset() { - *x = MarkerRecordedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MarkerRecordedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarkerRecordedEventAttributes) ProtoMessage() {} - -func (x *MarkerRecordedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarkerRecordedEventAttributes.ProtoReflect.Descriptor instead. -func (*MarkerRecordedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{22} -} - -func (x *MarkerRecordedEventAttributes) GetMarkerName() string { - if x != nil { - return x.MarkerName - } - return "" -} - -func (x *MarkerRecordedEventAttributes) GetDetails() map[string]*v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *MarkerRecordedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *MarkerRecordedEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *MarkerRecordedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -type WorkflowExecutionSignaledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The name/type of the signal to fire - SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Will be deserialized and provided as argument(s) to the signal handler - Input *v1.Payloads `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` - // id of the worker/client who sent this signal - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Headers that were passed by the sender of the signal and copied by temporal - // server into the workflow task. - Header *v1.Header `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"` - // Deprecated. This field is never respected and should always be set to false. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - SkipGenerateWorkflowTask bool `protobuf:"varint,5,opt,name=skip_generate_workflow_task,json=skipGenerateWorkflowTask,proto3" json:"skip_generate_workflow_task,omitempty"` - // When signal origin is a workflow execution, this field is set. - ExternalWorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,6,opt,name=external_workflow_execution,json=externalWorkflowExecution,proto3" json:"external_workflow_execution,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionSignaledEventAttributes) Reset() { - *x = WorkflowExecutionSignaledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionSignaledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionSignaledEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionSignaledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionSignaledEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionSignaledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{23} -} - -func (x *WorkflowExecutionSignaledEventAttributes) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *WorkflowExecutionSignaledEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *WorkflowExecutionSignaledEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *WorkflowExecutionSignaledEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *WorkflowExecutionSignaledEventAttributes) GetSkipGenerateWorkflowTask() bool { - if x != nil { - return x.SkipGenerateWorkflowTask - } - return false -} - -func (x *WorkflowExecutionSignaledEventAttributes) GetExternalWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.ExternalWorkflowExecution - } - return nil -} - -type WorkflowExecutionTerminatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // User/client provided reason for termination - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - Details *v1.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - // id of the client who requested termination - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionTerminatedEventAttributes) Reset() { - *x = WorkflowExecutionTerminatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionTerminatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionTerminatedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionTerminatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionTerminatedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionTerminatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{24} -} - -func (x *WorkflowExecutionTerminatedEventAttributes) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *WorkflowExecutionTerminatedEventAttributes) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *WorkflowExecutionTerminatedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // The namespace the workflow to be cancelled lives in. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` - // Workers are expected to set this to true if the workflow they are requesting to cancel is - // a child of the workflow which issued the request - ChildWorkflowOnly bool `protobuf:"varint,5,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` - // Reason for requesting the cancellation - Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Reset() { - *x = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.ProtoReflect.Descriptor instead. -func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{25} -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly() bool { - if x != nil { - return x.ChildWorkflowOnly - } - return false -} - -func (x *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Cause v12.CancelExternalWorkflowExecutionFailedCause `protobuf:"varint,1,opt,name=cause,proto3,enum=temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause" json:"cause,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Namespace of the workflow which failed to cancel. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure - // corresponds to - InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) Reset() { - *x = RequestCancelExternalWorkflowExecutionFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) ProtoMessage() {} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelExternalWorkflowExecutionFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{26} -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetCause() v12.CancelExternalWorkflowExecutionFailedCause { - if x != nil { - return x.Cause - } - return v12.CancelExternalWorkflowExecutionFailedCause(0) -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds - // to - InitiatedEventId int64 `protobuf:"varint,1,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Namespace of the to-be-cancelled workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) Reset() { - *x = ExternalWorkflowExecutionCancelRequestedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) ProtoMessage() {} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExternalWorkflowExecutionCancelRequestedEventAttributes.ProtoReflect.Descriptor instead. -func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{27} -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Namespace of the to-be-signalled workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,9,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // name/type of the signal to fire in the external workflow - SignalName string `protobuf:"bytes,4,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Serialized arguments to provide to the signal handler - Input *v1.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` - // Workers are expected to set this to true if the workflow they are requesting to cancel is - // a child of the workflow which issued the request - ChildWorkflowOnly bool `protobuf:"varint,7,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` - Header *v1.Header `protobuf:"bytes,8,opt,name=header,proto3" json:"header,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) Reset() { - *x = SignalExternalWorkflowExecutionInitiatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalExternalWorkflowExecutionInitiatedEventAttributes.ProtoReflect.Descriptor instead. -func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{28} -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly() bool { - if x != nil { - return x.ChildWorkflowOnly - } - return false -} - -func (x *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -type SignalExternalWorkflowExecutionFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Cause v12.SignalExternalWorkflowExecutionFailedCause `protobuf:"varint,1,opt,name=cause,proto3,enum=temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause" json:"cause,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Namespace of the workflow which failed the signal. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) Reset() { - *x = SignalExternalWorkflowExecutionFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalExternalWorkflowExecutionFailedEventAttributes) ProtoMessage() {} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalExternalWorkflowExecutionFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*SignalExternalWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{29} -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetCause() v12.SignalExternalWorkflowExecutionFailedCause { - if x != nil { - return x.Cause - } - return v12.SignalExternalWorkflowExecutionFailedCause(0) -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *SignalExternalWorkflowExecutionFailedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -type ExternalWorkflowExecutionSignaledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to - InitiatedEventId int64 `protobuf:"varint,1,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Namespace of the workflow which was signaled. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,5,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) Reset() { - *x = ExternalWorkflowExecutionSignaledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExternalWorkflowExecutionSignaledEventAttributes) ProtoMessage() {} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExternalWorkflowExecutionSignaledEventAttributes.ProtoReflect.Descriptor instead. -func (*ExternalWorkflowExecutionSignaledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{30} -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ExternalWorkflowExecutionSignaledEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *ExternalWorkflowExecutionSignaledEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -type UpsertWorkflowSearchAttributesEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,2,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpsertWorkflowSearchAttributesEventAttributes) Reset() { - *x = UpsertWorkflowSearchAttributesEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpsertWorkflowSearchAttributesEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpsertWorkflowSearchAttributesEventAttributes) ProtoMessage() {} - -func (x *UpsertWorkflowSearchAttributesEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpsertWorkflowSearchAttributesEventAttributes.ProtoReflect.Descriptor instead. -func (*UpsertWorkflowSearchAttributesEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{31} -} - -func (x *UpsertWorkflowSearchAttributesEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *UpsertWorkflowSearchAttributesEventAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -type WorkflowPropertiesModifiedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // If set, update the workflow memo with the provided values. The values will be merged with - // the existing memo. If the user wants to delete values, a default/empty Payload should be - // used as the value for the key being deleted. - UpsertedMemo *v1.Memo `protobuf:"bytes,2,opt,name=upserted_memo,json=upsertedMemo,proto3" json:"upserted_memo,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowPropertiesModifiedEventAttributes) Reset() { - *x = WorkflowPropertiesModifiedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowPropertiesModifiedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowPropertiesModifiedEventAttributes) ProtoMessage() {} - -func (x *WorkflowPropertiesModifiedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowPropertiesModifiedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowPropertiesModifiedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{32} -} - -func (x *WorkflowPropertiesModifiedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *WorkflowPropertiesModifiedEventAttributes) GetUpsertedMemo() *v1.Memo { - if x != nil { - return x.UpsertedMemo - } - return nil -} - -type StartChildWorkflowExecutionInitiatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,18,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v11.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - Input *v1.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new. - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // Default: PARENT_CLOSE_POLICY_TERMINATE. - ParentClosePolicy v12.ParentClosePolicy `protobuf:"varint,9,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=temporal.api.enums.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,10,opt,name=control,proto3" json:"control,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,11,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - WorkflowIdReusePolicy v12.WorkflowIdReusePolicy `protobuf:"varint,12,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,13,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // If this child runs on a cron schedule, it will appear here - CronSchedule string `protobuf:"bytes,14,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Header *v1.Header `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"` - Memo *v1.Memo `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,17,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - // If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - // rules of the child's Task Queue will be used to independently assign a Build ID to it. - // Deprecated. Only considered for versioning v0.2. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - InheritBuildId bool `protobuf:"varint,19,opt,name=inherit_build_id,json=inheritBuildId,proto3" json:"inherit_build_id,omitempty"` - // Priority metadata - Priority *v1.Priority `protobuf:"bytes,20,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) Reset() { - *x = StartChildWorkflowExecutionInitiatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartChildWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartChildWorkflowExecutionInitiatedEventAttributes.ProtoReflect.Descriptor instead. -func (*StartChildWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{33} -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskQueue() *v11.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetParentClosePolicy() v12.ParentClosePolicy { - if x != nil { - return x.ParentClosePolicy - } - return v12.ParentClosePolicy(0) -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowIdReusePolicy() v12.WorkflowIdReusePolicy { - if x != nil { - return x.WorkflowIdReusePolicy - } - return v12.WorkflowIdReusePolicy(0) -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetInheritBuildId() bool { - if x != nil { - return x.InheritBuildId - } - return false -} - -func (x *StartChildWorkflowExecutionInitiatedEventAttributes) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type StartChildWorkflowExecutionFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,8,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - Cause v12.StartChildWorkflowExecutionFailedCause `protobuf:"varint,4,opt,name=cause,proto3,enum=temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause" json:"cause,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - Control string `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,6,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event which this command was reported with - WorkflowTaskCompletedEventId int64 `protobuf:"varint,7,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) Reset() { - *x = StartChildWorkflowExecutionFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartChildWorkflowExecutionFailedEventAttributes) ProtoMessage() {} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartChildWorkflowExecutionFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*StartChildWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{34} -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetCause() v12.StartChildWorkflowExecutionFailedCause { - if x != nil { - return x.Cause - } - return v12.StartChildWorkflowExecutionFailedCause(0) -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -type ChildWorkflowExecutionStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,2,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,4,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - Header *v1.Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) Reset() { - *x = ChildWorkflowExecutionStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionStartedEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{35} -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionStartedEventAttributes) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -type ChildWorkflowExecutionCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result *v1.Payloads `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,4,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to - StartedEventId int64 `protobuf:"varint,6,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) Reset() { - *x = ChildWorkflowExecutionCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionCompletedEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{36} -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetResult() *v1.Payloads { - if x != nil { - return x.Result - } - return nil -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionCompletedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -type ChildWorkflowExecutionFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Failure *v13.Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,8,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,4,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to - StartedEventId int64 `protobuf:"varint,6,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - RetryState v12.RetryState `protobuf:"varint,7,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) Reset() { - *x = ChildWorkflowExecutionFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionFailedEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{37} -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionFailedEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -type ChildWorkflowExecutionCanceledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,4,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to - StartedEventId int64 `protobuf:"varint,6,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) Reset() { - *x = ChildWorkflowExecutionCanceledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionCanceledEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionCanceledEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionCanceledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{38} -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetDetails() *v1.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionCanceledEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -type ChildWorkflowExecutionTimedOutEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,7,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to - StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - RetryState v12.RetryState `protobuf:"varint,6,opt,name=retry_state,json=retryState,proto3,enum=temporal.api.enums.v1.RetryState" json:"retry_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) Reset() { - *x = ChildWorkflowExecutionTimedOutEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionTimedOutEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionTimedOutEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionTimedOutEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{39} -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionTimedOutEventAttributes) GetRetryState() v12.RetryState { - if x != nil { - return x.RetryState - } - return v12.RetryState(0) -} - -type ChildWorkflowExecutionTerminatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the child workflow. - // SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to - InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` - // Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to - StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) Reset() { - *x = ChildWorkflowExecutionTerminatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChildWorkflowExecutionTerminatedEventAttributes) ProtoMessage() {} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChildWorkflowExecutionTerminatedEventAttributes.ProtoReflect.Descriptor instead. -func (*ChildWorkflowExecutionTerminatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{40} -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowExecution() *v1.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetInitiatedEventId() int64 { - if x != nil { - return x.InitiatedEventId - } - return 0 -} - -func (x *ChildWorkflowExecutionTerminatedEventAttributes) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -type WorkflowExecutionOptionsUpdatedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Versioning override upserted in this event. - // Ignored if nil or if unset_versioning_override is true. - VersioningOverride *v14.VersioningOverride `protobuf:"bytes,1,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // Versioning override removed in this event. - UnsetVersioningOverride bool `protobuf:"varint,2,opt,name=unset_versioning_override,json=unsetVersioningOverride,proto3" json:"unset_versioning_override,omitempty"` - // Request ID attachedto the running workflow execution so that subsequent requests with same - // request ID will be deduped. - AttachedRequestId string `protobuf:"bytes,3,opt,name=attached_request_id,json=attachedRequestId,proto3" json:"attached_request_id,omitempty"` - // Completion callbacks attached to the running workflow execution. - AttachedCompletionCallbacks []*v1.Callback `protobuf:"bytes,4,rep,name=attached_completion_callbacks,json=attachedCompletionCallbacks,proto3" json:"attached_completion_callbacks,omitempty"` - // Optional. The identity of the client who initiated the request that created this event. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) Reset() { - *x = WorkflowExecutionOptionsUpdatedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionOptionsUpdatedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionOptionsUpdatedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionOptionsUpdatedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{41} -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) GetVersioningOverride() *v14.VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) GetUnsetVersioningOverride() bool { - if x != nil { - return x.UnsetVersioningOverride - } - return false -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) GetAttachedRequestId() string { - if x != nil { - return x.AttachedRequestId - } - return "" -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) GetAttachedCompletionCallbacks() []*v1.Callback { - if x != nil { - return x.AttachedCompletionCallbacks - } - return nil -} - -func (x *WorkflowExecutionOptionsUpdatedEventAttributes) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes -type WorkflowPropertiesModifiedExternallyEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Not used. - NewTaskQueue string `protobuf:"bytes,1,opt,name=new_task_queue,json=newTaskQueue,proto3" json:"new_task_queue,omitempty"` - // Not used. - NewWorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=new_workflow_task_timeout,json=newWorkflowTaskTimeout,proto3" json:"new_workflow_task_timeout,omitempty"` - // Not used. - NewWorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=new_workflow_run_timeout,json=newWorkflowRunTimeout,proto3" json:"new_workflow_run_timeout,omitempty"` - // Not used. - NewWorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=new_workflow_execution_timeout,json=newWorkflowExecutionTimeout,proto3" json:"new_workflow_execution_timeout,omitempty"` - // Not used. - UpsertedMemo *v1.Memo `protobuf:"bytes,5,opt,name=upserted_memo,json=upsertedMemo,proto3" json:"upserted_memo,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) Reset() { - *x = WorkflowPropertiesModifiedExternallyEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowPropertiesModifiedExternallyEventAttributes) ProtoMessage() {} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowPropertiesModifiedExternallyEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowPropertiesModifiedExternallyEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{42} -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) GetNewTaskQueue() string { - if x != nil { - return x.NewTaskQueue - } - return "" -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) GetNewWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.NewWorkflowTaskTimeout - } - return nil -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) GetNewWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.NewWorkflowRunTimeout - } - return nil -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) GetNewWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.NewWorkflowExecutionTimeout - } - return nil -} - -func (x *WorkflowPropertiesModifiedExternallyEventAttributes) GetUpsertedMemo() *v1.Memo { - if x != nil { - return x.UpsertedMemo - } - return nil -} - -type ActivityPropertiesModifiedExternallyEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // If set, update the retry policy of the activity, replacing it with the specified one. - // The number of attempts at the activity is preserved. - NewRetryPolicy *v1.RetryPolicy `protobuf:"bytes,2,opt,name=new_retry_policy,json=newRetryPolicy,proto3" json:"new_retry_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActivityPropertiesModifiedExternallyEventAttributes) Reset() { - *x = ActivityPropertiesModifiedExternallyEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActivityPropertiesModifiedExternallyEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivityPropertiesModifiedExternallyEventAttributes) ProtoMessage() {} - -func (x *ActivityPropertiesModifiedExternallyEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActivityPropertiesModifiedExternallyEventAttributes.ProtoReflect.Descriptor instead. -func (*ActivityPropertiesModifiedExternallyEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{43} -} - -func (x *ActivityPropertiesModifiedExternallyEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *ActivityPropertiesModifiedExternallyEventAttributes) GetNewRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.NewRetryPolicy - } - return nil -} - -type WorkflowExecutionUpdateAcceptedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The instance ID of the update protocol that generated this event. - ProtocolInstanceId string `protobuf:"bytes,1,opt,name=protocol_instance_id,json=protocolInstanceId,proto3" json:"protocol_instance_id,omitempty"` - // The message ID of the original request message that initiated this - // update. Needed so that the worker can recreate and deliver that same - // message as part of replay. - AcceptedRequestMessageId string `protobuf:"bytes,2,opt,name=accepted_request_message_id,json=acceptedRequestMessageId,proto3" json:"accepted_request_message_id,omitempty"` - // The event ID used to sequence the original request message. - AcceptedRequestSequencingEventId int64 `protobuf:"varint,3,opt,name=accepted_request_sequencing_event_id,json=acceptedRequestSequencingEventId,proto3" json:"accepted_request_sequencing_event_id,omitempty"` - // The message payload of the original request message that initiated this - // update. - AcceptedRequest *v17.Request `protobuf:"bytes,4,opt,name=accepted_request,json=acceptedRequest,proto3" json:"accepted_request,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) Reset() { - *x = WorkflowExecutionUpdateAcceptedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionUpdateAcceptedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionUpdateAcceptedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionUpdateAcceptedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{44} -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) GetProtocolInstanceId() string { - if x != nil { - return x.ProtocolInstanceId - } - return "" -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) GetAcceptedRequestMessageId() string { - if x != nil { - return x.AcceptedRequestMessageId - } - return "" -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) GetAcceptedRequestSequencingEventId() int64 { - if x != nil { - return x.AcceptedRequestSequencingEventId - } - return 0 -} - -func (x *WorkflowExecutionUpdateAcceptedEventAttributes) GetAcceptedRequest() *v17.Request { - if x != nil { - return x.AcceptedRequest - } - return nil -} - -type WorkflowExecutionUpdateCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The metadata about this update. - Meta *v17.Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` - // The event ID indicating the acceptance of this update. - AcceptedEventId int64 `protobuf:"varint,3,opt,name=accepted_event_id,json=acceptedEventId,proto3" json:"accepted_event_id,omitempty"` - // The outcome of executing the workflow update function. - Outcome *v17.Outcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) Reset() { - *x = WorkflowExecutionUpdateCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionUpdateCompletedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionUpdateCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionUpdateCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{45} -} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) GetMeta() *v17.Meta { - if x != nil { - return x.Meta - } - return nil -} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) GetAcceptedEventId() int64 { - if x != nil { - return x.AcceptedEventId - } - return 0 -} - -func (x *WorkflowExecutionUpdateCompletedEventAttributes) GetOutcome() *v17.Outcome { - if x != nil { - return x.Outcome - } - return nil -} - -type WorkflowExecutionUpdateRejectedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The instance ID of the update protocol that generated this event. - ProtocolInstanceId string `protobuf:"bytes,1,opt,name=protocol_instance_id,json=protocolInstanceId,proto3" json:"protocol_instance_id,omitempty"` - // The message ID of the original request message that initiated this - // update. Needed so that the worker can recreate and deliver that same - // message as part of replay. - RejectedRequestMessageId string `protobuf:"bytes,2,opt,name=rejected_request_message_id,json=rejectedRequestMessageId,proto3" json:"rejected_request_message_id,omitempty"` - // The event ID used to sequence the original request message. - RejectedRequestSequencingEventId int64 `protobuf:"varint,3,opt,name=rejected_request_sequencing_event_id,json=rejectedRequestSequencingEventId,proto3" json:"rejected_request_sequencing_event_id,omitempty"` - // The message payload of the original request message that initiated this - // update. - RejectedRequest *v17.Request `protobuf:"bytes,4,opt,name=rejected_request,json=rejectedRequest,proto3" json:"rejected_request,omitempty"` - // The cause of rejection. - Failure *v13.Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) Reset() { - *x = WorkflowExecutionUpdateRejectedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionUpdateRejectedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionUpdateRejectedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionUpdateRejectedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{46} -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) GetProtocolInstanceId() string { - if x != nil { - return x.ProtocolInstanceId - } - return "" -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) GetRejectedRequestMessageId() string { - if x != nil { - return x.RejectedRequestMessageId - } - return "" -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) GetRejectedRequestSequencingEventId() int64 { - if x != nil { - return x.RejectedRequestSequencingEventId - } - return 0 -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) GetRejectedRequest() *v17.Request { - if x != nil { - return x.RejectedRequest - } - return nil -} - -func (x *WorkflowExecutionUpdateRejectedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -type WorkflowExecutionUpdateAdmittedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The update request associated with this event. - Request *v17.Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - // An explanation of why this event was written to history. - Origin v12.UpdateAdmittedEventOrigin `protobuf:"varint,2,opt,name=origin,proto3,enum=temporal.api.enums.v1.UpdateAdmittedEventOrigin" json:"origin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionUpdateAdmittedEventAttributes) Reset() { - *x = WorkflowExecutionUpdateAdmittedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionUpdateAdmittedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionUpdateAdmittedEventAttributes) ProtoMessage() {} - -func (x *WorkflowExecutionUpdateAdmittedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionUpdateAdmittedEventAttributes.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionUpdateAdmittedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{47} -} - -func (x *WorkflowExecutionUpdateAdmittedEventAttributes) GetRequest() *v17.Request { - if x != nil { - return x.Request - } - return nil -} - -func (x *WorkflowExecutionUpdateAdmittedEventAttributes) GetOrigin() v12.UpdateAdmittedEventOrigin { - if x != nil { - return x.Origin - } - return v12.UpdateAdmittedEventOrigin(0) -} - -// Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command. -type NexusOperationScheduledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Endpoint name, must exist in the endpoint registry. - Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // Service name. - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // Operation name. - Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` - // Input for the operation. The server converts this into Nexus request content and the appropriate content headers - // internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the - // content is transformed back to the original Payload stored in this event. - Input *v1.Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // Schedule-to-close timeout for this operation. - // Indicates how long the caller is willing to wait for operation completion. - // Calls are retried internally by the server. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal - // activities and child workflows, these are transmitted to Nexus operations that may be external and are not - // traditional payloads. - NexusHeader map[string]string `protobuf:"bytes,6,rep,name=nexus_header,json=nexusHeader,proto3" json:"nexus_header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with. - WorkflowTaskCompletedEventId int64 `protobuf:"varint,7,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // A unique ID generated by the history service upon creation of this event. - // The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key. - RequestId string `protobuf:"bytes,8,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Endpoint ID as resolved in the endpoint registry at the time this event was generated. - // This is stored on the event and used internally by the server in case the endpoint is renamed from the time the - // event was originally scheduled. - EndpointId string `protobuf:"bytes,9,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationScheduledEventAttributes) Reset() { - *x = NexusOperationScheduledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationScheduledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationScheduledEventAttributes) ProtoMessage() {} - -func (x *NexusOperationScheduledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationScheduledEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationScheduledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{48} -} - -func (x *NexusOperationScheduledEventAttributes) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *NexusOperationScheduledEventAttributes) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *NexusOperationScheduledEventAttributes) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -func (x *NexusOperationScheduledEventAttributes) GetInput() *v1.Payload { - if x != nil { - return x.Input - } - return nil -} - -func (x *NexusOperationScheduledEventAttributes) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *NexusOperationScheduledEventAttributes) GetNexusHeader() map[string]string { - if x != nil { - return x.NexusHeader - } - return nil -} - -func (x *NexusOperationScheduledEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *NexusOperationScheduledEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *NexusOperationScheduledEventAttributes) GetEndpointId() string { - if x != nil { - return x.EndpointId - } - return "" -} - -// Event marking an asynchronous operation was started by the responding Nexus handler. -// If the operation completes synchronously, this event is not generated. -// In rare situations, such as request timeouts, the service may fail to record the actual start time and will fabricate -// this event upon receiving the operation completion via callback. -type NexusOperationStartedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_SCHEDULED` event this task corresponds to. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The operation ID returned by the Nexus handler in the response to the StartOperation request. - // This ID is used when canceling the operation. - // - // Deprecated: Renamed to operation_token. - // - // Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // The request ID allocated at schedule time. - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // The operation token returned by the Nexus handler in the response to the StartOperation request. - // This token is used when canceling the operation. - OperationToken string `protobuf:"bytes,5,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationStartedEventAttributes) Reset() { - *x = NexusOperationStartedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationStartedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationStartedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationStartedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationStartedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationStartedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{49} -} - -func (x *NexusOperationStartedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/history/v1/message.proto. -func (x *NexusOperationStartedEventAttributes) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -func (x *NexusOperationStartedEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *NexusOperationStartedEventAttributes) GetOperationToken() string { - if x != nil { - return x.OperationToken - } - return "" -} - -// Nexus operation completed successfully. -type NexusOperationCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Serialized result of the Nexus operation. The response of the Nexus handler. - // Delivered either via a completion callback or as a response to a synchronous operation. - Result *v1.Payload `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - // The request ID allocated at schedule time. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCompletedEventAttributes) Reset() { - *x = NexusOperationCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCompletedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{50} -} - -func (x *NexusOperationCompletedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationCompletedEventAttributes) GetResult() *v1.Payload { - if x != nil { - return x.Result - } - return nil -} - -func (x *NexusOperationCompletedEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -// Nexus operation failed. -type NexusOperationFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Failure details. A NexusOperationFailureInfo wrapping an ApplicationFailureInfo. - Failure *v13.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - // The request ID allocated at schedule time. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationFailedEventAttributes) Reset() { - *x = NexusOperationFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationFailedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{51} -} - -func (x *NexusOperationFailedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *NexusOperationFailedEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -// Nexus operation timed out. -type NexusOperationTimedOutEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo. - Failure *v13.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - // The request ID allocated at schedule time. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationTimedOutEventAttributes) Reset() { - *x = NexusOperationTimedOutEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationTimedOutEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationTimedOutEventAttributes) ProtoMessage() {} - -func (x *NexusOperationTimedOutEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[52] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationTimedOutEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationTimedOutEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{52} -} - -func (x *NexusOperationTimedOutEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationTimedOutEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *NexusOperationTimedOutEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -// Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow. -type NexusOperationCanceledEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // Cancellation details. - Failure *v13.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - // The request ID allocated at schedule time. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCanceledEventAttributes) Reset() { - *x = NexusOperationCanceledEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCanceledEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCanceledEventAttributes) ProtoMessage() {} - -func (x *NexusOperationCanceledEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCanceledEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationCanceledEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{53} -} - -func (x *NexusOperationCanceledEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationCanceledEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *NexusOperationCanceledEventAttributes) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -type NexusOperationCancelRequestedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. - ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported - // with. - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCancelRequestedEventAttributes) Reset() { - *x = NexusOperationCancelRequestedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCancelRequestedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCancelRequestedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationCancelRequestedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[54] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCancelRequestedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{54} -} - -func (x *NexusOperationCancelRequestedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *NexusOperationCancelRequestedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -type NexusOperationCancelRequestCompletedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event. - RequestedEventId int64 `protobuf:"varint,1,opt,name=requested_event_id,json=requestedEventId,proto3" json:"requested_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported - // with. - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. - ScheduledEventId int64 `protobuf:"varint,3,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) Reset() { - *x = NexusOperationCancelRequestCompletedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCancelRequestCompletedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[55] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCancelRequestCompletedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationCancelRequestCompletedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{55} -} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) GetRequestedEventId() int64 { - if x != nil { - return x.RequestedEventId - } - return 0 -} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *NexusOperationCancelRequestCompletedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -type NexusOperationCancelRequestFailedEventAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event. - RequestedEventId int64 `protobuf:"varint,1,opt,name=requested_event_id,json=requestedEventId,proto3" json:"requested_event_id,omitempty"` - // The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported - // with. - WorkflowTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=workflow_task_completed_event_id,json=workflowTaskCompletedEventId,proto3" json:"workflow_task_completed_event_id,omitempty"` - // Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo. - Failure *v13.Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"` - // The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to. - ScheduledEventId int64 `protobuf:"varint,4,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) Reset() { - *x = NexusOperationCancelRequestFailedEventAttributes{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCancelRequestFailedEventAttributes) ProtoMessage() {} - -func (x *NexusOperationCancelRequestFailedEventAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[56] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCancelRequestFailedEventAttributes.ProtoReflect.Descriptor instead. -func (*NexusOperationCancelRequestFailedEventAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{56} -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) GetRequestedEventId() int64 { - if x != nil { - return x.RequestedEventId - } - return 0 -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) GetWorkflowTaskCompletedEventId() int64 { - if x != nil { - return x.WorkflowTaskCompletedEventId - } - return 0 -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) GetFailure() *v13.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *NexusOperationCancelRequestFailedEventAttributes) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -// History events are the method by which Temporal SDKs advance (or recreate) workflow state. -// See the `EventType` enum for more info about what each event is for. -type HistoryEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Monotonically increasing event number, starts at 1. - EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - EventType v12.EventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=temporal.api.enums.v1.EventType" json:"event_type,omitempty"` - // TODO: What is this? Appears unused by SDKs - Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // TODO: What is this? Appears unused by SDKs - TaskId int64 `protobuf:"varint,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - // Set to true when the SDK may ignore the event as it does not impact workflow state or - // information in any way that the SDK need be concerned with. If an SDK encounters an event - // type which it does not understand, it must error unless this is true. If it is true, it's - // acceptable for the event type and/or attributes to be uninterpretable. - WorkerMayIgnore bool `protobuf:"varint,300,opt,name=worker_may_ignore,json=workerMayIgnore,proto3" json:"worker_may_ignore,omitempty"` - // Metadata on the event. This is often carried over from commands and client calls. Most events - // won't have this information, and how this information is used is dependent upon the interface - // that reads it. - // - // Current well-known uses: - // - workflow_execution_started_event_attributes - summary and details from start workflow. - // - timer_started_event_attributes - summary represents an identifier for the timer for use by - // user interfaces. - UserMetadata *v16.UserMetadata `protobuf:"bytes,301,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - // Links associated with the event. - Links []*v1.Link `protobuf:"bytes,302,rep,name=links,proto3" json:"links,omitempty"` - // The event details. The type must match that in `event_type`. - // - // Types that are valid to be assigned to Attributes: - // - // *HistoryEvent_WorkflowExecutionStartedEventAttributes - // *HistoryEvent_WorkflowExecutionCompletedEventAttributes - // *HistoryEvent_WorkflowExecutionFailedEventAttributes - // *HistoryEvent_WorkflowExecutionTimedOutEventAttributes - // *HistoryEvent_WorkflowTaskScheduledEventAttributes - // *HistoryEvent_WorkflowTaskStartedEventAttributes - // *HistoryEvent_WorkflowTaskCompletedEventAttributes - // *HistoryEvent_WorkflowTaskTimedOutEventAttributes - // *HistoryEvent_WorkflowTaskFailedEventAttributes - // *HistoryEvent_ActivityTaskScheduledEventAttributes - // *HistoryEvent_ActivityTaskStartedEventAttributes - // *HistoryEvent_ActivityTaskCompletedEventAttributes - // *HistoryEvent_ActivityTaskFailedEventAttributes - // *HistoryEvent_ActivityTaskTimedOutEventAttributes - // *HistoryEvent_TimerStartedEventAttributes - // *HistoryEvent_TimerFiredEventAttributes - // *HistoryEvent_ActivityTaskCancelRequestedEventAttributes - // *HistoryEvent_ActivityTaskCanceledEventAttributes - // *HistoryEvent_TimerCanceledEventAttributes - // *HistoryEvent_MarkerRecordedEventAttributes - // *HistoryEvent_WorkflowExecutionSignaledEventAttributes - // *HistoryEvent_WorkflowExecutionTerminatedEventAttributes - // *HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes - // *HistoryEvent_WorkflowExecutionCanceledEventAttributes - // *HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes - // *HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes - // *HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes - // *HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes - // *HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes - // *HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes - // *HistoryEvent_ChildWorkflowExecutionStartedEventAttributes - // *HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes - // *HistoryEvent_ChildWorkflowExecutionFailedEventAttributes - // *HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes - // *HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes - // *HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes - // *HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes - // *HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes - // *HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes - // *HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes - // *HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes - // *HistoryEvent_WorkflowExecutionUpdateRejectedEventAttributes - // *HistoryEvent_WorkflowExecutionUpdateCompletedEventAttributes - // *HistoryEvent_WorkflowPropertiesModifiedExternallyEventAttributes - // *HistoryEvent_ActivityPropertiesModifiedExternallyEventAttributes - // *HistoryEvent_WorkflowPropertiesModifiedEventAttributes - // *HistoryEvent_WorkflowExecutionUpdateAdmittedEventAttributes - // *HistoryEvent_NexusOperationScheduledEventAttributes - // *HistoryEvent_NexusOperationStartedEventAttributes - // *HistoryEvent_NexusOperationCompletedEventAttributes - // *HistoryEvent_NexusOperationFailedEventAttributes - // *HistoryEvent_NexusOperationCanceledEventAttributes - // *HistoryEvent_NexusOperationTimedOutEventAttributes - // *HistoryEvent_NexusOperationCancelRequestedEventAttributes - // *HistoryEvent_WorkflowExecutionOptionsUpdatedEventAttributes - // *HistoryEvent_NexusOperationCancelRequestCompletedEventAttributes - // *HistoryEvent_NexusOperationCancelRequestFailedEventAttributes - Attributes isHistoryEvent_Attributes `protobuf_oneof:"attributes"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HistoryEvent) Reset() { - *x = HistoryEvent{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HistoryEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistoryEvent) ProtoMessage() {} - -func (x *HistoryEvent) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[57] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistoryEvent.ProtoReflect.Descriptor instead. -func (*HistoryEvent) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{57} -} - -func (x *HistoryEvent) GetEventId() int64 { - if x != nil { - return x.EventId - } - return 0 -} - -func (x *HistoryEvent) GetEventTime() *timestamppb.Timestamp { - if x != nil { - return x.EventTime - } - return nil -} - -func (x *HistoryEvent) GetEventType() v12.EventType { - if x != nil { - return x.EventType - } - return v12.EventType(0) -} - -func (x *HistoryEvent) GetVersion() int64 { - if x != nil { - return x.Version - } - return 0 -} - -func (x *HistoryEvent) GetTaskId() int64 { - if x != nil { - return x.TaskId - } - return 0 -} - -func (x *HistoryEvent) GetWorkerMayIgnore() bool { - if x != nil { - return x.WorkerMayIgnore - } - return false -} - -func (x *HistoryEvent) GetUserMetadata() *v16.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -func (x *HistoryEvent) GetLinks() []*v1.Link { - if x != nil { - return x.Links - } - return nil -} - -func (x *HistoryEvent) GetAttributes() isHistoryEvent_Attributes { - if x != nil { - return x.Attributes - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionStartedEventAttributes() *WorkflowExecutionStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionStartedEventAttributes); ok { - return x.WorkflowExecutionStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionCompletedEventAttributes() *WorkflowExecutionCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionCompletedEventAttributes); ok { - return x.WorkflowExecutionCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionFailedEventAttributes() *WorkflowExecutionFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionFailedEventAttributes); ok { - return x.WorkflowExecutionFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionTimedOutEventAttributes() *WorkflowExecutionTimedOutEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionTimedOutEventAttributes); ok { - return x.WorkflowExecutionTimedOutEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowTaskScheduledEventAttributes() *WorkflowTaskScheduledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowTaskScheduledEventAttributes); ok { - return x.WorkflowTaskScheduledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowTaskStartedEventAttributes() *WorkflowTaskStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowTaskStartedEventAttributes); ok { - return x.WorkflowTaskStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowTaskCompletedEventAttributes() *WorkflowTaskCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowTaskCompletedEventAttributes); ok { - return x.WorkflowTaskCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowTaskTimedOutEventAttributes() *WorkflowTaskTimedOutEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowTaskTimedOutEventAttributes); ok { - return x.WorkflowTaskTimedOutEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowTaskFailedEventAttributes() *WorkflowTaskFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowTaskFailedEventAttributes); ok { - return x.WorkflowTaskFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskScheduledEventAttributes() *ActivityTaskScheduledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskScheduledEventAttributes); ok { - return x.ActivityTaskScheduledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskStartedEventAttributes() *ActivityTaskStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskStartedEventAttributes); ok { - return x.ActivityTaskStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskCompletedEventAttributes() *ActivityTaskCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskCompletedEventAttributes); ok { - return x.ActivityTaskCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskFailedEventAttributes() *ActivityTaskFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskFailedEventAttributes); ok { - return x.ActivityTaskFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskTimedOutEventAttributes() *ActivityTaskTimedOutEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskTimedOutEventAttributes); ok { - return x.ActivityTaskTimedOutEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetTimerStartedEventAttributes() *TimerStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_TimerStartedEventAttributes); ok { - return x.TimerStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetTimerFiredEventAttributes() *TimerFiredEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_TimerFiredEventAttributes); ok { - return x.TimerFiredEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskCancelRequestedEventAttributes() *ActivityTaskCancelRequestedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskCancelRequestedEventAttributes); ok { - return x.ActivityTaskCancelRequestedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityTaskCanceledEventAttributes() *ActivityTaskCanceledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityTaskCanceledEventAttributes); ok { - return x.ActivityTaskCanceledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetTimerCanceledEventAttributes() *TimerCanceledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_TimerCanceledEventAttributes); ok { - return x.TimerCanceledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetMarkerRecordedEventAttributes() *MarkerRecordedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_MarkerRecordedEventAttributes); ok { - return x.MarkerRecordedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionSignaledEventAttributes() *WorkflowExecutionSignaledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionSignaledEventAttributes); ok { - return x.WorkflowExecutionSignaledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionTerminatedEventAttributes() *WorkflowExecutionTerminatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionTerminatedEventAttributes); ok { - return x.WorkflowExecutionTerminatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionCancelRequestedEventAttributes() *WorkflowExecutionCancelRequestedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes); ok { - return x.WorkflowExecutionCancelRequestedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionCanceledEventAttributes() *WorkflowExecutionCanceledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionCanceledEventAttributes); ok { - return x.WorkflowExecutionCanceledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes); ok { - return x.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetRequestCancelExternalWorkflowExecutionFailedEventAttributes() *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes); ok { - return x.RequestCancelExternalWorkflowExecutionFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetExternalWorkflowExecutionCancelRequestedEventAttributes() *ExternalWorkflowExecutionCancelRequestedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes); ok { - return x.ExternalWorkflowExecutionCancelRequestedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionContinuedAsNewEventAttributes() *WorkflowExecutionContinuedAsNewEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes); ok { - return x.WorkflowExecutionContinuedAsNewEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetStartChildWorkflowExecutionInitiatedEventAttributes() *StartChildWorkflowExecutionInitiatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes); ok { - return x.StartChildWorkflowExecutionInitiatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetStartChildWorkflowExecutionFailedEventAttributes() *StartChildWorkflowExecutionFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes); ok { - return x.StartChildWorkflowExecutionFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionStartedEventAttributes() *ChildWorkflowExecutionStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes); ok { - return x.ChildWorkflowExecutionStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionCompletedEventAttributes() *ChildWorkflowExecutionCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes); ok { - return x.ChildWorkflowExecutionCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionFailedEventAttributes() *ChildWorkflowExecutionFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes); ok { - return x.ChildWorkflowExecutionFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionCanceledEventAttributes() *ChildWorkflowExecutionCanceledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes); ok { - return x.ChildWorkflowExecutionCanceledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionTimedOutEventAttributes() *ChildWorkflowExecutionTimedOutEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes); ok { - return x.ChildWorkflowExecutionTimedOutEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetChildWorkflowExecutionTerminatedEventAttributes() *ChildWorkflowExecutionTerminatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes); ok { - return x.ChildWorkflowExecutionTerminatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetSignalExternalWorkflowExecutionInitiatedEventAttributes() *SignalExternalWorkflowExecutionInitiatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes); ok { - return x.SignalExternalWorkflowExecutionInitiatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetSignalExternalWorkflowExecutionFailedEventAttributes() *SignalExternalWorkflowExecutionFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes); ok { - return x.SignalExternalWorkflowExecutionFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetExternalWorkflowExecutionSignaledEventAttributes() *ExternalWorkflowExecutionSignaledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes); ok { - return x.ExternalWorkflowExecutionSignaledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetUpsertWorkflowSearchAttributesEventAttributes() *UpsertWorkflowSearchAttributesEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes); ok { - return x.UpsertWorkflowSearchAttributesEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionUpdateAcceptedEventAttributes() *WorkflowExecutionUpdateAcceptedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes); ok { - return x.WorkflowExecutionUpdateAcceptedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionUpdateRejectedEventAttributes() *WorkflowExecutionUpdateRejectedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionUpdateRejectedEventAttributes); ok { - return x.WorkflowExecutionUpdateRejectedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionUpdateCompletedEventAttributes() *WorkflowExecutionUpdateCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionUpdateCompletedEventAttributes); ok { - return x.WorkflowExecutionUpdateCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowPropertiesModifiedExternallyEventAttributes() *WorkflowPropertiesModifiedExternallyEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowPropertiesModifiedExternallyEventAttributes); ok { - return x.WorkflowPropertiesModifiedExternallyEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetActivityPropertiesModifiedExternallyEventAttributes() *ActivityPropertiesModifiedExternallyEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_ActivityPropertiesModifiedExternallyEventAttributes); ok { - return x.ActivityPropertiesModifiedExternallyEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowPropertiesModifiedEventAttributes() *WorkflowPropertiesModifiedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowPropertiesModifiedEventAttributes); ok { - return x.WorkflowPropertiesModifiedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionUpdateAdmittedEventAttributes() *WorkflowExecutionUpdateAdmittedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionUpdateAdmittedEventAttributes); ok { - return x.WorkflowExecutionUpdateAdmittedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationScheduledEventAttributes() *NexusOperationScheduledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationScheduledEventAttributes); ok { - return x.NexusOperationScheduledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationStartedEventAttributes() *NexusOperationStartedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationStartedEventAttributes); ok { - return x.NexusOperationStartedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationCompletedEventAttributes() *NexusOperationCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationCompletedEventAttributes); ok { - return x.NexusOperationCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationFailedEventAttributes() *NexusOperationFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationFailedEventAttributes); ok { - return x.NexusOperationFailedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationCanceledEventAttributes() *NexusOperationCanceledEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationCanceledEventAttributes); ok { - return x.NexusOperationCanceledEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationTimedOutEventAttributes() *NexusOperationTimedOutEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationTimedOutEventAttributes); ok { - return x.NexusOperationTimedOutEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationCancelRequestedEventAttributes() *NexusOperationCancelRequestedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationCancelRequestedEventAttributes); ok { - return x.NexusOperationCancelRequestedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetWorkflowExecutionOptionsUpdatedEventAttributes() *WorkflowExecutionOptionsUpdatedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_WorkflowExecutionOptionsUpdatedEventAttributes); ok { - return x.WorkflowExecutionOptionsUpdatedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationCancelRequestCompletedEventAttributes() *NexusOperationCancelRequestCompletedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationCancelRequestCompletedEventAttributes); ok { - return x.NexusOperationCancelRequestCompletedEventAttributes - } - } - return nil -} - -func (x *HistoryEvent) GetNexusOperationCancelRequestFailedEventAttributes() *NexusOperationCancelRequestFailedEventAttributes { - if x != nil { - if x, ok := x.Attributes.(*HistoryEvent_NexusOperationCancelRequestFailedEventAttributes); ok { - return x.NexusOperationCancelRequestFailedEventAttributes - } - } - return nil -} - -type isHistoryEvent_Attributes interface { - isHistoryEvent_Attributes() -} - -type HistoryEvent_WorkflowExecutionStartedEventAttributes struct { - WorkflowExecutionStartedEventAttributes *WorkflowExecutionStartedEventAttributes `protobuf:"bytes,6,opt,name=workflow_execution_started_event_attributes,json=workflowExecutionStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionCompletedEventAttributes struct { - WorkflowExecutionCompletedEventAttributes *WorkflowExecutionCompletedEventAttributes `protobuf:"bytes,7,opt,name=workflow_execution_completed_event_attributes,json=workflowExecutionCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionFailedEventAttributes struct { - WorkflowExecutionFailedEventAttributes *WorkflowExecutionFailedEventAttributes `protobuf:"bytes,8,opt,name=workflow_execution_failed_event_attributes,json=workflowExecutionFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionTimedOutEventAttributes struct { - WorkflowExecutionTimedOutEventAttributes *WorkflowExecutionTimedOutEventAttributes `protobuf:"bytes,9,opt,name=workflow_execution_timed_out_event_attributes,json=workflowExecutionTimedOutEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowTaskScheduledEventAttributes struct { - WorkflowTaskScheduledEventAttributes *WorkflowTaskScheduledEventAttributes `protobuf:"bytes,10,opt,name=workflow_task_scheduled_event_attributes,json=workflowTaskScheduledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowTaskStartedEventAttributes struct { - WorkflowTaskStartedEventAttributes *WorkflowTaskStartedEventAttributes `protobuf:"bytes,11,opt,name=workflow_task_started_event_attributes,json=workflowTaskStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowTaskCompletedEventAttributes struct { - WorkflowTaskCompletedEventAttributes *WorkflowTaskCompletedEventAttributes `protobuf:"bytes,12,opt,name=workflow_task_completed_event_attributes,json=workflowTaskCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowTaskTimedOutEventAttributes struct { - WorkflowTaskTimedOutEventAttributes *WorkflowTaskTimedOutEventAttributes `protobuf:"bytes,13,opt,name=workflow_task_timed_out_event_attributes,json=workflowTaskTimedOutEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowTaskFailedEventAttributes struct { - WorkflowTaskFailedEventAttributes *WorkflowTaskFailedEventAttributes `protobuf:"bytes,14,opt,name=workflow_task_failed_event_attributes,json=workflowTaskFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskScheduledEventAttributes struct { - ActivityTaskScheduledEventAttributes *ActivityTaskScheduledEventAttributes `protobuf:"bytes,15,opt,name=activity_task_scheduled_event_attributes,json=activityTaskScheduledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskStartedEventAttributes struct { - ActivityTaskStartedEventAttributes *ActivityTaskStartedEventAttributes `protobuf:"bytes,16,opt,name=activity_task_started_event_attributes,json=activityTaskStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskCompletedEventAttributes struct { - ActivityTaskCompletedEventAttributes *ActivityTaskCompletedEventAttributes `protobuf:"bytes,17,opt,name=activity_task_completed_event_attributes,json=activityTaskCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskFailedEventAttributes struct { - ActivityTaskFailedEventAttributes *ActivityTaskFailedEventAttributes `protobuf:"bytes,18,opt,name=activity_task_failed_event_attributes,json=activityTaskFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskTimedOutEventAttributes struct { - ActivityTaskTimedOutEventAttributes *ActivityTaskTimedOutEventAttributes `protobuf:"bytes,19,opt,name=activity_task_timed_out_event_attributes,json=activityTaskTimedOutEventAttributes,proto3,oneof"` -} - -type HistoryEvent_TimerStartedEventAttributes struct { - TimerStartedEventAttributes *TimerStartedEventAttributes `protobuf:"bytes,20,opt,name=timer_started_event_attributes,json=timerStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_TimerFiredEventAttributes struct { - TimerFiredEventAttributes *TimerFiredEventAttributes `protobuf:"bytes,21,opt,name=timer_fired_event_attributes,json=timerFiredEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskCancelRequestedEventAttributes struct { - ActivityTaskCancelRequestedEventAttributes *ActivityTaskCancelRequestedEventAttributes `protobuf:"bytes,22,opt,name=activity_task_cancel_requested_event_attributes,json=activityTaskCancelRequestedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityTaskCanceledEventAttributes struct { - ActivityTaskCanceledEventAttributes *ActivityTaskCanceledEventAttributes `protobuf:"bytes,23,opt,name=activity_task_canceled_event_attributes,json=activityTaskCanceledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_TimerCanceledEventAttributes struct { - TimerCanceledEventAttributes *TimerCanceledEventAttributes `protobuf:"bytes,24,opt,name=timer_canceled_event_attributes,json=timerCanceledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_MarkerRecordedEventAttributes struct { - MarkerRecordedEventAttributes *MarkerRecordedEventAttributes `protobuf:"bytes,25,opt,name=marker_recorded_event_attributes,json=markerRecordedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionSignaledEventAttributes struct { - WorkflowExecutionSignaledEventAttributes *WorkflowExecutionSignaledEventAttributes `protobuf:"bytes,26,opt,name=workflow_execution_signaled_event_attributes,json=workflowExecutionSignaledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionTerminatedEventAttributes struct { - WorkflowExecutionTerminatedEventAttributes *WorkflowExecutionTerminatedEventAttributes `protobuf:"bytes,27,opt,name=workflow_execution_terminated_event_attributes,json=workflowExecutionTerminatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes struct { - WorkflowExecutionCancelRequestedEventAttributes *WorkflowExecutionCancelRequestedEventAttributes `protobuf:"bytes,28,opt,name=workflow_execution_cancel_requested_event_attributes,json=workflowExecutionCancelRequestedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionCanceledEventAttributes struct { - WorkflowExecutionCanceledEventAttributes *WorkflowExecutionCanceledEventAttributes `protobuf:"bytes,29,opt,name=workflow_execution_canceled_event_attributes,json=workflowExecutionCanceledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { - RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,30,opt,name=request_cancel_external_workflow_execution_initiated_event_attributes,json=requestCancelExternalWorkflowExecutionInitiatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { - RequestCancelExternalWorkflowExecutionFailedEventAttributes *RequestCancelExternalWorkflowExecutionFailedEventAttributes `protobuf:"bytes,31,opt,name=request_cancel_external_workflow_execution_failed_event_attributes,json=requestCancelExternalWorkflowExecutionFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes struct { - ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes `protobuf:"bytes,32,opt,name=external_workflow_execution_cancel_requested_event_attributes,json=externalWorkflowExecutionCancelRequestedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes struct { - WorkflowExecutionContinuedAsNewEventAttributes *WorkflowExecutionContinuedAsNewEventAttributes `protobuf:"bytes,33,opt,name=workflow_execution_continued_as_new_event_attributes,json=workflowExecutionContinuedAsNewEventAttributes,proto3,oneof"` -} - -type HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes struct { - StartChildWorkflowExecutionInitiatedEventAttributes *StartChildWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,34,opt,name=start_child_workflow_execution_initiated_event_attributes,json=startChildWorkflowExecutionInitiatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes struct { - StartChildWorkflowExecutionFailedEventAttributes *StartChildWorkflowExecutionFailedEventAttributes `protobuf:"bytes,35,opt,name=start_child_workflow_execution_failed_event_attributes,json=startChildWorkflowExecutionFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionStartedEventAttributes struct { - ChildWorkflowExecutionStartedEventAttributes *ChildWorkflowExecutionStartedEventAttributes `protobuf:"bytes,36,opt,name=child_workflow_execution_started_event_attributes,json=childWorkflowExecutionStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes struct { - ChildWorkflowExecutionCompletedEventAttributes *ChildWorkflowExecutionCompletedEventAttributes `protobuf:"bytes,37,opt,name=child_workflow_execution_completed_event_attributes,json=childWorkflowExecutionCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionFailedEventAttributes struct { - ChildWorkflowExecutionFailedEventAttributes *ChildWorkflowExecutionFailedEventAttributes `protobuf:"bytes,38,opt,name=child_workflow_execution_failed_event_attributes,json=childWorkflowExecutionFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes struct { - ChildWorkflowExecutionCanceledEventAttributes *ChildWorkflowExecutionCanceledEventAttributes `protobuf:"bytes,39,opt,name=child_workflow_execution_canceled_event_attributes,json=childWorkflowExecutionCanceledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes struct { - ChildWorkflowExecutionTimedOutEventAttributes *ChildWorkflowExecutionTimedOutEventAttributes `protobuf:"bytes,40,opt,name=child_workflow_execution_timed_out_event_attributes,json=childWorkflowExecutionTimedOutEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes struct { - ChildWorkflowExecutionTerminatedEventAttributes *ChildWorkflowExecutionTerminatedEventAttributes `protobuf:"bytes,41,opt,name=child_workflow_execution_terminated_event_attributes,json=childWorkflowExecutionTerminatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes struct { - SignalExternalWorkflowExecutionInitiatedEventAttributes *SignalExternalWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,42,opt,name=signal_external_workflow_execution_initiated_event_attributes,json=signalExternalWorkflowExecutionInitiatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes struct { - SignalExternalWorkflowExecutionFailedEventAttributes *SignalExternalWorkflowExecutionFailedEventAttributes `protobuf:"bytes,43,opt,name=signal_external_workflow_execution_failed_event_attributes,json=signalExternalWorkflowExecutionFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes struct { - ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes `protobuf:"bytes,44,opt,name=external_workflow_execution_signaled_event_attributes,json=externalWorkflowExecutionSignaledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes struct { - UpsertWorkflowSearchAttributesEventAttributes *UpsertWorkflowSearchAttributesEventAttributes `protobuf:"bytes,45,opt,name=upsert_workflow_search_attributes_event_attributes,json=upsertWorkflowSearchAttributesEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes struct { - WorkflowExecutionUpdateAcceptedEventAttributes *WorkflowExecutionUpdateAcceptedEventAttributes `protobuf:"bytes,46,opt,name=workflow_execution_update_accepted_event_attributes,json=workflowExecutionUpdateAcceptedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionUpdateRejectedEventAttributes struct { - WorkflowExecutionUpdateRejectedEventAttributes *WorkflowExecutionUpdateRejectedEventAttributes `protobuf:"bytes,47,opt,name=workflow_execution_update_rejected_event_attributes,json=workflowExecutionUpdateRejectedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionUpdateCompletedEventAttributes struct { - WorkflowExecutionUpdateCompletedEventAttributes *WorkflowExecutionUpdateCompletedEventAttributes `protobuf:"bytes,48,opt,name=workflow_execution_update_completed_event_attributes,json=workflowExecutionUpdateCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowPropertiesModifiedExternallyEventAttributes struct { - WorkflowPropertiesModifiedExternallyEventAttributes *WorkflowPropertiesModifiedExternallyEventAttributes `protobuf:"bytes,49,opt,name=workflow_properties_modified_externally_event_attributes,json=workflowPropertiesModifiedExternallyEventAttributes,proto3,oneof"` -} - -type HistoryEvent_ActivityPropertiesModifiedExternallyEventAttributes struct { - ActivityPropertiesModifiedExternallyEventAttributes *ActivityPropertiesModifiedExternallyEventAttributes `protobuf:"bytes,50,opt,name=activity_properties_modified_externally_event_attributes,json=activityPropertiesModifiedExternallyEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowPropertiesModifiedEventAttributes struct { - WorkflowPropertiesModifiedEventAttributes *WorkflowPropertiesModifiedEventAttributes `protobuf:"bytes,51,opt,name=workflow_properties_modified_event_attributes,json=workflowPropertiesModifiedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionUpdateAdmittedEventAttributes struct { - WorkflowExecutionUpdateAdmittedEventAttributes *WorkflowExecutionUpdateAdmittedEventAttributes `protobuf:"bytes,52,opt,name=workflow_execution_update_admitted_event_attributes,json=workflowExecutionUpdateAdmittedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationScheduledEventAttributes struct { - NexusOperationScheduledEventAttributes *NexusOperationScheduledEventAttributes `protobuf:"bytes,53,opt,name=nexus_operation_scheduled_event_attributes,json=nexusOperationScheduledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationStartedEventAttributes struct { - NexusOperationStartedEventAttributes *NexusOperationStartedEventAttributes `protobuf:"bytes,54,opt,name=nexus_operation_started_event_attributes,json=nexusOperationStartedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationCompletedEventAttributes struct { - NexusOperationCompletedEventAttributes *NexusOperationCompletedEventAttributes `protobuf:"bytes,55,opt,name=nexus_operation_completed_event_attributes,json=nexusOperationCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationFailedEventAttributes struct { - NexusOperationFailedEventAttributes *NexusOperationFailedEventAttributes `protobuf:"bytes,56,opt,name=nexus_operation_failed_event_attributes,json=nexusOperationFailedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationCanceledEventAttributes struct { - NexusOperationCanceledEventAttributes *NexusOperationCanceledEventAttributes `protobuf:"bytes,57,opt,name=nexus_operation_canceled_event_attributes,json=nexusOperationCanceledEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationTimedOutEventAttributes struct { - NexusOperationTimedOutEventAttributes *NexusOperationTimedOutEventAttributes `protobuf:"bytes,58,opt,name=nexus_operation_timed_out_event_attributes,json=nexusOperationTimedOutEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationCancelRequestedEventAttributes struct { - NexusOperationCancelRequestedEventAttributes *NexusOperationCancelRequestedEventAttributes `protobuf:"bytes,59,opt,name=nexus_operation_cancel_requested_event_attributes,json=nexusOperationCancelRequestedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_WorkflowExecutionOptionsUpdatedEventAttributes struct { - WorkflowExecutionOptionsUpdatedEventAttributes *WorkflowExecutionOptionsUpdatedEventAttributes `protobuf:"bytes,60,opt,name=workflow_execution_options_updated_event_attributes,json=workflowExecutionOptionsUpdatedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationCancelRequestCompletedEventAttributes struct { - NexusOperationCancelRequestCompletedEventAttributes *NexusOperationCancelRequestCompletedEventAttributes `protobuf:"bytes,61,opt,name=nexus_operation_cancel_request_completed_event_attributes,json=nexusOperationCancelRequestCompletedEventAttributes,proto3,oneof"` -} - -type HistoryEvent_NexusOperationCancelRequestFailedEventAttributes struct { - NexusOperationCancelRequestFailedEventAttributes *NexusOperationCancelRequestFailedEventAttributes `protobuf:"bytes,62,opt,name=nexus_operation_cancel_request_failed_event_attributes,json=nexusOperationCancelRequestFailedEventAttributes,proto3,oneof"` -} - -func (*HistoryEvent_WorkflowExecutionStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionTimedOutEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowTaskScheduledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowTaskStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowTaskCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowTaskTimedOutEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowTaskFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskScheduledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskTimedOutEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_TimerStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_TimerFiredEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskCancelRequestedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ActivityTaskCanceledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_TimerCanceledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_MarkerRecordedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionSignaledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionTerminatedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionCanceledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionUpdateRejectedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionUpdateCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowPropertiesModifiedExternallyEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_ActivityPropertiesModifiedExternallyEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_WorkflowPropertiesModifiedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionUpdateAdmittedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationScheduledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationStartedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationCompletedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationFailedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationCanceledEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationTimedOutEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationCancelRequestedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_WorkflowExecutionOptionsUpdatedEventAttributes) isHistoryEvent_Attributes() {} - -func (*HistoryEvent_NexusOperationCancelRequestCompletedEventAttributes) isHistoryEvent_Attributes() { -} - -func (*HistoryEvent_NexusOperationCancelRequestFailedEventAttributes) isHistoryEvent_Attributes() {} - -type History struct { - state protoimpl.MessageState `protogen:"open.v1"` - Events []*HistoryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *History) Reset() { - *x = History{} - mi := &file_temporal_api_history_v1_message_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *History) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*History) ProtoMessage() {} - -func (x *History) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_history_v1_message_proto_msgTypes[58] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use History.ProtoReflect.Descriptor instead. -func (*History) Descriptor() ([]byte, []int) { - return file_temporal_api_history_v1_message_proto_rawDescGZIP(), []int{58} -} - -func (x *History) GetEvents() []*HistoryEvent { - if x != nil { - return x.Events - } - return nil -} - -var File_temporal_api_history_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_history_v1_message_proto_rawDesc = "" + - "\n" + - "%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a0temporal/api/sdk/v1/task_complete_metadata.proto\x1a'temporal/api/sdk/v1/user_metadata.proto\"\xa3\x15\n" + - "'WorkflowExecutionStartedEventAttributes\x12I\n" + - "\rworkflow_type\x18\x01 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12:\n" + - "\x19parent_workflow_namespace\x18\x02 \x01(\tR\x17parentWorkflowNamespace\x12?\n" + - "\x1cparent_workflow_namespace_id\x18\x1b \x01(\tR\x19parentWorkflowNamespaceId\x12e\n" + - "\x19parent_workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x17parentWorkflowExecution\x129\n" + - "\x19parent_initiated_event_id\x18\x04 \x01(\x03R\x16parentInitiatedEventId\x12C\n" + - "\n" + - "task_queue\x18\x05 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x06 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\t \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12;\n" + - "\x1acontinued_execution_run_id\x18\n" + - " \x01(\tR\x17continuedExecutionRunId\x12K\n" + - "\tinitiator\x18\v \x01(\x0e2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\x12M\n" + - "\x11continued_failure\x18\f \x01(\v2 .temporal.api.failure.v1.FailureR\x10continuedFailure\x12V\n" + - "\x16last_completion_result\x18\r \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastCompletionResult\x129\n" + - "\x19original_execution_run_id\x18\x0e \x01(\tR\x16originalExecutionRunId\x12\x1a\n" + - "\bidentity\x18\x0f \x01(\tR\bidentity\x123\n" + - "\x16first_execution_run_id\x18\x10 \x01(\tR\x13firstExecutionRunId\x12F\n" + - "\fretry_policy\x18\x11 \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12\x18\n" + - "\aattempt\x18\x12 \x01(\x05R\aattempt\x12g\n" + - "\"workflow_execution_expiration_time\x18\x13 \x01(\v2\x1a.google.protobuf.TimestampR\x1fworkflowExecutionExpirationTime\x12#\n" + - "\rcron_schedule\x18\x14 \x01(\tR\fcronSchedule\x12X\n" + - "\x1bfirst_workflow_task_backoff\x18\x15 \x01(\v2\x19.google.protobuf.DurationR\x18firstWorkflowTaskBackoff\x120\n" + - "\x04memo\x18\x16 \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x17 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12Z\n" + - "\x16prev_auto_reset_points\x18\x18 \x01(\v2%.temporal.api.workflow.v1.ResetPointsR\x13prevAutoResetPoints\x126\n" + - "\x06header\x18\x19 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12C\n" + - "\x1eparent_initiated_event_version\x18\x1a \x01(\x03R\x1bparentInitiatedEventVersion\x12\x1f\n" + - "\vworkflow_id\x18\x1c \x01(\tR\n" + - "workflowId\x12`\n" + - "\x14source_version_stamp\x18\x1d \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\x12sourceVersionStamp\x12S\n" + - "\x14completion_callbacks\x18\x1e \x03(\v2 .temporal.api.common.v1.CallbackR\x13completionCallbacks\x12a\n" + - "\x17root_workflow_execution\x18\x1f \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x15rootWorkflowExecution\x120\n" + - "\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01R\x10inheritedBuildId\x12]\n" + - "\x13versioning_override\x18! \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12X\n" + - "'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01R#parentPinnedWorkerDeploymentVersion\x12<\n" + - "\bpriority\x18# \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\x12m\n" + - "\x18inherited_pinned_version\x18% \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x16inheritedPinnedVersion\x128\n" + - "\x18eager_execution_accepted\x18& \x01(\bR\x16eagerExecutionAcceptedJ\x04\b$\x10%R parent_pinned_deployment_version\"\xde\x01\n" + - ")WorkflowExecutionCompletedEventAttributes\x128\n" + - "\x06result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12/\n" + - "\x14new_execution_run_id\x18\x03 \x01(\tR\x11newExecutionRunId\"\xa1\x02\n" + - "&WorkflowExecutionFailedEventAttributes\x12:\n" + - "\afailure\x18\x01 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12B\n" + - "\vretry_state\x18\x02 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\x12F\n" + - " workflow_task_completed_event_id\x18\x03 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12/\n" + - "\x14new_execution_run_id\x18\x04 \x01(\tR\x11newExecutionRunId\"\x9f\x01\n" + - "(WorkflowExecutionTimedOutEventAttributes\x12B\n" + - "\vretry_state\x18\x01 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\x12/\n" + - "\x14new_execution_run_id\x18\x02 \x01(\tR\x11newExecutionRunId\"\xb2\b\n" + - ".WorkflowExecutionContinuedAsNewEventAttributes\x12/\n" + - "\x14new_execution_run_id\x18\x01 \x01(\tR\x11newExecutionRunId\x12I\n" + - "\rworkflow_type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x03 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12K\n" + - "\x14workflow_run_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12F\n" + - " workflow_task_completed_event_id\x18\a \x01(\x03R\x1cworkflowTaskCompletedEventId\x12O\n" + - "\x16backoff_start_interval\x18\b \x01(\v2\x19.google.protobuf.DurationR\x14backoffStartInterval\x12K\n" + - "\tinitiator\x18\t \x01(\x0e2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\x12>\n" + - "\afailure\x18\n" + - " \x01(\v2 .temporal.api.failure.v1.FailureB\x02\x18\x01R\afailure\x12V\n" + - "\x16last_completion_result\x18\v \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastCompletionResult\x126\n" + - "\x06header\x18\f \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x120\n" + - "\x04memo\x18\r \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x0e \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12,\n" + - "\x10inherit_build_id\x18\x0f \x01(\bB\x02\x18\x01R\x0einheritBuildId\"\xd5\x01\n" + - "$WorkflowTaskScheduledEventAttributes\x12C\n" + - "\n" + - "task_queue\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12N\n" + - "\x16start_to_close_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12\x18\n" + - "\aattempt\x18\x03 \x01(\x05R\aattempt\"\x88\x03\n" + - "\"WorkflowTaskStartedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\x125\n" + - "\x17suggest_continue_as_new\x18\x04 \x01(\bR\x14suggestContinueAsNew\x12,\n" + - "\x12history_size_bytes\x18\x05 \x01(\x03R\x10historySizeBytes\x12U\n" + - "\x0eworker_version\x18\x06 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12=\n" + - "\x19build_id_redirect_counter\x18\a \x01(\x03B\x02\x18\x01R\x16buildIdRedirectCounter\"\xce\x06\n" + - "$WorkflowTaskCompletedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12+\n" + - "\x0fbinary_checksum\x18\x04 \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12U\n" + - "\x0eworker_version\x18\x05 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12U\n" + - "\fsdk_metadata\x18\x06 \x01(\v22.temporal.api.sdk.v1.WorkflowTaskCompletedMetadataR\vsdkMetadata\x12U\n" + - "\x11metering_metadata\x18\r \x01(\v2(.temporal.api.common.v1.MeteringMetadataR\x10meteringMetadata\x12J\n" + - "\n" + - "deployment\x18\a \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12Z\n" + - "\x13versioning_behavior\x18\b \x01(\x0e2).temporal.api.enums.v1.VersioningBehaviorR\x12versioningBehavior\x12>\n" + - "\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01R\x17workerDeploymentVersion\x124\n" + - "\x16worker_deployment_name\x18\n" + - " \x01(\tR\x14workerDeploymentName\x12b\n" + - "\x12deployment_version\x18\v \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\"\xc4\x01\n" + - "#WorkflowTaskTimedOutEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\x12E\n" + - "\ftimeout_type\x18\x03 \x01(\x0e2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType\"\x89\x04\n" + - "!WorkflowTaskFailedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\x12D\n" + - "\x05cause\x18\x03 \x01(\x0e2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\x05cause\x12:\n" + - "\afailure\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12\x1e\n" + - "\vbase_run_id\x18\x06 \x01(\tR\tbaseRunId\x12\x1c\n" + - "\n" + - "new_run_id\x18\a \x01(\tR\bnewRunId\x12,\n" + - "\x12fork_event_version\x18\b \x01(\x03R\x10forkEventVersion\x12+\n" + - "\x0fbinary_checksum\x18\t \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12U\n" + - "\x0eworker_version\x18\n" + - " \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\"\x96\a\n" + - "$ActivityTaskScheduledEventAttributes\x12\x1f\n" + - "\vactivity_id\x18\x01 \x01(\tR\n" + - "activityId\x12I\n" + - "\ractivity_type\x18\x02 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x06header\x18\x05 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x126\n" + - "\x05input\x18\x06 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12T\n" + - "\x19schedule_to_close_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12T\n" + - "\x19schedule_to_start_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToStartTimeout\x12N\n" + - "\x16start_to_close_timeout\x18\t \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12F\n" + - "\x11heartbeat_timeout\x18\n" + - " \x01(\v2\x19.google.protobuf.DurationR\x10heartbeatTimeout\x12F\n" + - " workflow_task_completed_event_id\x18\v \x01(\x03R\x1cworkflowTaskCompletedEventId\x12F\n" + - "\fretry_policy\x18\f \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x125\n" + - "\x15use_workflow_build_id\x18\r \x01(\bB\x02\x18\x01R\x12useWorkflowBuildId\x12<\n" + - "\bpriority\x18\x0e \x01(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\x04\b\x03\x10\x04\"\x82\x03\n" + - "\"ActivityTaskStartedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\x12\x18\n" + - "\aattempt\x18\x04 \x01(\x05R\aattempt\x12C\n" + - "\flast_failure\x18\x05 \x01(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\x12U\n" + - "\x0eworker_version\x18\x06 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12=\n" + - "\x19build_id_redirect_counter\x18\a \x01(\x03B\x02\x18\x01R\x16buildIdRedirectCounter\"\xab\x02\n" + - "$ActivityTaskCompletedEventAttributes\x128\n" + - "\x06result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\x12,\n" + - "\x12scheduled_event_id\x18\x02 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x03 \x01(\x03R\x0estartedEventId\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\x12U\n" + - "\x0eworker_version\x18\x05 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\"\xee\x02\n" + - "!ActivityTaskFailedEventAttributes\x12:\n" + - "\afailure\x18\x01 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12,\n" + - "\x12scheduled_event_id\x18\x02 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x03 \x01(\x03R\x0estartedEventId\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\x12B\n" + - "\vretry_state\x18\x05 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\x12U\n" + - "\x0eworker_version\x18\x06 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\"\xfd\x01\n" + - "#ActivityTaskTimedOutEventAttributes\x12:\n" + - "\afailure\x18\x01 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12,\n" + - "\x12scheduled_event_id\x18\x02 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x03 \x01(\x03R\x0estartedEventId\x12B\n" + - "\vretry_state\x18\x04 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\"\xa2\x01\n" + - "*ActivityTaskCancelRequestedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\"\xf4\x02\n" + - "#ActivityTaskCanceledEventAttributes\x12:\n" + - "\adetails\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12F\n" + - " latest_cancel_requested_event_id\x18\x02 \x01(\x03R\x1clatestCancelRequestedEventId\x12,\n" + - "\x12scheduled_event_id\x18\x03 \x01(\x03R\x10scheduledEventId\x12(\n" + - "\x10started_event_id\x18\x04 \x01(\x03R\x0estartedEventId\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12U\n" + - "\x0eworker_version\x18\x06 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\"\xce\x01\n" + - "\x1bTimerStartedEventAttributes\x12\x19\n" + - "\btimer_id\x18\x01 \x01(\tR\atimerId\x12L\n" + - "\x15start_to_fire_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x12startToFireTimeout\x12F\n" + - " workflow_task_completed_event_id\x18\x03 \x01(\x03R\x1cworkflowTaskCompletedEventId\"`\n" + - "\x19TimerFiredEventAttributes\x12\x19\n" + - "\btimer_id\x18\x01 \x01(\tR\atimerId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\"\xc7\x01\n" + - "\x1cTimerCanceledEventAttributes\x12\x19\n" + - "\btimer_id\x18\x01 \x01(\tR\atimerId\x12(\n" + - "\x10started_event_id\x18\x02 \x01(\x03R\x0estartedEventId\x12F\n" + - " workflow_task_completed_event_id\x18\x03 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\"\x8d\x02\n" + - "/WorkflowExecutionCancelRequestedEventAttributes\x12\x14\n" + - "\x05cause\x18\x01 \x01(\tR\x05cause\x12=\n" + - "\x1bexternal_initiated_event_id\x18\x02 \x01(\x03R\x18externalInitiatedEventId\x12i\n" + - "\x1bexternal_workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x19externalWorkflowExecution\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\"\xae\x01\n" + - "(WorkflowExecutionCanceledEventAttributes\x12F\n" + - " workflow_task_completed_event_id\x18\x01 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12:\n" + - "\adetails\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\xb9\x03\n" + - "\x1dMarkerRecordedEventAttributes\x12\x1f\n" + - "\vmarker_name\x18\x01 \x01(\tR\n" + - "markerName\x12]\n" + - "\adetails\x18\x02 \x03(\v2C.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntryR\adetails\x12F\n" + - " workflow_task_completed_event_id\x18\x03 \x01(\x03R\x1cworkflowTaskCompletedEventId\x126\n" + - "\x06header\x18\x04 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12:\n" + - "\afailure\x18\x05 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x1a\\\n" + - "\fDetailsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x126\n" + - "\x05value\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05value:\x028\x01\"\x85\x03\n" + - "(WorkflowExecutionSignaledEventAttributes\x12\x1f\n" + - "\vsignal_name\x18\x01 \x01(\tR\n" + - "signalName\x126\n" + - "\x05input\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x126\n" + - "\x06header\x18\x04 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12A\n" + - "\x1bskip_generate_workflow_task\x18\x05 \x01(\bB\x02\x18\x01R\x18skipGenerateWorkflowTask\x12i\n" + - "\x1bexternal_workflow_execution\x18\x06 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x19externalWorkflowExecution\"\x9c\x01\n" + - "*WorkflowExecutionTerminatedEventAttributes\x12\x16\n" + - "\x06reason\x18\x01 \x01(\tR\x06reason\x12:\n" + - "\adetails\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\"\x89\x03\n" + - ">RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12F\n" + - " workflow_task_completed_event_id\x18\x01 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1c\n" + - "\acontrol\x18\x04 \x01(\tB\x02\x18\x01R\acontrol\x12.\n" + - "\x13child_workflow_only\x18\x05 \x01(\bR\x11childWorkflowOnly\x12\x16\n" + - "\x06reason\x18\x06 \x01(\tR\x06reason\"\xc5\x03\n" + - ";RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12W\n" + - "\x05cause\x18\x01 \x01(\x0e2A.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCauseR\x05cause\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1c\n" + - "\tnamespace\x18\x03 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x04 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12,\n" + - "\x12initiated_event_id\x18\x05 \x01(\x03R\x10initiatedEventId\x12\x1c\n" + - "\acontrol\x18\x06 \x01(\tB\x02\x18\x01R\acontrol\"\x82\x02\n" + - "7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12,\n" + - "\x12initiated_event_id\x18\x01 \x01(\x03R\x10initiatedEventId\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x04 \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\"\xfb\x03\n" + - "7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12F\n" + - " workflow_task_completed_event_id\x18\x01 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\t \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1f\n" + - "\vsignal_name\x18\x04 \x01(\tR\n" + - "signalName\x126\n" + - "\x05input\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12\x1c\n" + - "\acontrol\x18\x06 \x01(\tB\x02\x18\x01R\acontrol\x12.\n" + - "\x13child_workflow_only\x18\a \x01(\bR\x11childWorkflowOnly\x126\n" + - "\x06header\x18\b \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\"\xbe\x03\n" + - "4SignalExternalWorkflowExecutionFailedEventAttributes\x12W\n" + - "\x05cause\x18\x01 \x01(\x0e2A.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCauseR\x05cause\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1c\n" + - "\tnamespace\x18\x03 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x04 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12,\n" + - "\x12initiated_event_id\x18\x05 \x01(\x03R\x10initiatedEventId\x12\x1c\n" + - "\acontrol\x18\x06 \x01(\tB\x02\x18\x01R\acontrol\"\x99\x02\n" + - "0ExternalWorkflowExecutionSignaledEventAttributes\x12,\n" + - "\x12initiated_event_id\x18\x01 \x01(\x03R\x10initiatedEventId\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x05 \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1c\n" + - "\acontrol\x18\x04 \x01(\tB\x02\x18\x01R\acontrol\"\xce\x01\n" + - "-UpsertWorkflowSearchAttributesEventAttributes\x12F\n" + - " workflow_task_completed_event_id\x18\x01 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12U\n" + - "\x11search_attributes\x18\x02 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\"\xb6\x01\n" + - ")WorkflowPropertiesModifiedEventAttributes\x12F\n" + - " workflow_task_completed_event_id\x18\x01 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12A\n" + - "\rupserted_memo\x18\x02 \x01(\v2\x1c.temporal.api.common.v1.MemoR\fupsertedMemo\"\x95\n" + - "\n" + - "3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x12 \x01(\tR\vnamespaceId\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12X\n" + - "\x13parent_close_policy\x18\t \x01(\x0e2(.temporal.api.enums.v1.ParentClosePolicyR\x11parentClosePolicy\x12\x1c\n" + - "\acontrol\x18\n" + - " \x01(\tB\x02\x18\x01R\acontrol\x12F\n" + - " workflow_task_completed_event_id\x18\v \x01(\x03R\x1cworkflowTaskCompletedEventId\x12e\n" + - "\x18workflow_id_reuse_policy\x18\f \x01(\x0e2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\x15workflowIdReusePolicy\x12F\n" + - "\fretry_policy\x18\r \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12#\n" + - "\rcron_schedule\x18\x0e \x01(\tR\fcronSchedule\x126\n" + - "\x06header\x18\x0f \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x120\n" + - "\x04memo\x18\x10 \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x11 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12,\n" + - "\x10inherit_build_id\x18\x13 \x01(\bB\x02\x18\x01R\x0einheritBuildId\x12<\n" + - "\bpriority\x18\x14 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\xc8\x03\n" + - "0StartChildWorkflowExecutionFailedEventAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\b \x01(\tR\vnamespaceId\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12S\n" + - "\x05cause\x18\x04 \x01(\x0e2=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCauseR\x05cause\x12\x1c\n" + - "\acontrol\x18\x05 \x01(\tB\x02\x18\x01R\acontrol\x12,\n" + - "\x12initiated_event_id\x18\x06 \x01(\x03R\x10initiatedEventId\x12F\n" + - " workflow_task_completed_event_id\x18\a \x01(\x03R\x1cworkflowTaskCompletedEventId\"\xfa\x02\n" + - ",ChildWorkflowExecutionStartedEventAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x06 \x01(\tR\vnamespaceId\x12,\n" + - "\x12initiated_event_id\x18\x02 \x01(\x03R\x10initiatedEventId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x04 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x126\n" + - "\x06header\x18\x05 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\"\xa8\x03\n" + - ".ChildWorkflowExecutionCompletedEventAttributes\x128\n" + - "\x06result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x04 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x05 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x06 \x01(\x03R\x0estartedEventId\"\xeb\x03\n" + - "+ChildWorkflowExecutionFailedEventAttributes\x12:\n" + - "\afailure\x18\x01 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\b \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x04 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x05 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x06 \x01(\x03R\x0estartedEventId\x12B\n" + - "\vretry_state\x18\a \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\"\xa9\x03\n" + - "-ChildWorkflowExecutionCanceledEventAttributes\x12:\n" + - "\adetails\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x03 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x04 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x05 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x06 \x01(\x03R\x0estartedEventId\"\xb1\x03\n" + - "-ChildWorkflowExecutionTimedOutEventAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\a \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x04 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x05 \x01(\x03R\x0estartedEventId\x12B\n" + - "\vretry_state\x18\x06 \x01(\x0e2!.temporal.api.enums.v1.RetryStateR\n" + - "retryState\"\xef\x02\n" + - "/ChildWorkflowExecutionTerminatedEventAttributes\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x06 \x01(\tR\vnamespaceId\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12,\n" + - "\x12initiated_event_id\x18\x04 \x01(\x03R\x10initiatedEventId\x12(\n" + - "\x10started_event_id\x18\x05 \x01(\x03R\x0estartedEventId\"\xfd\x02\n" + - ".WorkflowExecutionOptionsUpdatedEventAttributes\x12]\n" + - "\x13versioning_override\x18\x01 \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12:\n" + - "\x19unset_versioning_override\x18\x02 \x01(\bR\x17unsetVersioningOverride\x12.\n" + - "\x13attached_request_id\x18\x03 \x01(\tR\x11attachedRequestId\x12d\n" + - "\x1dattached_completion_callbacks\x18\x04 \x03(\v2 .temporal.api.common.v1.CallbackR\x1battachedCompletionCallbacks\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\"\xa8\x03\n" + - "3WorkflowPropertiesModifiedExternallyEventAttributes\x12$\n" + - "\x0enew_task_queue\x18\x01 \x01(\tR\fnewTaskQueue\x12T\n" + - "\x19new_workflow_task_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x16newWorkflowTaskTimeout\x12R\n" + - "\x18new_workflow_run_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x15newWorkflowRunTimeout\x12^\n" + - "\x1enew_workflow_execution_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x1bnewWorkflowExecutionTimeout\x12A\n" + - "\rupserted_memo\x18\x05 \x01(\v2\x1c.temporal.api.common.v1.MemoR\fupsertedMemo\"\xb2\x01\n" + - "3ActivityPropertiesModifiedExternallyEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12M\n" + - "\x10new_retry_policy\x18\x02 \x01(\v2#.temporal.api.common.v1.RetryPolicyR\x0enewRetryPolicy\"\xbd\x02\n" + - ".WorkflowExecutionUpdateAcceptedEventAttributes\x120\n" + - "\x14protocol_instance_id\x18\x01 \x01(\tR\x12protocolInstanceId\x12=\n" + - "\x1baccepted_request_message_id\x18\x02 \x01(\tR\x18acceptedRequestMessageId\x12N\n" + - "$accepted_request_sequencing_event_id\x18\x03 \x01(\x03R acceptedRequestSequencingEventId\x12J\n" + - "\x10accepted_request\x18\x04 \x01(\v2\x1f.temporal.api.update.v1.RequestR\x0facceptedRequest\"\xca\x01\n" + - "/WorkflowExecutionUpdateCompletedEventAttributes\x120\n" + - "\x04meta\x18\x01 \x01(\v2\x1c.temporal.api.update.v1.MetaR\x04meta\x12*\n" + - "\x11accepted_event_id\x18\x03 \x01(\x03R\x0facceptedEventId\x129\n" + - "\aoutcome\x18\x02 \x01(\v2\x1f.temporal.api.update.v1.OutcomeR\aoutcome\"\xf9\x02\n" + - ".WorkflowExecutionUpdateRejectedEventAttributes\x120\n" + - "\x14protocol_instance_id\x18\x01 \x01(\tR\x12protocolInstanceId\x12=\n" + - "\x1brejected_request_message_id\x18\x02 \x01(\tR\x18rejectedRequestMessageId\x12N\n" + - "$rejected_request_sequencing_event_id\x18\x03 \x01(\x03R rejectedRequestSequencingEventId\x12J\n" + - "\x10rejected_request\x18\x04 \x01(\v2\x1f.temporal.api.update.v1.RequestR\x0frejectedRequest\x12:\n" + - "\afailure\x18\x05 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\"\xb5\x01\n" + - ".WorkflowExecutionUpdateAdmittedEventAttributes\x129\n" + - "\arequest\x18\x01 \x01(\v2\x1f.temporal.api.update.v1.RequestR\arequest\x12H\n" + - "\x06origin\x18\x02 \x01(\x0e20.temporal.api.enums.v1.UpdateAdmittedEventOriginR\x06origin\"\xc6\x04\n" + - "&NexusOperationScheduledEventAttributes\x12\x1a\n" + - "\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x18\n" + - "\aservice\x18\x02 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x03 \x01(\tR\toperation\x125\n" + - "\x05input\x18\x04 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05input\x12T\n" + - "\x19schedule_to_close_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12s\n" + - "\fnexus_header\x18\x06 \x03(\v2P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntryR\vnexusHeader\x12F\n" + - " workflow_task_completed_event_id\x18\a \x01(\x03R\x1cworkflowTaskCompletedEventId\x12\x1d\n" + - "\n" + - "request_id\x18\b \x01(\tR\trequestId\x12\x1f\n" + - "\vendpoint_id\x18\t \x01(\tR\n" + - "endpointId\x1a>\n" + - "\x10NexusHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xc3\x01\n" + - "$NexusOperationStartedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12%\n" + - "\foperation_id\x18\x03 \x01(\tB\x02\x18\x01R\voperationId\x12\x1d\n" + - "\n" + - "request_id\x18\x04 \x01(\tR\trequestId\x12'\n" + - "\x0foperation_token\x18\x05 \x01(\tR\x0eoperationToken\"\xae\x01\n" + - "&NexusOperationCompletedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x127\n" + - "\x06result\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x06result\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\"\xae\x01\n" + - "#NexusOperationFailedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12:\n" + - "\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\"\xb0\x01\n" + - "%NexusOperationTimedOutEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12:\n" + - "\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\"\xb0\x01\n" + - "%NexusOperationCanceledEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12:\n" + - "\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\"\xa4\x01\n" + - ",NexusOperationCancelRequestedEventAttributes\x12,\n" + - "\x12scheduled_event_id\x18\x01 \x01(\x03R\x10scheduledEventId\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\"\xd9\x01\n" + - "3NexusOperationCancelRequestCompletedEventAttributes\x12,\n" + - "\x12requested_event_id\x18\x01 \x01(\x03R\x10requestedEventId\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12,\n" + - "\x12scheduled_event_id\x18\x03 \x01(\x03R\x10scheduledEventId\"\x92\x02\n" + - "0NexusOperationCancelRequestFailedEventAttributes\x12,\n" + - "\x12requested_event_id\x18\x01 \x01(\x03R\x10requestedEventId\x12F\n" + - " workflow_task_completed_event_id\x18\x02 \x01(\x03R\x1cworkflowTaskCompletedEventId\x12:\n" + - "\afailure\x18\x03 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12,\n" + - "\x12scheduled_event_id\x18\x04 \x01(\x03R\x10scheduledEventId\"\xf7O\n" + - "\fHistoryEvent\x12\x19\n" + - "\bevent_id\x18\x01 \x01(\x03R\aeventId\x129\n" + - "\n" + - "event_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\teventTime\x12?\n" + - "\n" + - "event_type\x18\x03 \x01(\x0e2 .temporal.api.enums.v1.EventTypeR\teventType\x12\x18\n" + - "\aversion\x18\x04 \x01(\x03R\aversion\x12\x17\n" + - "\atask_id\x18\x05 \x01(\x03R\x06taskId\x12+\n" + - "\x11worker_may_ignore\x18\xac\x02 \x01(\bR\x0fworkerMayIgnore\x12G\n" + - "\ruser_metadata\x18\xad\x02 \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x123\n" + - "\x05links\x18\xae\x02 \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x12\xa0\x01\n" + - "+workflow_execution_started_event_attributes\x18\x06 \x01(\v2@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00R'workflowExecutionStartedEventAttributes\x12\xa6\x01\n" + - "-workflow_execution_completed_event_attributes\x18\a \x01(\v2B.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00R)workflowExecutionCompletedEventAttributes\x12\x9d\x01\n" + - "*workflow_execution_failed_event_attributes\x18\b \x01(\v2?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00R&workflowExecutionFailedEventAttributes\x12\xa4\x01\n" + - "-workflow_execution_timed_out_event_attributes\x18\t \x01(\v2A.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00R(workflowExecutionTimedOutEventAttributes\x12\x97\x01\n" + - "(workflow_task_scheduled_event_attributes\x18\n" + - " \x01(\v2=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00R$workflowTaskScheduledEventAttributes\x12\x91\x01\n" + - "&workflow_task_started_event_attributes\x18\v \x01(\v2;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00R\"workflowTaskStartedEventAttributes\x12\x97\x01\n" + - "(workflow_task_completed_event_attributes\x18\f \x01(\v2=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00R$workflowTaskCompletedEventAttributes\x12\x95\x01\n" + - "(workflow_task_timed_out_event_attributes\x18\r \x01(\v2<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00R#workflowTaskTimedOutEventAttributes\x12\x8e\x01\n" + - "%workflow_task_failed_event_attributes\x18\x0e \x01(\v2:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00R!workflowTaskFailedEventAttributes\x12\x97\x01\n" + - "(activity_task_scheduled_event_attributes\x18\x0f \x01(\v2=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00R$activityTaskScheduledEventAttributes\x12\x91\x01\n" + - "&activity_task_started_event_attributes\x18\x10 \x01(\v2;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00R\"activityTaskStartedEventAttributes\x12\x97\x01\n" + - "(activity_task_completed_event_attributes\x18\x11 \x01(\v2=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00R$activityTaskCompletedEventAttributes\x12\x8e\x01\n" + - "%activity_task_failed_event_attributes\x18\x12 \x01(\v2:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00R!activityTaskFailedEventAttributes\x12\x95\x01\n" + - "(activity_task_timed_out_event_attributes\x18\x13 \x01(\v2<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00R#activityTaskTimedOutEventAttributes\x12{\n" + - "\x1etimer_started_event_attributes\x18\x14 \x01(\v24.temporal.api.history.v1.TimerStartedEventAttributesH\x00R\x1btimerStartedEventAttributes\x12u\n" + - "\x1ctimer_fired_event_attributes\x18\x15 \x01(\v22.temporal.api.history.v1.TimerFiredEventAttributesH\x00R\x19timerFiredEventAttributes\x12\xaa\x01\n" + - "/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\v2C.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00R*activityTaskCancelRequestedEventAttributes\x12\x94\x01\n" + - "'activity_task_canceled_event_attributes\x18\x17 \x01(\v2<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00R#activityTaskCanceledEventAttributes\x12~\n" + - "\x1ftimer_canceled_event_attributes\x18\x18 \x01(\v25.temporal.api.history.v1.TimerCanceledEventAttributesH\x00R\x1ctimerCanceledEventAttributes\x12\x81\x01\n" + - " marker_recorded_event_attributes\x18\x19 \x01(\v26.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00R\x1dmarkerRecordedEventAttributes\x12\xa3\x01\n" + - ",workflow_execution_signaled_event_attributes\x18\x1a \x01(\v2A.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00R(workflowExecutionSignaledEventAttributes\x12\xa9\x01\n" + - ".workflow_execution_terminated_event_attributes\x18\x1b \x01(\v2C.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00R*workflowExecutionTerminatedEventAttributes\x12\xb9\x01\n" + - "4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\v2H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00R/workflowExecutionCancelRequestedEventAttributes\x12\xa3\x01\n" + - ",workflow_execution_canceled_event_attributes\x18\x1d \x01(\v2A.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00R(workflowExecutionCanceledEventAttributes\x12\xe8\x01\n" + - "Erequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\v2W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00R>requestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12\xdf\x01\n" + - "Brequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\v2T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00R;requestCancelExternalWorkflowExecutionFailedEventAttributes\x12\xd2\x01\n" + - "=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\v2P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00R7externalWorkflowExecutionCancelRequestedEventAttributes\x12\xb7\x01\n" + - "4workflow_execution_continued_as_new_event_attributes\x18! \x01(\v2G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00R.workflowExecutionContinuedAsNewEventAttributes\x12\xc6\x01\n" + - "9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\v2L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00R3startChildWorkflowExecutionInitiatedEventAttributes\x12\xbd\x01\n" + - "6start_child_workflow_execution_failed_event_attributes\x18# \x01(\v2I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00R0startChildWorkflowExecutionFailedEventAttributes\x12\xb0\x01\n" + - "1child_workflow_execution_started_event_attributes\x18$ \x01(\v2E.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00R,childWorkflowExecutionStartedEventAttributes\x12\xb6\x01\n" + - "3child_workflow_execution_completed_event_attributes\x18% \x01(\v2G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00R.childWorkflowExecutionCompletedEventAttributes\x12\xad\x01\n" + - "0child_workflow_execution_failed_event_attributes\x18& \x01(\v2D.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00R+childWorkflowExecutionFailedEventAttributes\x12\xb3\x01\n" + - "2child_workflow_execution_canceled_event_attributes\x18' \x01(\v2F.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00R-childWorkflowExecutionCanceledEventAttributes\x12\xb4\x01\n" + - "3child_workflow_execution_timed_out_event_attributes\x18( \x01(\v2F.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00R-childWorkflowExecutionTimedOutEventAttributes\x12\xb9\x01\n" + - "4child_workflow_execution_terminated_event_attributes\x18) \x01(\v2H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00R/childWorkflowExecutionTerminatedEventAttributes\x12\xd2\x01\n" + - "=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\v2P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00R7signalExternalWorkflowExecutionInitiatedEventAttributes\x12\xc9\x01\n" + - ":signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\v2M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00R4signalExternalWorkflowExecutionFailedEventAttributes\x12\xbc\x01\n" + - "5external_workflow_execution_signaled_event_attributes\x18, \x01(\v2I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00R0externalWorkflowExecutionSignaledEventAttributes\x12\xb3\x01\n" + - "2upsert_workflow_search_attributes_event_attributes\x18- \x01(\v2F.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00R-upsertWorkflowSearchAttributesEventAttributes\x12\xb6\x01\n" + - "3workflow_execution_update_accepted_event_attributes\x18. \x01(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00R.workflowExecutionUpdateAcceptedEventAttributes\x12\xb6\x01\n" + - "3workflow_execution_update_rejected_event_attributes\x18/ \x01(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00R.workflowExecutionUpdateRejectedEventAttributes\x12\xb9\x01\n" + - "4workflow_execution_update_completed_event_attributes\x180 \x01(\v2H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00R/workflowExecutionUpdateCompletedEventAttributes\x12\xc5\x01\n" + - "8workflow_properties_modified_externally_event_attributes\x181 \x01(\v2L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00R3workflowPropertiesModifiedExternallyEventAttributes\x12\xc5\x01\n" + - "8activity_properties_modified_externally_event_attributes\x182 \x01(\v2L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00R3activityPropertiesModifiedExternallyEventAttributes\x12\xa6\x01\n" + - "-workflow_properties_modified_event_attributes\x183 \x01(\v2B.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00R)workflowPropertiesModifiedEventAttributes\x12\xb6\x01\n" + - "3workflow_execution_update_admitted_event_attributes\x184 \x01(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00R.workflowExecutionUpdateAdmittedEventAttributes\x12\x9d\x01\n" + - "*nexus_operation_scheduled_event_attributes\x185 \x01(\v2?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00R&nexusOperationScheduledEventAttributes\x12\x97\x01\n" + - "(nexus_operation_started_event_attributes\x186 \x01(\v2=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00R$nexusOperationStartedEventAttributes\x12\x9d\x01\n" + - "*nexus_operation_completed_event_attributes\x187 \x01(\v2?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00R&nexusOperationCompletedEventAttributes\x12\x94\x01\n" + - "'nexus_operation_failed_event_attributes\x188 \x01(\v2<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00R#nexusOperationFailedEventAttributes\x12\x9a\x01\n" + - ")nexus_operation_canceled_event_attributes\x189 \x01(\v2>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00R%nexusOperationCanceledEventAttributes\x12\x9b\x01\n" + - "*nexus_operation_timed_out_event_attributes\x18: \x01(\v2>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00R%nexusOperationTimedOutEventAttributes\x12\xb0\x01\n" + - "1nexus_operation_cancel_requested_event_attributes\x18; \x01(\v2E.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00R,nexusOperationCancelRequestedEventAttributes\x12\xb6\x01\n" + - "3workflow_execution_options_updated_event_attributes\x18< \x01(\v2G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00R.workflowExecutionOptionsUpdatedEventAttributes\x12\xc6\x01\n" + - "9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\v2L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00R3nexusOperationCancelRequestCompletedEventAttributes\x12\xbd\x01\n" + - "6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\v2I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00R0nexusOperationCancelRequestFailedEventAttributesB\f\n" + - "\n" + - "attributes\"H\n" + - "\aHistory\x12=\n" + - "\x06events\x18\x01 \x03(\v2%.temporal.api.history.v1.HistoryEventR\x06eventsB\x8e\x01\n" + - "\x1aio.temporal.api.history.v1B\fMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3" - -var ( - file_temporal_api_history_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_history_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_history_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_history_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_history_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_history_v1_message_proto_rawDesc), len(file_temporal_api_history_v1_message_proto_rawDesc))) - }) - return file_temporal_api_history_v1_message_proto_rawDescData -} - -var file_temporal_api_history_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 61) -var file_temporal_api_history_v1_message_proto_goTypes = []any{ - (*WorkflowExecutionStartedEventAttributes)(nil), // 0: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes - (*WorkflowExecutionCompletedEventAttributes)(nil), // 1: temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes - (*WorkflowExecutionFailedEventAttributes)(nil), // 2: temporal.api.history.v1.WorkflowExecutionFailedEventAttributes - (*WorkflowExecutionTimedOutEventAttributes)(nil), // 3: temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes - (*WorkflowExecutionContinuedAsNewEventAttributes)(nil), // 4: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes - (*WorkflowTaskScheduledEventAttributes)(nil), // 5: temporal.api.history.v1.WorkflowTaskScheduledEventAttributes - (*WorkflowTaskStartedEventAttributes)(nil), // 6: temporal.api.history.v1.WorkflowTaskStartedEventAttributes - (*WorkflowTaskCompletedEventAttributes)(nil), // 7: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes - (*WorkflowTaskTimedOutEventAttributes)(nil), // 8: temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes - (*WorkflowTaskFailedEventAttributes)(nil), // 9: temporal.api.history.v1.WorkflowTaskFailedEventAttributes - (*ActivityTaskScheduledEventAttributes)(nil), // 10: temporal.api.history.v1.ActivityTaskScheduledEventAttributes - (*ActivityTaskStartedEventAttributes)(nil), // 11: temporal.api.history.v1.ActivityTaskStartedEventAttributes - (*ActivityTaskCompletedEventAttributes)(nil), // 12: temporal.api.history.v1.ActivityTaskCompletedEventAttributes - (*ActivityTaskFailedEventAttributes)(nil), // 13: temporal.api.history.v1.ActivityTaskFailedEventAttributes - (*ActivityTaskTimedOutEventAttributes)(nil), // 14: temporal.api.history.v1.ActivityTaskTimedOutEventAttributes - (*ActivityTaskCancelRequestedEventAttributes)(nil), // 15: temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes - (*ActivityTaskCanceledEventAttributes)(nil), // 16: temporal.api.history.v1.ActivityTaskCanceledEventAttributes - (*TimerStartedEventAttributes)(nil), // 17: temporal.api.history.v1.TimerStartedEventAttributes - (*TimerFiredEventAttributes)(nil), // 18: temporal.api.history.v1.TimerFiredEventAttributes - (*TimerCanceledEventAttributes)(nil), // 19: temporal.api.history.v1.TimerCanceledEventAttributes - (*WorkflowExecutionCancelRequestedEventAttributes)(nil), // 20: temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes - (*WorkflowExecutionCanceledEventAttributes)(nil), // 21: temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes - (*MarkerRecordedEventAttributes)(nil), // 22: temporal.api.history.v1.MarkerRecordedEventAttributes - (*WorkflowExecutionSignaledEventAttributes)(nil), // 23: temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes - (*WorkflowExecutionTerminatedEventAttributes)(nil), // 24: temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes - (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)(nil), // 25: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes - (*RequestCancelExternalWorkflowExecutionFailedEventAttributes)(nil), // 26: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes - (*ExternalWorkflowExecutionCancelRequestedEventAttributes)(nil), // 27: temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes - (*SignalExternalWorkflowExecutionInitiatedEventAttributes)(nil), // 28: temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes - (*SignalExternalWorkflowExecutionFailedEventAttributes)(nil), // 29: temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes - (*ExternalWorkflowExecutionSignaledEventAttributes)(nil), // 30: temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes - (*UpsertWorkflowSearchAttributesEventAttributes)(nil), // 31: temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes - (*WorkflowPropertiesModifiedEventAttributes)(nil), // 32: temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes - (*StartChildWorkflowExecutionInitiatedEventAttributes)(nil), // 33: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes - (*StartChildWorkflowExecutionFailedEventAttributes)(nil), // 34: temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes - (*ChildWorkflowExecutionStartedEventAttributes)(nil), // 35: temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes - (*ChildWorkflowExecutionCompletedEventAttributes)(nil), // 36: temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes - (*ChildWorkflowExecutionFailedEventAttributes)(nil), // 37: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes - (*ChildWorkflowExecutionCanceledEventAttributes)(nil), // 38: temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes - (*ChildWorkflowExecutionTimedOutEventAttributes)(nil), // 39: temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes - (*ChildWorkflowExecutionTerminatedEventAttributes)(nil), // 40: temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes - (*WorkflowExecutionOptionsUpdatedEventAttributes)(nil), // 41: temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes - (*WorkflowPropertiesModifiedExternallyEventAttributes)(nil), // 42: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes - (*ActivityPropertiesModifiedExternallyEventAttributes)(nil), // 43: temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes - (*WorkflowExecutionUpdateAcceptedEventAttributes)(nil), // 44: temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes - (*WorkflowExecutionUpdateCompletedEventAttributes)(nil), // 45: temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes - (*WorkflowExecutionUpdateRejectedEventAttributes)(nil), // 46: temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes - (*WorkflowExecutionUpdateAdmittedEventAttributes)(nil), // 47: temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes - (*NexusOperationScheduledEventAttributes)(nil), // 48: temporal.api.history.v1.NexusOperationScheduledEventAttributes - (*NexusOperationStartedEventAttributes)(nil), // 49: temporal.api.history.v1.NexusOperationStartedEventAttributes - (*NexusOperationCompletedEventAttributes)(nil), // 50: temporal.api.history.v1.NexusOperationCompletedEventAttributes - (*NexusOperationFailedEventAttributes)(nil), // 51: temporal.api.history.v1.NexusOperationFailedEventAttributes - (*NexusOperationTimedOutEventAttributes)(nil), // 52: temporal.api.history.v1.NexusOperationTimedOutEventAttributes - (*NexusOperationCanceledEventAttributes)(nil), // 53: temporal.api.history.v1.NexusOperationCanceledEventAttributes - (*NexusOperationCancelRequestedEventAttributes)(nil), // 54: temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes - (*NexusOperationCancelRequestCompletedEventAttributes)(nil), // 55: temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes - (*NexusOperationCancelRequestFailedEventAttributes)(nil), // 56: temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes - (*HistoryEvent)(nil), // 57: temporal.api.history.v1.HistoryEvent - (*History)(nil), // 58: temporal.api.history.v1.History - nil, // 59: temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry - nil, // 60: temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry - (*v1.WorkflowType)(nil), // 61: temporal.api.common.v1.WorkflowType - (*v1.WorkflowExecution)(nil), // 62: temporal.api.common.v1.WorkflowExecution - (*v11.TaskQueue)(nil), // 63: temporal.api.taskqueue.v1.TaskQueue - (*v1.Payloads)(nil), // 64: temporal.api.common.v1.Payloads - (*durationpb.Duration)(nil), // 65: google.protobuf.Duration - (v12.ContinueAsNewInitiator)(0), // 66: temporal.api.enums.v1.ContinueAsNewInitiator - (*v13.Failure)(nil), // 67: temporal.api.failure.v1.Failure - (*v1.RetryPolicy)(nil), // 68: temporal.api.common.v1.RetryPolicy - (*timestamppb.Timestamp)(nil), // 69: google.protobuf.Timestamp - (*v1.Memo)(nil), // 70: temporal.api.common.v1.Memo - (*v1.SearchAttributes)(nil), // 71: temporal.api.common.v1.SearchAttributes - (*v14.ResetPoints)(nil), // 72: temporal.api.workflow.v1.ResetPoints - (*v1.Header)(nil), // 73: temporal.api.common.v1.Header - (*v1.WorkerVersionStamp)(nil), // 74: temporal.api.common.v1.WorkerVersionStamp - (*v1.Callback)(nil), // 75: temporal.api.common.v1.Callback - (*v14.VersioningOverride)(nil), // 76: temporal.api.workflow.v1.VersioningOverride - (*v1.Priority)(nil), // 77: temporal.api.common.v1.Priority - (*v15.WorkerDeploymentVersion)(nil), // 78: temporal.api.deployment.v1.WorkerDeploymentVersion - (v12.RetryState)(0), // 79: temporal.api.enums.v1.RetryState - (*v16.WorkflowTaskCompletedMetadata)(nil), // 80: temporal.api.sdk.v1.WorkflowTaskCompletedMetadata - (*v1.MeteringMetadata)(nil), // 81: temporal.api.common.v1.MeteringMetadata - (*v15.Deployment)(nil), // 82: temporal.api.deployment.v1.Deployment - (v12.VersioningBehavior)(0), // 83: temporal.api.enums.v1.VersioningBehavior - (v12.TimeoutType)(0), // 84: temporal.api.enums.v1.TimeoutType - (v12.WorkflowTaskFailedCause)(0), // 85: temporal.api.enums.v1.WorkflowTaskFailedCause - (*v1.ActivityType)(nil), // 86: temporal.api.common.v1.ActivityType - (v12.CancelExternalWorkflowExecutionFailedCause)(0), // 87: temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause - (v12.SignalExternalWorkflowExecutionFailedCause)(0), // 88: temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause - (v12.ParentClosePolicy)(0), // 89: temporal.api.enums.v1.ParentClosePolicy - (v12.WorkflowIdReusePolicy)(0), // 90: temporal.api.enums.v1.WorkflowIdReusePolicy - (v12.StartChildWorkflowExecutionFailedCause)(0), // 91: temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause - (*v17.Request)(nil), // 92: temporal.api.update.v1.Request - (*v17.Meta)(nil), // 93: temporal.api.update.v1.Meta - (*v17.Outcome)(nil), // 94: temporal.api.update.v1.Outcome - (v12.UpdateAdmittedEventOrigin)(0), // 95: temporal.api.enums.v1.UpdateAdmittedEventOrigin - (*v1.Payload)(nil), // 96: temporal.api.common.v1.Payload - (v12.EventType)(0), // 97: temporal.api.enums.v1.EventType - (*v16.UserMetadata)(nil), // 98: temporal.api.sdk.v1.UserMetadata - (*v1.Link)(nil), // 99: temporal.api.common.v1.Link -} -var file_temporal_api_history_v1_message_proto_depIdxs = []int32{ - 61, // 0: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 62, // 1: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 63, // 2: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 64, // 3: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 65, // 4: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.workflow_execution_timeout:type_name -> google.protobuf.Duration - 65, // 5: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.workflow_run_timeout:type_name -> google.protobuf.Duration - 65, // 6: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.workflow_task_timeout:type_name -> google.protobuf.Duration - 66, // 7: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.initiator:type_name -> temporal.api.enums.v1.ContinueAsNewInitiator - 67, // 8: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.continued_failure:type_name -> temporal.api.failure.v1.Failure - 64, // 9: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.last_completion_result:type_name -> temporal.api.common.v1.Payloads - 68, // 10: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 69, // 11: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.workflow_execution_expiration_time:type_name -> google.protobuf.Timestamp - 65, // 12: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.first_workflow_task_backoff:type_name -> google.protobuf.Duration - 70, // 13: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.memo:type_name -> temporal.api.common.v1.Memo - 71, // 14: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 72, // 15: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.prev_auto_reset_points:type_name -> temporal.api.workflow.v1.ResetPoints - 73, // 16: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.header:type_name -> temporal.api.common.v1.Header - 74, // 17: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp:type_name -> temporal.api.common.v1.WorkerVersionStamp - 75, // 18: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.completion_callbacks:type_name -> temporal.api.common.v1.Callback - 62, // 19: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.root_workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 76, // 20: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 77, // 21: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.priority:type_name -> temporal.api.common.v1.Priority - 78, // 22: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_pinned_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 64, // 23: temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.result:type_name -> temporal.api.common.v1.Payloads - 67, // 24: temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 79, // 25: temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 79, // 26: temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 61, // 27: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 63, // 28: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 64, // 29: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 65, // 30: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.workflow_run_timeout:type_name -> google.protobuf.Duration - 65, // 31: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.workflow_task_timeout:type_name -> google.protobuf.Duration - 65, // 32: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.backoff_start_interval:type_name -> google.protobuf.Duration - 66, // 33: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.initiator:type_name -> temporal.api.enums.v1.ContinueAsNewInitiator - 67, // 34: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 64, // 35: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.last_completion_result:type_name -> temporal.api.common.v1.Payloads - 73, // 36: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.header:type_name -> temporal.api.common.v1.Header - 70, // 37: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.memo:type_name -> temporal.api.common.v1.Memo - 71, // 38: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 63, // 39: temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 65, // 40: temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.start_to_close_timeout:type_name -> google.protobuf.Duration - 74, // 41: temporal.api.history.v1.WorkflowTaskStartedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 74, // 42: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 80, // 43: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.sdk_metadata:type_name -> temporal.api.sdk.v1.WorkflowTaskCompletedMetadata - 81, // 44: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.metering_metadata:type_name -> temporal.api.common.v1.MeteringMetadata - 82, // 45: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment:type_name -> temporal.api.deployment.v1.Deployment - 83, // 46: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.versioning_behavior:type_name -> temporal.api.enums.v1.VersioningBehavior - 78, // 47: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 84, // 48: temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.timeout_type:type_name -> temporal.api.enums.v1.TimeoutType - 85, // 49: temporal.api.history.v1.WorkflowTaskFailedEventAttributes.cause:type_name -> temporal.api.enums.v1.WorkflowTaskFailedCause - 67, // 50: temporal.api.history.v1.WorkflowTaskFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 74, // 51: temporal.api.history.v1.WorkflowTaskFailedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 86, // 52: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.activity_type:type_name -> temporal.api.common.v1.ActivityType - 63, // 53: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 73, // 54: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.header:type_name -> temporal.api.common.v1.Header - 64, // 55: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 65, // 56: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 65, // 57: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.schedule_to_start_timeout:type_name -> google.protobuf.Duration - 65, // 58: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.start_to_close_timeout:type_name -> google.protobuf.Duration - 65, // 59: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.heartbeat_timeout:type_name -> google.protobuf.Duration - 68, // 60: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 77, // 61: temporal.api.history.v1.ActivityTaskScheduledEventAttributes.priority:type_name -> temporal.api.common.v1.Priority - 67, // 62: temporal.api.history.v1.ActivityTaskStartedEventAttributes.last_failure:type_name -> temporal.api.failure.v1.Failure - 74, // 63: temporal.api.history.v1.ActivityTaskStartedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 64, // 64: temporal.api.history.v1.ActivityTaskCompletedEventAttributes.result:type_name -> temporal.api.common.v1.Payloads - 74, // 65: temporal.api.history.v1.ActivityTaskCompletedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 67, // 66: temporal.api.history.v1.ActivityTaskFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 79, // 67: temporal.api.history.v1.ActivityTaskFailedEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 74, // 68: temporal.api.history.v1.ActivityTaskFailedEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 67, // 69: temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 79, // 70: temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 64, // 71: temporal.api.history.v1.ActivityTaskCanceledEventAttributes.details:type_name -> temporal.api.common.v1.Payloads - 74, // 72: temporal.api.history.v1.ActivityTaskCanceledEventAttributes.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 65, // 73: temporal.api.history.v1.TimerStartedEventAttributes.start_to_fire_timeout:type_name -> google.protobuf.Duration - 62, // 74: temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.external_workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 64, // 75: temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.details:type_name -> temporal.api.common.v1.Payloads - 59, // 76: temporal.api.history.v1.MarkerRecordedEventAttributes.details:type_name -> temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry - 73, // 77: temporal.api.history.v1.MarkerRecordedEventAttributes.header:type_name -> temporal.api.common.v1.Header - 67, // 78: temporal.api.history.v1.MarkerRecordedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 64, // 79: temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 73, // 80: temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.header:type_name -> temporal.api.common.v1.Header - 62, // 81: temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.external_workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 64, // 82: temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.details:type_name -> temporal.api.common.v1.Payloads - 62, // 83: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 87, // 84: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.cause:type_name -> temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause - 62, // 85: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 62, // 86: temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 62, // 87: temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 64, // 88: temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 73, // 89: temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.header:type_name -> temporal.api.common.v1.Header - 88, // 90: temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.cause:type_name -> temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause - 62, // 91: temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 62, // 92: temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 71, // 93: temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 70, // 94: temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.upserted_memo:type_name -> temporal.api.common.v1.Memo - 61, // 95: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 63, // 96: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 64, // 97: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.input:type_name -> temporal.api.common.v1.Payloads - 65, // 98: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_execution_timeout:type_name -> google.protobuf.Duration - 65, // 99: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_run_timeout:type_name -> google.protobuf.Duration - 65, // 100: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_task_timeout:type_name -> google.protobuf.Duration - 89, // 101: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.parent_close_policy:type_name -> temporal.api.enums.v1.ParentClosePolicy - 90, // 102: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.workflow_id_reuse_policy:type_name -> temporal.api.enums.v1.WorkflowIdReusePolicy - 68, // 103: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 73, // 104: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.header:type_name -> temporal.api.common.v1.Header - 70, // 105: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.memo:type_name -> temporal.api.common.v1.Memo - 71, // 106: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 77, // 107: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.priority:type_name -> temporal.api.common.v1.Priority - 61, // 108: temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 91, // 109: temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.cause:type_name -> temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause - 62, // 110: temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 111: temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 73, // 112: temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.header:type_name -> temporal.api.common.v1.Header - 64, // 113: temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.result:type_name -> temporal.api.common.v1.Payloads - 62, // 114: temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 115: temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 67, // 116: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 62, // 117: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 118: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 79, // 119: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 64, // 120: temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.details:type_name -> temporal.api.common.v1.Payloads - 62, // 121: temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 122: temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 62, // 123: temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 124: temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 79, // 125: temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.retry_state:type_name -> temporal.api.enums.v1.RetryState - 62, // 126: temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 61, // 127: temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 76, // 128: temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 75, // 129: temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.attached_completion_callbacks:type_name -> temporal.api.common.v1.Callback - 65, // 130: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.new_workflow_task_timeout:type_name -> google.protobuf.Duration - 65, // 131: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.new_workflow_run_timeout:type_name -> google.protobuf.Duration - 65, // 132: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.new_workflow_execution_timeout:type_name -> google.protobuf.Duration - 70, // 133: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.upserted_memo:type_name -> temporal.api.common.v1.Memo - 68, // 134: temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.new_retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 92, // 135: temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.accepted_request:type_name -> temporal.api.update.v1.Request - 93, // 136: temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.meta:type_name -> temporal.api.update.v1.Meta - 94, // 137: temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.outcome:type_name -> temporal.api.update.v1.Outcome - 92, // 138: temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.rejected_request:type_name -> temporal.api.update.v1.Request - 67, // 139: temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 92, // 140: temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes.request:type_name -> temporal.api.update.v1.Request - 95, // 141: temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes.origin:type_name -> temporal.api.enums.v1.UpdateAdmittedEventOrigin - 96, // 142: temporal.api.history.v1.NexusOperationScheduledEventAttributes.input:type_name -> temporal.api.common.v1.Payload - 65, // 143: temporal.api.history.v1.NexusOperationScheduledEventAttributes.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 60, // 144: temporal.api.history.v1.NexusOperationScheduledEventAttributes.nexus_header:type_name -> temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry - 96, // 145: temporal.api.history.v1.NexusOperationCompletedEventAttributes.result:type_name -> temporal.api.common.v1.Payload - 67, // 146: temporal.api.history.v1.NexusOperationFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 67, // 147: temporal.api.history.v1.NexusOperationTimedOutEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 67, // 148: temporal.api.history.v1.NexusOperationCanceledEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 67, // 149: temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes.failure:type_name -> temporal.api.failure.v1.Failure - 69, // 150: temporal.api.history.v1.HistoryEvent.event_time:type_name -> google.protobuf.Timestamp - 97, // 151: temporal.api.history.v1.HistoryEvent.event_type:type_name -> temporal.api.enums.v1.EventType - 98, // 152: temporal.api.history.v1.HistoryEvent.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 99, // 153: temporal.api.history.v1.HistoryEvent.links:type_name -> temporal.api.common.v1.Link - 0, // 154: temporal.api.history.v1.HistoryEvent.workflow_execution_started_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionStartedEventAttributes - 1, // 155: temporal.api.history.v1.HistoryEvent.workflow_execution_completed_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes - 2, // 156: temporal.api.history.v1.HistoryEvent.workflow_execution_failed_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionFailedEventAttributes - 3, // 157: temporal.api.history.v1.HistoryEvent.workflow_execution_timed_out_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes - 5, // 158: temporal.api.history.v1.HistoryEvent.workflow_task_scheduled_event_attributes:type_name -> temporal.api.history.v1.WorkflowTaskScheduledEventAttributes - 6, // 159: temporal.api.history.v1.HistoryEvent.workflow_task_started_event_attributes:type_name -> temporal.api.history.v1.WorkflowTaskStartedEventAttributes - 7, // 160: temporal.api.history.v1.HistoryEvent.workflow_task_completed_event_attributes:type_name -> temporal.api.history.v1.WorkflowTaskCompletedEventAttributes - 8, // 161: temporal.api.history.v1.HistoryEvent.workflow_task_timed_out_event_attributes:type_name -> temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes - 9, // 162: temporal.api.history.v1.HistoryEvent.workflow_task_failed_event_attributes:type_name -> temporal.api.history.v1.WorkflowTaskFailedEventAttributes - 10, // 163: temporal.api.history.v1.HistoryEvent.activity_task_scheduled_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskScheduledEventAttributes - 11, // 164: temporal.api.history.v1.HistoryEvent.activity_task_started_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskStartedEventAttributes - 12, // 165: temporal.api.history.v1.HistoryEvent.activity_task_completed_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskCompletedEventAttributes - 13, // 166: temporal.api.history.v1.HistoryEvent.activity_task_failed_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskFailedEventAttributes - 14, // 167: temporal.api.history.v1.HistoryEvent.activity_task_timed_out_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskTimedOutEventAttributes - 17, // 168: temporal.api.history.v1.HistoryEvent.timer_started_event_attributes:type_name -> temporal.api.history.v1.TimerStartedEventAttributes - 18, // 169: temporal.api.history.v1.HistoryEvent.timer_fired_event_attributes:type_name -> temporal.api.history.v1.TimerFiredEventAttributes - 15, // 170: temporal.api.history.v1.HistoryEvent.activity_task_cancel_requested_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes - 16, // 171: temporal.api.history.v1.HistoryEvent.activity_task_canceled_event_attributes:type_name -> temporal.api.history.v1.ActivityTaskCanceledEventAttributes - 19, // 172: temporal.api.history.v1.HistoryEvent.timer_canceled_event_attributes:type_name -> temporal.api.history.v1.TimerCanceledEventAttributes - 22, // 173: temporal.api.history.v1.HistoryEvent.marker_recorded_event_attributes:type_name -> temporal.api.history.v1.MarkerRecordedEventAttributes - 23, // 174: temporal.api.history.v1.HistoryEvent.workflow_execution_signaled_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes - 24, // 175: temporal.api.history.v1.HistoryEvent.workflow_execution_terminated_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes - 20, // 176: temporal.api.history.v1.HistoryEvent.workflow_execution_cancel_requested_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes - 21, // 177: temporal.api.history.v1.HistoryEvent.workflow_execution_canceled_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes - 25, // 178: temporal.api.history.v1.HistoryEvent.request_cancel_external_workflow_execution_initiated_event_attributes:type_name -> temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes - 26, // 179: temporal.api.history.v1.HistoryEvent.request_cancel_external_workflow_execution_failed_event_attributes:type_name -> temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes - 27, // 180: temporal.api.history.v1.HistoryEvent.external_workflow_execution_cancel_requested_event_attributes:type_name -> temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes - 4, // 181: temporal.api.history.v1.HistoryEvent.workflow_execution_continued_as_new_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes - 33, // 182: temporal.api.history.v1.HistoryEvent.start_child_workflow_execution_initiated_event_attributes:type_name -> temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes - 34, // 183: temporal.api.history.v1.HistoryEvent.start_child_workflow_execution_failed_event_attributes:type_name -> temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes - 35, // 184: temporal.api.history.v1.HistoryEvent.child_workflow_execution_started_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes - 36, // 185: temporal.api.history.v1.HistoryEvent.child_workflow_execution_completed_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes - 37, // 186: temporal.api.history.v1.HistoryEvent.child_workflow_execution_failed_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes - 38, // 187: temporal.api.history.v1.HistoryEvent.child_workflow_execution_canceled_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes - 39, // 188: temporal.api.history.v1.HistoryEvent.child_workflow_execution_timed_out_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes - 40, // 189: temporal.api.history.v1.HistoryEvent.child_workflow_execution_terminated_event_attributes:type_name -> temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes - 28, // 190: temporal.api.history.v1.HistoryEvent.signal_external_workflow_execution_initiated_event_attributes:type_name -> temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes - 29, // 191: temporal.api.history.v1.HistoryEvent.signal_external_workflow_execution_failed_event_attributes:type_name -> temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes - 30, // 192: temporal.api.history.v1.HistoryEvent.external_workflow_execution_signaled_event_attributes:type_name -> temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes - 31, // 193: temporal.api.history.v1.HistoryEvent.upsert_workflow_search_attributes_event_attributes:type_name -> temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes - 44, // 194: temporal.api.history.v1.HistoryEvent.workflow_execution_update_accepted_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes - 46, // 195: temporal.api.history.v1.HistoryEvent.workflow_execution_update_rejected_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes - 45, // 196: temporal.api.history.v1.HistoryEvent.workflow_execution_update_completed_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes - 42, // 197: temporal.api.history.v1.HistoryEvent.workflow_properties_modified_externally_event_attributes:type_name -> temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes - 43, // 198: temporal.api.history.v1.HistoryEvent.activity_properties_modified_externally_event_attributes:type_name -> temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes - 32, // 199: temporal.api.history.v1.HistoryEvent.workflow_properties_modified_event_attributes:type_name -> temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes - 47, // 200: temporal.api.history.v1.HistoryEvent.workflow_execution_update_admitted_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes - 48, // 201: temporal.api.history.v1.HistoryEvent.nexus_operation_scheduled_event_attributes:type_name -> temporal.api.history.v1.NexusOperationScheduledEventAttributes - 49, // 202: temporal.api.history.v1.HistoryEvent.nexus_operation_started_event_attributes:type_name -> temporal.api.history.v1.NexusOperationStartedEventAttributes - 50, // 203: temporal.api.history.v1.HistoryEvent.nexus_operation_completed_event_attributes:type_name -> temporal.api.history.v1.NexusOperationCompletedEventAttributes - 51, // 204: temporal.api.history.v1.HistoryEvent.nexus_operation_failed_event_attributes:type_name -> temporal.api.history.v1.NexusOperationFailedEventAttributes - 53, // 205: temporal.api.history.v1.HistoryEvent.nexus_operation_canceled_event_attributes:type_name -> temporal.api.history.v1.NexusOperationCanceledEventAttributes - 52, // 206: temporal.api.history.v1.HistoryEvent.nexus_operation_timed_out_event_attributes:type_name -> temporal.api.history.v1.NexusOperationTimedOutEventAttributes - 54, // 207: temporal.api.history.v1.HistoryEvent.nexus_operation_cancel_requested_event_attributes:type_name -> temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes - 41, // 208: temporal.api.history.v1.HistoryEvent.workflow_execution_options_updated_event_attributes:type_name -> temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes - 55, // 209: temporal.api.history.v1.HistoryEvent.nexus_operation_cancel_request_completed_event_attributes:type_name -> temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes - 56, // 210: temporal.api.history.v1.HistoryEvent.nexus_operation_cancel_request_failed_event_attributes:type_name -> temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes - 57, // 211: temporal.api.history.v1.History.events:type_name -> temporal.api.history.v1.HistoryEvent - 64, // 212: temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry.value:type_name -> temporal.api.common.v1.Payloads - 213, // [213:213] is the sub-list for method output_type - 213, // [213:213] is the sub-list for method input_type - 213, // [213:213] is the sub-list for extension type_name - 213, // [213:213] is the sub-list for extension extendee - 0, // [0:213] is the sub-list for field type_name -} - -func init() { file_temporal_api_history_v1_message_proto_init() } -func file_temporal_api_history_v1_message_proto_init() { - if File_temporal_api_history_v1_message_proto != nil { - return - } - file_temporal_api_history_v1_message_proto_msgTypes[57].OneofWrappers = []any{ - (*HistoryEvent_WorkflowExecutionStartedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionCompletedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionFailedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionTimedOutEventAttributes)(nil), - (*HistoryEvent_WorkflowTaskScheduledEventAttributes)(nil), - (*HistoryEvent_WorkflowTaskStartedEventAttributes)(nil), - (*HistoryEvent_WorkflowTaskCompletedEventAttributes)(nil), - (*HistoryEvent_WorkflowTaskTimedOutEventAttributes)(nil), - (*HistoryEvent_WorkflowTaskFailedEventAttributes)(nil), - (*HistoryEvent_ActivityTaskScheduledEventAttributes)(nil), - (*HistoryEvent_ActivityTaskStartedEventAttributes)(nil), - (*HistoryEvent_ActivityTaskCompletedEventAttributes)(nil), - (*HistoryEvent_ActivityTaskFailedEventAttributes)(nil), - (*HistoryEvent_ActivityTaskTimedOutEventAttributes)(nil), - (*HistoryEvent_TimerStartedEventAttributes)(nil), - (*HistoryEvent_TimerFiredEventAttributes)(nil), - (*HistoryEvent_ActivityTaskCancelRequestedEventAttributes)(nil), - (*HistoryEvent_ActivityTaskCanceledEventAttributes)(nil), - (*HistoryEvent_TimerCanceledEventAttributes)(nil), - (*HistoryEvent_MarkerRecordedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionSignaledEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionTerminatedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionCanceledEventAttributes)(nil), - (*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)(nil), - (*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes)(nil), - (*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes)(nil), - (*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes)(nil), - (*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes)(nil), - (*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes)(nil), - (*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes)(nil), - (*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes)(nil), - (*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes)(nil), - (*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionUpdateRejectedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionUpdateCompletedEventAttributes)(nil), - (*HistoryEvent_WorkflowPropertiesModifiedExternallyEventAttributes)(nil), - (*HistoryEvent_ActivityPropertiesModifiedExternallyEventAttributes)(nil), - (*HistoryEvent_WorkflowPropertiesModifiedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionUpdateAdmittedEventAttributes)(nil), - (*HistoryEvent_NexusOperationScheduledEventAttributes)(nil), - (*HistoryEvent_NexusOperationStartedEventAttributes)(nil), - (*HistoryEvent_NexusOperationCompletedEventAttributes)(nil), - (*HistoryEvent_NexusOperationFailedEventAttributes)(nil), - (*HistoryEvent_NexusOperationCanceledEventAttributes)(nil), - (*HistoryEvent_NexusOperationTimedOutEventAttributes)(nil), - (*HistoryEvent_NexusOperationCancelRequestedEventAttributes)(nil), - (*HistoryEvent_WorkflowExecutionOptionsUpdatedEventAttributes)(nil), - (*HistoryEvent_NexusOperationCancelRequestCompletedEventAttributes)(nil), - (*HistoryEvent_NexusOperationCancelRequestFailedEventAttributes)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_history_v1_message_proto_rawDesc), len(file_temporal_api_history_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 61, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_history_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_history_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_history_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_history_v1_message_proto = out.File - file_temporal_api_history_v1_message_proto_goTypes = nil - file_temporal_api_history_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/namespace/v1/message.pb.go b/build/temporal/api/namespace/v1/message.pb.go deleted file mode 100644 index d40a91e..0000000 --- a/build/temporal/api/namespace/v1/message.pb.go +++ /dev/null @@ -1,669 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/namespace/v1/message.proto - -package namespace - -import ( - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type NamespaceInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - State v1.NamespaceState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.enums.v1.NamespaceState" json:"state,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - OwnerEmail string `protobuf:"bytes,4,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` - // A key-value map for any customized purpose. - Data map[string]string `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` - // All capabilities the namespace supports. - Capabilities *NamespaceInfo_Capabilities `protobuf:"bytes,7,opt,name=capabilities,proto3" json:"capabilities,omitempty"` - // Whether scheduled workflows are supported on this namespace. This is only needed - // temporarily while the feature is experimental, so we can give it a high tag. - SupportsSchedules bool `protobuf:"varint,100,opt,name=supports_schedules,json=supportsSchedules,proto3" json:"supports_schedules,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NamespaceInfo) Reset() { - *x = NamespaceInfo{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NamespaceInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceInfo) ProtoMessage() {} - -func (x *NamespaceInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceInfo.ProtoReflect.Descriptor instead. -func (*NamespaceInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *NamespaceInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NamespaceInfo) GetState() v1.NamespaceState { - if x != nil { - return x.State - } - return v1.NamespaceState(0) -} - -func (x *NamespaceInfo) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *NamespaceInfo) GetOwnerEmail() string { - if x != nil { - return x.OwnerEmail - } - return "" -} - -func (x *NamespaceInfo) GetData() map[string]string { - if x != nil { - return x.Data - } - return nil -} - -func (x *NamespaceInfo) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *NamespaceInfo) GetCapabilities() *NamespaceInfo_Capabilities { - if x != nil { - return x.Capabilities - } - return nil -} - -func (x *NamespaceInfo) GetSupportsSchedules() bool { - if x != nil { - return x.SupportsSchedules - } - return false -} - -type NamespaceConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowExecutionRetentionTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=workflow_execution_retention_ttl,json=workflowExecutionRetentionTtl,proto3" json:"workflow_execution_retention_ttl,omitempty"` - BadBinaries *BadBinaries `protobuf:"bytes,2,opt,name=bad_binaries,json=badBinaries,proto3" json:"bad_binaries,omitempty"` - // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. - HistoryArchivalState v1.ArchivalState `protobuf:"varint,3,opt,name=history_archival_state,json=historyArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"history_archival_state,omitempty"` - HistoryArchivalUri string `protobuf:"bytes,4,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"` - // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. - VisibilityArchivalState v1.ArchivalState `protobuf:"varint,5,opt,name=visibility_archival_state,json=visibilityArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"visibility_archival_state,omitempty"` - VisibilityArchivalUri string `protobuf:"bytes,6,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"` - // Map from field name to alias. - CustomSearchAttributeAliases map[string]string `protobuf:"bytes,7,rep,name=custom_search_attribute_aliases,json=customSearchAttributeAliases,proto3" json:"custom_search_attribute_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NamespaceConfig) Reset() { - *x = NamespaceConfig{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NamespaceConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceConfig) ProtoMessage() {} - -func (x *NamespaceConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceConfig.ProtoReflect.Descriptor instead. -func (*NamespaceConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *NamespaceConfig) GetWorkflowExecutionRetentionTtl() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionRetentionTtl - } - return nil -} - -func (x *NamespaceConfig) GetBadBinaries() *BadBinaries { - if x != nil { - return x.BadBinaries - } - return nil -} - -func (x *NamespaceConfig) GetHistoryArchivalState() v1.ArchivalState { - if x != nil { - return x.HistoryArchivalState - } - return v1.ArchivalState(0) -} - -func (x *NamespaceConfig) GetHistoryArchivalUri() string { - if x != nil { - return x.HistoryArchivalUri - } - return "" -} - -func (x *NamespaceConfig) GetVisibilityArchivalState() v1.ArchivalState { - if x != nil { - return x.VisibilityArchivalState - } - return v1.ArchivalState(0) -} - -func (x *NamespaceConfig) GetVisibilityArchivalUri() string { - if x != nil { - return x.VisibilityArchivalUri - } - return "" -} - -func (x *NamespaceConfig) GetCustomSearchAttributeAliases() map[string]string { - if x != nil { - return x.CustomSearchAttributeAliases - } - return nil -} - -type BadBinaries struct { - state protoimpl.MessageState `protogen:"open.v1"` - Binaries map[string]*BadBinaryInfo `protobuf:"bytes,1,rep,name=binaries,proto3" json:"binaries,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BadBinaries) Reset() { - *x = BadBinaries{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BadBinaries) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BadBinaries) ProtoMessage() {} - -func (x *BadBinaries) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BadBinaries.ProtoReflect.Descriptor instead. -func (*BadBinaries) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *BadBinaries) GetBinaries() map[string]*BadBinaryInfo { - if x != nil { - return x.Binaries - } - return nil -} - -type BadBinaryInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BadBinaryInfo) Reset() { - *x = BadBinaryInfo{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BadBinaryInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BadBinaryInfo) ProtoMessage() {} - -func (x *BadBinaryInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BadBinaryInfo.ProtoReflect.Descriptor instead. -func (*BadBinaryInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *BadBinaryInfo) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *BadBinaryInfo) GetOperator() string { - if x != nil { - return x.Operator - } - return "" -} - -func (x *BadBinaryInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -type UpdateNamespaceInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - OwnerEmail string `protobuf:"bytes,2,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` - // A key-value map for any customized purpose. - // If data already exists on the namespace, - // this will merge with the existing key values. - Data map[string]string `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // New namespace state, server will reject if transition is not allowed. - // Allowed transitions are: - // - // Registered -> [ Deleted | Deprecated | Handover ] - // Handover -> [ Registered ] - // - // Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. - State v1.NamespaceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.enums.v1.NamespaceState" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateNamespaceInfo) Reset() { - *x = UpdateNamespaceInfo{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateNamespaceInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateNamespaceInfo) ProtoMessage() {} - -func (x *UpdateNamespaceInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateNamespaceInfo.ProtoReflect.Descriptor instead. -func (*UpdateNamespaceInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateNamespaceInfo) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *UpdateNamespaceInfo) GetOwnerEmail() string { - if x != nil { - return x.OwnerEmail - } - return "" -} - -func (x *UpdateNamespaceInfo) GetData() map[string]string { - if x != nil { - return x.Data - } - return nil -} - -func (x *UpdateNamespaceInfo) GetState() v1.NamespaceState { - if x != nil { - return x.State - } - return v1.NamespaceState(0) -} - -type NamespaceFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - // By default namespaces in NAMESPACE_STATE_DELETED state are not included. - // Setting include_deleted to true will include deleted namespaces. - // Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet. - IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NamespaceFilter) Reset() { - *x = NamespaceFilter{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NamespaceFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceFilter) ProtoMessage() {} - -func (x *NamespaceFilter) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceFilter.ProtoReflect.Descriptor instead. -func (*NamespaceFilter) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *NamespaceFilter) GetIncludeDeleted() bool { - if x != nil { - return x.IncludeDeleted - } - return false -} - -// Namespace capability details. Should contain what features are enabled in a namespace. -type NamespaceInfo_Capabilities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // True if the namespace supports eager workflow start. - EagerWorkflowStart bool `protobuf:"varint,1,opt,name=eager_workflow_start,json=eagerWorkflowStart,proto3" json:"eager_workflow_start,omitempty"` - // True if the namespace supports sync update - SyncUpdate bool `protobuf:"varint,2,opt,name=sync_update,json=syncUpdate,proto3" json:"sync_update,omitempty"` - // True if the namespace supports async update - AsyncUpdate bool `protobuf:"varint,3,opt,name=async_update,json=asyncUpdate,proto3" json:"async_update,omitempty"` - // True if the namespace supports worker heartbeats - WorkerHeartbeats bool `protobuf:"varint,4,opt,name=worker_heartbeats,json=workerHeartbeats,proto3" json:"worker_heartbeats,omitempty"` - // True if the namespace supports reported problems search attribute - ReportedProblemsSearchAttribute bool `protobuf:"varint,5,opt,name=reported_problems_search_attribute,json=reportedProblemsSearchAttribute,proto3" json:"reported_problems_search_attribute,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NamespaceInfo_Capabilities) Reset() { - *x = NamespaceInfo_Capabilities{} - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NamespaceInfo_Capabilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceInfo_Capabilities) ProtoMessage() {} - -func (x *NamespaceInfo_Capabilities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_namespace_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceInfo_Capabilities.ProtoReflect.Descriptor instead. -func (*NamespaceInfo_Capabilities) Descriptor() ([]byte, []int) { - return file_temporal_api_namespace_v1_message_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *NamespaceInfo_Capabilities) GetEagerWorkflowStart() bool { - if x != nil { - return x.EagerWorkflowStart - } - return false -} - -func (x *NamespaceInfo_Capabilities) GetSyncUpdate() bool { - if x != nil { - return x.SyncUpdate - } - return false -} - -func (x *NamespaceInfo_Capabilities) GetAsyncUpdate() bool { - if x != nil { - return x.AsyncUpdate - } - return false -} - -func (x *NamespaceInfo_Capabilities) GetWorkerHeartbeats() bool { - if x != nil { - return x.WorkerHeartbeats - } - return false -} - -func (x *NamespaceInfo_Capabilities) GetReportedProblemsSearchAttribute() bool { - if x != nil { - return x.ReportedProblemsSearchAttribute - } - return false -} - -var File_temporal_api_namespace_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_namespace_v1_message_proto_rawDesc = "" + - "\n" + - "'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"\xbf\x05\n" + - "\rNamespaceInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12;\n" + - "\x05state\x18\x02 \x01(\x0e2%.temporal.api.enums.v1.NamespaceStateR\x05state\x12 \n" + - "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1f\n" + - "\vowner_email\x18\x04 \x01(\tR\n" + - "ownerEmail\x12F\n" + - "\x04data\x18\x05 \x03(\v22.temporal.api.namespace.v1.NamespaceInfo.DataEntryR\x04data\x12\x0e\n" + - "\x02id\x18\x06 \x01(\tR\x02id\x12Y\n" + - "\fcapabilities\x18\a \x01(\v25.temporal.api.namespace.v1.NamespaceInfo.CapabilitiesR\fcapabilities\x12-\n" + - "\x12supports_schedules\x18d \x01(\bR\x11supportsSchedules\x1a7\n" + - "\tDataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a\xfe\x01\n" + - "\fCapabilities\x120\n" + - "\x14eager_workflow_start\x18\x01 \x01(\bR\x12eagerWorkflowStart\x12\x1f\n" + - "\vsync_update\x18\x02 \x01(\bR\n" + - "syncUpdate\x12!\n" + - "\fasync_update\x18\x03 \x01(\bR\vasyncUpdate\x12+\n" + - "\x11worker_heartbeats\x18\x04 \x01(\bR\x10workerHeartbeats\x12K\n" + - "\"reported_problems_search_attribute\x18\x05 \x01(\bR\x1freportedProblemsSearchAttribute\"\xcf\x05\n" + - "\x0fNamespaceConfig\x12b\n" + - " workflow_execution_retention_ttl\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\x1dworkflowExecutionRetentionTtl\x12I\n" + - "\fbad_binaries\x18\x02 \x01(\v2&.temporal.api.namespace.v1.BadBinariesR\vbadBinaries\x12Z\n" + - "\x16history_archival_state\x18\x03 \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x14historyArchivalState\x120\n" + - "\x14history_archival_uri\x18\x04 \x01(\tR\x12historyArchivalUri\x12`\n" + - "\x19visibility_archival_state\x18\x05 \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x17visibilityArchivalState\x126\n" + - "\x17visibility_archival_uri\x18\x06 \x01(\tR\x15visibilityArchivalUri\x12\x93\x01\n" + - "\x1fcustom_search_attribute_aliases\x18\a \x03(\v2L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntryR\x1ccustomSearchAttributeAliases\x1aO\n" + - "!CustomSearchAttributeAliasesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xc6\x01\n" + - "\vBadBinaries\x12P\n" + - "\bbinaries\x18\x01 \x03(\v24.temporal.api.namespace.v1.BadBinaries.BinariesEntryR\bbinaries\x1ae\n" + - "\rBinariesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12>\n" + - "\x05value\x18\x02 \x01(\v2(.temporal.api.namespace.v1.BadBinaryInfoR\x05value:\x028\x01\"\x80\x01\n" + - "\rBadBinaryInfo\x12\x16\n" + - "\x06reason\x18\x01 \x01(\tR\x06reason\x12\x1a\n" + - "\boperator\x18\x02 \x01(\tR\boperator\x12;\n" + - "\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\"\x9c\x02\n" + - "\x13UpdateNamespaceInfo\x12 \n" + - "\vdescription\x18\x01 \x01(\tR\vdescription\x12\x1f\n" + - "\vowner_email\x18\x02 \x01(\tR\n" + - "ownerEmail\x12L\n" + - "\x04data\x18\x03 \x03(\v28.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntryR\x04data\x12;\n" + - "\x05state\x18\x04 \x01(\x0e2%.temporal.api.enums.v1.NamespaceStateR\x05state\x1a7\n" + - "\tDataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\":\n" + - "\x0fNamespaceFilter\x12'\n" + - "\x0finclude_deleted\x18\x01 \x01(\bR\x0eincludeDeletedB\x98\x01\n" + - "\x1cio.temporal.api.namespace.v1B\fMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3" - -var ( - file_temporal_api_namespace_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_namespace_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_namespace_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_namespace_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_namespace_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_namespace_v1_message_proto_rawDesc), len(file_temporal_api_namespace_v1_message_proto_rawDesc))) - }) - return file_temporal_api_namespace_v1_message_proto_rawDescData -} - -var file_temporal_api_namespace_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_temporal_api_namespace_v1_message_proto_goTypes = []any{ - (*NamespaceInfo)(nil), // 0: temporal.api.namespace.v1.NamespaceInfo - (*NamespaceConfig)(nil), // 1: temporal.api.namespace.v1.NamespaceConfig - (*BadBinaries)(nil), // 2: temporal.api.namespace.v1.BadBinaries - (*BadBinaryInfo)(nil), // 3: temporal.api.namespace.v1.BadBinaryInfo - (*UpdateNamespaceInfo)(nil), // 4: temporal.api.namespace.v1.UpdateNamespaceInfo - (*NamespaceFilter)(nil), // 5: temporal.api.namespace.v1.NamespaceFilter - nil, // 6: temporal.api.namespace.v1.NamespaceInfo.DataEntry - (*NamespaceInfo_Capabilities)(nil), // 7: temporal.api.namespace.v1.NamespaceInfo.Capabilities - nil, // 8: temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry - nil, // 9: temporal.api.namespace.v1.BadBinaries.BinariesEntry - nil, // 10: temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry - (v1.NamespaceState)(0), // 11: temporal.api.enums.v1.NamespaceState - (*durationpb.Duration)(nil), // 12: google.protobuf.Duration - (v1.ArchivalState)(0), // 13: temporal.api.enums.v1.ArchivalState - (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp -} -var file_temporal_api_namespace_v1_message_proto_depIdxs = []int32{ - 11, // 0: temporal.api.namespace.v1.NamespaceInfo.state:type_name -> temporal.api.enums.v1.NamespaceState - 6, // 1: temporal.api.namespace.v1.NamespaceInfo.data:type_name -> temporal.api.namespace.v1.NamespaceInfo.DataEntry - 7, // 2: temporal.api.namespace.v1.NamespaceInfo.capabilities:type_name -> temporal.api.namespace.v1.NamespaceInfo.Capabilities - 12, // 3: temporal.api.namespace.v1.NamespaceConfig.workflow_execution_retention_ttl:type_name -> google.protobuf.Duration - 2, // 4: temporal.api.namespace.v1.NamespaceConfig.bad_binaries:type_name -> temporal.api.namespace.v1.BadBinaries - 13, // 5: temporal.api.namespace.v1.NamespaceConfig.history_archival_state:type_name -> temporal.api.enums.v1.ArchivalState - 13, // 6: temporal.api.namespace.v1.NamespaceConfig.visibility_archival_state:type_name -> temporal.api.enums.v1.ArchivalState - 8, // 7: temporal.api.namespace.v1.NamespaceConfig.custom_search_attribute_aliases:type_name -> temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry - 9, // 8: temporal.api.namespace.v1.BadBinaries.binaries:type_name -> temporal.api.namespace.v1.BadBinaries.BinariesEntry - 14, // 9: temporal.api.namespace.v1.BadBinaryInfo.create_time:type_name -> google.protobuf.Timestamp - 10, // 10: temporal.api.namespace.v1.UpdateNamespaceInfo.data:type_name -> temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry - 11, // 11: temporal.api.namespace.v1.UpdateNamespaceInfo.state:type_name -> temporal.api.enums.v1.NamespaceState - 3, // 12: temporal.api.namespace.v1.BadBinaries.BinariesEntry.value:type_name -> temporal.api.namespace.v1.BadBinaryInfo - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_temporal_api_namespace_v1_message_proto_init() } -func file_temporal_api_namespace_v1_message_proto_init() { - if File_temporal_api_namespace_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_namespace_v1_message_proto_rawDesc), len(file_temporal_api_namespace_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_namespace_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_namespace_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_namespace_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_namespace_v1_message_proto = out.File - file_temporal_api_namespace_v1_message_proto_goTypes = nil - file_temporal_api_namespace_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/nexus/v1/message.pb.go b/build/temporal/api/nexus/v1/message.pb.go deleted file mode 100644 index 1df6b6c..0000000 --- a/build/temporal/api/nexus/v1/message.pb.go +++ /dev/null @@ -1,1448 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/nexus/v1/message.proto - -package nexus - -import ( - v11 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// A general purpose failure message. -// See: https://github.com/nexus-rpc/api/blob/main/SPEC.md#failure -type Failure struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // UTF-8 encoded JSON serializable details. - Details []byte `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Failure) Reset() { - *x = Failure{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Failure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Failure) ProtoMessage() {} - -func (x *Failure) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Failure.ProtoReflect.Descriptor instead. -func (*Failure) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *Failure) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Failure) GetMetadata() map[string]string { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *Failure) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -type HandlerError struct { - state protoimpl.MessageState `protogen:"open.v1"` - // See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. - ErrorType string `protobuf:"bytes,1,opt,name=error_type,json=errorType,proto3" json:"error_type,omitempty"` - Failure *Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - // Retry behavior, defaults to the retry behavior of the error type as defined in the spec. - RetryBehavior v1.NexusHandlerErrorRetryBehavior `protobuf:"varint,3,opt,name=retry_behavior,json=retryBehavior,proto3,enum=temporal.api.enums.v1.NexusHandlerErrorRetryBehavior" json:"retry_behavior,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HandlerError) Reset() { - *x = HandlerError{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HandlerError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HandlerError) ProtoMessage() {} - -func (x *HandlerError) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HandlerError.ProtoReflect.Descriptor instead. -func (*HandlerError) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *HandlerError) GetErrorType() string { - if x != nil { - return x.ErrorType - } - return "" -} - -func (x *HandlerError) GetFailure() *Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *HandlerError) GetRetryBehavior() v1.NexusHandlerErrorRetryBehavior { - if x != nil { - return x.RetryBehavior - } - return v1.NexusHandlerErrorRetryBehavior(0) -} - -type UnsuccessfulOperationError struct { - state protoimpl.MessageState `protogen:"open.v1"` - // See https://github.com/nexus-rpc/api/blob/main/SPEC.md#operationinfo. - OperationState string `protobuf:"bytes,1,opt,name=operation_state,json=operationState,proto3" json:"operation_state,omitempty"` - Failure *Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnsuccessfulOperationError) Reset() { - *x = UnsuccessfulOperationError{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnsuccessfulOperationError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnsuccessfulOperationError) ProtoMessage() {} - -func (x *UnsuccessfulOperationError) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnsuccessfulOperationError.ProtoReflect.Descriptor instead. -func (*UnsuccessfulOperationError) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *UnsuccessfulOperationError) GetOperationState() string { - if x != nil { - return x.OperationState - } - return "" -} - -func (x *UnsuccessfulOperationError) GetFailure() *Failure { - if x != nil { - return x.Failure - } - return nil -} - -type Link struct { - state protoimpl.MessageState `protogen:"open.v1"` - // See https://github.com/nexus-rpc/api/blob/main/SPEC.md#links. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Link) Reset() { - *x = Link{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Link) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Link) ProtoMessage() {} - -func (x *Link) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Link.ProtoReflect.Descriptor instead. -func (*Link) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *Link) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *Link) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -// A request to start an operation. -type StartOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Name of service to start the operation in. - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - // Type of operation to start. - Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - // A request ID that can be used as an idempotentency key. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Callback URL to call upon completion if the started operation is async. - Callback string `protobuf:"bytes,4,opt,name=callback,proto3" json:"callback,omitempty"` - // Full request body from the incoming HTTP request. - Payload *v11.Payload `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` - // Header that is expected to be attached to the callback request when the operation completes. - CallbackHeader map[string]string `protobuf:"bytes,6,rep,name=callback_header,json=callbackHeader,proto3" json:"callback_header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // Links contain caller information and can be attached to the operations started by the handler. - Links []*Link `protobuf:"bytes,7,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartOperationRequest) Reset() { - *x = StartOperationRequest{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartOperationRequest) ProtoMessage() {} - -func (x *StartOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartOperationRequest.ProtoReflect.Descriptor instead. -func (*StartOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *StartOperationRequest) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *StartOperationRequest) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -func (x *StartOperationRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *StartOperationRequest) GetCallback() string { - if x != nil { - return x.Callback - } - return "" -} - -func (x *StartOperationRequest) GetPayload() *v11.Payload { - if x != nil { - return x.Payload - } - return nil -} - -func (x *StartOperationRequest) GetCallbackHeader() map[string]string { - if x != nil { - return x.CallbackHeader - } - return nil -} - -func (x *StartOperationRequest) GetLinks() []*Link { - if x != nil { - return x.Links - } - return nil -} - -// A request to cancel an operation. -type CancelOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Service name. - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - // Type of operation to cancel. - Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - // Operation ID as originally generated by a Handler. - // - // Deprecated. Renamed to operation_token. - // - // Deprecated: Marked as deprecated in temporal/api/nexus/v1/message.proto. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Operation token as originally generated by a Handler. - OperationToken string `protobuf:"bytes,4,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelOperationRequest) Reset() { - *x = CancelOperationRequest{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelOperationRequest) ProtoMessage() {} - -func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead. -func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *CancelOperationRequest) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *CancelOperationRequest) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/nexus/v1/message.proto. -func (x *CancelOperationRequest) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -func (x *CancelOperationRequest) GetOperationToken() string { - if x != nil { - return x.OperationToken - } - return "" -} - -// A Nexus request. -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Headers extracted from the original request in the Temporal frontend. - // When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values. - Header map[string]string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // The timestamp when the request was scheduled in the frontend. - // (-- api-linter: core::0142::time-field-names=disabled - // - // aip.dev/not-precedent: Not following linter rules. --) - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - // Types that are valid to be assigned to Variant: - // - // *Request_StartOperation - // *Request_CancelOperation - Variant isRequest_Variant `protobuf_oneof:"variant"` - // The endpoint this request was addressed to before forwarding to the worker. - // Supported from server version 1.30.0. - Endpoint string `protobuf:"bytes,10,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *Request) GetHeader() map[string]string { - if x != nil { - return x.Header - } - return nil -} - -func (x *Request) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *Request) GetVariant() isRequest_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *Request) GetStartOperation() *StartOperationRequest { - if x != nil { - if x, ok := x.Variant.(*Request_StartOperation); ok { - return x.StartOperation - } - } - return nil -} - -func (x *Request) GetCancelOperation() *CancelOperationRequest { - if x != nil { - if x, ok := x.Variant.(*Request_CancelOperation); ok { - return x.CancelOperation - } - } - return nil -} - -func (x *Request) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -type isRequest_Variant interface { - isRequest_Variant() -} - -type Request_StartOperation struct { - StartOperation *StartOperationRequest `protobuf:"bytes,3,opt,name=start_operation,json=startOperation,proto3,oneof"` -} - -type Request_CancelOperation struct { - CancelOperation *CancelOperationRequest `protobuf:"bytes,4,opt,name=cancel_operation,json=cancelOperation,proto3,oneof"` -} - -func (*Request_StartOperation) isRequest_Variant() {} - -func (*Request_CancelOperation) isRequest_Variant() {} - -// Response variant for StartOperationRequest. -type StartOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *StartOperationResponse_SyncSuccess - // *StartOperationResponse_AsyncSuccess - // *StartOperationResponse_OperationError - Variant isStartOperationResponse_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartOperationResponse) Reset() { - *x = StartOperationResponse{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartOperationResponse) ProtoMessage() {} - -func (x *StartOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartOperationResponse.ProtoReflect.Descriptor instead. -func (*StartOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *StartOperationResponse) GetVariant() isStartOperationResponse_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *StartOperationResponse) GetSyncSuccess() *StartOperationResponse_Sync { - if x != nil { - if x, ok := x.Variant.(*StartOperationResponse_SyncSuccess); ok { - return x.SyncSuccess - } - } - return nil -} - -func (x *StartOperationResponse) GetAsyncSuccess() *StartOperationResponse_Async { - if x != nil { - if x, ok := x.Variant.(*StartOperationResponse_AsyncSuccess); ok { - return x.AsyncSuccess - } - } - return nil -} - -func (x *StartOperationResponse) GetOperationError() *UnsuccessfulOperationError { - if x != nil { - if x, ok := x.Variant.(*StartOperationResponse_OperationError); ok { - return x.OperationError - } - } - return nil -} - -type isStartOperationResponse_Variant interface { - isStartOperationResponse_Variant() -} - -type StartOperationResponse_SyncSuccess struct { - SyncSuccess *StartOperationResponse_Sync `protobuf:"bytes,1,opt,name=sync_success,json=syncSuccess,proto3,oneof"` -} - -type StartOperationResponse_AsyncSuccess struct { - AsyncSuccess *StartOperationResponse_Async `protobuf:"bytes,2,opt,name=async_success,json=asyncSuccess,proto3,oneof"` -} - -type StartOperationResponse_OperationError struct { - // The operation completed unsuccessfully (failed or canceled). - OperationError *UnsuccessfulOperationError `protobuf:"bytes,3,opt,name=operation_error,json=operationError,proto3,oneof"` -} - -func (*StartOperationResponse_SyncSuccess) isStartOperationResponse_Variant() {} - -func (*StartOperationResponse_AsyncSuccess) isStartOperationResponse_Variant() {} - -func (*StartOperationResponse_OperationError) isStartOperationResponse_Variant() {} - -// Response variant for CancelOperationRequest. -type CancelOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CancelOperationResponse) Reset() { - *x = CancelOperationResponse{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CancelOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelOperationResponse) ProtoMessage() {} - -func (x *CancelOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelOperationResponse.ProtoReflect.Descriptor instead. -func (*CancelOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{8} -} - -// A response indicating that the handler has successfully processed a request. -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Variant must correlate to the corresponding Request's variant. - // - // Types that are valid to be assigned to Variant: - // - // *Response_StartOperation - // *Response_CancelOperation - Variant isResponse_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *Response) GetVariant() isResponse_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *Response) GetStartOperation() *StartOperationResponse { - if x != nil { - if x, ok := x.Variant.(*Response_StartOperation); ok { - return x.StartOperation - } - } - return nil -} - -func (x *Response) GetCancelOperation() *CancelOperationResponse { - if x != nil { - if x, ok := x.Variant.(*Response_CancelOperation); ok { - return x.CancelOperation - } - } - return nil -} - -type isResponse_Variant interface { - isResponse_Variant() -} - -type Response_StartOperation struct { - StartOperation *StartOperationResponse `protobuf:"bytes,1,opt,name=start_operation,json=startOperation,proto3,oneof"` -} - -type Response_CancelOperation struct { - CancelOperation *CancelOperationResponse `protobuf:"bytes,2,opt,name=cancel_operation,json=cancelOperation,proto3,oneof"` -} - -func (*Response_StartOperation) isResponse_Variant() {} - -func (*Response_CancelOperation) isResponse_Variant() {} - -// A cluster-global binding from an endpoint ID to a target for dispatching incoming Nexus requests. -type Endpoint struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Data version for this endpoint, incremented for every update issued via the UpdateNexusEndpoint API. - Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - // Unique server-generated endpoint ID. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Spec for the endpoint. - Spec *EndpointSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` - // The date and time when the endpoint was created. - // (-- api-linter: core::0142::time-field-names=disabled - // - // aip.dev/not-precedent: Not following linter rules. --) - CreatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` - // The date and time when the endpoint was last modified. - // Will not be set if the endpoint has never been modified. - // (-- api-linter: core::0142::time-field-names=disabled - // - // aip.dev/not-precedent: Not following linter rules. --) - LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` - // Server exposed URL prefix for invocation of operations on this endpoint. - // This doesn't include the protocol, hostname or port as the server does not know how it should be accessed - // publicly. The URL is stable in the face of endpoint renames. - UrlPrefix string `protobuf:"bytes,6,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Endpoint) Reset() { - *x = Endpoint{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Endpoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Endpoint) ProtoMessage() {} - -func (x *Endpoint) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Endpoint.ProtoReflect.Descriptor instead. -func (*Endpoint) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *Endpoint) GetVersion() int64 { - if x != nil { - return x.Version - } - return 0 -} - -func (x *Endpoint) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Endpoint) GetSpec() *EndpointSpec { - if x != nil { - return x.Spec - } - return nil -} - -func (x *Endpoint) GetCreatedTime() *timestamppb.Timestamp { - if x != nil { - return x.CreatedTime - } - return nil -} - -func (x *Endpoint) GetLastModifiedTime() *timestamppb.Timestamp { - if x != nil { - return x.LastModifiedTime - } - return nil -} - -func (x *Endpoint) GetUrlPrefix() string { - if x != nil { - return x.UrlPrefix - } - return "" -} - -// Contains mutable fields for an Endpoint. -type EndpointSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Endpoint name, unique for this cluster. Must match `[a-zA-Z_][a-zA-Z0-9_]*`. - // Renaming an endpoint breaks all workflow callers that reference this endpoint, causing operations to fail. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Markdown description serialized as a single JSON string. - // If the Payload is encrypted, the UI and CLI may decrypt with the configured codec server endpoint. - // By default, the server enforces a limit of 20,000 bytes for this entire payload. - Description *v11.Payload `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Target to route requests to. - Target *EndpointTarget `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EndpointSpec) Reset() { - *x = EndpointSpec{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EndpointSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EndpointSpec) ProtoMessage() {} - -func (x *EndpointSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EndpointSpec.ProtoReflect.Descriptor instead. -func (*EndpointSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *EndpointSpec) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *EndpointSpec) GetDescription() *v11.Payload { - if x != nil { - return x.Description - } - return nil -} - -func (x *EndpointSpec) GetTarget() *EndpointTarget { - if x != nil { - return x.Target - } - return nil -} - -// Target to route requests to. -type EndpointTarget struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *EndpointTarget_Worker_ - // *EndpointTarget_External_ - Variant isEndpointTarget_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EndpointTarget) Reset() { - *x = EndpointTarget{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EndpointTarget) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EndpointTarget) ProtoMessage() {} - -func (x *EndpointTarget) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EndpointTarget.ProtoReflect.Descriptor instead. -func (*EndpointTarget) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *EndpointTarget) GetVariant() isEndpointTarget_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *EndpointTarget) GetWorker() *EndpointTarget_Worker { - if x != nil { - if x, ok := x.Variant.(*EndpointTarget_Worker_); ok { - return x.Worker - } - } - return nil -} - -func (x *EndpointTarget) GetExternal() *EndpointTarget_External { - if x != nil { - if x, ok := x.Variant.(*EndpointTarget_External_); ok { - return x.External - } - } - return nil -} - -type isEndpointTarget_Variant interface { - isEndpointTarget_Variant() -} - -type EndpointTarget_Worker_ struct { - Worker *EndpointTarget_Worker `protobuf:"bytes,1,opt,name=worker,proto3,oneof"` -} - -type EndpointTarget_External_ struct { - External *EndpointTarget_External `protobuf:"bytes,2,opt,name=external,proto3,oneof"` -} - -func (*EndpointTarget_Worker_) isEndpointTarget_Variant() {} - -func (*EndpointTarget_External_) isEndpointTarget_Variant() {} - -// An operation completed successfully. -type StartOperationResponse_Sync struct { - state protoimpl.MessageState `protogen:"open.v1"` - Payload *v11.Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartOperationResponse_Sync) Reset() { - *x = StartOperationResponse_Sync{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartOperationResponse_Sync) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartOperationResponse_Sync) ProtoMessage() {} - -func (x *StartOperationResponse_Sync) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartOperationResponse_Sync.ProtoReflect.Descriptor instead. -func (*StartOperationResponse_Sync) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{7, 0} -} - -func (x *StartOperationResponse_Sync) GetPayload() *v11.Payload { - if x != nil { - return x.Payload - } - return nil -} - -func (x *StartOperationResponse_Sync) GetLinks() []*Link { - if x != nil { - return x.Links - } - return nil -} - -// The operation will complete asynchronously. -// The returned ID can be used to reference this operation. -type StartOperationResponse_Async struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Deprecated. Renamed to operation_token. - // - // Deprecated: Marked as deprecated in temporal/api/nexus/v1/message.proto. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` - OperationToken string `protobuf:"bytes,3,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartOperationResponse_Async) Reset() { - *x = StartOperationResponse_Async{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartOperationResponse_Async) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartOperationResponse_Async) ProtoMessage() {} - -func (x *StartOperationResponse_Async) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartOperationResponse_Async.ProtoReflect.Descriptor instead. -func (*StartOperationResponse_Async) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{7, 1} -} - -// Deprecated: Marked as deprecated in temporal/api/nexus/v1/message.proto. -func (x *StartOperationResponse_Async) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -func (x *StartOperationResponse_Async) GetLinks() []*Link { - if x != nil { - return x.Links - } - return nil -} - -func (x *StartOperationResponse_Async) GetOperationToken() string { - if x != nil { - return x.OperationToken - } - return "" -} - -// Target a worker polling on a Nexus task queue in a specific namespace. -type EndpointTarget_Worker struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace to route requests to. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Nexus task queue to route requests to. - TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EndpointTarget_Worker) Reset() { - *x = EndpointTarget_Worker{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EndpointTarget_Worker) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EndpointTarget_Worker) ProtoMessage() {} - -func (x *EndpointTarget_Worker) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EndpointTarget_Worker.ProtoReflect.Descriptor instead. -func (*EndpointTarget_Worker) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{12, 0} -} - -func (x *EndpointTarget_Worker) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *EndpointTarget_Worker) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -// Target an external server by URL. -// At a later point, this will support providing credentials, in the meantime, an http.RoundTripper can be injected -// into the server to modify the request. -type EndpointTarget_External struct { - state protoimpl.MessageState `protogen:"open.v1"` - // URL to call. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EndpointTarget_External) Reset() { - *x = EndpointTarget_External{} - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EndpointTarget_External) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EndpointTarget_External) ProtoMessage() {} - -func (x *EndpointTarget_External) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_nexus_v1_message_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EndpointTarget_External.ProtoReflect.Descriptor instead. -func (*EndpointTarget_External) Descriptor() ([]byte, []int) { - return file_temporal_api_nexus_v1_message_proto_rawDescGZIP(), []int{12, 1} -} - -func (x *EndpointTarget_External) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -var File_temporal_api_nexus_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_nexus_v1_message_proto_rawDesc = "" + - "\n" + - "#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto\"\xc4\x01\n" + - "\aFailure\x12\x18\n" + - "\amessage\x18\x01 \x01(\tR\amessage\x12H\n" + - "\bmetadata\x18\x02 \x03(\v2,.temporal.api.nexus.v1.Failure.MetadataEntryR\bmetadata\x12\x18\n" + - "\adetails\x18\x03 \x01(\fR\adetails\x1a;\n" + - "\rMetadataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xc5\x01\n" + - "\fHandlerError\x12\x1d\n" + - "\n" + - "error_type\x18\x01 \x01(\tR\terrorType\x128\n" + - "\afailure\x18\x02 \x01(\v2\x1e.temporal.api.nexus.v1.FailureR\afailure\x12\\\n" + - "\x0eretry_behavior\x18\x03 \x01(\x0e25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior\"\x7f\n" + - "\x1aUnsuccessfulOperationError\x12'\n" + - "\x0foperation_state\x18\x01 \x01(\tR\x0eoperationState\x128\n" + - "\afailure\x18\x02 \x01(\v2\x1e.temporal.api.nexus.v1.FailureR\afailure\",\n" + - "\x04Link\x12\x10\n" + - "\x03url\x18\x01 \x01(\tR\x03url\x12\x12\n" + - "\x04type\x18\x02 \x01(\tR\x04type\"\xa6\x03\n" + - "\x15StartOperationRequest\x12\x18\n" + - "\aservice\x18\x01 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x02 \x01(\tR\toperation\x12\x1d\n" + - "\n" + - "request_id\x18\x03 \x01(\tR\trequestId\x12\x1a\n" + - "\bcallback\x18\x04 \x01(\tR\bcallback\x129\n" + - "\apayload\x18\x05 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\apayload\x12i\n" + - "\x0fcallback_header\x18\x06 \x03(\v2@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntryR\x0ecallbackHeader\x121\n" + - "\x05links\x18\a \x03(\v2\x1b.temporal.api.nexus.v1.LinkR\x05links\x1aA\n" + - "\x13CallbackHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa0\x01\n" + - "\x16CancelOperationRequest\x12\x18\n" + - "\aservice\x18\x01 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x02 \x01(\tR\toperation\x12%\n" + - "\foperation_id\x18\x03 \x01(\tB\x02\x18\x01R\voperationId\x12'\n" + - "\x0foperation_token\x18\x04 \x01(\tR\x0eoperationToken\"\xa7\x03\n" + - "\aRequest\x12B\n" + - "\x06header\x18\x01 \x03(\v2*.temporal.api.nexus.v1.Request.HeaderEntryR\x06header\x12A\n" + - "\x0escheduled_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12W\n" + - "\x0fstart_operation\x18\x03 \x01(\v2,.temporal.api.nexus.v1.StartOperationRequestH\x00R\x0estartOperation\x12Z\n" + - "\x10cancel_operation\x18\x04 \x01(\v2-.temporal.api.nexus.v1.CancelOperationRequestH\x00R\x0fcancelOperation\x12\x1a\n" + - "\bendpoint\x18\n" + - " \x01(\tR\bendpoint\x1a9\n" + - "\vHeaderEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\t\n" + - "\avariant\"\xb9\x04\n" + - "\x16StartOperationResponse\x12W\n" + - "\fsync_success\x18\x01 \x01(\v22.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00R\vsyncSuccess\x12Z\n" + - "\rasync_success\x18\x02 \x01(\v23.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00R\fasyncSuccess\x12\\\n" + - "\x0foperation_error\x18\x03 \x01(\v21.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00R\x0eoperationError\x1at\n" + - "\x04Sync\x129\n" + - "\apayload\x18\x01 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\apayload\x121\n" + - "\x05links\x18\x02 \x03(\v2\x1b.temporal.api.nexus.v1.LinkR\x05links\x1a\x8a\x01\n" + - "\x05Async\x12%\n" + - "\foperation_id\x18\x01 \x01(\tB\x02\x18\x01R\voperationId\x121\n" + - "\x05links\x18\x02 \x03(\v2\x1b.temporal.api.nexus.v1.LinkR\x05links\x12'\n" + - "\x0foperation_token\x18\x03 \x01(\tR\x0eoperationTokenB\t\n" + - "\avariant\"\x19\n" + - "\x17CancelOperationResponse\"\xcc\x01\n" + - "\bResponse\x12X\n" + - "\x0fstart_operation\x18\x01 \x01(\v2-.temporal.api.nexus.v1.StartOperationResponseH\x00R\x0estartOperation\x12[\n" + - "\x10cancel_operation\x18\x02 \x01(\v2..temporal.api.nexus.v1.CancelOperationResponseH\x00R\x0fcancelOperationB\t\n" + - "\avariant\"\x95\x02\n" + - "\bEndpoint\x12\x18\n" + - "\aversion\x18\x01 \x01(\x03R\aversion\x12\x0e\n" + - "\x02id\x18\x02 \x01(\tR\x02id\x127\n" + - "\x04spec\x18\x03 \x01(\v2#.temporal.api.nexus.v1.EndpointSpecR\x04spec\x12=\n" + - "\fcreated_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\vcreatedTime\x12H\n" + - "\x12last_modified_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x10lastModifiedTime\x12\x1d\n" + - "\n" + - "url_prefix\x18\x06 \x01(\tR\turlPrefix\"\xa4\x01\n" + - "\fEndpointSpec\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12A\n" + - "\vdescription\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\vdescription\x12=\n" + - "\x06target\x18\x03 \x01(\v2%.temporal.api.nexus.v1.EndpointTargetR\x06target\"\x96\x02\n" + - "\x0eEndpointTarget\x12F\n" + - "\x06worker\x18\x01 \x01(\v2,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00R\x06worker\x12L\n" + - "\bexternal\x18\x02 \x01(\v2..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00R\bexternal\x1aE\n" + - "\x06Worker\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + - "\n" + - "task_queue\x18\x02 \x01(\tR\ttaskQueue\x1a\x1c\n" + - "\bExternal\x12\x10\n" + - "\x03url\x18\x01 \x01(\tR\x03urlB\t\n" + - "\avariantB\x84\x01\n" + - "\x18io.temporal.api.nexus.v1B\fMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3" - -var ( - file_temporal_api_nexus_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_nexus_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_nexus_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_nexus_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_nexus_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_nexus_v1_message_proto_rawDesc), len(file_temporal_api_nexus_v1_message_proto_rawDesc))) - }) - return file_temporal_api_nexus_v1_message_proto_rawDescData -} - -var file_temporal_api_nexus_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_temporal_api_nexus_v1_message_proto_goTypes = []any{ - (*Failure)(nil), // 0: temporal.api.nexus.v1.Failure - (*HandlerError)(nil), // 1: temporal.api.nexus.v1.HandlerError - (*UnsuccessfulOperationError)(nil), // 2: temporal.api.nexus.v1.UnsuccessfulOperationError - (*Link)(nil), // 3: temporal.api.nexus.v1.Link - (*StartOperationRequest)(nil), // 4: temporal.api.nexus.v1.StartOperationRequest - (*CancelOperationRequest)(nil), // 5: temporal.api.nexus.v1.CancelOperationRequest - (*Request)(nil), // 6: temporal.api.nexus.v1.Request - (*StartOperationResponse)(nil), // 7: temporal.api.nexus.v1.StartOperationResponse - (*CancelOperationResponse)(nil), // 8: temporal.api.nexus.v1.CancelOperationResponse - (*Response)(nil), // 9: temporal.api.nexus.v1.Response - (*Endpoint)(nil), // 10: temporal.api.nexus.v1.Endpoint - (*EndpointSpec)(nil), // 11: temporal.api.nexus.v1.EndpointSpec - (*EndpointTarget)(nil), // 12: temporal.api.nexus.v1.EndpointTarget - nil, // 13: temporal.api.nexus.v1.Failure.MetadataEntry - nil, // 14: temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry - nil, // 15: temporal.api.nexus.v1.Request.HeaderEntry - (*StartOperationResponse_Sync)(nil), // 16: temporal.api.nexus.v1.StartOperationResponse.Sync - (*StartOperationResponse_Async)(nil), // 17: temporal.api.nexus.v1.StartOperationResponse.Async - (*EndpointTarget_Worker)(nil), // 18: temporal.api.nexus.v1.EndpointTarget.Worker - (*EndpointTarget_External)(nil), // 19: temporal.api.nexus.v1.EndpointTarget.External - (v1.NexusHandlerErrorRetryBehavior)(0), // 20: temporal.api.enums.v1.NexusHandlerErrorRetryBehavior - (*v11.Payload)(nil), // 21: temporal.api.common.v1.Payload - (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp -} -var file_temporal_api_nexus_v1_message_proto_depIdxs = []int32{ - 13, // 0: temporal.api.nexus.v1.Failure.metadata:type_name -> temporal.api.nexus.v1.Failure.MetadataEntry - 0, // 1: temporal.api.nexus.v1.HandlerError.failure:type_name -> temporal.api.nexus.v1.Failure - 20, // 2: temporal.api.nexus.v1.HandlerError.retry_behavior:type_name -> temporal.api.enums.v1.NexusHandlerErrorRetryBehavior - 0, // 3: temporal.api.nexus.v1.UnsuccessfulOperationError.failure:type_name -> temporal.api.nexus.v1.Failure - 21, // 4: temporal.api.nexus.v1.StartOperationRequest.payload:type_name -> temporal.api.common.v1.Payload - 14, // 5: temporal.api.nexus.v1.StartOperationRequest.callback_header:type_name -> temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry - 3, // 6: temporal.api.nexus.v1.StartOperationRequest.links:type_name -> temporal.api.nexus.v1.Link - 15, // 7: temporal.api.nexus.v1.Request.header:type_name -> temporal.api.nexus.v1.Request.HeaderEntry - 22, // 8: temporal.api.nexus.v1.Request.scheduled_time:type_name -> google.protobuf.Timestamp - 4, // 9: temporal.api.nexus.v1.Request.start_operation:type_name -> temporal.api.nexus.v1.StartOperationRequest - 5, // 10: temporal.api.nexus.v1.Request.cancel_operation:type_name -> temporal.api.nexus.v1.CancelOperationRequest - 16, // 11: temporal.api.nexus.v1.StartOperationResponse.sync_success:type_name -> temporal.api.nexus.v1.StartOperationResponse.Sync - 17, // 12: temporal.api.nexus.v1.StartOperationResponse.async_success:type_name -> temporal.api.nexus.v1.StartOperationResponse.Async - 2, // 13: temporal.api.nexus.v1.StartOperationResponse.operation_error:type_name -> temporal.api.nexus.v1.UnsuccessfulOperationError - 7, // 14: temporal.api.nexus.v1.Response.start_operation:type_name -> temporal.api.nexus.v1.StartOperationResponse - 8, // 15: temporal.api.nexus.v1.Response.cancel_operation:type_name -> temporal.api.nexus.v1.CancelOperationResponse - 11, // 16: temporal.api.nexus.v1.Endpoint.spec:type_name -> temporal.api.nexus.v1.EndpointSpec - 22, // 17: temporal.api.nexus.v1.Endpoint.created_time:type_name -> google.protobuf.Timestamp - 22, // 18: temporal.api.nexus.v1.Endpoint.last_modified_time:type_name -> google.protobuf.Timestamp - 21, // 19: temporal.api.nexus.v1.EndpointSpec.description:type_name -> temporal.api.common.v1.Payload - 12, // 20: temporal.api.nexus.v1.EndpointSpec.target:type_name -> temporal.api.nexus.v1.EndpointTarget - 18, // 21: temporal.api.nexus.v1.EndpointTarget.worker:type_name -> temporal.api.nexus.v1.EndpointTarget.Worker - 19, // 22: temporal.api.nexus.v1.EndpointTarget.external:type_name -> temporal.api.nexus.v1.EndpointTarget.External - 21, // 23: temporal.api.nexus.v1.StartOperationResponse.Sync.payload:type_name -> temporal.api.common.v1.Payload - 3, // 24: temporal.api.nexus.v1.StartOperationResponse.Sync.links:type_name -> temporal.api.nexus.v1.Link - 3, // 25: temporal.api.nexus.v1.StartOperationResponse.Async.links:type_name -> temporal.api.nexus.v1.Link - 26, // [26:26] is the sub-list for method output_type - 26, // [26:26] is the sub-list for method input_type - 26, // [26:26] is the sub-list for extension type_name - 26, // [26:26] is the sub-list for extension extendee - 0, // [0:26] is the sub-list for field type_name -} - -func init() { file_temporal_api_nexus_v1_message_proto_init() } -func file_temporal_api_nexus_v1_message_proto_init() { - if File_temporal_api_nexus_v1_message_proto != nil { - return - } - file_temporal_api_nexus_v1_message_proto_msgTypes[6].OneofWrappers = []any{ - (*Request_StartOperation)(nil), - (*Request_CancelOperation)(nil), - } - file_temporal_api_nexus_v1_message_proto_msgTypes[7].OneofWrappers = []any{ - (*StartOperationResponse_SyncSuccess)(nil), - (*StartOperationResponse_AsyncSuccess)(nil), - (*StartOperationResponse_OperationError)(nil), - } - file_temporal_api_nexus_v1_message_proto_msgTypes[9].OneofWrappers = []any{ - (*Response_StartOperation)(nil), - (*Response_CancelOperation)(nil), - } - file_temporal_api_nexus_v1_message_proto_msgTypes[12].OneofWrappers = []any{ - (*EndpointTarget_Worker_)(nil), - (*EndpointTarget_External_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_nexus_v1_message_proto_rawDesc), len(file_temporal_api_nexus_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 20, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_nexus_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_nexus_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_nexus_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_nexus_v1_message_proto = out.File - file_temporal_api_nexus_v1_message_proto_goTypes = nil - file_temporal_api_nexus_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/operatorservice/v1/request_response.pb.go b/build/temporal/api/operatorservice/v1/request_response.pb.go deleted file mode 100644 index ce19308..0000000 --- a/build/temporal/api/operatorservice/v1/request_response.pb.go +++ /dev/null @@ -1,1482 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/operatorservice/v1/request_response.proto - -package operatorservice - -import ( - v1 "go.temporal.io/api/enums/v1" - v11 "go.temporal.io/api/nexus/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type AddSearchAttributesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Mapping between search attribute name and its IndexedValueType. - SearchAttributes map[string]v1.IndexedValueType `protobuf:"bytes,1,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=temporal.api.enums.v1.IndexedValueType"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddSearchAttributesRequest) Reset() { - *x = AddSearchAttributesRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddSearchAttributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddSearchAttributesRequest) ProtoMessage() {} - -func (x *AddSearchAttributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddSearchAttributesRequest.ProtoReflect.Descriptor instead. -func (*AddSearchAttributesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{0} -} - -func (x *AddSearchAttributesRequest) GetSearchAttributes() map[string]v1.IndexedValueType { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *AddSearchAttributesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -type AddSearchAttributesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddSearchAttributesResponse) Reset() { - *x = AddSearchAttributesResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddSearchAttributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddSearchAttributesResponse) ProtoMessage() {} - -func (x *AddSearchAttributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddSearchAttributesResponse.ProtoReflect.Descriptor instead. -func (*AddSearchAttributesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{1} -} - -type RemoveSearchAttributesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Search attribute names to delete. - SearchAttributes []string `protobuf:"bytes,1,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveSearchAttributesRequest) Reset() { - *x = RemoveSearchAttributesRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveSearchAttributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveSearchAttributesRequest) ProtoMessage() {} - -func (x *RemoveSearchAttributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveSearchAttributesRequest.ProtoReflect.Descriptor instead. -func (*RemoveSearchAttributesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{2} -} - -func (x *RemoveSearchAttributesRequest) GetSearchAttributes() []string { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *RemoveSearchAttributesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -type RemoveSearchAttributesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveSearchAttributesResponse) Reset() { - *x = RemoveSearchAttributesResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveSearchAttributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveSearchAttributesResponse) ProtoMessage() {} - -func (x *RemoveSearchAttributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveSearchAttributesResponse.ProtoReflect.Descriptor instead. -func (*RemoveSearchAttributesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{3} -} - -type ListSearchAttributesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListSearchAttributesRequest) Reset() { - *x = ListSearchAttributesRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSearchAttributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSearchAttributesRequest) ProtoMessage() {} - -func (x *ListSearchAttributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSearchAttributesRequest.ProtoReflect.Descriptor instead. -func (*ListSearchAttributesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{4} -} - -func (x *ListSearchAttributesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -type ListSearchAttributesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Mapping between custom (user-registered) search attribute name to its IndexedValueType. - CustomAttributes map[string]v1.IndexedValueType `protobuf:"bytes,1,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=temporal.api.enums.v1.IndexedValueType"` - // Mapping between system (predefined) search attribute name to its IndexedValueType. - SystemAttributes map[string]v1.IndexedValueType `protobuf:"bytes,2,rep,name=system_attributes,json=systemAttributes,proto3" json:"system_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=temporal.api.enums.v1.IndexedValueType"` - // Mapping from the attribute name to the visibility storage native type. - StorageSchema map[string]string `protobuf:"bytes,3,rep,name=storage_schema,json=storageSchema,proto3" json:"storage_schema,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListSearchAttributesResponse) Reset() { - *x = ListSearchAttributesResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSearchAttributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSearchAttributesResponse) ProtoMessage() {} - -func (x *ListSearchAttributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSearchAttributesResponse.ProtoReflect.Descriptor instead. -func (*ListSearchAttributesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{5} -} - -func (x *ListSearchAttributesResponse) GetCustomAttributes() map[string]v1.IndexedValueType { - if x != nil { - return x.CustomAttributes - } - return nil -} - -func (x *ListSearchAttributesResponse) GetSystemAttributes() map[string]v1.IndexedValueType { - if x != nil { - return x.SystemAttributes - } - return nil -} - -func (x *ListSearchAttributesResponse) GetStorageSchema() map[string]string { - if x != nil { - return x.StorageSchema - } - return nil -} - -type DeleteNamespaceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Only one of namespace or namespace_id must be specified to identify namespace. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - // If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay). - // If not provided, the default delay configured in the cluster will be used. - NamespaceDeleteDelay *durationpb.Duration `protobuf:"bytes,3,opt,name=namespace_delete_delay,json=namespaceDeleteDelay,proto3" json:"namespace_delete_delay,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteNamespaceRequest) Reset() { - *x = DeleteNamespaceRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteNamespaceRequest) ProtoMessage() {} - -func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead. -func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{6} -} - -func (x *DeleteNamespaceRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeleteNamespaceRequest) GetNamespaceId() string { - if x != nil { - return x.NamespaceId - } - return "" -} - -func (x *DeleteNamespaceRequest) GetNamespaceDeleteDelay() *durationpb.Duration { - if x != nil { - return x.NamespaceDeleteDelay - } - return nil -} - -type DeleteNamespaceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Temporary namespace name that is used during reclaim resources step. - DeletedNamespace string `protobuf:"bytes,1,opt,name=deleted_namespace,json=deletedNamespace,proto3" json:"deleted_namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteNamespaceResponse) Reset() { - *x = DeleteNamespaceResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteNamespaceResponse) ProtoMessage() {} - -func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead. -func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{7} -} - -func (x *DeleteNamespaceResponse) GetDeletedNamespace() string { - if x != nil { - return x.DeletedNamespace - } - return "" -} - -type AddOrUpdateRemoteClusterRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Frontend Address is a cross cluster accessible address for gRPC traffic. This field is required. - FrontendAddress string `protobuf:"bytes,1,opt,name=frontend_address,json=frontendAddress,proto3" json:"frontend_address,omitempty"` - // Flag to enable / disable the cross cluster connection. - EnableRemoteClusterConnection bool `protobuf:"varint,2,opt,name=enable_remote_cluster_connection,json=enableRemoteClusterConnection,proto3" json:"enable_remote_cluster_connection,omitempty"` - // Frontend HTTP Address is a cross cluster accessible address for HTTP traffic. This field is optional. If not provided - // - // on update, the existing HTTP address will be removed. - FrontendHttpAddress string `protobuf:"bytes,3,opt,name=frontend_http_address,json=frontendHttpAddress,proto3" json:"frontend_http_address,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddOrUpdateRemoteClusterRequest) Reset() { - *x = AddOrUpdateRemoteClusterRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrUpdateRemoteClusterRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrUpdateRemoteClusterRequest) ProtoMessage() {} - -func (x *AddOrUpdateRemoteClusterRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddOrUpdateRemoteClusterRequest.ProtoReflect.Descriptor instead. -func (*AddOrUpdateRemoteClusterRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{8} -} - -func (x *AddOrUpdateRemoteClusterRequest) GetFrontendAddress() string { - if x != nil { - return x.FrontendAddress - } - return "" -} - -func (x *AddOrUpdateRemoteClusterRequest) GetEnableRemoteClusterConnection() bool { - if x != nil { - return x.EnableRemoteClusterConnection - } - return false -} - -func (x *AddOrUpdateRemoteClusterRequest) GetFrontendHttpAddress() string { - if x != nil { - return x.FrontendHttpAddress - } - return "" -} - -type AddOrUpdateRemoteClusterResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddOrUpdateRemoteClusterResponse) Reset() { - *x = AddOrUpdateRemoteClusterResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrUpdateRemoteClusterResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrUpdateRemoteClusterResponse) ProtoMessage() {} - -func (x *AddOrUpdateRemoteClusterResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddOrUpdateRemoteClusterResponse.ProtoReflect.Descriptor instead. -func (*AddOrUpdateRemoteClusterResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{9} -} - -type RemoveRemoteClusterRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Remote cluster name to be removed. - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveRemoteClusterRequest) Reset() { - *x = RemoveRemoteClusterRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveRemoteClusterRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRemoteClusterRequest) ProtoMessage() {} - -func (x *RemoveRemoteClusterRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveRemoteClusterRequest.ProtoReflect.Descriptor instead. -func (*RemoveRemoteClusterRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{10} -} - -func (x *RemoveRemoteClusterRequest) GetClusterName() string { - if x != nil { - return x.ClusterName - } - return "" -} - -type RemoveRemoteClusterResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveRemoteClusterResponse) Reset() { - *x = RemoveRemoteClusterResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveRemoteClusterResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRemoteClusterResponse) ProtoMessage() {} - -func (x *RemoveRemoteClusterResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveRemoteClusterResponse.ProtoReflect.Descriptor instead. -func (*RemoveRemoteClusterResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{11} -} - -type ListClustersRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListClustersRequest) Reset() { - *x = ListClustersRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListClustersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListClustersRequest) ProtoMessage() {} - -func (x *ListClustersRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead. -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{12} -} - -func (x *ListClustersRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListClustersRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListClustersResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // List of all cluster information - Clusters []*ClusterMetadata `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListClustersResponse) Reset() { - *x = ListClustersResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListClustersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListClustersResponse) ProtoMessage() {} - -func (x *ListClustersResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead. -func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{13} -} - -func (x *ListClustersResponse) GetClusters() []*ClusterMetadata { - if x != nil { - return x.Clusters - } - return nil -} - -func (x *ListClustersResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ClusterMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Name of the cluster name. - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Id of the cluster. - ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // gRPC address. - Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - // HTTP address, if one exists. - HttpAddress string `protobuf:"bytes,7,opt,name=http_address,json=httpAddress,proto3" json:"http_address,omitempty"` - // A unique failover version across all connected clusters. - InitialFailoverVersion int64 `protobuf:"varint,4,opt,name=initial_failover_version,json=initialFailoverVersion,proto3" json:"initial_failover_version,omitempty"` - // History service shard number. - HistoryShardCount int32 `protobuf:"varint,5,opt,name=history_shard_count,json=historyShardCount,proto3" json:"history_shard_count,omitempty"` - // A flag to indicate if a connection is active. - IsConnectionEnabled bool `protobuf:"varint,6,opt,name=is_connection_enabled,json=isConnectionEnabled,proto3" json:"is_connection_enabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ClusterMetadata) Reset() { - *x = ClusterMetadata{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ClusterMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClusterMetadata) ProtoMessage() {} - -func (x *ClusterMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClusterMetadata.ProtoReflect.Descriptor instead. -func (*ClusterMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{14} -} - -func (x *ClusterMetadata) GetClusterName() string { - if x != nil { - return x.ClusterName - } - return "" -} - -func (x *ClusterMetadata) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *ClusterMetadata) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -func (x *ClusterMetadata) GetHttpAddress() string { - if x != nil { - return x.HttpAddress - } - return "" -} - -func (x *ClusterMetadata) GetInitialFailoverVersion() int64 { - if x != nil { - return x.InitialFailoverVersion - } - return 0 -} - -func (x *ClusterMetadata) GetHistoryShardCount() int32 { - if x != nil { - return x.HistoryShardCount - } - return 0 -} - -func (x *ClusterMetadata) GetIsConnectionEnabled() bool { - if x != nil { - return x.IsConnectionEnabled - } - return false -} - -type GetNexusEndpointRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Server-generated unique endpoint ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetNexusEndpointRequest) Reset() { - *x = GetNexusEndpointRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNexusEndpointRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNexusEndpointRequest) ProtoMessage() {} - -func (x *GetNexusEndpointRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetNexusEndpointRequest.ProtoReflect.Descriptor instead. -func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{15} -} - -func (x *GetNexusEndpointRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type GetNexusEndpointResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetNexusEndpointResponse) Reset() { - *x = GetNexusEndpointResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNexusEndpointResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNexusEndpointResponse) ProtoMessage() {} - -func (x *GetNexusEndpointResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetNexusEndpointResponse.ProtoReflect.Descriptor instead. -func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{16} -} - -func (x *GetNexusEndpointResponse) GetEndpoint() *v11.Endpoint { - if x != nil { - return x.Endpoint - } - return nil -} - -type CreateNexusEndpointRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Endpoint definition to create. - Spec *v11.EndpointSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateNexusEndpointRequest) Reset() { - *x = CreateNexusEndpointRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateNexusEndpointRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateNexusEndpointRequest) ProtoMessage() {} - -func (x *CreateNexusEndpointRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateNexusEndpointRequest.ProtoReflect.Descriptor instead. -func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{17} -} - -func (x *CreateNexusEndpointRequest) GetSpec() *v11.EndpointSpec { - if x != nil { - return x.Spec - } - return nil -} - -type CreateNexusEndpointResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Data post acceptance. Can be used to issue additional updates to this record. - Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateNexusEndpointResponse) Reset() { - *x = CreateNexusEndpointResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateNexusEndpointResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateNexusEndpointResponse) ProtoMessage() {} - -func (x *CreateNexusEndpointResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateNexusEndpointResponse.ProtoReflect.Descriptor instead. -func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{18} -} - -func (x *CreateNexusEndpointResponse) GetEndpoint() *v11.Endpoint { - if x != nil { - return x.Endpoint - } - return nil -} - -type UpdateNexusEndpointRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Server-generated unique endpoint ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Data version for this endpoint. Must match current version. - Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - Spec *v11.EndpointSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateNexusEndpointRequest) Reset() { - *x = UpdateNexusEndpointRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateNexusEndpointRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateNexusEndpointRequest) ProtoMessage() {} - -func (x *UpdateNexusEndpointRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateNexusEndpointRequest.ProtoReflect.Descriptor instead. -func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{19} -} - -func (x *UpdateNexusEndpointRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UpdateNexusEndpointRequest) GetVersion() int64 { - if x != nil { - return x.Version - } - return 0 -} - -func (x *UpdateNexusEndpointRequest) GetSpec() *v11.EndpointSpec { - if x != nil { - return x.Spec - } - return nil -} - -type UpdateNexusEndpointResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Data post acceptance. Can be used to issue additional updates to this record. - Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateNexusEndpointResponse) Reset() { - *x = UpdateNexusEndpointResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateNexusEndpointResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateNexusEndpointResponse) ProtoMessage() {} - -func (x *UpdateNexusEndpointResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateNexusEndpointResponse.ProtoReflect.Descriptor instead. -func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{20} -} - -func (x *UpdateNexusEndpointResponse) GetEndpoint() *v11.Endpoint { - if x != nil { - return x.Endpoint - } - return nil -} - -type DeleteNexusEndpointRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Server-generated unique endpoint ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Data version for this endpoint. Must match current version. - Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteNexusEndpointRequest) Reset() { - *x = DeleteNexusEndpointRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteNexusEndpointRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteNexusEndpointRequest) ProtoMessage() {} - -func (x *DeleteNexusEndpointRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteNexusEndpointRequest.ProtoReflect.Descriptor instead. -func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{21} -} - -func (x *DeleteNexusEndpointRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DeleteNexusEndpointRequest) GetVersion() int64 { - if x != nil { - return x.Version - } - return 0 -} - -type DeleteNexusEndpointResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteNexusEndpointResponse) Reset() { - *x = DeleteNexusEndpointResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteNexusEndpointResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteNexusEndpointResponse) ProtoMessage() {} - -func (x *DeleteNexusEndpointResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteNexusEndpointResponse.ProtoReflect.Descriptor instead. -func (*DeleteNexusEndpointResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{22} -} - -type ListNexusEndpointsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // To get the next page, pass in `ListNexusEndpointsResponse.next_page_token` from the previous page's - // response, the token will be empty if there's no other page. - // Note: the last page may be empty if the total number of endpoints registered is a multiple of the page size. - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Name of the incoming endpoint to filter on - optional. Specifying this will result in zero or one results. - // (-- api-linter: core::203::field-behavior-required=disabled - // - // aip.dev/not-precedent: Not following linter rules. --) - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListNexusEndpointsRequest) Reset() { - *x = ListNexusEndpointsRequest{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListNexusEndpointsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNexusEndpointsRequest) ProtoMessage() {} - -func (x *ListNexusEndpointsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNexusEndpointsRequest.ProtoReflect.Descriptor instead. -func (*ListNexusEndpointsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{23} -} - -func (x *ListNexusEndpointsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListNexusEndpointsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListNexusEndpointsRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ListNexusEndpointsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Token for getting the next page. - NextPageToken []byte `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Endpoints []*v11.Endpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListNexusEndpointsResponse) Reset() { - *x = ListNexusEndpointsResponse{} - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListNexusEndpointsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNexusEndpointsResponse) ProtoMessage() {} - -func (x *ListNexusEndpointsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_operatorservice_v1_request_response_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNexusEndpointsResponse.ProtoReflect.Descriptor instead. -func (*ListNexusEndpointsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP(), []int{24} -} - -func (x *ListNexusEndpointsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListNexusEndpointsResponse) GetEndpoints() []*v11.Endpoint { - if x != nil { - return x.Endpoints - } - return nil -} - -var File_temporal_api_operatorservice_v1_request_response_proto protoreflect.FileDescriptor - -const file_temporal_api_operatorservice_v1_request_response_proto_rawDesc = "" + - "\n" + - "6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa8\x02\n" + - "\x1aAddSearchAttributesRequest\x12~\n" + - "\x11search_attributes\x18\x01 \x03(\v2Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntryR\x10searchAttributes\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\x1al\n" + - "\x15SearchAttributesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.IndexedValueTypeR\x05value:\x028\x01\"\x1d\n" + - "\x1bAddSearchAttributesResponse\"j\n" + - "\x1dRemoveSearchAttributesRequest\x12+\n" + - "\x11search_attributes\x18\x01 \x03(\tR\x10searchAttributes\x12\x1c\n" + - "\tnamespace\x18\x02 \x01(\tR\tnamespace\" \n" + - "\x1eRemoveSearchAttributesResponse\";\n" + - "\x1bListSearchAttributesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\"\xbb\x05\n" + - "\x1cListSearchAttributesResponse\x12\x80\x01\n" + - "\x11custom_attributes\x18\x01 \x03(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntryR\x10customAttributes\x12\x80\x01\n" + - "\x11system_attributes\x18\x02 \x03(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntryR\x10systemAttributes\x12w\n" + - "\x0estorage_schema\x18\x03 \x03(\v2P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntryR\rstorageSchema\x1al\n" + - "\x15CustomAttributesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.IndexedValueTypeR\x05value:\x028\x01\x1al\n" + - "\x15SystemAttributesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.IndexedValueTypeR\x05value:\x028\x01\x1a@\n" + - "\x12StorageSchemaEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xaa\x01\n" + - "\x16DeleteNamespaceRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12!\n" + - "\fnamespace_id\x18\x02 \x01(\tR\vnamespaceId\x12O\n" + - "\x16namespace_delete_delay\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x14namespaceDeleteDelay\"F\n" + - "\x17DeleteNamespaceResponse\x12+\n" + - "\x11deleted_namespace\x18\x01 \x01(\tR\x10deletedNamespace\"\xc9\x01\n" + - "\x1fAddOrUpdateRemoteClusterRequest\x12)\n" + - "\x10frontend_address\x18\x01 \x01(\tR\x0ffrontendAddress\x12G\n" + - " enable_remote_cluster_connection\x18\x02 \x01(\bR\x1denableRemoteClusterConnection\x122\n" + - "\x15frontend_http_address\x18\x03 \x01(\tR\x13frontendHttpAddress\"\"\n" + - " AddOrUpdateRemoteClusterResponse\"?\n" + - "\x1aRemoveRemoteClusterRequest\x12!\n" + - "\fcluster_name\x18\x01 \x01(\tR\vclusterName\"\x1d\n" + - "\x1bRemoveRemoteClusterResponse\"Z\n" + - "\x13ListClustersRequest\x12\x1b\n" + - "\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\x8c\x01\n" + - "\x14ListClustersResponse\x12L\n" + - "\bclusters\x18\x01 \x03(\v20.temporal.api.operatorservice.v1.ClusterMetadataR\bclusters\x12&\n" + - "\x0fnext_page_token\x18\x04 \x01(\fR\rnextPageToken\"\xae\x02\n" + - "\x0fClusterMetadata\x12!\n" + - "\fcluster_name\x18\x01 \x01(\tR\vclusterName\x12\x1d\n" + - "\n" + - "cluster_id\x18\x02 \x01(\tR\tclusterId\x12\x18\n" + - "\aaddress\x18\x03 \x01(\tR\aaddress\x12!\n" + - "\fhttp_address\x18\a \x01(\tR\vhttpAddress\x128\n" + - "\x18initial_failover_version\x18\x04 \x01(\x03R\x16initialFailoverVersion\x12.\n" + - "\x13history_shard_count\x18\x05 \x01(\x05R\x11historyShardCount\x122\n" + - "\x15is_connection_enabled\x18\x06 \x01(\bR\x13isConnectionEnabled\")\n" + - "\x17GetNexusEndpointRequest\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\"W\n" + - "\x18GetNexusEndpointResponse\x12;\n" + - "\bendpoint\x18\x01 \x01(\v2\x1f.temporal.api.nexus.v1.EndpointR\bendpoint\"U\n" + - "\x1aCreateNexusEndpointRequest\x127\n" + - "\x04spec\x18\x01 \x01(\v2#.temporal.api.nexus.v1.EndpointSpecR\x04spec\"Z\n" + - "\x1bCreateNexusEndpointResponse\x12;\n" + - "\bendpoint\x18\x01 \x01(\v2\x1f.temporal.api.nexus.v1.EndpointR\bendpoint\"\x7f\n" + - "\x1aUpdateNexusEndpointRequest\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" + - "\aversion\x18\x02 \x01(\x03R\aversion\x127\n" + - "\x04spec\x18\x03 \x01(\v2#.temporal.api.nexus.v1.EndpointSpecR\x04spec\"Z\n" + - "\x1bUpdateNexusEndpointResponse\x12;\n" + - "\bendpoint\x18\x01 \x01(\v2\x1f.temporal.api.nexus.v1.EndpointR\bendpoint\"F\n" + - "\x1aDeleteNexusEndpointRequest\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" + - "\aversion\x18\x02 \x01(\x03R\aversion\"\x1d\n" + - "\x1bDeleteNexusEndpointResponse\"t\n" + - "\x19ListNexusEndpointsRequest\x12\x1b\n" + - "\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\x12\x12\n" + - "\x04name\x18\x03 \x01(\tR\x04name\"\x83\x01\n" + - "\x1aListNexusEndpointsResponse\x12&\n" + - "\x0fnext_page_token\x18\x01 \x01(\fR\rnextPageToken\x12=\n" + - "\tendpoints\x18\x02 \x03(\v2\x1f.temporal.api.nexus.v1.EndpointR\tendpointsB\xbe\x01\n" + - "\"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3" - -var ( - file_temporal_api_operatorservice_v1_request_response_proto_rawDescOnce sync.Once - file_temporal_api_operatorservice_v1_request_response_proto_rawDescData []byte -) - -func file_temporal_api_operatorservice_v1_request_response_proto_rawDescGZIP() []byte { - file_temporal_api_operatorservice_v1_request_response_proto_rawDescOnce.Do(func() { - file_temporal_api_operatorservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_operatorservice_v1_request_response_proto_rawDesc), len(file_temporal_api_operatorservice_v1_request_response_proto_rawDesc))) - }) - return file_temporal_api_operatorservice_v1_request_response_proto_rawDescData -} - -var file_temporal_api_operatorservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_temporal_api_operatorservice_v1_request_response_proto_goTypes = []any{ - (*AddSearchAttributesRequest)(nil), // 0: temporal.api.operatorservice.v1.AddSearchAttributesRequest - (*AddSearchAttributesResponse)(nil), // 1: temporal.api.operatorservice.v1.AddSearchAttributesResponse - (*RemoveSearchAttributesRequest)(nil), // 2: temporal.api.operatorservice.v1.RemoveSearchAttributesRequest - (*RemoveSearchAttributesResponse)(nil), // 3: temporal.api.operatorservice.v1.RemoveSearchAttributesResponse - (*ListSearchAttributesRequest)(nil), // 4: temporal.api.operatorservice.v1.ListSearchAttributesRequest - (*ListSearchAttributesResponse)(nil), // 5: temporal.api.operatorservice.v1.ListSearchAttributesResponse - (*DeleteNamespaceRequest)(nil), // 6: temporal.api.operatorservice.v1.DeleteNamespaceRequest - (*DeleteNamespaceResponse)(nil), // 7: temporal.api.operatorservice.v1.DeleteNamespaceResponse - (*AddOrUpdateRemoteClusterRequest)(nil), // 8: temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest - (*AddOrUpdateRemoteClusterResponse)(nil), // 9: temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse - (*RemoveRemoteClusterRequest)(nil), // 10: temporal.api.operatorservice.v1.RemoveRemoteClusterRequest - (*RemoveRemoteClusterResponse)(nil), // 11: temporal.api.operatorservice.v1.RemoveRemoteClusterResponse - (*ListClustersRequest)(nil), // 12: temporal.api.operatorservice.v1.ListClustersRequest - (*ListClustersResponse)(nil), // 13: temporal.api.operatorservice.v1.ListClustersResponse - (*ClusterMetadata)(nil), // 14: temporal.api.operatorservice.v1.ClusterMetadata - (*GetNexusEndpointRequest)(nil), // 15: temporal.api.operatorservice.v1.GetNexusEndpointRequest - (*GetNexusEndpointResponse)(nil), // 16: temporal.api.operatorservice.v1.GetNexusEndpointResponse - (*CreateNexusEndpointRequest)(nil), // 17: temporal.api.operatorservice.v1.CreateNexusEndpointRequest - (*CreateNexusEndpointResponse)(nil), // 18: temporal.api.operatorservice.v1.CreateNexusEndpointResponse - (*UpdateNexusEndpointRequest)(nil), // 19: temporal.api.operatorservice.v1.UpdateNexusEndpointRequest - (*UpdateNexusEndpointResponse)(nil), // 20: temporal.api.operatorservice.v1.UpdateNexusEndpointResponse - (*DeleteNexusEndpointRequest)(nil), // 21: temporal.api.operatorservice.v1.DeleteNexusEndpointRequest - (*DeleteNexusEndpointResponse)(nil), // 22: temporal.api.operatorservice.v1.DeleteNexusEndpointResponse - (*ListNexusEndpointsRequest)(nil), // 23: temporal.api.operatorservice.v1.ListNexusEndpointsRequest - (*ListNexusEndpointsResponse)(nil), // 24: temporal.api.operatorservice.v1.ListNexusEndpointsResponse - nil, // 25: temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry - nil, // 26: temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry - nil, // 27: temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry - nil, // 28: temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry - (*durationpb.Duration)(nil), // 29: google.protobuf.Duration - (*v11.Endpoint)(nil), // 30: temporal.api.nexus.v1.Endpoint - (*v11.EndpointSpec)(nil), // 31: temporal.api.nexus.v1.EndpointSpec - (v1.IndexedValueType)(0), // 32: temporal.api.enums.v1.IndexedValueType -} -var file_temporal_api_operatorservice_v1_request_response_proto_depIdxs = []int32{ - 25, // 0: temporal.api.operatorservice.v1.AddSearchAttributesRequest.search_attributes:type_name -> temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry - 26, // 1: temporal.api.operatorservice.v1.ListSearchAttributesResponse.custom_attributes:type_name -> temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry - 27, // 2: temporal.api.operatorservice.v1.ListSearchAttributesResponse.system_attributes:type_name -> temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry - 28, // 3: temporal.api.operatorservice.v1.ListSearchAttributesResponse.storage_schema:type_name -> temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry - 29, // 4: temporal.api.operatorservice.v1.DeleteNamespaceRequest.namespace_delete_delay:type_name -> google.protobuf.Duration - 14, // 5: temporal.api.operatorservice.v1.ListClustersResponse.clusters:type_name -> temporal.api.operatorservice.v1.ClusterMetadata - 30, // 6: temporal.api.operatorservice.v1.GetNexusEndpointResponse.endpoint:type_name -> temporal.api.nexus.v1.Endpoint - 31, // 7: temporal.api.operatorservice.v1.CreateNexusEndpointRequest.spec:type_name -> temporal.api.nexus.v1.EndpointSpec - 30, // 8: temporal.api.operatorservice.v1.CreateNexusEndpointResponse.endpoint:type_name -> temporal.api.nexus.v1.Endpoint - 31, // 9: temporal.api.operatorservice.v1.UpdateNexusEndpointRequest.spec:type_name -> temporal.api.nexus.v1.EndpointSpec - 30, // 10: temporal.api.operatorservice.v1.UpdateNexusEndpointResponse.endpoint:type_name -> temporal.api.nexus.v1.Endpoint - 30, // 11: temporal.api.operatorservice.v1.ListNexusEndpointsResponse.endpoints:type_name -> temporal.api.nexus.v1.Endpoint - 32, // 12: temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry.value:type_name -> temporal.api.enums.v1.IndexedValueType - 32, // 13: temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry.value:type_name -> temporal.api.enums.v1.IndexedValueType - 32, // 14: temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry.value:type_name -> temporal.api.enums.v1.IndexedValueType - 15, // [15:15] is the sub-list for method output_type - 15, // [15:15] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name -} - -func init() { file_temporal_api_operatorservice_v1_request_response_proto_init() } -func file_temporal_api_operatorservice_v1_request_response_proto_init() { - if File_temporal_api_operatorservice_v1_request_response_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_operatorservice_v1_request_response_proto_rawDesc), len(file_temporal_api_operatorservice_v1_request_response_proto_rawDesc)), - NumEnums: 0, - NumMessages: 29, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_operatorservice_v1_request_response_proto_goTypes, - DependencyIndexes: file_temporal_api_operatorservice_v1_request_response_proto_depIdxs, - MessageInfos: file_temporal_api_operatorservice_v1_request_response_proto_msgTypes, - }.Build() - File_temporal_api_operatorservice_v1_request_response_proto = out.File - file_temporal_api_operatorservice_v1_request_response_proto_goTypes = nil - file_temporal_api_operatorservice_v1_request_response_proto_depIdxs = nil -} diff --git a/build/temporal/api/operatorservice/v1/service.pb.go b/build/temporal/api/operatorservice/v1/service.pb.go deleted file mode 100644 index 60ad451..0000000 --- a/build/temporal/api/operatorservice/v1/service.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/operatorservice/v1/service.proto - -package operatorservice - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var File_temporal_api_operatorservice_v1_service_proto protoreflect.FileDescriptor - -const file_temporal_api_operatorservice_v1_service_proto_rawDesc = "" + - "\n" + - "-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a6temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n" + - "\x0fOperatorService\x12\x92\x01\n" + - "\x13AddSearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse\"\x00\x12\x9b\x01\n" + - "\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse\"\x00\x12\x82\x02\n" + - "\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse\"m\x82\xd3\xe4\x93\x02gZ2\x120/api/v1/namespaces/{namespace}/search-attributes\x121/cluster/namespaces/{namespace}/search-attributes\x12\x86\x01\n" + - "\x0fDeleteNamespace\x127.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a8.temporal.api.operatorservice.v1.DeleteNamespaceResponse\"\x00\x12\xa1\x01\n" + - "\x18AddOrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1aA.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse\"\x00\x12\x92\x01\n" + - "\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse\"\x00\x12}\n" + - "\fListClusters\x124.temporal.api.operatorservice.v1.ListClustersRequest\x1a5.temporal.api.operatorservice.v1.ListClustersResponse\"\x00\x12\xce\x01\n" + - "\x10GetNexusEndpoint\x128.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a9.temporal.api.operatorservice.v1.GetNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\x1d/cluster/nexus/endpoints/{id}\x12\xd3\x01\n" + - "\x13CreateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse\"A\x82\xd3\xe4\x93\x02;:\x01*Z\x1c:\x01*\"\x17/api/v1/nexus/endpoints\"\x18/cluster/nexus/endpoints\x12\xeb\x01\n" + - "\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse\"Y\x82\xd3\xe4\x93\x02S:\x01*Z(:\x01*\"#/api/v1/nexus/endpoints/{id}/update\"$/cluster/nexus/endpoints/{id}/update\x12\xd7\x01\n" + - "\x13DeleteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?Z\x1e*\x1c/api/v1/nexus/endpoints/{id}*\x1d/cluster/nexus/endpoints/{id}\x12\xca\x01\n" + - "\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse\";\x82\xd3\xe4\x93\x025Z\x19\x12\x17/api/v1/nexus/endpoints\x12\x18/cluster/nexus/endpointsB\xb6\x01\n" + - "\"io.temporal.api.operatorservice.v1B\fServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3" - -var file_temporal_api_operatorservice_v1_service_proto_goTypes = []any{ - (*AddSearchAttributesRequest)(nil), // 0: temporal.api.operatorservice.v1.AddSearchAttributesRequest - (*RemoveSearchAttributesRequest)(nil), // 1: temporal.api.operatorservice.v1.RemoveSearchAttributesRequest - (*ListSearchAttributesRequest)(nil), // 2: temporal.api.operatorservice.v1.ListSearchAttributesRequest - (*DeleteNamespaceRequest)(nil), // 3: temporal.api.operatorservice.v1.DeleteNamespaceRequest - (*AddOrUpdateRemoteClusterRequest)(nil), // 4: temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest - (*RemoveRemoteClusterRequest)(nil), // 5: temporal.api.operatorservice.v1.RemoveRemoteClusterRequest - (*ListClustersRequest)(nil), // 6: temporal.api.operatorservice.v1.ListClustersRequest - (*GetNexusEndpointRequest)(nil), // 7: temporal.api.operatorservice.v1.GetNexusEndpointRequest - (*CreateNexusEndpointRequest)(nil), // 8: temporal.api.operatorservice.v1.CreateNexusEndpointRequest - (*UpdateNexusEndpointRequest)(nil), // 9: temporal.api.operatorservice.v1.UpdateNexusEndpointRequest - (*DeleteNexusEndpointRequest)(nil), // 10: temporal.api.operatorservice.v1.DeleteNexusEndpointRequest - (*ListNexusEndpointsRequest)(nil), // 11: temporal.api.operatorservice.v1.ListNexusEndpointsRequest - (*AddSearchAttributesResponse)(nil), // 12: temporal.api.operatorservice.v1.AddSearchAttributesResponse - (*RemoveSearchAttributesResponse)(nil), // 13: temporal.api.operatorservice.v1.RemoveSearchAttributesResponse - (*ListSearchAttributesResponse)(nil), // 14: temporal.api.operatorservice.v1.ListSearchAttributesResponse - (*DeleteNamespaceResponse)(nil), // 15: temporal.api.operatorservice.v1.DeleteNamespaceResponse - (*AddOrUpdateRemoteClusterResponse)(nil), // 16: temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse - (*RemoveRemoteClusterResponse)(nil), // 17: temporal.api.operatorservice.v1.RemoveRemoteClusterResponse - (*ListClustersResponse)(nil), // 18: temporal.api.operatorservice.v1.ListClustersResponse - (*GetNexusEndpointResponse)(nil), // 19: temporal.api.operatorservice.v1.GetNexusEndpointResponse - (*CreateNexusEndpointResponse)(nil), // 20: temporal.api.operatorservice.v1.CreateNexusEndpointResponse - (*UpdateNexusEndpointResponse)(nil), // 21: temporal.api.operatorservice.v1.UpdateNexusEndpointResponse - (*DeleteNexusEndpointResponse)(nil), // 22: temporal.api.operatorservice.v1.DeleteNexusEndpointResponse - (*ListNexusEndpointsResponse)(nil), // 23: temporal.api.operatorservice.v1.ListNexusEndpointsResponse -} -var file_temporal_api_operatorservice_v1_service_proto_depIdxs = []int32{ - 0, // 0: temporal.api.operatorservice.v1.OperatorService.AddSearchAttributes:input_type -> temporal.api.operatorservice.v1.AddSearchAttributesRequest - 1, // 1: temporal.api.operatorservice.v1.OperatorService.RemoveSearchAttributes:input_type -> temporal.api.operatorservice.v1.RemoveSearchAttributesRequest - 2, // 2: temporal.api.operatorservice.v1.OperatorService.ListSearchAttributes:input_type -> temporal.api.operatorservice.v1.ListSearchAttributesRequest - 3, // 3: temporal.api.operatorservice.v1.OperatorService.DeleteNamespace:input_type -> temporal.api.operatorservice.v1.DeleteNamespaceRequest - 4, // 4: temporal.api.operatorservice.v1.OperatorService.AddOrUpdateRemoteCluster:input_type -> temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest - 5, // 5: temporal.api.operatorservice.v1.OperatorService.RemoveRemoteCluster:input_type -> temporal.api.operatorservice.v1.RemoveRemoteClusterRequest - 6, // 6: temporal.api.operatorservice.v1.OperatorService.ListClusters:input_type -> temporal.api.operatorservice.v1.ListClustersRequest - 7, // 7: temporal.api.operatorservice.v1.OperatorService.GetNexusEndpoint:input_type -> temporal.api.operatorservice.v1.GetNexusEndpointRequest - 8, // 8: temporal.api.operatorservice.v1.OperatorService.CreateNexusEndpoint:input_type -> temporal.api.operatorservice.v1.CreateNexusEndpointRequest - 9, // 9: temporal.api.operatorservice.v1.OperatorService.UpdateNexusEndpoint:input_type -> temporal.api.operatorservice.v1.UpdateNexusEndpointRequest - 10, // 10: temporal.api.operatorservice.v1.OperatorService.DeleteNexusEndpoint:input_type -> temporal.api.operatorservice.v1.DeleteNexusEndpointRequest - 11, // 11: temporal.api.operatorservice.v1.OperatorService.ListNexusEndpoints:input_type -> temporal.api.operatorservice.v1.ListNexusEndpointsRequest - 12, // 12: temporal.api.operatorservice.v1.OperatorService.AddSearchAttributes:output_type -> temporal.api.operatorservice.v1.AddSearchAttributesResponse - 13, // 13: temporal.api.operatorservice.v1.OperatorService.RemoveSearchAttributes:output_type -> temporal.api.operatorservice.v1.RemoveSearchAttributesResponse - 14, // 14: temporal.api.operatorservice.v1.OperatorService.ListSearchAttributes:output_type -> temporal.api.operatorservice.v1.ListSearchAttributesResponse - 15, // 15: temporal.api.operatorservice.v1.OperatorService.DeleteNamespace:output_type -> temporal.api.operatorservice.v1.DeleteNamespaceResponse - 16, // 16: temporal.api.operatorservice.v1.OperatorService.AddOrUpdateRemoteCluster:output_type -> temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse - 17, // 17: temporal.api.operatorservice.v1.OperatorService.RemoveRemoteCluster:output_type -> temporal.api.operatorservice.v1.RemoveRemoteClusterResponse - 18, // 18: temporal.api.operatorservice.v1.OperatorService.ListClusters:output_type -> temporal.api.operatorservice.v1.ListClustersResponse - 19, // 19: temporal.api.operatorservice.v1.OperatorService.GetNexusEndpoint:output_type -> temporal.api.operatorservice.v1.GetNexusEndpointResponse - 20, // 20: temporal.api.operatorservice.v1.OperatorService.CreateNexusEndpoint:output_type -> temporal.api.operatorservice.v1.CreateNexusEndpointResponse - 21, // 21: temporal.api.operatorservice.v1.OperatorService.UpdateNexusEndpoint:output_type -> temporal.api.operatorservice.v1.UpdateNexusEndpointResponse - 22, // 22: temporal.api.operatorservice.v1.OperatorService.DeleteNexusEndpoint:output_type -> temporal.api.operatorservice.v1.DeleteNexusEndpointResponse - 23, // 23: temporal.api.operatorservice.v1.OperatorService.ListNexusEndpoints:output_type -> temporal.api.operatorservice.v1.ListNexusEndpointsResponse - 12, // [12:24] is the sub-list for method output_type - 0, // [0:12] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_operatorservice_v1_service_proto_init() } -func file_temporal_api_operatorservice_v1_service_proto_init() { - if File_temporal_api_operatorservice_v1_service_proto != nil { - return - } - file_temporal_api_operatorservice_v1_request_response_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_operatorservice_v1_service_proto_rawDesc), len(file_temporal_api_operatorservice_v1_service_proto_rawDesc)), - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_temporal_api_operatorservice_v1_service_proto_goTypes, - DependencyIndexes: file_temporal_api_operatorservice_v1_service_proto_depIdxs, - }.Build() - File_temporal_api_operatorservice_v1_service_proto = out.File - file_temporal_api_operatorservice_v1_service_proto_goTypes = nil - file_temporal_api_operatorservice_v1_service_proto_depIdxs = nil -} diff --git a/build/temporal/api/operatorservice/v1/service_grpc.pb.go b/build/temporal/api/operatorservice/v1/service_grpc.pb.go deleted file mode 100644 index e8b5a7f..0000000 --- a/build/temporal/api/operatorservice/v1/service_grpc.pb.go +++ /dev/null @@ -1,599 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: temporal/api/operatorservice/v1/service.proto - -package operatorservice - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - OperatorService_AddSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes" - OperatorService_RemoveSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes" - OperatorService_ListSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes" - OperatorService_DeleteNamespace_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace" - OperatorService_AddOrUpdateRemoteCluster_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster" - OperatorService_RemoveRemoteCluster_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster" - OperatorService_ListClusters_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListClusters" - OperatorService_GetNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint" - OperatorService_CreateNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint" - OperatorService_UpdateNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint" - OperatorService_DeleteNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint" - OperatorService_ListNexusEndpoints_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints" -) - -// OperatorServiceClient is the client API for OperatorService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -// -// OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server -// to perform administrative functions like registering a search attribute or a namespace. -// APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by -// designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework. -type OperatorServiceClient interface { - // AddSearchAttributes add custom search attributes. - // - // Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists - // Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, - AddSearchAttributes(ctx context.Context, in *AddSearchAttributesRequest, opts ...grpc.CallOption) (*AddSearchAttributesResponse, error) - // RemoveSearchAttributes removes custom search attributes. - // - // Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered - RemoveSearchAttributes(ctx context.Context, in *RemoveSearchAttributesRequest, opts ...grpc.CallOption) (*RemoveSearchAttributesResponse, error) - // ListSearchAttributes returns comprehensive information about search attributes. - ListSearchAttributes(ctx context.Context, in *ListSearchAttributesRequest, opts ...grpc.CallOption) (*ListSearchAttributesResponse, error) - // DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources. - DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) - // AddOrUpdateRemoteCluster adds or updates remote cluster. - AddOrUpdateRemoteCluster(ctx context.Context, in *AddOrUpdateRemoteClusterRequest, opts ...grpc.CallOption) (*AddOrUpdateRemoteClusterResponse, error) - // RemoveRemoteCluster removes remote cluster. - RemoveRemoteCluster(ctx context.Context, in *RemoveRemoteClusterRequest, opts ...grpc.CallOption) (*RemoveRemoteClusterResponse, error) - // ListClusters returns information about Temporal clusters. - ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates. - GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) - // Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of - // ALREADY_EXISTS. - // Returns the created endpoint with its initial version. You may use this version for subsequent updates. - CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) - // Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or - // `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not - // match. - // Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't - // need to increment the version yourself. The server will increment the version for you after each update. - UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) - // Delete an incoming Nexus service by ID. - DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) - // List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the - // next_page_token field of the previous response to get the next page of results. An empty next_page_token - // indicates that there are no more results. During pagination, a newly added service with an ID lexicographically - // earlier than the previous page's last endpoint's ID may be missed. - ListNexusEndpoints(ctx context.Context, in *ListNexusEndpointsRequest, opts ...grpc.CallOption) (*ListNexusEndpointsResponse, error) -} - -type operatorServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewOperatorServiceClient(cc grpc.ClientConnInterface) OperatorServiceClient { - return &operatorServiceClient{cc} -} - -func (c *operatorServiceClient) AddSearchAttributes(ctx context.Context, in *AddSearchAttributesRequest, opts ...grpc.CallOption) (*AddSearchAttributesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AddSearchAttributesResponse) - err := c.cc.Invoke(ctx, OperatorService_AddSearchAttributes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) RemoveSearchAttributes(ctx context.Context, in *RemoveSearchAttributesRequest, opts ...grpc.CallOption) (*RemoveSearchAttributesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveSearchAttributesResponse) - err := c.cc.Invoke(ctx, OperatorService_RemoveSearchAttributes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) ListSearchAttributes(ctx context.Context, in *ListSearchAttributesRequest, opts ...grpc.CallOption) (*ListSearchAttributesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListSearchAttributesResponse) - err := c.cc.Invoke(ctx, OperatorService_ListSearchAttributes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteNamespaceResponse) - err := c.cc.Invoke(ctx, OperatorService_DeleteNamespace_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) AddOrUpdateRemoteCluster(ctx context.Context, in *AddOrUpdateRemoteClusterRequest, opts ...grpc.CallOption) (*AddOrUpdateRemoteClusterResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AddOrUpdateRemoteClusterResponse) - err := c.cc.Invoke(ctx, OperatorService_AddOrUpdateRemoteCluster_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) RemoveRemoteCluster(ctx context.Context, in *RemoveRemoteClusterRequest, opts ...grpc.CallOption) (*RemoveRemoteClusterResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveRemoteClusterResponse) - err := c.cc.Invoke(ctx, OperatorService_RemoveRemoteCluster_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, OperatorService_ListClusters_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetNexusEndpointResponse) - err := c.cc.Invoke(ctx, OperatorService_GetNexusEndpoint_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateNexusEndpointResponse) - err := c.cc.Invoke(ctx, OperatorService_CreateNexusEndpoint_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateNexusEndpointResponse) - err := c.cc.Invoke(ctx, OperatorService_UpdateNexusEndpoint_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteNexusEndpointResponse) - err := c.cc.Invoke(ctx, OperatorService_DeleteNexusEndpoint_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operatorServiceClient) ListNexusEndpoints(ctx context.Context, in *ListNexusEndpointsRequest, opts ...grpc.CallOption) (*ListNexusEndpointsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListNexusEndpointsResponse) - err := c.cc.Invoke(ctx, OperatorService_ListNexusEndpoints_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OperatorServiceServer is the server API for OperatorService service. -// All implementations should embed UnimplementedOperatorServiceServer -// for forward compatibility. -// -// OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server -// to perform administrative functions like registering a search attribute or a namespace. -// APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by -// designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework. -type OperatorServiceServer interface { - // AddSearchAttributes add custom search attributes. - // - // Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists - // Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, - AddSearchAttributes(context.Context, *AddSearchAttributesRequest) (*AddSearchAttributesResponse, error) - // RemoveSearchAttributes removes custom search attributes. - // - // Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered - RemoveSearchAttributes(context.Context, *RemoveSearchAttributesRequest) (*RemoveSearchAttributesResponse, error) - // ListSearchAttributes returns comprehensive information about search attributes. - ListSearchAttributes(context.Context, *ListSearchAttributesRequest) (*ListSearchAttributesResponse, error) - // DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources. - DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) - // AddOrUpdateRemoteCluster adds or updates remote cluster. - AddOrUpdateRemoteCluster(context.Context, *AddOrUpdateRemoteClusterRequest) (*AddOrUpdateRemoteClusterResponse, error) - // RemoveRemoteCluster removes remote cluster. - RemoveRemoteCluster(context.Context, *RemoveRemoteClusterRequest) (*RemoveRemoteClusterResponse, error) - // ListClusters returns information about Temporal clusters. - ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates. - GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) - // Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of - // ALREADY_EXISTS. - // Returns the created endpoint with its initial version. You may use this version for subsequent updates. - CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) - // Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or - // `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not - // match. - // Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't - // need to increment the version yourself. The server will increment the version for you after each update. - UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) - // Delete an incoming Nexus service by ID. - DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) - // List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the - // next_page_token field of the previous response to get the next page of results. An empty next_page_token - // indicates that there are no more results. During pagination, a newly added service with an ID lexicographically - // earlier than the previous page's last endpoint's ID may be missed. - ListNexusEndpoints(context.Context, *ListNexusEndpointsRequest) (*ListNexusEndpointsResponse, error) -} - -// UnimplementedOperatorServiceServer should be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedOperatorServiceServer struct{} - -func (UnimplementedOperatorServiceServer) AddSearchAttributes(context.Context, *AddSearchAttributesRequest) (*AddSearchAttributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSearchAttributes not implemented") -} -func (UnimplementedOperatorServiceServer) RemoveSearchAttributes(context.Context, *RemoveSearchAttributesRequest) (*RemoveSearchAttributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveSearchAttributes not implemented") -} -func (UnimplementedOperatorServiceServer) ListSearchAttributes(context.Context, *ListSearchAttributesRequest) (*ListSearchAttributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSearchAttributes not implemented") -} -func (UnimplementedOperatorServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") -} -func (UnimplementedOperatorServiceServer) AddOrUpdateRemoteCluster(context.Context, *AddOrUpdateRemoteClusterRequest) (*AddOrUpdateRemoteClusterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddOrUpdateRemoteCluster not implemented") -} -func (UnimplementedOperatorServiceServer) RemoveRemoteCluster(context.Context, *RemoveRemoteClusterRequest) (*RemoveRemoteClusterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRemoteCluster not implemented") -} -func (UnimplementedOperatorServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (UnimplementedOperatorServiceServer) GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNexusEndpoint not implemented") -} -func (UnimplementedOperatorServiceServer) CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNexusEndpoint not implemented") -} -func (UnimplementedOperatorServiceServer) UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNexusEndpoint not implemented") -} -func (UnimplementedOperatorServiceServer) DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNexusEndpoint not implemented") -} -func (UnimplementedOperatorServiceServer) ListNexusEndpoints(context.Context, *ListNexusEndpointsRequest) (*ListNexusEndpointsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNexusEndpoints not implemented") -} -func (UnimplementedOperatorServiceServer) testEmbeddedByValue() {} - -// UnsafeOperatorServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OperatorServiceServer will -// result in compilation errors. -type UnsafeOperatorServiceServer interface { - mustEmbedUnimplementedOperatorServiceServer() -} - -func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer) { - // If the following call pancis, it indicates UnimplementedOperatorServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&OperatorService_ServiceDesc, srv) -} - -func _OperatorService_AddSearchAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddSearchAttributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).AddSearchAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_AddSearchAttributes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).AddSearchAttributes(ctx, req.(*AddSearchAttributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_RemoveSearchAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveSearchAttributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).RemoveSearchAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_RemoveSearchAttributes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).RemoveSearchAttributes(ctx, req.(*RemoveSearchAttributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_ListSearchAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSearchAttributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).ListSearchAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_ListSearchAttributes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).ListSearchAttributes(ctx, req.(*ListSearchAttributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_DeleteNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).DeleteNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_DeleteNamespace_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).DeleteNamespace(ctx, req.(*DeleteNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_AddOrUpdateRemoteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddOrUpdateRemoteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).AddOrUpdateRemoteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_AddOrUpdateRemoteCluster_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).AddOrUpdateRemoteCluster(ctx, req.(*AddOrUpdateRemoteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_RemoveRemoteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRemoteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).RemoveRemoteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_RemoveRemoteCluster_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).RemoveRemoteCluster(ctx, req.(*RemoveRemoteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_ListClusters_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_GetNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).GetNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_GetNexusEndpoint_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).GetNexusEndpoint(ctx, req.(*GetNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_CreateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).CreateNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_CreateNexusEndpoint_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).CreateNexusEndpoint(ctx, req.(*CreateNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_UpdateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).UpdateNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_UpdateNexusEndpoint_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).UpdateNexusEndpoint(ctx, req.(*UpdateNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_DeleteNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).DeleteNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_DeleteNexusEndpoint_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).DeleteNexusEndpoint(ctx, req.(*DeleteNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperatorService_ListNexusEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNexusEndpointsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatorServiceServer).ListNexusEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OperatorService_ListNexusEndpoints_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServiceServer).ListNexusEndpoints(ctx, req.(*ListNexusEndpointsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// OperatorService_ServiceDesc is the grpc.ServiceDesc for OperatorService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var OperatorService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "temporal.api.operatorservice.v1.OperatorService", - HandlerType: (*OperatorServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddSearchAttributes", - Handler: _OperatorService_AddSearchAttributes_Handler, - }, - { - MethodName: "RemoveSearchAttributes", - Handler: _OperatorService_RemoveSearchAttributes_Handler, - }, - { - MethodName: "ListSearchAttributes", - Handler: _OperatorService_ListSearchAttributes_Handler, - }, - { - MethodName: "DeleteNamespace", - Handler: _OperatorService_DeleteNamespace_Handler, - }, - { - MethodName: "AddOrUpdateRemoteCluster", - Handler: _OperatorService_AddOrUpdateRemoteCluster_Handler, - }, - { - MethodName: "RemoveRemoteCluster", - Handler: _OperatorService_RemoveRemoteCluster_Handler, - }, - { - MethodName: "ListClusters", - Handler: _OperatorService_ListClusters_Handler, - }, - { - MethodName: "GetNexusEndpoint", - Handler: _OperatorService_GetNexusEndpoint_Handler, - }, - { - MethodName: "CreateNexusEndpoint", - Handler: _OperatorService_CreateNexusEndpoint_Handler, - }, - { - MethodName: "UpdateNexusEndpoint", - Handler: _OperatorService_UpdateNexusEndpoint_Handler, - }, - { - MethodName: "DeleteNexusEndpoint", - Handler: _OperatorService_DeleteNexusEndpoint_Handler, - }, - { - MethodName: "ListNexusEndpoints", - Handler: _OperatorService_ListNexusEndpoints_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "temporal/api/operatorservice/v1/service.proto", -} diff --git a/build/temporal/api/protocol/v1/message.pb.go b/build/temporal/api/protocol/v1/message.pb.go deleted file mode 100644 index 557a51c..0000000 --- a/build/temporal/api/protocol/v1/message.pb.go +++ /dev/null @@ -1,209 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/protocol/v1/message.proto - -package protocol - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// (-- api-linter: core::0146::any=disabled -// -// aip.dev/not-precedent: We want runtime extensibility for the body field --) -type Message struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An ID for this specific message. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Identifies the specific instance of a protocol to which this message - // belongs. - ProtocolInstanceId string `protobuf:"bytes,2,opt,name=protocol_instance_id,json=protocolInstanceId,proto3" json:"protocol_instance_id,omitempty"` - // The event ID or command ID after which this message can be delivered. The - // effects of history up to and including this event ID should be visible to - // the code that handles this message. Omit to opt out of sequencing. - // - // Types that are valid to be assigned to SequencingId: - // - // *Message_EventId - // *Message_CommandIndex - SequencingId isMessage_SequencingId `protobuf_oneof:"sequencing_id"` - // The opaque data carried by this message. The protocol type can be - // extracted from the package name of the message carried inside the Any. - Body *anypb.Any `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Message) Reset() { - *x = Message{} - mi := &file_temporal_api_protocol_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_protocol_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_temporal_api_protocol_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *Message) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Message) GetProtocolInstanceId() string { - if x != nil { - return x.ProtocolInstanceId - } - return "" -} - -func (x *Message) GetSequencingId() isMessage_SequencingId { - if x != nil { - return x.SequencingId - } - return nil -} - -func (x *Message) GetEventId() int64 { - if x != nil { - if x, ok := x.SequencingId.(*Message_EventId); ok { - return x.EventId - } - } - return 0 -} - -func (x *Message) GetCommandIndex() int64 { - if x != nil { - if x, ok := x.SequencingId.(*Message_CommandIndex); ok { - return x.CommandIndex - } - } - return 0 -} - -func (x *Message) GetBody() *anypb.Any { - if x != nil { - return x.Body - } - return nil -} - -type isMessage_SequencingId interface { - isMessage_SequencingId() -} - -type Message_EventId struct { - EventId int64 `protobuf:"varint,3,opt,name=event_id,json=eventId,proto3,oneof"` -} - -type Message_CommandIndex struct { - CommandIndex int64 `protobuf:"varint,4,opt,name=command_index,json=commandIndex,proto3,oneof"` -} - -func (*Message_EventId) isMessage_SequencingId() {} - -func (*Message_CommandIndex) isMessage_SequencingId() {} - -var File_temporal_api_protocol_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_protocol_v1_message_proto_rawDesc = "" + - "\n" + - "&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto\"\xca\x01\n" + - "\aMessage\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x120\n" + - "\x14protocol_instance_id\x18\x02 \x01(\tR\x12protocolInstanceId\x12\x1b\n" + - "\bevent_id\x18\x03 \x01(\x03H\x00R\aeventId\x12%\n" + - "\rcommand_index\x18\x04 \x01(\x03H\x00R\fcommandIndex\x12(\n" + - "\x04body\x18\x05 \x01(\v2\x14.google.protobuf.AnyR\x04bodyB\x0f\n" + - "\rsequencing_idB\x93\x01\n" + - "\x1bio.temporal.api.protocol.v1B\fMessageProtoP\x01Z'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3" - -var ( - file_temporal_api_protocol_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_protocol_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_protocol_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_protocol_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_protocol_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_protocol_v1_message_proto_rawDesc), len(file_temporal_api_protocol_v1_message_proto_rawDesc))) - }) - return file_temporal_api_protocol_v1_message_proto_rawDescData -} - -var file_temporal_api_protocol_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_temporal_api_protocol_v1_message_proto_goTypes = []any{ - (*Message)(nil), // 0: temporal.api.protocol.v1.Message - (*anypb.Any)(nil), // 1: google.protobuf.Any -} -var file_temporal_api_protocol_v1_message_proto_depIdxs = []int32{ - 1, // 0: temporal.api.protocol.v1.Message.body:type_name -> google.protobuf.Any - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_temporal_api_protocol_v1_message_proto_init() } -func file_temporal_api_protocol_v1_message_proto_init() { - if File_temporal_api_protocol_v1_message_proto != nil { - return - } - file_temporal_api_protocol_v1_message_proto_msgTypes[0].OneofWrappers = []any{ - (*Message_EventId)(nil), - (*Message_CommandIndex)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_protocol_v1_message_proto_rawDesc), len(file_temporal_api_protocol_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_protocol_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_protocol_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_protocol_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_protocol_v1_message_proto = out.File - file_temporal_api_protocol_v1_message_proto_goTypes = nil - file_temporal_api_protocol_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/query/v1/message.pb.go b/build/temporal/api/query/v1/message.pb.go deleted file mode 100644 index e00954e..0000000 --- a/build/temporal/api/query/v1/message.pb.go +++ /dev/null @@ -1,293 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/query/v1/message.proto - -package query - -import ( - v1 "go.temporal.io/api/common/v1" - v11 "go.temporal.io/api/enums/v1" - v12 "go.temporal.io/api/failure/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// See https://docs.temporal.io/docs/concepts/queries/ -type WorkflowQuery struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The workflow-author-defined identifier of the query. Typically a function name. - QueryType string `protobuf:"bytes,1,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"` - // Serialized arguments that will be provided to the query handler. - QueryArgs *v1.Payloads `protobuf:"bytes,2,opt,name=query_args,json=queryArgs,proto3" json:"query_args,omitempty"` - // Headers that were passed by the caller of the query and copied by temporal - // server into the workflow task. - Header *v1.Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowQuery) Reset() { - *x = WorkflowQuery{} - mi := &file_temporal_api_query_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowQuery) ProtoMessage() {} - -func (x *WorkflowQuery) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_query_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowQuery.ProtoReflect.Descriptor instead. -func (*WorkflowQuery) Descriptor() ([]byte, []int) { - return file_temporal_api_query_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowQuery) GetQueryType() string { - if x != nil { - return x.QueryType - } - return "" -} - -func (x *WorkflowQuery) GetQueryArgs() *v1.Payloads { - if x != nil { - return x.QueryArgs - } - return nil -} - -func (x *WorkflowQuery) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -// Answer to a `WorkflowQuery` -type WorkflowQueryResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Did the query succeed or fail? - ResultType v11.QueryResultType `protobuf:"varint,1,opt,name=result_type,json=resultType,proto3,enum=temporal.api.enums.v1.QueryResultType" json:"result_type,omitempty"` - // Set when the query succeeds with the results. - // Mutually exclusive with `error_message` and `failure`. - Answer *v1.Payloads `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` - // Mutually exclusive with `answer`. Set when the query fails. - // See also the newer `failure` field. - ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - // The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's - // failure converter to support E2E encryption of messages and stack traces. - // Mutually exclusive with `answer`. Set when the query fails. - Failure *v12.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowQueryResult) Reset() { - *x = WorkflowQueryResult{} - mi := &file_temporal_api_query_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowQueryResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowQueryResult) ProtoMessage() {} - -func (x *WorkflowQueryResult) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_query_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowQueryResult.ProtoReflect.Descriptor instead. -func (*WorkflowQueryResult) Descriptor() ([]byte, []int) { - return file_temporal_api_query_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowQueryResult) GetResultType() v11.QueryResultType { - if x != nil { - return x.ResultType - } - return v11.QueryResultType(0) -} - -func (x *WorkflowQueryResult) GetAnswer() *v1.Payloads { - if x != nil { - return x.Answer - } - return nil -} - -func (x *WorkflowQueryResult) GetErrorMessage() string { - if x != nil { - return x.ErrorMessage - } - return "" -} - -func (x *WorkflowQueryResult) GetFailure() *v12.Failure { - if x != nil { - return x.Failure - } - return nil -} - -type QueryRejected struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status v11.WorkflowExecutionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *QueryRejected) Reset() { - *x = QueryRejected{} - mi := &file_temporal_api_query_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *QueryRejected) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QueryRejected) ProtoMessage() {} - -func (x *QueryRejected) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_query_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QueryRejected.ProtoReflect.Descriptor instead. -func (*QueryRejected) Descriptor() ([]byte, []int) { - return file_temporal_api_query_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *QueryRejected) GetStatus() v11.WorkflowExecutionStatus { - if x != nil { - return x.Status - } - return v11.WorkflowExecutionStatus(0) -} - -var File_temporal_api_query_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_query_v1_message_proto_rawDesc = "" + - "\n" + - "#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\"\xa7\x01\n" + - "\rWorkflowQuery\x12\x1d\n" + - "\n" + - "query_type\x18\x01 \x01(\tR\tqueryType\x12?\n" + - "\n" + - "query_args\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\tqueryArgs\x126\n" + - "\x06header\x18\x03 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\"\xf9\x01\n" + - "\x13WorkflowQueryResult\x12G\n" + - "\vresult_type\x18\x01 \x01(\x0e2&.temporal.api.enums.v1.QueryResultTypeR\n" + - "resultType\x128\n" + - "\x06answer\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06answer\x12#\n" + - "\rerror_message\x18\x03 \x01(\tR\ferrorMessage\x12:\n" + - "\afailure\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\"W\n" + - "\rQueryRejected\x12F\n" + - "\x06status\x18\x01 \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06statusB\x84\x01\n" + - "\x18io.temporal.api.query.v1B\fMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3" - -var ( - file_temporal_api_query_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_query_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_query_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_query_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_query_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_query_v1_message_proto_rawDesc), len(file_temporal_api_query_v1_message_proto_rawDesc))) - }) - return file_temporal_api_query_v1_message_proto_rawDescData -} - -var file_temporal_api_query_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_temporal_api_query_v1_message_proto_goTypes = []any{ - (*WorkflowQuery)(nil), // 0: temporal.api.query.v1.WorkflowQuery - (*WorkflowQueryResult)(nil), // 1: temporal.api.query.v1.WorkflowQueryResult - (*QueryRejected)(nil), // 2: temporal.api.query.v1.QueryRejected - (*v1.Payloads)(nil), // 3: temporal.api.common.v1.Payloads - (*v1.Header)(nil), // 4: temporal.api.common.v1.Header - (v11.QueryResultType)(0), // 5: temporal.api.enums.v1.QueryResultType - (*v12.Failure)(nil), // 6: temporal.api.failure.v1.Failure - (v11.WorkflowExecutionStatus)(0), // 7: temporal.api.enums.v1.WorkflowExecutionStatus -} -var file_temporal_api_query_v1_message_proto_depIdxs = []int32{ - 3, // 0: temporal.api.query.v1.WorkflowQuery.query_args:type_name -> temporal.api.common.v1.Payloads - 4, // 1: temporal.api.query.v1.WorkflowQuery.header:type_name -> temporal.api.common.v1.Header - 5, // 2: temporal.api.query.v1.WorkflowQueryResult.result_type:type_name -> temporal.api.enums.v1.QueryResultType - 3, // 3: temporal.api.query.v1.WorkflowQueryResult.answer:type_name -> temporal.api.common.v1.Payloads - 6, // 4: temporal.api.query.v1.WorkflowQueryResult.failure:type_name -> temporal.api.failure.v1.Failure - 7, // 5: temporal.api.query.v1.QueryRejected.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_temporal_api_query_v1_message_proto_init() } -func file_temporal_api_query_v1_message_proto_init() { - if File_temporal_api_query_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_query_v1_message_proto_rawDesc), len(file_temporal_api_query_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_query_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_query_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_query_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_query_v1_message_proto = out.File - file_temporal_api_query_v1_message_proto_goTypes = nil - file_temporal_api_query_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/replication/v1/message.pb.go b/build/temporal/api/replication/v1/message.pb.go deleted file mode 100644 index adf3a84..0000000 --- a/build/temporal/api/replication/v1/message.pb.go +++ /dev/null @@ -1,253 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/replication/v1/message.proto - -package replication - -import ( - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ClusterReplicationConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ClusterReplicationConfig) Reset() { - *x = ClusterReplicationConfig{} - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ClusterReplicationConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClusterReplicationConfig) ProtoMessage() {} - -func (x *ClusterReplicationConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClusterReplicationConfig.ProtoReflect.Descriptor instead. -func (*ClusterReplicationConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_replication_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *ClusterReplicationConfig) GetClusterName() string { - if x != nil { - return x.ClusterName - } - return "" -} - -type NamespaceReplicationConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActiveClusterName string `protobuf:"bytes,1,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"` - Clusters []*ClusterReplicationConfig `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"` - State v1.ReplicationState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.ReplicationState" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NamespaceReplicationConfig) Reset() { - *x = NamespaceReplicationConfig{} - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NamespaceReplicationConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceReplicationConfig) ProtoMessage() {} - -func (x *NamespaceReplicationConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceReplicationConfig.ProtoReflect.Descriptor instead. -func (*NamespaceReplicationConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_replication_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *NamespaceReplicationConfig) GetActiveClusterName() string { - if x != nil { - return x.ActiveClusterName - } - return "" -} - -func (x *NamespaceReplicationConfig) GetClusters() []*ClusterReplicationConfig { - if x != nil { - return x.Clusters - } - return nil -} - -func (x *NamespaceReplicationConfig) GetState() v1.ReplicationState { - if x != nil { - return x.State - } - return v1.ReplicationState(0) -} - -// Represents a historical replication status of a Namespace -type FailoverStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Timestamp when the Cluster switched to the following failover_version - FailoverTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=failover_time,json=failoverTime,proto3" json:"failover_time,omitempty"` - FailoverVersion int64 `protobuf:"varint,2,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FailoverStatus) Reset() { - *x = FailoverStatus{} - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FailoverStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FailoverStatus) ProtoMessage() {} - -func (x *FailoverStatus) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_replication_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FailoverStatus.ProtoReflect.Descriptor instead. -func (*FailoverStatus) Descriptor() ([]byte, []int) { - return file_temporal_api_replication_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *FailoverStatus) GetFailoverTime() *timestamppb.Timestamp { - if x != nil { - return x.FailoverTime - } - return nil -} - -func (x *FailoverStatus) GetFailoverVersion() int64 { - if x != nil { - return x.FailoverVersion - } - return 0 -} - -var File_temporal_api_replication_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_replication_v1_message_proto_rawDesc = "" + - "\n" + - ")temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"=\n" + - "\x18ClusterReplicationConfig\x12!\n" + - "\fcluster_name\x18\x01 \x01(\tR\vclusterName\"\xde\x01\n" + - "\x1aNamespaceReplicationConfig\x12.\n" + - "\x13active_cluster_name\x18\x01 \x01(\tR\x11activeClusterName\x12Q\n" + - "\bclusters\x18\x02 \x03(\v25.temporal.api.replication.v1.ClusterReplicationConfigR\bclusters\x12=\n" + - "\x05state\x18\x03 \x01(\x0e2'.temporal.api.enums.v1.ReplicationStateR\x05state\"|\n" + - "\x0eFailoverStatus\x12?\n" + - "\rfailover_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\ffailoverTime\x12)\n" + - "\x10failover_version\x18\x02 \x01(\x03R\x0ffailoverVersionB\xa2\x01\n" + - "\x1eio.temporal.api.replication.v1B\fMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3" - -var ( - file_temporal_api_replication_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_replication_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_replication_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_replication_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_replication_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_replication_v1_message_proto_rawDesc), len(file_temporal_api_replication_v1_message_proto_rawDesc))) - }) - return file_temporal_api_replication_v1_message_proto_rawDescData -} - -var file_temporal_api_replication_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_temporal_api_replication_v1_message_proto_goTypes = []any{ - (*ClusterReplicationConfig)(nil), // 0: temporal.api.replication.v1.ClusterReplicationConfig - (*NamespaceReplicationConfig)(nil), // 1: temporal.api.replication.v1.NamespaceReplicationConfig - (*FailoverStatus)(nil), // 2: temporal.api.replication.v1.FailoverStatus - (v1.ReplicationState)(0), // 3: temporal.api.enums.v1.ReplicationState - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp -} -var file_temporal_api_replication_v1_message_proto_depIdxs = []int32{ - 0, // 0: temporal.api.replication.v1.NamespaceReplicationConfig.clusters:type_name -> temporal.api.replication.v1.ClusterReplicationConfig - 3, // 1: temporal.api.replication.v1.NamespaceReplicationConfig.state:type_name -> temporal.api.enums.v1.ReplicationState - 4, // 2: temporal.api.replication.v1.FailoverStatus.failover_time:type_name -> google.protobuf.Timestamp - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_temporal_api_replication_v1_message_proto_init() } -func file_temporal_api_replication_v1_message_proto_init() { - if File_temporal_api_replication_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_replication_v1_message_proto_rawDesc), len(file_temporal_api_replication_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_replication_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_replication_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_replication_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_replication_v1_message_proto = out.File - file_temporal_api_replication_v1_message_proto_goTypes = nil - file_temporal_api_replication_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/rules/v1/message.pb.go b/build/temporal/api/rules/v1/message.pb.go deleted file mode 100644 index d338def..0000000 --- a/build/temporal/api/rules/v1/message.pb.go +++ /dev/null @@ -1,471 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/rules/v1/message.proto - -package rules - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkflowRuleAction struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Supported actions. - // - // Types that are valid to be assigned to Variant: - // - // *WorkflowRuleAction_ActivityPause - Variant isWorkflowRuleAction_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowRuleAction) Reset() { - *x = WorkflowRuleAction{} - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowRuleAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowRuleAction) ProtoMessage() {} - -func (x *WorkflowRuleAction) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowRuleAction.ProtoReflect.Descriptor instead. -func (*WorkflowRuleAction) Descriptor() ([]byte, []int) { - return file_temporal_api_rules_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowRuleAction) GetVariant() isWorkflowRuleAction_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *WorkflowRuleAction) GetActivityPause() *WorkflowRuleAction_ActionActivityPause { - if x != nil { - if x, ok := x.Variant.(*WorkflowRuleAction_ActivityPause); ok { - return x.ActivityPause - } - } - return nil -} - -type isWorkflowRuleAction_Variant interface { - isWorkflowRuleAction_Variant() -} - -type WorkflowRuleAction_ActivityPause struct { - ActivityPause *WorkflowRuleAction_ActionActivityPause `protobuf:"bytes,1,opt,name=activity_pause,json=activityPause,proto3,oneof"` -} - -func (*WorkflowRuleAction_ActivityPause) isWorkflowRuleAction_Variant() {} - -type WorkflowRuleSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The id of the new workflow rule. Must be unique within the namespace. - // Can be set by the user, and can have business meaning. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Specifies how the rule should be triggered and evaluated. - // Currently, only "activity start" type is supported. - // - // Types that are valid to be assigned to Trigger: - // - // *WorkflowRuleSpec_ActivityStart - Trigger isWorkflowRuleSpec_Trigger `protobuf_oneof:"trigger"` - // Restricted Visibility query. - // This query is used to filter workflows in this namespace to which this rule should apply. - // It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated. - // The following workflow attributes are supported: - // - WorkflowType - // - WorkflowId - // - StartTime - // - ExecutionStatus - VisibilityQuery string `protobuf:"bytes,3,opt,name=visibility_query,json=visibilityQuery,proto3" json:"visibility_query,omitempty"` - // WorkflowRuleAction to be taken when the rule is triggered and predicate is matched. - Actions []*WorkflowRuleAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` - // Expiration time of the rule. After this time, the rule will be deleted. - // Can be empty if the rule should never expire. - ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowRuleSpec) Reset() { - *x = WorkflowRuleSpec{} - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowRuleSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowRuleSpec) ProtoMessage() {} - -func (x *WorkflowRuleSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowRuleSpec.ProtoReflect.Descriptor instead. -func (*WorkflowRuleSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_rules_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowRuleSpec) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *WorkflowRuleSpec) GetTrigger() isWorkflowRuleSpec_Trigger { - if x != nil { - return x.Trigger - } - return nil -} - -func (x *WorkflowRuleSpec) GetActivityStart() *WorkflowRuleSpec_ActivityStartingTrigger { - if x != nil { - if x, ok := x.Trigger.(*WorkflowRuleSpec_ActivityStart); ok { - return x.ActivityStart - } - } - return nil -} - -func (x *WorkflowRuleSpec) GetVisibilityQuery() string { - if x != nil { - return x.VisibilityQuery - } - return "" -} - -func (x *WorkflowRuleSpec) GetActions() []*WorkflowRuleAction { - if x != nil { - return x.Actions - } - return nil -} - -func (x *WorkflowRuleSpec) GetExpirationTime() *timestamppb.Timestamp { - if x != nil { - return x.ExpirationTime - } - return nil -} - -type isWorkflowRuleSpec_Trigger interface { - isWorkflowRuleSpec_Trigger() -} - -type WorkflowRuleSpec_ActivityStart struct { - ActivityStart *WorkflowRuleSpec_ActivityStartingTrigger `protobuf:"bytes,2,opt,name=activity_start,json=activityStart,proto3,oneof"` -} - -func (*WorkflowRuleSpec_ActivityStart) isWorkflowRuleSpec_Trigger() {} - -// WorkflowRule describes a rule that can be applied to any workflow in this namespace. -type WorkflowRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Rule creation time. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Rule specification - Spec *WorkflowRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - // Identity of the actor that created the rule - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --) - // - // (-- api-linter: core::0142::time-field-names=disabled - // - // aip.dev/not-precedent: Same as above. All other options sounds clumsy --) - CreatedByIdentity string `protobuf:"bytes,3,opt,name=created_by_identity,json=createdByIdentity,proto3" json:"created_by_identity,omitempty"` - // Rule description. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowRule) Reset() { - *x = WorkflowRule{} - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowRule) ProtoMessage() {} - -func (x *WorkflowRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowRule.ProtoReflect.Descriptor instead. -func (*WorkflowRule) Descriptor() ([]byte, []int) { - return file_temporal_api_rules_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *WorkflowRule) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *WorkflowRule) GetSpec() *WorkflowRuleSpec { - if x != nil { - return x.Spec - } - return nil -} - -func (x *WorkflowRule) GetCreatedByIdentity() string { - if x != nil { - return x.CreatedByIdentity - } - return "" -} - -func (x *WorkflowRule) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -type WorkflowRuleAction_ActionActivityPause struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowRuleAction_ActionActivityPause) Reset() { - *x = WorkflowRuleAction_ActionActivityPause{} - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowRuleAction_ActionActivityPause) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowRuleAction_ActionActivityPause) ProtoMessage() {} - -func (x *WorkflowRuleAction_ActionActivityPause) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowRuleAction_ActionActivityPause.ProtoReflect.Descriptor instead. -func (*WorkflowRuleAction_ActionActivityPause) Descriptor() ([]byte, []int) { - return file_temporal_api_rules_v1_message_proto_rawDescGZIP(), []int{0, 0} -} - -// Activity trigger will be triggered when an activity is about to start. -type WorkflowRuleSpec_ActivityStartingTrigger struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Activity predicate is a SQL-like string filter parameter. - // It is used to match against workflow data. - // The following activity attributes are supported as part of the predicate: - // - ActivityType: An Activity Type is the mapping of a name to an Activity Definition.. - // - ActivityId: The ID of the activity. - // - ActivityAttempt: The number attempts of the activity. - // - BackoffInterval: The current amount of time between scheduled attempts of the activity. - // - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused". - // - TaskQueue: The name of the task queue the workflow specified that the activity should run on. - // Activity predicate support the following operators: - // - =, !=, >, >=, <, <= - // - AND, OR, () - // - BETWEEN ... AND - // STARTS_WITH - Predicate string `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowRuleSpec_ActivityStartingTrigger) Reset() { - *x = WorkflowRuleSpec_ActivityStartingTrigger{} - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowRuleSpec_ActivityStartingTrigger) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowRuleSpec_ActivityStartingTrigger) ProtoMessage() {} - -func (x *WorkflowRuleSpec_ActivityStartingTrigger) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_rules_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowRuleSpec_ActivityStartingTrigger.ProtoReflect.Descriptor instead. -func (*WorkflowRuleSpec_ActivityStartingTrigger) Descriptor() ([]byte, []int) { - return file_temporal_api_rules_v1_message_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *WorkflowRuleSpec_ActivityStartingTrigger) GetPredicate() string { - if x != nil { - return x.Predicate - } - return "" -} - -var File_temporal_api_rules_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_rules_v1_message_proto_rawDesc = "" + - "\n" + - "#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x01\n" + - "\x12WorkflowRuleAction\x12f\n" + - "\x0eactivity_pause\x18\x01 \x01(\v2=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00R\ractivityPause\x1a\x15\n" + - "\x13ActionActivityPauseB\t\n" + - "\avariant\"\x85\x03\n" + - "\x10WorkflowRuleSpec\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\x12h\n" + - "\x0eactivity_start\x18\x02 \x01(\v2?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00R\ractivityStart\x12)\n" + - "\x10visibility_query\x18\x03 \x01(\tR\x0fvisibilityQuery\x12C\n" + - "\aactions\x18\x04 \x03(\v2).temporal.api.rules.v1.WorkflowRuleActionR\aactions\x12C\n" + - "\x0fexpiration_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x0eexpirationTime\x1a7\n" + - "\x17ActivityStartingTrigger\x12\x1c\n" + - "\tpredicate\x18\x01 \x01(\tR\tpredicateB\t\n" + - "\atrigger\"\xda\x01\n" + - "\fWorkflowRule\x12;\n" + - "\vcreate_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12;\n" + - "\x04spec\x18\x02 \x01(\v2'.temporal.api.rules.v1.WorkflowRuleSpecR\x04spec\x12.\n" + - "\x13created_by_identity\x18\x03 \x01(\tR\x11createdByIdentity\x12 \n" + - "\vdescription\x18\x04 \x01(\tR\vdescriptionB\x84\x01\n" + - "\x18io.temporal.api.rules.v1B\fMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3" - -var ( - file_temporal_api_rules_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_rules_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_rules_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_rules_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_rules_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_rules_v1_message_proto_rawDesc), len(file_temporal_api_rules_v1_message_proto_rawDesc))) - }) - return file_temporal_api_rules_v1_message_proto_rawDescData -} - -var file_temporal_api_rules_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_temporal_api_rules_v1_message_proto_goTypes = []any{ - (*WorkflowRuleAction)(nil), // 0: temporal.api.rules.v1.WorkflowRuleAction - (*WorkflowRuleSpec)(nil), // 1: temporal.api.rules.v1.WorkflowRuleSpec - (*WorkflowRule)(nil), // 2: temporal.api.rules.v1.WorkflowRule - (*WorkflowRuleAction_ActionActivityPause)(nil), // 3: temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause - (*WorkflowRuleSpec_ActivityStartingTrigger)(nil), // 4: temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp -} -var file_temporal_api_rules_v1_message_proto_depIdxs = []int32{ - 3, // 0: temporal.api.rules.v1.WorkflowRuleAction.activity_pause:type_name -> temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause - 4, // 1: temporal.api.rules.v1.WorkflowRuleSpec.activity_start:type_name -> temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger - 0, // 2: temporal.api.rules.v1.WorkflowRuleSpec.actions:type_name -> temporal.api.rules.v1.WorkflowRuleAction - 5, // 3: temporal.api.rules.v1.WorkflowRuleSpec.expiration_time:type_name -> google.protobuf.Timestamp - 5, // 4: temporal.api.rules.v1.WorkflowRule.create_time:type_name -> google.protobuf.Timestamp - 1, // 5: temporal.api.rules.v1.WorkflowRule.spec:type_name -> temporal.api.rules.v1.WorkflowRuleSpec - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_temporal_api_rules_v1_message_proto_init() } -func file_temporal_api_rules_v1_message_proto_init() { - if File_temporal_api_rules_v1_message_proto != nil { - return - } - file_temporal_api_rules_v1_message_proto_msgTypes[0].OneofWrappers = []any{ - (*WorkflowRuleAction_ActivityPause)(nil), - } - file_temporal_api_rules_v1_message_proto_msgTypes[1].OneofWrappers = []any{ - (*WorkflowRuleSpec_ActivityStart)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_rules_v1_message_proto_rawDesc), len(file_temporal_api_rules_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_rules_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_rules_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_rules_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_rules_v1_message_proto = out.File - file_temporal_api_rules_v1_message_proto_goTypes = nil - file_temporal_api_rules_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/schedule/v1/message.pb.go b/build/temporal/api/schedule/v1/message.pb.go deleted file mode 100644 index a3a0dbc..0000000 --- a/build/temporal/api/schedule/v1/message.pb.go +++ /dev/null @@ -1,1721 +0,0 @@ -// (-- api-linter: core::0203::optional=disabled -// aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) -// (-- api-linter: core::0203::input-only=disabled -// aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/schedule/v1/message.proto - -package schedule - -import ( - v12 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/enums/v1" - v11 "go.temporal.io/api/workflow/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// CalendarSpec describes an event specification relative to the calendar, -// similar to a traditional cron specification, but with labeled fields. Each -// field can be one of: -// -// *: matches always -// x: matches when the field equals x -// x/y : matches when the field equals x+n*y where n is an integer -// x-z: matches when the field is between x and z inclusive -// w,x,y,...: matches when the field is one of the listed values -// -// Each x, y, z, ... is either a decimal integer, or a month or day of week name -// or abbreviation (in the appropriate fields). -// A timestamp matches if all fields match. -// Note that fields have different default values, for convenience. -// Note that the special case that some cron implementations have for treating -// day_of_month and day_of_week as "or" instead of "and" when both are set is -// not implemented. -// day_of_week can accept 0 or 7 as Sunday -// CalendarSpec gets compiled into StructuredCalendarSpec, which is what will be -// returned if you describe the schedule. -type CalendarSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Expression to match seconds. Default: 0 - Second string `protobuf:"bytes,1,opt,name=second,proto3" json:"second,omitempty"` - // Expression to match minutes. Default: 0 - Minute string `protobuf:"bytes,2,opt,name=minute,proto3" json:"minute,omitempty"` - // Expression to match hours. Default: 0 - Hour string `protobuf:"bytes,3,opt,name=hour,proto3" json:"hour,omitempty"` - // Expression to match days of the month. Default: * - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: standard name of field --) - DayOfMonth string `protobuf:"bytes,4,opt,name=day_of_month,json=dayOfMonth,proto3" json:"day_of_month,omitempty"` - // Expression to match months. Default: * - Month string `protobuf:"bytes,5,opt,name=month,proto3" json:"month,omitempty"` - // Expression to match years. Default: * - Year string `protobuf:"bytes,6,opt,name=year,proto3" json:"year,omitempty"` - // Expression to match days of the week. Default: * - DayOfWeek string `protobuf:"bytes,7,opt,name=day_of_week,json=dayOfWeek,proto3" json:"day_of_week,omitempty"` - // Free-form comment describing the intention of this spec. - Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CalendarSpec) Reset() { - *x = CalendarSpec{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CalendarSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CalendarSpec) ProtoMessage() {} - -func (x *CalendarSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CalendarSpec.ProtoReflect.Descriptor instead. -func (*CalendarSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *CalendarSpec) GetSecond() string { - if x != nil { - return x.Second - } - return "" -} - -func (x *CalendarSpec) GetMinute() string { - if x != nil { - return x.Minute - } - return "" -} - -func (x *CalendarSpec) GetHour() string { - if x != nil { - return x.Hour - } - return "" -} - -func (x *CalendarSpec) GetDayOfMonth() string { - if x != nil { - return x.DayOfMonth - } - return "" -} - -func (x *CalendarSpec) GetMonth() string { - if x != nil { - return x.Month - } - return "" -} - -func (x *CalendarSpec) GetYear() string { - if x != nil { - return x.Year - } - return "" -} - -func (x *CalendarSpec) GetDayOfWeek() string { - if x != nil { - return x.DayOfWeek - } - return "" -} - -func (x *CalendarSpec) GetComment() string { - if x != nil { - return x.Comment - } - return "" -} - -// Range represents a set of integer values, used to match fields of a calendar -// time in StructuredCalendarSpec. If end < start, then end is interpreted as -// equal to start. This means you can use a Range with start set to a value, and -// end and step unset (defaulting to 0) to represent a single value. -type Range struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Start of range (inclusive). - Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - // End of range (inclusive). - End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - // Step (optional, default 1). - Step int32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Range) Reset() { - *x = Range{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Range) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Range) ProtoMessage() {} - -func (x *Range) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Range.ProtoReflect.Descriptor instead. -func (*Range) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *Range) GetStart() int32 { - if x != nil { - return x.Start - } - return 0 -} - -func (x *Range) GetEnd() int32 { - if x != nil { - return x.End - } - return 0 -} - -func (x *Range) GetStep() int32 { - if x != nil { - return x.Step - } - return 0 -} - -// StructuredCalendarSpec describes an event specification relative to the -// calendar, in a form that's easy to work with programmatically. Each field can -// be one or more ranges. -// A timestamp matches if at least one range of each field matches the -// corresponding fields of the timestamp, except for year: if year is missing, -// that means all years match. For all fields besides year, at least one Range -// must be present to match anything. -// TODO: add relative-to-end-of-month -// TODO: add nth day-of-week in month -type StructuredCalendarSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Match seconds (0-59) - Second []*Range `protobuf:"bytes,1,rep,name=second,proto3" json:"second,omitempty"` - // Match minutes (0-59) - Minute []*Range `protobuf:"bytes,2,rep,name=minute,proto3" json:"minute,omitempty"` - // Match hours (0-23) - Hour []*Range `protobuf:"bytes,3,rep,name=hour,proto3" json:"hour,omitempty"` - // Match days of the month (1-31) - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: standard name of field --) - DayOfMonth []*Range `protobuf:"bytes,4,rep,name=day_of_month,json=dayOfMonth,proto3" json:"day_of_month,omitempty"` - // Match months (1-12) - Month []*Range `protobuf:"bytes,5,rep,name=month,proto3" json:"month,omitempty"` - // Match years. - Year []*Range `protobuf:"bytes,6,rep,name=year,proto3" json:"year,omitempty"` - // Match days of the week (0-6; 0 is Sunday). - DayOfWeek []*Range `protobuf:"bytes,7,rep,name=day_of_week,json=dayOfWeek,proto3" json:"day_of_week,omitempty"` - // Free-form comment describing the intention of this spec. - Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StructuredCalendarSpec) Reset() { - *x = StructuredCalendarSpec{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StructuredCalendarSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StructuredCalendarSpec) ProtoMessage() {} - -func (x *StructuredCalendarSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StructuredCalendarSpec.ProtoReflect.Descriptor instead. -func (*StructuredCalendarSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *StructuredCalendarSpec) GetSecond() []*Range { - if x != nil { - return x.Second - } - return nil -} - -func (x *StructuredCalendarSpec) GetMinute() []*Range { - if x != nil { - return x.Minute - } - return nil -} - -func (x *StructuredCalendarSpec) GetHour() []*Range { - if x != nil { - return x.Hour - } - return nil -} - -func (x *StructuredCalendarSpec) GetDayOfMonth() []*Range { - if x != nil { - return x.DayOfMonth - } - return nil -} - -func (x *StructuredCalendarSpec) GetMonth() []*Range { - if x != nil { - return x.Month - } - return nil -} - -func (x *StructuredCalendarSpec) GetYear() []*Range { - if x != nil { - return x.Year - } - return nil -} - -func (x *StructuredCalendarSpec) GetDayOfWeek() []*Range { - if x != nil { - return x.DayOfWeek - } - return nil -} - -func (x *StructuredCalendarSpec) GetComment() string { - if x != nil { - return x.Comment - } - return "" -} - -// IntervalSpec matches times that can be expressed as: -// epoch + n * interval + phase -// where n is an integer. -// phase defaults to zero if missing. interval is required. -// Both interval and phase must be non-negative and are truncated to the nearest -// second before any calculations. -// For example, an interval of 1 hour with phase of zero would match every hour, -// on the hour. The same interval but a phase of 19 minutes would match every -// xx:19:00. An interval of 28 days with phase zero would match -// 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3 -// days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead. -type IntervalSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` - Phase *durationpb.Duration `protobuf:"bytes,2,opt,name=phase,proto3" json:"phase,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IntervalSpec) Reset() { - *x = IntervalSpec{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IntervalSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntervalSpec) ProtoMessage() {} - -func (x *IntervalSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IntervalSpec.ProtoReflect.Descriptor instead. -func (*IntervalSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *IntervalSpec) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *IntervalSpec) GetPhase() *durationpb.Duration { - if x != nil { - return x.Phase - } - return nil -} - -// ScheduleSpec is a complete description of a set of absolute timestamps -// (possibly infinite) that an action should occur at. The meaning of a -// ScheduleSpec depends only on its contents and never changes, except that the -// definition of a time zone can change over time (most commonly, when daylight -// saving time policy changes for an area). To create a totally self-contained -// ScheduleSpec, use UTC or include timezone_data. -// -// For input, you can provide zero or more of: structured_calendar, calendar, -// cron_string, interval, and exclude_structured_calendar, and all of them will -// be used (the schedule will take action at the union of all of their times, -// minus the ones that match exclude_structured_calendar). -// -// On input, calendar and cron_string fields will be compiled into -// structured_calendar (and maybe interval and timezone_name), so if you -// Describe a schedule, you'll see only structured_calendar, interval, etc. -// -// If a spec has no matching times after the current time, then the schedule -// will be subject to automatic deletion (after several days). -type ScheduleSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Calendar-based specifications of times. - StructuredCalendar []*StructuredCalendarSpec `protobuf:"bytes,7,rep,name=structured_calendar,json=structuredCalendar,proto3" json:"structured_calendar,omitempty"` - // cron_string holds a traditional cron specification as a string. It - // accepts 5, 6, or 7 fields, separated by spaces, and interprets them the - // same way as CalendarSpec. - // 5 fields: minute, hour, day_of_month, month, day_of_week - // 6 fields: minute, hour, day_of_month, month, day_of_week, year - // 7 fields: second, minute, hour, day_of_month, month, day_of_week, year - // If year is not given, it defaults to *. If second is not given, it - // defaults to 0. - // Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also - // accepted instead of the 5-7 time fields. - // Optionally, the string can be preceded by CRON_TZ= or - // TZ=, which will get copied to timezone_name. (There must - // not also be a timezone_name present.) - // Optionally "#" followed by a comment can appear at the end of the string. - // Note that the special case that some cron implementations have for - // treating day_of_month and day_of_week as "or" instead of "and" when both - // are set is not implemented. - // @every [/] is accepted and gets compiled into an - // IntervalSpec instead. and should be a decimal integer - // with a unit suffix s, m, h, or d. - CronString []string `protobuf:"bytes,8,rep,name=cron_string,json=cronString,proto3" json:"cron_string,omitempty"` - // Calendar-based specifications of times. - Calendar []*CalendarSpec `protobuf:"bytes,1,rep,name=calendar,proto3" json:"calendar,omitempty"` - // Interval-based specifications of times. - Interval []*IntervalSpec `protobuf:"bytes,2,rep,name=interval,proto3" json:"interval,omitempty"` - // Any timestamps matching any of exclude_* will be skipped. - // Deprecated. Use exclude_structured_calendar. - // - // Deprecated: Marked as deprecated in temporal/api/schedule/v1/message.proto. - ExcludeCalendar []*CalendarSpec `protobuf:"bytes,3,rep,name=exclude_calendar,json=excludeCalendar,proto3" json:"exclude_calendar,omitempty"` - ExcludeStructuredCalendar []*StructuredCalendarSpec `protobuf:"bytes,9,rep,name=exclude_structured_calendar,json=excludeStructuredCalendar,proto3" json:"exclude_structured_calendar,omitempty"` - // If start_time is set, any timestamps before start_time will be skipped. - // (Together, start_time and end_time make an inclusive interval.) - StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // If end_time is set, any timestamps after end_time will be skipped. - EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // All timestamps will be incremented by a random value from 0 to this - // amount of jitter. Default: 0 - Jitter *durationpb.Duration `protobuf:"bytes,6,opt,name=jitter,proto3" json:"jitter,omitempty"` - // Time zone to interpret all calendar-based specs in. - // - // If unset, defaults to UTC. We recommend using UTC for your application if - // at all possible, to avoid various surprising properties of time zones. - // - // Time zones may be provided by name, corresponding to names in the IANA - // time zone database (see https://www.iana.org/time-zones). The definition - // will be loaded by the Temporal server from the environment it runs in. - // - // If your application requires more control over the time zone definition - // used, it may pass in a complete definition in the form of a TZif file - // from the time zone database. If present, this will be used instead of - // loading anything from the environment. You are then responsible for - // updating timezone_data when the definition changes. - // - // Calendar spec matching is based on literal matching of the clock time - // with no special handling of DST: if you write a calendar spec that fires - // at 2:30am and specify a time zone that follows DST, that action will not - // be triggered on the day that has no 2:30am. Similarly, an action that - // fires at 1:30am will be triggered twice on the day that has two 1:30s. - // - // Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC). - TimezoneName string `protobuf:"bytes,10,opt,name=timezone_name,json=timezoneName,proto3" json:"timezone_name,omitempty"` - TimezoneData []byte `protobuf:"bytes,11,opt,name=timezone_data,json=timezoneData,proto3" json:"timezone_data,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleSpec) Reset() { - *x = ScheduleSpec{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleSpec) ProtoMessage() {} - -func (x *ScheduleSpec) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleSpec.ProtoReflect.Descriptor instead. -func (*ScheduleSpec) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *ScheduleSpec) GetStructuredCalendar() []*StructuredCalendarSpec { - if x != nil { - return x.StructuredCalendar - } - return nil -} - -func (x *ScheduleSpec) GetCronString() []string { - if x != nil { - return x.CronString - } - return nil -} - -func (x *ScheduleSpec) GetCalendar() []*CalendarSpec { - if x != nil { - return x.Calendar - } - return nil -} - -func (x *ScheduleSpec) GetInterval() []*IntervalSpec { - if x != nil { - return x.Interval - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/schedule/v1/message.proto. -func (x *ScheduleSpec) GetExcludeCalendar() []*CalendarSpec { - if x != nil { - return x.ExcludeCalendar - } - return nil -} - -func (x *ScheduleSpec) GetExcludeStructuredCalendar() []*StructuredCalendarSpec { - if x != nil { - return x.ExcludeStructuredCalendar - } - return nil -} - -func (x *ScheduleSpec) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *ScheduleSpec) GetEndTime() *timestamppb.Timestamp { - if x != nil { - return x.EndTime - } - return nil -} - -func (x *ScheduleSpec) GetJitter() *durationpb.Duration { - if x != nil { - return x.Jitter - } - return nil -} - -func (x *ScheduleSpec) GetTimezoneName() string { - if x != nil { - return x.TimezoneName - } - return "" -} - -func (x *ScheduleSpec) GetTimezoneData() []byte { - if x != nil { - return x.TimezoneData - } - return nil -} - -type SchedulePolicies struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Policy for overlaps. - // Note that this can be changed after a schedule has taken some actions, - // and some changes might produce unintuitive results. In general, the later - // policy overrides the earlier policy. - OverlapPolicy v1.ScheduleOverlapPolicy `protobuf:"varint,1,opt,name=overlap_policy,json=overlapPolicy,proto3,enum=temporal.api.enums.v1.ScheduleOverlapPolicy" json:"overlap_policy,omitempty"` - // Policy for catchups: - // If the Temporal server misses an action due to one or more components - // being down, and comes back up, the action will be run if the scheduled - // time is within this window from the current time. - // This value defaults to one year, and can't be less than 10 seconds. - CatchupWindow *durationpb.Duration `protobuf:"bytes,2,opt,name=catchup_window,json=catchupWindow,proto3" json:"catchup_window,omitempty"` - // If true, and a workflow run fails or times out, turn on "paused". - // This applies after retry policies: the full chain of retries must fail to - // trigger a pause here. - PauseOnFailure bool `protobuf:"varint,3,opt,name=pause_on_failure,json=pauseOnFailure,proto3" json:"pause_on_failure,omitempty"` - // If true, and the action would start a workflow, a timestamp will not be - // appended to the scheduled workflow id. - KeepOriginalWorkflowId bool `protobuf:"varint,4,opt,name=keep_original_workflow_id,json=keepOriginalWorkflowId,proto3" json:"keep_original_workflow_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SchedulePolicies) Reset() { - *x = SchedulePolicies{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SchedulePolicies) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SchedulePolicies) ProtoMessage() {} - -func (x *SchedulePolicies) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SchedulePolicies.ProtoReflect.Descriptor instead. -func (*SchedulePolicies) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *SchedulePolicies) GetOverlapPolicy() v1.ScheduleOverlapPolicy { - if x != nil { - return x.OverlapPolicy - } - return v1.ScheduleOverlapPolicy(0) -} - -func (x *SchedulePolicies) GetCatchupWindow() *durationpb.Duration { - if x != nil { - return x.CatchupWindow - } - return nil -} - -func (x *SchedulePolicies) GetPauseOnFailure() bool { - if x != nil { - return x.PauseOnFailure - } - return false -} - -func (x *SchedulePolicies) GetKeepOriginalWorkflowId() bool { - if x != nil { - return x.KeepOriginalWorkflowId - } - return false -} - -type ScheduleAction struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Action: - // - // *ScheduleAction_StartWorkflow - Action isScheduleAction_Action `protobuf_oneof:"action"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleAction) Reset() { - *x = ScheduleAction{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleAction) ProtoMessage() {} - -func (x *ScheduleAction) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleAction.ProtoReflect.Descriptor instead. -func (*ScheduleAction) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *ScheduleAction) GetAction() isScheduleAction_Action { - if x != nil { - return x.Action - } - return nil -} - -func (x *ScheduleAction) GetStartWorkflow() *v11.NewWorkflowExecutionInfo { - if x != nil { - if x, ok := x.Action.(*ScheduleAction_StartWorkflow); ok { - return x.StartWorkflow - } - } - return nil -} - -type isScheduleAction_Action interface { - isScheduleAction_Action() -} - -type ScheduleAction_StartWorkflow struct { - // All fields of NewWorkflowExecutionInfo are valid except for: - // - workflow_id_reuse_policy - // - cron_schedule - // The workflow id of the started workflow may not match this exactly, - // it may have a timestamp appended for uniqueness. - StartWorkflow *v11.NewWorkflowExecutionInfo `protobuf:"bytes,1,opt,name=start_workflow,json=startWorkflow,proto3,oneof"` -} - -func (*ScheduleAction_StartWorkflow) isScheduleAction_Action() {} - -type ScheduleActionResult struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Time that the action was taken (according to the schedule, including jitter). - ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // Time that the action was taken (real time). - ActualTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=actual_time,json=actualTime,proto3" json:"actual_time,omitempty"` - // If action was start_workflow: - StartWorkflowResult *v12.WorkflowExecution `protobuf:"bytes,11,opt,name=start_workflow_result,json=startWorkflowResult,proto3" json:"start_workflow_result,omitempty"` - // If the action was start_workflow, this field will reflect an - // eventually-consistent view of the started workflow's status. - StartWorkflowStatus v1.WorkflowExecutionStatus `protobuf:"varint,12,opt,name=start_workflow_status,json=startWorkflowStatus,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"start_workflow_status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleActionResult) Reset() { - *x = ScheduleActionResult{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleActionResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleActionResult) ProtoMessage() {} - -func (x *ScheduleActionResult) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleActionResult.ProtoReflect.Descriptor instead. -func (*ScheduleActionResult) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *ScheduleActionResult) GetScheduleTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduleTime - } - return nil -} - -func (x *ScheduleActionResult) GetActualTime() *timestamppb.Timestamp { - if x != nil { - return x.ActualTime - } - return nil -} - -func (x *ScheduleActionResult) GetStartWorkflowResult() *v12.WorkflowExecution { - if x != nil { - return x.StartWorkflowResult - } - return nil -} - -func (x *ScheduleActionResult) GetStartWorkflowStatus() v1.WorkflowExecutionStatus { - if x != nil { - return x.StartWorkflowStatus - } - return v1.WorkflowExecutionStatus(0) -} - -type ScheduleState struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Informative human-readable message with contextual notes, e.g. the reason - // a schedule is paused. The system may overwrite this message on certain - // conditions, e.g. when pause-on-failure happens. - Notes string `protobuf:"bytes,1,opt,name=notes,proto3" json:"notes,omitempty"` - // If true, do not take any actions based on the schedule spec. - Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,omitempty"` - // If limited_actions is true, decrement remaining_actions after each - // action, and do not take any more scheduled actions if remaining_actions - // is zero. Actions may still be taken by explicit request (i.e. trigger - // immediately or backfill). Skipped actions (due to overlap policy) do not - // count against remaining actions. - // If a schedule has no more remaining actions, then the schedule will be - // subject to automatic deletion (after several days). - LimitedActions bool `protobuf:"varint,3,opt,name=limited_actions,json=limitedActions,proto3" json:"limited_actions,omitempty"` - RemainingActions int64 `protobuf:"varint,4,opt,name=remaining_actions,json=remainingActions,proto3" json:"remaining_actions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleState) Reset() { - *x = ScheduleState{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleState) ProtoMessage() {} - -func (x *ScheduleState) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleState.ProtoReflect.Descriptor instead. -func (*ScheduleState) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *ScheduleState) GetNotes() string { - if x != nil { - return x.Notes - } - return "" -} - -func (x *ScheduleState) GetPaused() bool { - if x != nil { - return x.Paused - } - return false -} - -func (x *ScheduleState) GetLimitedActions() bool { - if x != nil { - return x.LimitedActions - } - return false -} - -func (x *ScheduleState) GetRemainingActions() int64 { - if x != nil { - return x.RemainingActions - } - return 0 -} - -type TriggerImmediatelyRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If set, override overlap policy for this one request. - OverlapPolicy v1.ScheduleOverlapPolicy `protobuf:"varint,1,opt,name=overlap_policy,json=overlapPolicy,proto3,enum=temporal.api.enums.v1.ScheduleOverlapPolicy" json:"overlap_policy,omitempty"` - // Timestamp used for the identity of the target workflow. - // If not set the default value is the current time. - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TriggerImmediatelyRequest) Reset() { - *x = TriggerImmediatelyRequest{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TriggerImmediatelyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TriggerImmediatelyRequest) ProtoMessage() {} - -func (x *TriggerImmediatelyRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TriggerImmediatelyRequest.ProtoReflect.Descriptor instead. -func (*TriggerImmediatelyRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *TriggerImmediatelyRequest) GetOverlapPolicy() v1.ScheduleOverlapPolicy { - if x != nil { - return x.OverlapPolicy - } - return v1.ScheduleOverlapPolicy(0) -} - -func (x *TriggerImmediatelyRequest) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -type BackfillRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Time range to evaluate schedule in. Currently, this time range is - // exclusive on start_time and inclusive on end_time. (This is admittedly - // counterintuitive and it may change in the future, so to be safe, use a - // start time strictly before a scheduled time.) Also note that an action - // nominally scheduled in the interval but with jitter that pushes it after - // end_time will not be included. - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // If set, override overlap policy for this request. - OverlapPolicy v1.ScheduleOverlapPolicy `protobuf:"varint,3,opt,name=overlap_policy,json=overlapPolicy,proto3,enum=temporal.api.enums.v1.ScheduleOverlapPolicy" json:"overlap_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BackfillRequest) Reset() { - *x = BackfillRequest{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BackfillRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BackfillRequest) ProtoMessage() {} - -func (x *BackfillRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BackfillRequest.ProtoReflect.Descriptor instead. -func (*BackfillRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *BackfillRequest) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *BackfillRequest) GetEndTime() *timestamppb.Timestamp { - if x != nil { - return x.EndTime - } - return nil -} - -func (x *BackfillRequest) GetOverlapPolicy() v1.ScheduleOverlapPolicy { - if x != nil { - return x.OverlapPolicy - } - return v1.ScheduleOverlapPolicy(0) -} - -type SchedulePatch struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If set, trigger one action immediately. - TriggerImmediately *TriggerImmediatelyRequest `protobuf:"bytes,1,opt,name=trigger_immediately,json=triggerImmediately,proto3" json:"trigger_immediately,omitempty"` - // If set, runs though the specified time period(s) and takes actions as if that time - // passed by right now, all at once. The overlap policy can be overridden for the - // scope of the backfill. - BackfillRequest []*BackfillRequest `protobuf:"bytes,2,rep,name=backfill_request,json=backfillRequest,proto3" json:"backfill_request,omitempty"` - // If set, change the state to paused or unpaused (respectively) and set the - // notes field to the value of the string. - Pause string `protobuf:"bytes,3,opt,name=pause,proto3" json:"pause,omitempty"` - Unpause string `protobuf:"bytes,4,opt,name=unpause,proto3" json:"unpause,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SchedulePatch) Reset() { - *x = SchedulePatch{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SchedulePatch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SchedulePatch) ProtoMessage() {} - -func (x *SchedulePatch) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SchedulePatch.ProtoReflect.Descriptor instead. -func (*SchedulePatch) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *SchedulePatch) GetTriggerImmediately() *TriggerImmediatelyRequest { - if x != nil { - return x.TriggerImmediately - } - return nil -} - -func (x *SchedulePatch) GetBackfillRequest() []*BackfillRequest { - if x != nil { - return x.BackfillRequest - } - return nil -} - -func (x *SchedulePatch) GetPause() string { - if x != nil { - return x.Pause - } - return "" -} - -func (x *SchedulePatch) GetUnpause() string { - if x != nil { - return x.Unpause - } - return "" -} - -type ScheduleInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Number of actions taken so far. - ActionCount int64 `protobuf:"varint,1,opt,name=action_count,json=actionCount,proto3" json:"action_count,omitempty"` - // Number of times a scheduled action was skipped due to missing the catchup window. - MissedCatchupWindow int64 `protobuf:"varint,2,opt,name=missed_catchup_window,json=missedCatchupWindow,proto3" json:"missed_catchup_window,omitempty"` - // Number of skipped actions due to overlap. - OverlapSkipped int64 `protobuf:"varint,3,opt,name=overlap_skipped,json=overlapSkipped,proto3" json:"overlap_skipped,omitempty"` - // Number of dropped actions due to buffer limit. - BufferDropped int64 `protobuf:"varint,10,opt,name=buffer_dropped,json=bufferDropped,proto3" json:"buffer_dropped,omitempty"` - // Number of actions in the buffer. The buffer holds the actions that cannot - // be immediately triggered (due to the overlap policy). These actions can be a result of - // the normal schedule or a backfill. - BufferSize int64 `protobuf:"varint,11,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"` - // Currently-running workflows started by this schedule. (There might be - // more than one if the overlap policy allows overlaps.) - // Note that the run_ids in here are the original execution run ids as - // started by the schedule. If the workflows retried, did continue-as-new, - // or were reset, they might still be running but with a different run_id. - RunningWorkflows []*v12.WorkflowExecution `protobuf:"bytes,9,rep,name=running_workflows,json=runningWorkflows,proto3" json:"running_workflows,omitempty"` - // Most recent ten actual action times (including manual triggers). - RecentActions []*ScheduleActionResult `protobuf:"bytes,4,rep,name=recent_actions,json=recentActions,proto3" json:"recent_actions,omitempty"` - // Next ten scheduled action times. - FutureActionTimes []*timestamppb.Timestamp `protobuf:"bytes,5,rep,name=future_action_times,json=futureActionTimes,proto3" json:"future_action_times,omitempty"` - // Timestamps of schedule creation and last update. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/schedule/v1/message.proto. - InvalidScheduleError string `protobuf:"bytes,8,opt,name=invalid_schedule_error,json=invalidScheduleError,proto3" json:"invalid_schedule_error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleInfo) Reset() { - *x = ScheduleInfo{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleInfo) ProtoMessage() {} - -func (x *ScheduleInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleInfo.ProtoReflect.Descriptor instead. -func (*ScheduleInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *ScheduleInfo) GetActionCount() int64 { - if x != nil { - return x.ActionCount - } - return 0 -} - -func (x *ScheduleInfo) GetMissedCatchupWindow() int64 { - if x != nil { - return x.MissedCatchupWindow - } - return 0 -} - -func (x *ScheduleInfo) GetOverlapSkipped() int64 { - if x != nil { - return x.OverlapSkipped - } - return 0 -} - -func (x *ScheduleInfo) GetBufferDropped() int64 { - if x != nil { - return x.BufferDropped - } - return 0 -} - -func (x *ScheduleInfo) GetBufferSize() int64 { - if x != nil { - return x.BufferSize - } - return 0 -} - -func (x *ScheduleInfo) GetRunningWorkflows() []*v12.WorkflowExecution { - if x != nil { - return x.RunningWorkflows - } - return nil -} - -func (x *ScheduleInfo) GetRecentActions() []*ScheduleActionResult { - if x != nil { - return x.RecentActions - } - return nil -} - -func (x *ScheduleInfo) GetFutureActionTimes() []*timestamppb.Timestamp { - if x != nil { - return x.FutureActionTimes - } - return nil -} - -func (x *ScheduleInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *ScheduleInfo) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.UpdateTime - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/schedule/v1/message.proto. -func (x *ScheduleInfo) GetInvalidScheduleError() string { - if x != nil { - return x.InvalidScheduleError - } - return "" -} - -type Schedule struct { - state protoimpl.MessageState `protogen:"open.v1"` - Spec *ScheduleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` - Action *ScheduleAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` - Policies *SchedulePolicies `protobuf:"bytes,3,opt,name=policies,proto3" json:"policies,omitempty"` - State *ScheduleState `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Schedule) Reset() { - *x = Schedule{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Schedule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Schedule) ProtoMessage() {} - -func (x *Schedule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Schedule.ProtoReflect.Descriptor instead. -func (*Schedule) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *Schedule) GetSpec() *ScheduleSpec { - if x != nil { - return x.Spec - } - return nil -} - -func (x *Schedule) GetAction() *ScheduleAction { - if x != nil { - return x.Action - } - return nil -} - -func (x *Schedule) GetPolicies() *SchedulePolicies { - if x != nil { - return x.Policies - } - return nil -} - -func (x *Schedule) GetState() *ScheduleState { - if x != nil { - return x.State - } - return nil -} - -// ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo -// that's returned in ListSchedules. -type ScheduleListInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // From spec: - // Some fields are dropped from this copy of spec: timezone_data - Spec *ScheduleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` - // From action: - // Action is a oneof field, but we need to encode this in JSON and oneof fields don't work - // well with JSON. If action is start_workflow, this is set: - WorkflowType *v12.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // From state: - Notes string `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"` - Paused bool `protobuf:"varint,4,opt,name=paused,proto3" json:"paused,omitempty"` - // From info (maybe fewer entries): - RecentActions []*ScheduleActionResult `protobuf:"bytes,5,rep,name=recent_actions,json=recentActions,proto3" json:"recent_actions,omitempty"` - FutureActionTimes []*timestamppb.Timestamp `protobuf:"bytes,6,rep,name=future_action_times,json=futureActionTimes,proto3" json:"future_action_times,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleListInfo) Reset() { - *x = ScheduleListInfo{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleListInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleListInfo) ProtoMessage() {} - -func (x *ScheduleListInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleListInfo.ProtoReflect.Descriptor instead. -func (*ScheduleListInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *ScheduleListInfo) GetSpec() *ScheduleSpec { - if x != nil { - return x.Spec - } - return nil -} - -func (x *ScheduleListInfo) GetWorkflowType() *v12.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ScheduleListInfo) GetNotes() string { - if x != nil { - return x.Notes - } - return "" -} - -func (x *ScheduleListInfo) GetPaused() bool { - if x != nil { - return x.Paused - } - return false -} - -func (x *ScheduleListInfo) GetRecentActions() []*ScheduleActionResult { - if x != nil { - return x.RecentActions - } - return nil -} - -func (x *ScheduleListInfo) GetFutureActionTimes() []*timestamppb.Timestamp { - if x != nil { - return x.FutureActionTimes - } - return nil -} - -// ScheduleListEntry is returned by ListSchedules. -type ScheduleListEntry struct { - state protoimpl.MessageState `protogen:"open.v1"` - ScheduleId string `protobuf:"bytes,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - Memo *v12.Memo `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v12.SearchAttributes `protobuf:"bytes,3,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - Info *ScheduleListInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScheduleListEntry) Reset() { - *x = ScheduleListEntry{} - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScheduleListEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduleListEntry) ProtoMessage() {} - -func (x *ScheduleListEntry) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_schedule_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduleListEntry.ProtoReflect.Descriptor instead. -func (*ScheduleListEntry) Descriptor() ([]byte, []int) { - return file_temporal_api_schedule_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *ScheduleListEntry) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *ScheduleListEntry) GetMemo() *v12.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *ScheduleListEntry) GetSearchAttributes() *v12.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *ScheduleListEntry) GetInfo() *ScheduleListInfo { - if x != nil { - return x.Info - } - return nil -} - -var File_temporal_api_schedule_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_schedule_v1_message_proto_rawDesc = "" + - "\n" + - "&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto\"\xd8\x01\n" + - "\fCalendarSpec\x12\x16\n" + - "\x06second\x18\x01 \x01(\tR\x06second\x12\x16\n" + - "\x06minute\x18\x02 \x01(\tR\x06minute\x12\x12\n" + - "\x04hour\x18\x03 \x01(\tR\x04hour\x12 \n" + - "\fday_of_month\x18\x04 \x01(\tR\n" + - "dayOfMonth\x12\x14\n" + - "\x05month\x18\x05 \x01(\tR\x05month\x12\x12\n" + - "\x04year\x18\x06 \x01(\tR\x04year\x12\x1e\n" + - "\vday_of_week\x18\a \x01(\tR\tdayOfWeek\x12\x18\n" + - "\acomment\x18\b \x01(\tR\acomment\"C\n" + - "\x05Range\x12\x14\n" + - "\x05start\x18\x01 \x01(\x05R\x05start\x12\x10\n" + - "\x03end\x18\x02 \x01(\x05R\x03end\x12\x12\n" + - "\x04step\x18\x03 \x01(\x05R\x04step\"\xc9\x03\n" + - "\x16StructuredCalendarSpec\x127\n" + - "\x06second\x18\x01 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\x06second\x127\n" + - "\x06minute\x18\x02 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\x06minute\x123\n" + - "\x04hour\x18\x03 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\x04hour\x12A\n" + - "\fday_of_month\x18\x04 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\n" + - "dayOfMonth\x125\n" + - "\x05month\x18\x05 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\x05month\x123\n" + - "\x04year\x18\x06 \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\x04year\x12?\n" + - "\vday_of_week\x18\a \x03(\v2\x1f.temporal.api.schedule.v1.RangeR\tdayOfWeek\x12\x18\n" + - "\acomment\x18\b \x01(\tR\acomment\"v\n" + - "\fIntervalSpec\x125\n" + - "\binterval\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\binterval\x12/\n" + - "\x05phase\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x05phase\"\xd2\x05\n" + - "\fScheduleSpec\x12a\n" + - "\x13structured_calendar\x18\a \x03(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\x12structuredCalendar\x12\x1f\n" + - "\vcron_string\x18\b \x03(\tR\n" + - "cronString\x12B\n" + - "\bcalendar\x18\x01 \x03(\v2&.temporal.api.schedule.v1.CalendarSpecR\bcalendar\x12B\n" + - "\binterval\x18\x02 \x03(\v2&.temporal.api.schedule.v1.IntervalSpecR\binterval\x12U\n" + - "\x10exclude_calendar\x18\x03 \x03(\v2&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01R\x0fexcludeCalendar\x12p\n" + - "\x1bexclude_structured_calendar\x18\t \x03(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\x19excludeStructuredCalendar\x129\n" + - "\n" + - "start_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" + - "\bend_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x121\n" + - "\x06jitter\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x06jitter\x12#\n" + - "\rtimezone_name\x18\n" + - " \x01(\tR\ftimezoneName\x12#\n" + - "\rtimezone_data\x18\v \x01(\fR\ftimezoneData\"\x8e\x02\n" + - "\x10SchedulePolicies\x12S\n" + - "\x0eoverlap_policy\x18\x01 \x01(\x0e2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\x12@\n" + - "\x0ecatchup_window\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\rcatchupWindow\x12(\n" + - "\x10pause_on_failure\x18\x03 \x01(\bR\x0epauseOnFailure\x129\n" + - "\x19keep_original_workflow_id\x18\x04 \x01(\bR\x16keepOriginalWorkflowId\"w\n" + - "\x0eScheduleAction\x12[\n" + - "\x0estart_workflow\x18\x01 \x01(\v22.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00R\rstartWorkflowB\b\n" + - "\x06action\"\xd7\x02\n" + - "\x14ScheduleActionResult\x12?\n" + - "\rschedule_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\fscheduleTime\x12;\n" + - "\vactual_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "actualTime\x12]\n" + - "\x15start_workflow_result\x18\v \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x13startWorkflowResult\x12b\n" + - "\x15start_workflow_status\x18\f \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x13startWorkflowStatus\"\x93\x01\n" + - "\rScheduleState\x12\x14\n" + - "\x05notes\x18\x01 \x01(\tR\x05notes\x12\x16\n" + - "\x06paused\x18\x02 \x01(\bR\x06paused\x12'\n" + - "\x0flimited_actions\x18\x03 \x01(\bR\x0elimitedActions\x12+\n" + - "\x11remaining_actions\x18\x04 \x01(\x03R\x10remainingActions\"\xb3\x01\n" + - "\x19TriggerImmediatelyRequest\x12S\n" + - "\x0eoverlap_policy\x18\x01 \x01(\x0e2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\x12A\n" + - "\x0escheduled_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\"\xd8\x01\n" + - "\x0fBackfillRequest\x129\n" + - "\n" + - "start_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" + - "\bend_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12S\n" + - "\x0eoverlap_policy\x18\x03 \x01(\x0e2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\"\xfb\x01\n" + - "\rSchedulePatch\x12d\n" + - "\x13trigger_immediately\x18\x01 \x01(\v23.temporal.api.schedule.v1.TriggerImmediatelyRequestR\x12triggerImmediately\x12T\n" + - "\x10backfill_request\x18\x02 \x03(\v2).temporal.api.schedule.v1.BackfillRequestR\x0fbackfillRequest\x12\x14\n" + - "\x05pause\x18\x03 \x01(\tR\x05pause\x12\x18\n" + - "\aunpause\x18\x04 \x01(\tR\aunpause\"\x85\x05\n" + - "\fScheduleInfo\x12!\n" + - "\faction_count\x18\x01 \x01(\x03R\vactionCount\x122\n" + - "\x15missed_catchup_window\x18\x02 \x01(\x03R\x13missedCatchupWindow\x12'\n" + - "\x0foverlap_skipped\x18\x03 \x01(\x03R\x0eoverlapSkipped\x12%\n" + - "\x0ebuffer_dropped\x18\n" + - " \x01(\x03R\rbufferDropped\x12\x1f\n" + - "\vbuffer_size\x18\v \x01(\x03R\n" + - "bufferSize\x12V\n" + - "\x11running_workflows\x18\t \x03(\v2).temporal.api.common.v1.WorkflowExecutionR\x10runningWorkflows\x12U\n" + - "\x0erecent_actions\x18\x04 \x03(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\x12J\n" + - "\x13future_action_times\x18\x05 \x03(\v2\x1a.google.protobuf.TimestampR\x11futureActionTimes\x12;\n" + - "\vcreate_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12;\n" + - "\vupdate_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "updateTime\x128\n" + - "\x16invalid_schedule_error\x18\b \x01(\tB\x02\x18\x01R\x14invalidScheduleError\"\x8f\x02\n" + - "\bSchedule\x12:\n" + - "\x04spec\x18\x01 \x01(\v2&.temporal.api.schedule.v1.ScheduleSpecR\x04spec\x12@\n" + - "\x06action\x18\x02 \x01(\v2(.temporal.api.schedule.v1.ScheduleActionR\x06action\x12F\n" + - "\bpolicies\x18\x03 \x01(\v2*.temporal.api.schedule.v1.SchedulePoliciesR\bpolicies\x12=\n" + - "\x05state\x18\x04 \x01(\v2'.temporal.api.schedule.v1.ScheduleStateR\x05state\"\xea\x02\n" + - "\x10ScheduleListInfo\x12:\n" + - "\x04spec\x18\x01 \x01(\v2&.temporal.api.schedule.v1.ScheduleSpecR\x04spec\x12I\n" + - "\rworkflow_type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12\x14\n" + - "\x05notes\x18\x03 \x01(\tR\x05notes\x12\x16\n" + - "\x06paused\x18\x04 \x01(\bR\x06paused\x12U\n" + - "\x0erecent_actions\x18\x05 \x03(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\x12J\n" + - "\x13future_action_times\x18\x06 \x03(\v2\x1a.google.protobuf.TimestampR\x11futureActionTimes\"\xfd\x01\n" + - "\x11ScheduleListEntry\x12\x1f\n" + - "\vschedule_id\x18\x01 \x01(\tR\n" + - "scheduleId\x120\n" + - "\x04memo\x18\x02 \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x03 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12>\n" + - "\x04info\x18\x04 \x01(\v2*.temporal.api.schedule.v1.ScheduleListInfoR\x04infoB\x93\x01\n" + - "\x1bio.temporal.api.schedule.v1B\fMessageProtoP\x01Z'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3" - -var ( - file_temporal_api_schedule_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_schedule_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_schedule_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_schedule_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_schedule_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_schedule_v1_message_proto_rawDesc), len(file_temporal_api_schedule_v1_message_proto_rawDesc))) - }) - return file_temporal_api_schedule_v1_message_proto_rawDescData -} - -var file_temporal_api_schedule_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_temporal_api_schedule_v1_message_proto_goTypes = []any{ - (*CalendarSpec)(nil), // 0: temporal.api.schedule.v1.CalendarSpec - (*Range)(nil), // 1: temporal.api.schedule.v1.Range - (*StructuredCalendarSpec)(nil), // 2: temporal.api.schedule.v1.StructuredCalendarSpec - (*IntervalSpec)(nil), // 3: temporal.api.schedule.v1.IntervalSpec - (*ScheduleSpec)(nil), // 4: temporal.api.schedule.v1.ScheduleSpec - (*SchedulePolicies)(nil), // 5: temporal.api.schedule.v1.SchedulePolicies - (*ScheduleAction)(nil), // 6: temporal.api.schedule.v1.ScheduleAction - (*ScheduleActionResult)(nil), // 7: temporal.api.schedule.v1.ScheduleActionResult - (*ScheduleState)(nil), // 8: temporal.api.schedule.v1.ScheduleState - (*TriggerImmediatelyRequest)(nil), // 9: temporal.api.schedule.v1.TriggerImmediatelyRequest - (*BackfillRequest)(nil), // 10: temporal.api.schedule.v1.BackfillRequest - (*SchedulePatch)(nil), // 11: temporal.api.schedule.v1.SchedulePatch - (*ScheduleInfo)(nil), // 12: temporal.api.schedule.v1.ScheduleInfo - (*Schedule)(nil), // 13: temporal.api.schedule.v1.Schedule - (*ScheduleListInfo)(nil), // 14: temporal.api.schedule.v1.ScheduleListInfo - (*ScheduleListEntry)(nil), // 15: temporal.api.schedule.v1.ScheduleListEntry - (*durationpb.Duration)(nil), // 16: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp - (v1.ScheduleOverlapPolicy)(0), // 18: temporal.api.enums.v1.ScheduleOverlapPolicy - (*v11.NewWorkflowExecutionInfo)(nil), // 19: temporal.api.workflow.v1.NewWorkflowExecutionInfo - (*v12.WorkflowExecution)(nil), // 20: temporal.api.common.v1.WorkflowExecution - (v1.WorkflowExecutionStatus)(0), // 21: temporal.api.enums.v1.WorkflowExecutionStatus - (*v12.WorkflowType)(nil), // 22: temporal.api.common.v1.WorkflowType - (*v12.Memo)(nil), // 23: temporal.api.common.v1.Memo - (*v12.SearchAttributes)(nil), // 24: temporal.api.common.v1.SearchAttributes -} -var file_temporal_api_schedule_v1_message_proto_depIdxs = []int32{ - 1, // 0: temporal.api.schedule.v1.StructuredCalendarSpec.second:type_name -> temporal.api.schedule.v1.Range - 1, // 1: temporal.api.schedule.v1.StructuredCalendarSpec.minute:type_name -> temporal.api.schedule.v1.Range - 1, // 2: temporal.api.schedule.v1.StructuredCalendarSpec.hour:type_name -> temporal.api.schedule.v1.Range - 1, // 3: temporal.api.schedule.v1.StructuredCalendarSpec.day_of_month:type_name -> temporal.api.schedule.v1.Range - 1, // 4: temporal.api.schedule.v1.StructuredCalendarSpec.month:type_name -> temporal.api.schedule.v1.Range - 1, // 5: temporal.api.schedule.v1.StructuredCalendarSpec.year:type_name -> temporal.api.schedule.v1.Range - 1, // 6: temporal.api.schedule.v1.StructuredCalendarSpec.day_of_week:type_name -> temporal.api.schedule.v1.Range - 16, // 7: temporal.api.schedule.v1.IntervalSpec.interval:type_name -> google.protobuf.Duration - 16, // 8: temporal.api.schedule.v1.IntervalSpec.phase:type_name -> google.protobuf.Duration - 2, // 9: temporal.api.schedule.v1.ScheduleSpec.structured_calendar:type_name -> temporal.api.schedule.v1.StructuredCalendarSpec - 0, // 10: temporal.api.schedule.v1.ScheduleSpec.calendar:type_name -> temporal.api.schedule.v1.CalendarSpec - 3, // 11: temporal.api.schedule.v1.ScheduleSpec.interval:type_name -> temporal.api.schedule.v1.IntervalSpec - 0, // 12: temporal.api.schedule.v1.ScheduleSpec.exclude_calendar:type_name -> temporal.api.schedule.v1.CalendarSpec - 2, // 13: temporal.api.schedule.v1.ScheduleSpec.exclude_structured_calendar:type_name -> temporal.api.schedule.v1.StructuredCalendarSpec - 17, // 14: temporal.api.schedule.v1.ScheduleSpec.start_time:type_name -> google.protobuf.Timestamp - 17, // 15: temporal.api.schedule.v1.ScheduleSpec.end_time:type_name -> google.protobuf.Timestamp - 16, // 16: temporal.api.schedule.v1.ScheduleSpec.jitter:type_name -> google.protobuf.Duration - 18, // 17: temporal.api.schedule.v1.SchedulePolicies.overlap_policy:type_name -> temporal.api.enums.v1.ScheduleOverlapPolicy - 16, // 18: temporal.api.schedule.v1.SchedulePolicies.catchup_window:type_name -> google.protobuf.Duration - 19, // 19: temporal.api.schedule.v1.ScheduleAction.start_workflow:type_name -> temporal.api.workflow.v1.NewWorkflowExecutionInfo - 17, // 20: temporal.api.schedule.v1.ScheduleActionResult.schedule_time:type_name -> google.protobuf.Timestamp - 17, // 21: temporal.api.schedule.v1.ScheduleActionResult.actual_time:type_name -> google.protobuf.Timestamp - 20, // 22: temporal.api.schedule.v1.ScheduleActionResult.start_workflow_result:type_name -> temporal.api.common.v1.WorkflowExecution - 21, // 23: temporal.api.schedule.v1.ScheduleActionResult.start_workflow_status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus - 18, // 24: temporal.api.schedule.v1.TriggerImmediatelyRequest.overlap_policy:type_name -> temporal.api.enums.v1.ScheduleOverlapPolicy - 17, // 25: temporal.api.schedule.v1.TriggerImmediatelyRequest.scheduled_time:type_name -> google.protobuf.Timestamp - 17, // 26: temporal.api.schedule.v1.BackfillRequest.start_time:type_name -> google.protobuf.Timestamp - 17, // 27: temporal.api.schedule.v1.BackfillRequest.end_time:type_name -> google.protobuf.Timestamp - 18, // 28: temporal.api.schedule.v1.BackfillRequest.overlap_policy:type_name -> temporal.api.enums.v1.ScheduleOverlapPolicy - 9, // 29: temporal.api.schedule.v1.SchedulePatch.trigger_immediately:type_name -> temporal.api.schedule.v1.TriggerImmediatelyRequest - 10, // 30: temporal.api.schedule.v1.SchedulePatch.backfill_request:type_name -> temporal.api.schedule.v1.BackfillRequest - 20, // 31: temporal.api.schedule.v1.ScheduleInfo.running_workflows:type_name -> temporal.api.common.v1.WorkflowExecution - 7, // 32: temporal.api.schedule.v1.ScheduleInfo.recent_actions:type_name -> temporal.api.schedule.v1.ScheduleActionResult - 17, // 33: temporal.api.schedule.v1.ScheduleInfo.future_action_times:type_name -> google.protobuf.Timestamp - 17, // 34: temporal.api.schedule.v1.ScheduleInfo.create_time:type_name -> google.protobuf.Timestamp - 17, // 35: temporal.api.schedule.v1.ScheduleInfo.update_time:type_name -> google.protobuf.Timestamp - 4, // 36: temporal.api.schedule.v1.Schedule.spec:type_name -> temporal.api.schedule.v1.ScheduleSpec - 6, // 37: temporal.api.schedule.v1.Schedule.action:type_name -> temporal.api.schedule.v1.ScheduleAction - 5, // 38: temporal.api.schedule.v1.Schedule.policies:type_name -> temporal.api.schedule.v1.SchedulePolicies - 8, // 39: temporal.api.schedule.v1.Schedule.state:type_name -> temporal.api.schedule.v1.ScheduleState - 4, // 40: temporal.api.schedule.v1.ScheduleListInfo.spec:type_name -> temporal.api.schedule.v1.ScheduleSpec - 22, // 41: temporal.api.schedule.v1.ScheduleListInfo.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 7, // 42: temporal.api.schedule.v1.ScheduleListInfo.recent_actions:type_name -> temporal.api.schedule.v1.ScheduleActionResult - 17, // 43: temporal.api.schedule.v1.ScheduleListInfo.future_action_times:type_name -> google.protobuf.Timestamp - 23, // 44: temporal.api.schedule.v1.ScheduleListEntry.memo:type_name -> temporal.api.common.v1.Memo - 24, // 45: temporal.api.schedule.v1.ScheduleListEntry.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 14, // 46: temporal.api.schedule.v1.ScheduleListEntry.info:type_name -> temporal.api.schedule.v1.ScheduleListInfo - 47, // [47:47] is the sub-list for method output_type - 47, // [47:47] is the sub-list for method input_type - 47, // [47:47] is the sub-list for extension type_name - 47, // [47:47] is the sub-list for extension extendee - 0, // [0:47] is the sub-list for field type_name -} - -func init() { file_temporal_api_schedule_v1_message_proto_init() } -func file_temporal_api_schedule_v1_message_proto_init() { - if File_temporal_api_schedule_v1_message_proto != nil { - return - } - file_temporal_api_schedule_v1_message_proto_msgTypes[6].OneofWrappers = []any{ - (*ScheduleAction_StartWorkflow)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_schedule_v1_message_proto_rawDesc), len(file_temporal_api_schedule_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 16, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_schedule_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_schedule_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_schedule_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_schedule_v1_message_proto = out.File - file_temporal_api_schedule_v1_message_proto_goTypes = nil - file_temporal_api_schedule_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/sdk/v1/enhanced_stack_trace.pb.go b/build/temporal/api/sdk/v1/enhanced_stack_trace.pb.go deleted file mode 100644 index 79922ea..0000000 --- a/build/temporal/api/sdk/v1/enhanced_stack_trace.pb.go +++ /dev/null @@ -1,424 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/sdk/v1/enhanced_stack_trace.proto - -package sdk - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Internal structure used to create worker stack traces with references to code. -type EnhancedStackTrace struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Information pertaining to the SDK that the trace has been captured from. - Sdk *StackTraceSDKInfo `protobuf:"bytes,1,opt,name=sdk,proto3" json:"sdk,omitempty"` - // Mapping of file path to file contents. - Sources map[string]*StackTraceFileSlice `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // Collection of stacks captured. - Stacks []*StackTrace `protobuf:"bytes,3,rep,name=stacks,proto3" json:"stacks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnhancedStackTrace) Reset() { - *x = EnhancedStackTrace{} - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnhancedStackTrace) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnhancedStackTrace) ProtoMessage() {} - -func (x *EnhancedStackTrace) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EnhancedStackTrace.ProtoReflect.Descriptor instead. -func (*EnhancedStackTrace) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP(), []int{0} -} - -func (x *EnhancedStackTrace) GetSdk() *StackTraceSDKInfo { - if x != nil { - return x.Sdk - } - return nil -} - -func (x *EnhancedStackTrace) GetSources() map[string]*StackTraceFileSlice { - if x != nil { - return x.Sources - } - return nil -} - -func (x *EnhancedStackTrace) GetStacks() []*StackTrace { - if x != nil { - return x.Stacks - } - return nil -} - -// Information pertaining to the SDK that the trace has been captured from. -// (-- api-linter: core::0123::resource-annotation=disabled -// -// aip.dev/not-precedent: Naming SDK version is optional. --) -type StackTraceSDKInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Name of the SDK - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Version string of the SDK - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StackTraceSDKInfo) Reset() { - *x = StackTraceSDKInfo{} - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StackTraceSDKInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StackTraceSDKInfo) ProtoMessage() {} - -func (x *StackTraceSDKInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StackTraceSDKInfo.ProtoReflect.Descriptor instead. -func (*StackTraceSDKInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP(), []int{1} -} - -func (x *StackTraceSDKInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *StackTraceSDKInfo) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -// "Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack. -type StackTraceFileSlice struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Only used (possibly) to trim the file without breaking syntax highlighting. This is not optional, unlike - // the `line` property of a `StackTraceFileLocation`. - // (-- api-linter: core::0141::forbidden-types=disabled - // - // aip.dev/not-precedent: These really shouldn't have negative values. --) - LineOffset uint32 `protobuf:"varint,1,opt,name=line_offset,json=lineOffset,proto3" json:"line_offset,omitempty"` - // Slice of a file with the respective OS-specific line terminator. - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StackTraceFileSlice) Reset() { - *x = StackTraceFileSlice{} - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StackTraceFileSlice) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StackTraceFileSlice) ProtoMessage() {} - -func (x *StackTraceFileSlice) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StackTraceFileSlice.ProtoReflect.Descriptor instead. -func (*StackTraceFileSlice) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP(), []int{2} -} - -func (x *StackTraceFileSlice) GetLineOffset() uint32 { - if x != nil { - return x.LineOffset - } - return 0 -} - -func (x *StackTraceFileSlice) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -// More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available. -// In essence, a pointer to a location in a file -type StackTraceFileLocation struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Path to source file (absolute or relative). - // If the paths are relative, ensure that they are all relative to the same root. - FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - // Optional; If possible, SDK should send this -- this is required for displaying the code location. - // If not provided, set to -1. - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` - // Optional; if possible, SDK should send this. - // If not provided, set to -1. - Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` - // Function name this line belongs to, if applicable. - // Used for falling back to stack trace view. - FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` - // Flag to communicate whether a location should be hidden by default in the stack view. - InternalCode bool `protobuf:"varint,5,opt,name=internal_code,json=internalCode,proto3" json:"internal_code,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StackTraceFileLocation) Reset() { - *x = StackTraceFileLocation{} - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StackTraceFileLocation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StackTraceFileLocation) ProtoMessage() {} - -func (x *StackTraceFileLocation) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StackTraceFileLocation.ProtoReflect.Descriptor instead. -func (*StackTraceFileLocation) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP(), []int{3} -} - -func (x *StackTraceFileLocation) GetFilePath() string { - if x != nil { - return x.FilePath - } - return "" -} - -func (x *StackTraceFileLocation) GetLine() int32 { - if x != nil { - return x.Line - } - return 0 -} - -func (x *StackTraceFileLocation) GetColumn() int32 { - if x != nil { - return x.Column - } - return 0 -} - -func (x *StackTraceFileLocation) GetFunctionName() string { - if x != nil { - return x.FunctionName - } - return "" -} - -func (x *StackTraceFileLocation) GetInternalCode() bool { - if x != nil { - return x.InternalCode - } - return false -} - -// Collection of FileLocation messages from a single stack. -type StackTrace struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Collection of `FileLocation`s, each for a stack frame that comprise a stack trace. - Locations []*StackTraceFileLocation `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StackTrace) Reset() { - *x = StackTrace{} - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StackTrace) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StackTrace) ProtoMessage() {} - -func (x *StackTrace) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StackTrace.ProtoReflect.Descriptor instead. -func (*StackTrace) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP(), []int{4} -} - -func (x *StackTrace) GetLocations() []*StackTraceFileLocation { - if x != nil { - return x.Locations - } - return nil -} - -var File_temporal_api_sdk_v1_enhanced_stack_trace_proto protoreflect.FileDescriptor - -const file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDesc = "" + - "\n" + - ".temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1\"\xbd\x02\n" + - "\x12EnhancedStackTrace\x128\n" + - "\x03sdk\x18\x01 \x01(\v2&.temporal.api.sdk.v1.StackTraceSDKInfoR\x03sdk\x12N\n" + - "\asources\x18\x02 \x03(\v24.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntryR\asources\x127\n" + - "\x06stacks\x18\x03 \x03(\v2\x1f.temporal.api.sdk.v1.StackTraceR\x06stacks\x1ad\n" + - "\fSourcesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12>\n" + - "\x05value\x18\x02 \x01(\v2(.temporal.api.sdk.v1.StackTraceFileSliceR\x05value:\x028\x01\"A\n" + - "\x11StackTraceSDKInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + - "\aversion\x18\x02 \x01(\tR\aversion\"P\n" + - "\x13StackTraceFileSlice\x12\x1f\n" + - "\vline_offset\x18\x01 \x01(\rR\n" + - "lineOffset\x12\x18\n" + - "\acontent\x18\x02 \x01(\tR\acontent\"\xab\x01\n" + - "\x16StackTraceFileLocation\x12\x1b\n" + - "\tfile_path\x18\x01 \x01(\tR\bfilePath\x12\x12\n" + - "\x04line\x18\x02 \x01(\x05R\x04line\x12\x16\n" + - "\x06column\x18\x03 \x01(\x05R\x06column\x12#\n" + - "\rfunction_name\x18\x04 \x01(\tR\ffunctionName\x12#\n" + - "\rinternal_code\x18\x05 \x01(\bR\finternalCode\"W\n" + - "\n" + - "StackTrace\x12I\n" + - "\tlocations\x18\x01 \x03(\v2+.temporal.api.sdk.v1.StackTraceFileLocationR\tlocationsB\x85\x01\n" + - "\x16io.temporal.api.sdk.v1B\x17EnhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" - -var ( - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescOnce sync.Once - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescData []byte -) - -func file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescGZIP() []byte { - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescOnce.Do(func() { - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDesc), len(file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDesc))) - }) - return file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDescData -} - -var file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_temporal_api_sdk_v1_enhanced_stack_trace_proto_goTypes = []any{ - (*EnhancedStackTrace)(nil), // 0: temporal.api.sdk.v1.EnhancedStackTrace - (*StackTraceSDKInfo)(nil), // 1: temporal.api.sdk.v1.StackTraceSDKInfo - (*StackTraceFileSlice)(nil), // 2: temporal.api.sdk.v1.StackTraceFileSlice - (*StackTraceFileLocation)(nil), // 3: temporal.api.sdk.v1.StackTraceFileLocation - (*StackTrace)(nil), // 4: temporal.api.sdk.v1.StackTrace - nil, // 5: temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry -} -var file_temporal_api_sdk_v1_enhanced_stack_trace_proto_depIdxs = []int32{ - 1, // 0: temporal.api.sdk.v1.EnhancedStackTrace.sdk:type_name -> temporal.api.sdk.v1.StackTraceSDKInfo - 5, // 1: temporal.api.sdk.v1.EnhancedStackTrace.sources:type_name -> temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry - 4, // 2: temporal.api.sdk.v1.EnhancedStackTrace.stacks:type_name -> temporal.api.sdk.v1.StackTrace - 3, // 3: temporal.api.sdk.v1.StackTrace.locations:type_name -> temporal.api.sdk.v1.StackTraceFileLocation - 2, // 4: temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry.value:type_name -> temporal.api.sdk.v1.StackTraceFileSlice - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_temporal_api_sdk_v1_enhanced_stack_trace_proto_init() } -func file_temporal_api_sdk_v1_enhanced_stack_trace_proto_init() { - if File_temporal_api_sdk_v1_enhanced_stack_trace_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDesc), len(file_temporal_api_sdk_v1_enhanced_stack_trace_proto_rawDesc)), - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_sdk_v1_enhanced_stack_trace_proto_goTypes, - DependencyIndexes: file_temporal_api_sdk_v1_enhanced_stack_trace_proto_depIdxs, - MessageInfos: file_temporal_api_sdk_v1_enhanced_stack_trace_proto_msgTypes, - }.Build() - File_temporal_api_sdk_v1_enhanced_stack_trace_proto = out.File - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_goTypes = nil - file_temporal_api_sdk_v1_enhanced_stack_trace_proto_depIdxs = nil -} diff --git a/build/temporal/api/sdk/v1/task_complete_metadata.pb.go b/build/temporal/api/sdk/v1/task_complete_metadata.pb.go deleted file mode 100644 index 9a75589..0000000 --- a/build/temporal/api/sdk/v1/task_complete_metadata.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/sdk/v1/task_complete_metadata.proto - -package sdk - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkflowTaskCompletedMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: - // - // During replay: - // - If a flag is not recognized (value is too high or not defined), it must fail the workflow - // task. - // - If a flag is recognized, it is stored in a set of used flags for the run. Code checks for - // that flag during and after this WFT are allowed to assume that the flag is present. - // - If a code check for a flag does not find the flag in the set of used flags, it must take - // the branch corresponding to the absence of that flag. - // - // During non-replay execution of new WFTs: - // - The SDK is free to use all flags it knows about. It must record any newly-used (IE: not - // previously recorded) flags when completing the WFT. - // - // SDKs which are too old to even know about this field at all are considered to produce - // undefined behavior if they replay workflows which used this mechanism. - // - // (-- api-linter: core::0141::forbidden-types=disabled - // - // aip.dev/not-precedent: These really shouldn't have negative values. --) - CoreUsedFlags []uint32 `protobuf:"varint,1,rep,packed,name=core_used_flags,json=coreUsedFlags,proto3" json:"core_used_flags,omitempty"` - // Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages - // here as processing a workflow with a different language than the one which authored it is - // already undefined behavior. See `core_used_patches` for more. - // - // (-- api-linter: core::0141::forbidden-types=disabled - // - // aip.dev/not-precedent: These really shouldn't have negative values. --) - LangUsedFlags []uint32 `protobuf:"varint,2,rep,packed,name=lang_used_flags,json=langUsedFlags,proto3" json:"lang_used_flags,omitempty"` - // Name of the SDK that processed the task. This is usually something like "temporal-go" and is - // usually the same as client-name gRPC header. This should only be set if its value changed - // since the last time recorded on the workflow (or be set on the first task). - // - // (-- api-linter: core::0122::name-suffix=disabled - // - // aip.dev/not-precedent: We're ok with a name suffix here. --) - SdkName string `protobuf:"bytes,3,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"` - // Version of the SDK that processed the task. This is usually something like "1.20.0" and is - // usually the same as client-version gRPC header. This should only be set if its value changed - // since the last time recorded on the workflow (or be set on the first task). - SdkVersion string `protobuf:"bytes,4,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowTaskCompletedMetadata) Reset() { - *x = WorkflowTaskCompletedMetadata{} - mi := &file_temporal_api_sdk_v1_task_complete_metadata_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowTaskCompletedMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTaskCompletedMetadata) ProtoMessage() {} - -func (x *WorkflowTaskCompletedMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_task_complete_metadata_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTaskCompletedMetadata.ProtoReflect.Descriptor instead. -func (*WorkflowTaskCompletedMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowTaskCompletedMetadata) GetCoreUsedFlags() []uint32 { - if x != nil { - return x.CoreUsedFlags - } - return nil -} - -func (x *WorkflowTaskCompletedMetadata) GetLangUsedFlags() []uint32 { - if x != nil { - return x.LangUsedFlags - } - return nil -} - -func (x *WorkflowTaskCompletedMetadata) GetSdkName() string { - if x != nil { - return x.SdkName - } - return "" -} - -func (x *WorkflowTaskCompletedMetadata) GetSdkVersion() string { - if x != nil { - return x.SdkVersion - } - return "" -} - -var File_temporal_api_sdk_v1_task_complete_metadata_proto protoreflect.FileDescriptor - -const file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDesc = "" + - "\n" + - "0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1\"\xab\x01\n" + - "\x1dWorkflowTaskCompletedMetadata\x12&\n" + - "\x0fcore_used_flags\x18\x01 \x03(\rR\rcoreUsedFlags\x12&\n" + - "\x0flang_used_flags\x18\x02 \x03(\rR\rlangUsedFlags\x12\x19\n" + - "\bsdk_name\x18\x03 \x01(\tR\asdkName\x12\x1f\n" + - "\vsdk_version\x18\x04 \x01(\tR\n" + - "sdkVersionB\x87\x01\n" + - "\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" - -var ( - file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescOnce sync.Once - file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescData []byte -) - -func file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescGZIP() []byte { - file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescOnce.Do(func() { - file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDesc))) - }) - return file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDescData -} - -var file_temporal_api_sdk_v1_task_complete_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_temporal_api_sdk_v1_task_complete_metadata_proto_goTypes = []any{ - (*WorkflowTaskCompletedMetadata)(nil), // 0: temporal.api.sdk.v1.WorkflowTaskCompletedMetadata -} -var file_temporal_api_sdk_v1_task_complete_metadata_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_sdk_v1_task_complete_metadata_proto_init() } -func file_temporal_api_sdk_v1_task_complete_metadata_proto_init() { - if File_temporal_api_sdk_v1_task_complete_metadata_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_task_complete_metadata_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_sdk_v1_task_complete_metadata_proto_goTypes, - DependencyIndexes: file_temporal_api_sdk_v1_task_complete_metadata_proto_depIdxs, - MessageInfos: file_temporal_api_sdk_v1_task_complete_metadata_proto_msgTypes, - }.Build() - File_temporal_api_sdk_v1_task_complete_metadata_proto = out.File - file_temporal_api_sdk_v1_task_complete_metadata_proto_goTypes = nil - file_temporal_api_sdk_v1_task_complete_metadata_proto_depIdxs = nil -} diff --git a/build/temporal/api/sdk/v1/user_metadata.pb.go b/build/temporal/api/sdk/v1/user_metadata.pb.go deleted file mode 100644 index 52d5aac..0000000 --- a/build/temporal/api/sdk/v1/user_metadata.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/sdk/v1/user_metadata.proto - -package sdk - -import ( - v1 "go.temporal.io/api/common/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Information a user can set, often for use by user interfaces. -type UserMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload - // that is a single JSON string for use in user interfaces. User interface formatting may not - // apply to this text when used in "title" situations. The payload data section is limited to 400 - // bytes by default. - Summary *v1.Payload `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - // Long-form text that provides details. This payload should be a "json/plain"-encoded payload - // that is a single JSON string for use in user interfaces. User interface formatting may apply to - // this text in common use. The payload data section is limited to 20000 bytes by default. - Details *v1.Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserMetadata) Reset() { - *x = UserMetadata{} - mi := &file_temporal_api_sdk_v1_user_metadata_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMetadata) ProtoMessage() {} - -func (x *UserMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_user_metadata_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMetadata.ProtoReflect.Descriptor instead. -func (*UserMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_user_metadata_proto_rawDescGZIP(), []int{0} -} - -func (x *UserMetadata) GetSummary() *v1.Payload { - if x != nil { - return x.Summary - } - return nil -} - -func (x *UserMetadata) GetDetails() *v1.Payload { - if x != nil { - return x.Details - } - return nil -} - -var File_temporal_api_sdk_v1_user_metadata_proto protoreflect.FileDescriptor - -const file_temporal_api_sdk_v1_user_metadata_proto_rawDesc = "" + - "\n" + - "'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"\x84\x01\n" + - "\fUserMetadata\x129\n" + - "\asummary\x18\x01 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\asummary\x129\n" + - "\adetails\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\adetailsB\x7f\n" + - "\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" - -var ( - file_temporal_api_sdk_v1_user_metadata_proto_rawDescOnce sync.Once - file_temporal_api_sdk_v1_user_metadata_proto_rawDescData []byte -) - -func file_temporal_api_sdk_v1_user_metadata_proto_rawDescGZIP() []byte { - file_temporal_api_sdk_v1_user_metadata_proto_rawDescOnce.Do(func() { - file_temporal_api_sdk_v1_user_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_user_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_user_metadata_proto_rawDesc))) - }) - return file_temporal_api_sdk_v1_user_metadata_proto_rawDescData -} - -var file_temporal_api_sdk_v1_user_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_temporal_api_sdk_v1_user_metadata_proto_goTypes = []any{ - (*UserMetadata)(nil), // 0: temporal.api.sdk.v1.UserMetadata - (*v1.Payload)(nil), // 1: temporal.api.common.v1.Payload -} -var file_temporal_api_sdk_v1_user_metadata_proto_depIdxs = []int32{ - 1, // 0: temporal.api.sdk.v1.UserMetadata.summary:type_name -> temporal.api.common.v1.Payload - 1, // 1: temporal.api.sdk.v1.UserMetadata.details:type_name -> temporal.api.common.v1.Payload - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_temporal_api_sdk_v1_user_metadata_proto_init() } -func file_temporal_api_sdk_v1_user_metadata_proto_init() { - if File_temporal_api_sdk_v1_user_metadata_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_user_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_user_metadata_proto_rawDesc)), - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_sdk_v1_user_metadata_proto_goTypes, - DependencyIndexes: file_temporal_api_sdk_v1_user_metadata_proto_depIdxs, - MessageInfos: file_temporal_api_sdk_v1_user_metadata_proto_msgTypes, - }.Build() - File_temporal_api_sdk_v1_user_metadata_proto = out.File - file_temporal_api_sdk_v1_user_metadata_proto_goTypes = nil - file_temporal_api_sdk_v1_user_metadata_proto_depIdxs = nil -} diff --git a/build/temporal/api/sdk/v1/worker_config.pb.go b/build/temporal/api/sdk/v1/worker_config.pb.go deleted file mode 100644 index ccabf98..0000000 --- a/build/temporal/api/sdk/v1/worker_config.pb.go +++ /dev/null @@ -1,299 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/sdk/v1/worker_config.proto - -package sdk - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkerConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowCacheSize int32 `protobuf:"varint,1,opt,name=workflow_cache_size,json=workflowCacheSize,proto3" json:"workflow_cache_size,omitempty"` - // Types that are valid to be assigned to PollerBehavior: - // - // *WorkerConfig_SimplePollerBehavior_ - // *WorkerConfig_AutoscalingPollerBehavior_ - PollerBehavior isWorkerConfig_PollerBehavior `protobuf_oneof:"poller_behavior"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerConfig) Reset() { - *x = WorkerConfig{} - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerConfig) ProtoMessage() {} - -func (x *WorkerConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerConfig.ProtoReflect.Descriptor instead. -func (*WorkerConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_worker_config_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkerConfig) GetWorkflowCacheSize() int32 { - if x != nil { - return x.WorkflowCacheSize - } - return 0 -} - -func (x *WorkerConfig) GetPollerBehavior() isWorkerConfig_PollerBehavior { - if x != nil { - return x.PollerBehavior - } - return nil -} - -func (x *WorkerConfig) GetSimplePollerBehavior() *WorkerConfig_SimplePollerBehavior { - if x != nil { - if x, ok := x.PollerBehavior.(*WorkerConfig_SimplePollerBehavior_); ok { - return x.SimplePollerBehavior - } - } - return nil -} - -func (x *WorkerConfig) GetAutoscalingPollerBehavior() *WorkerConfig_AutoscalingPollerBehavior { - if x != nil { - if x, ok := x.PollerBehavior.(*WorkerConfig_AutoscalingPollerBehavior_); ok { - return x.AutoscalingPollerBehavior - } - } - return nil -} - -type isWorkerConfig_PollerBehavior interface { - isWorkerConfig_PollerBehavior() -} - -type WorkerConfig_SimplePollerBehavior_ struct { - SimplePollerBehavior *WorkerConfig_SimplePollerBehavior `protobuf:"bytes,2,opt,name=simple_poller_behavior,json=simplePollerBehavior,proto3,oneof"` -} - -type WorkerConfig_AutoscalingPollerBehavior_ struct { - AutoscalingPollerBehavior *WorkerConfig_AutoscalingPollerBehavior `protobuf:"bytes,3,opt,name=autoscaling_poller_behavior,json=autoscalingPollerBehavior,proto3,oneof"` -} - -func (*WorkerConfig_SimplePollerBehavior_) isWorkerConfig_PollerBehavior() {} - -func (*WorkerConfig_AutoscalingPollerBehavior_) isWorkerConfig_PollerBehavior() {} - -type WorkerConfig_SimplePollerBehavior struct { - state protoimpl.MessageState `protogen:"open.v1"` - MaxPollers int32 `protobuf:"varint,1,opt,name=max_pollers,json=maxPollers,proto3" json:"max_pollers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerConfig_SimplePollerBehavior) Reset() { - *x = WorkerConfig_SimplePollerBehavior{} - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerConfig_SimplePollerBehavior) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerConfig_SimplePollerBehavior) ProtoMessage() {} - -func (x *WorkerConfig_SimplePollerBehavior) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerConfig_SimplePollerBehavior.ProtoReflect.Descriptor instead. -func (*WorkerConfig_SimplePollerBehavior) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_worker_config_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *WorkerConfig_SimplePollerBehavior) GetMaxPollers() int32 { - if x != nil { - return x.MaxPollers - } - return 0 -} - -type WorkerConfig_AutoscalingPollerBehavior struct { - state protoimpl.MessageState `protogen:"open.v1"` - // At least this many poll calls will always be attempted (assuming slots are available). - // Cannot be zero. - MinPollers int32 `protobuf:"varint,1,opt,name=min_pollers,json=minPollers,proto3" json:"min_pollers,omitempty"` - // At most this many poll calls will ever be open at once. Must be >= `minimum`. - MaxPollers int32 `protobuf:"varint,2,opt,name=max_pollers,json=maxPollers,proto3" json:"max_pollers,omitempty"` - // This many polls will be attempted initially before scaling kicks in. Must be between - // - // `minimum` and `maximum`. - InitialPollers int32 `protobuf:"varint,3,opt,name=initial_pollers,json=initialPollers,proto3" json:"initial_pollers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerConfig_AutoscalingPollerBehavior) Reset() { - *x = WorkerConfig_AutoscalingPollerBehavior{} - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerConfig_AutoscalingPollerBehavior) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerConfig_AutoscalingPollerBehavior) ProtoMessage() {} - -func (x *WorkerConfig_AutoscalingPollerBehavior) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_worker_config_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerConfig_AutoscalingPollerBehavior.ProtoReflect.Descriptor instead. -func (*WorkerConfig_AutoscalingPollerBehavior) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_worker_config_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *WorkerConfig_AutoscalingPollerBehavior) GetMinPollers() int32 { - if x != nil { - return x.MinPollers - } - return 0 -} - -func (x *WorkerConfig_AutoscalingPollerBehavior) GetMaxPollers() int32 { - if x != nil { - return x.MaxPollers - } - return 0 -} - -func (x *WorkerConfig_AutoscalingPollerBehavior) GetInitialPollers() int32 { - if x != nil { - return x.InitialPollers - } - return 0 -} - -var File_temporal_api_sdk_v1_worker_config_proto protoreflect.FileDescriptor - -const file_temporal_api_sdk_v1_worker_config_proto_rawDesc = "" + - "\n" + - "'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x82\x04\n" + - "\fWorkerConfig\x12.\n" + - "\x13workflow_cache_size\x18\x01 \x01(\x05R\x11workflowCacheSize\x12n\n" + - "\x16simple_poller_behavior\x18\x02 \x01(\v26.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00R\x14simplePollerBehavior\x12}\n" + - "\x1bautoscaling_poller_behavior\x18\x03 \x01(\v2;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00R\x19autoscalingPollerBehavior\x1a7\n" + - "\x14SimplePollerBehavior\x12\x1f\n" + - "\vmax_pollers\x18\x01 \x01(\x05R\n" + - "maxPollers\x1a\x86\x01\n" + - "\x19AutoscalingPollerBehavior\x12\x1f\n" + - "\vmin_pollers\x18\x01 \x01(\x05R\n" + - "minPollers\x12\x1f\n" + - "\vmax_pollers\x18\x02 \x01(\x05R\n" + - "maxPollers\x12'\n" + - "\x0finitial_pollers\x18\x03 \x01(\x05R\x0einitialPollersB\x11\n" + - "\x0fpoller_behaviorB\x7f\n" + - "\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" - -var ( - file_temporal_api_sdk_v1_worker_config_proto_rawDescOnce sync.Once - file_temporal_api_sdk_v1_worker_config_proto_rawDescData []byte -) - -func file_temporal_api_sdk_v1_worker_config_proto_rawDescGZIP() []byte { - file_temporal_api_sdk_v1_worker_config_proto_rawDescOnce.Do(func() { - file_temporal_api_sdk_v1_worker_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_worker_config_proto_rawDesc), len(file_temporal_api_sdk_v1_worker_config_proto_rawDesc))) - }) - return file_temporal_api_sdk_v1_worker_config_proto_rawDescData -} - -var file_temporal_api_sdk_v1_worker_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_temporal_api_sdk_v1_worker_config_proto_goTypes = []any{ - (*WorkerConfig)(nil), // 0: temporal.api.sdk.v1.WorkerConfig - (*WorkerConfig_SimplePollerBehavior)(nil), // 1: temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior - (*WorkerConfig_AutoscalingPollerBehavior)(nil), // 2: temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior -} -var file_temporal_api_sdk_v1_worker_config_proto_depIdxs = []int32{ - 1, // 0: temporal.api.sdk.v1.WorkerConfig.simple_poller_behavior:type_name -> temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior - 2, // 1: temporal.api.sdk.v1.WorkerConfig.autoscaling_poller_behavior:type_name -> temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_temporal_api_sdk_v1_worker_config_proto_init() } -func file_temporal_api_sdk_v1_worker_config_proto_init() { - if File_temporal_api_sdk_v1_worker_config_proto != nil { - return - } - file_temporal_api_sdk_v1_worker_config_proto_msgTypes[0].OneofWrappers = []any{ - (*WorkerConfig_SimplePollerBehavior_)(nil), - (*WorkerConfig_AutoscalingPollerBehavior_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_worker_config_proto_rawDesc), len(file_temporal_api_sdk_v1_worker_config_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_sdk_v1_worker_config_proto_goTypes, - DependencyIndexes: file_temporal_api_sdk_v1_worker_config_proto_depIdxs, - MessageInfos: file_temporal_api_sdk_v1_worker_config_proto_msgTypes, - }.Build() - File_temporal_api_sdk_v1_worker_config_proto = out.File - file_temporal_api_sdk_v1_worker_config_proto_goTypes = nil - file_temporal_api_sdk_v1_worker_config_proto_depIdxs = nil -} diff --git a/build/temporal/api/sdk/v1/workflow_metadata.pb.go b/build/temporal/api/sdk/v1/workflow_metadata.pb.go deleted file mode 100644 index 34544b8..0000000 --- a/build/temporal/api/sdk/v1/workflow_metadata.pb.go +++ /dev/null @@ -1,289 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/sdk/v1/workflow_metadata.proto - -package sdk - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The name of the query to retrieve this information is `__temporal_workflow_metadata`. -type WorkflowMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Metadata provided at declaration or creation time. - Definition *WorkflowDefinition `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"` - // Current long-form details of the workflow's state. This is used by user interfaces to show - // long-form text. This text may be formatted by the user interface. - CurrentDetails string `protobuf:"bytes,2,opt,name=current_details,json=currentDetails,proto3" json:"current_details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowMetadata) Reset() { - *x = WorkflowMetadata{} - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowMetadata) ProtoMessage() {} - -func (x *WorkflowMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowMetadata.ProtoReflect.Descriptor instead. -func (*WorkflowMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowMetadata) GetDefinition() *WorkflowDefinition { - if x != nil { - return x.Definition - } - return nil -} - -func (x *WorkflowMetadata) GetCurrentDetails() string { - if x != nil { - return x.CurrentDetails - } - return "" -} - -// (-- api-linter: core::0203::optional=disabled --) -type WorkflowDefinition struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A name scoped by the task queue that maps to this workflow definition. - // If missing, this workflow is a dynamic workflow. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Query definitions, sorted by name. - QueryDefinitions []*WorkflowInteractionDefinition `protobuf:"bytes,2,rep,name=query_definitions,json=queryDefinitions,proto3" json:"query_definitions,omitempty"` - // Signal definitions, sorted by name. - SignalDefinitions []*WorkflowInteractionDefinition `protobuf:"bytes,3,rep,name=signal_definitions,json=signalDefinitions,proto3" json:"signal_definitions,omitempty"` - // Update definitions, sorted by name. - UpdateDefinitions []*WorkflowInteractionDefinition `protobuf:"bytes,4,rep,name=update_definitions,json=updateDefinitions,proto3" json:"update_definitions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowDefinition) Reset() { - *x = WorkflowDefinition{} - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowDefinition) ProtoMessage() {} - -func (x *WorkflowDefinition) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowDefinition.ProtoReflect.Descriptor instead. -func (*WorkflowDefinition) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowDefinition) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *WorkflowDefinition) GetQueryDefinitions() []*WorkflowInteractionDefinition { - if x != nil { - return x.QueryDefinitions - } - return nil -} - -func (x *WorkflowDefinition) GetSignalDefinitions() []*WorkflowInteractionDefinition { - if x != nil { - return x.SignalDefinitions - } - return nil -} - -func (x *WorkflowDefinition) GetUpdateDefinitions() []*WorkflowInteractionDefinition { - if x != nil { - return x.UpdateDefinitions - } - return nil -} - -// (-- api-linter: core::0123::resource-annotation=disabled -// -// aip.dev/not-precedent: The `name` field is optional. --) -// -// (-- api-linter: core::0203::optional=disabled --) -type WorkflowInteractionDefinition struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An optional name for the handler. If missing, it represents - // a dynamic handler that processes any interactions not handled by others. - // There is at most one dynamic handler per workflow and interaction kind. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional interaction description provided by the application. - // By convention, external tools may interpret its first part, - // i.e., ending with a line break, as a summary of the description. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowInteractionDefinition) Reset() { - *x = WorkflowInteractionDefinition{} - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowInteractionDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowInteractionDefinition) ProtoMessage() {} - -func (x *WorkflowInteractionDefinition) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowInteractionDefinition.ProtoReflect.Descriptor instead. -func (*WorkflowInteractionDefinition) Descriptor() ([]byte, []int) { - return file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescGZIP(), []int{2} -} - -func (x *WorkflowInteractionDefinition) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *WorkflowInteractionDefinition) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -var File_temporal_api_sdk_v1_workflow_metadata_proto protoreflect.FileDescriptor - -const file_temporal_api_sdk_v1_workflow_metadata_proto_rawDesc = "" + - "\n" + - "+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1\"\x84\x01\n" + - "\x10WorkflowMetadata\x12G\n" + - "\n" + - "definition\x18\x01 \x01(\v2'.temporal.api.sdk.v1.WorkflowDefinitionR\n" + - "definition\x12'\n" + - "\x0fcurrent_details\x18\x02 \x01(\tR\x0ecurrentDetails\"\xcf\x02\n" + - "\x12WorkflowDefinition\x12\x12\n" + - "\x04type\x18\x01 \x01(\tR\x04type\x12_\n" + - "\x11query_definitions\x18\x02 \x03(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\x10queryDefinitions\x12a\n" + - "\x12signal_definitions\x18\x03 \x03(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\x11signalDefinitions\x12a\n" + - "\x12update_definitions\x18\x04 \x03(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\x11updateDefinitions\"U\n" + - "\x1dWorkflowInteractionDefinition\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12 \n" + - "\vdescription\x18\x02 \x01(\tR\vdescriptionB\x83\x01\n" + - "\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" - -var ( - file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescOnce sync.Once - file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescData []byte -) - -func file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescGZIP() []byte { - file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescOnce.Do(func() { - file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_workflow_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_workflow_metadata_proto_rawDesc))) - }) - return file_temporal_api_sdk_v1_workflow_metadata_proto_rawDescData -} - -var file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_temporal_api_sdk_v1_workflow_metadata_proto_goTypes = []any{ - (*WorkflowMetadata)(nil), // 0: temporal.api.sdk.v1.WorkflowMetadata - (*WorkflowDefinition)(nil), // 1: temporal.api.sdk.v1.WorkflowDefinition - (*WorkflowInteractionDefinition)(nil), // 2: temporal.api.sdk.v1.WorkflowInteractionDefinition -} -var file_temporal_api_sdk_v1_workflow_metadata_proto_depIdxs = []int32{ - 1, // 0: temporal.api.sdk.v1.WorkflowMetadata.definition:type_name -> temporal.api.sdk.v1.WorkflowDefinition - 2, // 1: temporal.api.sdk.v1.WorkflowDefinition.query_definitions:type_name -> temporal.api.sdk.v1.WorkflowInteractionDefinition - 2, // 2: temporal.api.sdk.v1.WorkflowDefinition.signal_definitions:type_name -> temporal.api.sdk.v1.WorkflowInteractionDefinition - 2, // 3: temporal.api.sdk.v1.WorkflowDefinition.update_definitions:type_name -> temporal.api.sdk.v1.WorkflowInteractionDefinition - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_temporal_api_sdk_v1_workflow_metadata_proto_init() } -func file_temporal_api_sdk_v1_workflow_metadata_proto_init() { - if File_temporal_api_sdk_v1_workflow_metadata_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_sdk_v1_workflow_metadata_proto_rawDesc), len(file_temporal_api_sdk_v1_workflow_metadata_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_sdk_v1_workflow_metadata_proto_goTypes, - DependencyIndexes: file_temporal_api_sdk_v1_workflow_metadata_proto_depIdxs, - MessageInfos: file_temporal_api_sdk_v1_workflow_metadata_proto_msgTypes, - }.Build() - File_temporal_api_sdk_v1_workflow_metadata_proto = out.File - file_temporal_api_sdk_v1_workflow_metadata_proto_goTypes = nil - file_temporal_api_sdk_v1_workflow_metadata_proto_depIdxs = nil -} diff --git a/build/temporal/api/taskqueue/v1/message.pb.go b/build/temporal/api/taskqueue/v1/message.pb.go deleted file mode 100644 index 1cee1b3..0000000 --- a/build/temporal/api/taskqueue/v1/message.pb.go +++ /dev/null @@ -1,1862 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/taskqueue/v1/message.proto - -package taskqueue - -import ( - v12 "go.temporal.io/api/common/v1" - v11 "go.temporal.io/api/deployment/v1" - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// See https://docs.temporal.io/docs/concepts/task-queues/ -type TaskQueue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Default: TASK_QUEUE_KIND_NORMAL. - Kind v1.TaskQueueKind `protobuf:"varint,2,opt,name=kind,proto3,enum=temporal.api.enums.v1.TaskQueueKind" json:"kind,omitempty"` - // Iff kind == TASK_QUEUE_KIND_STICKY, then this field contains the name of - // the normal task queue that the sticky worker is running on. - NormalName string `protobuf:"bytes,3,opt,name=normal_name,json=normalName,proto3" json:"normal_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueue) Reset() { - *x = TaskQueue{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueue) ProtoMessage() {} - -func (x *TaskQueue) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueue.ProtoReflect.Descriptor instead. -func (*TaskQueue) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *TaskQueue) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *TaskQueue) GetKind() v1.TaskQueueKind { - if x != nil { - return x.Kind - } - return v1.TaskQueueKind(0) -} - -func (x *TaskQueue) GetNormalName() string { - if x != nil { - return x.NormalName - } - return "" -} - -// Only applies to activity task queues -type TaskQueueMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Allows throttling dispatch of tasks from this queue - MaxTasksPerSecond *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=max_tasks_per_second,json=maxTasksPerSecond,proto3" json:"max_tasks_per_second,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueMetadata) Reset() { - *x = TaskQueueMetadata{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueMetadata) ProtoMessage() {} - -func (x *TaskQueueMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueMetadata.ProtoReflect.Descriptor instead. -func (*TaskQueueMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *TaskQueueMetadata) GetMaxTasksPerSecond() *wrapperspb.DoubleValue { - if x != nil { - return x.MaxTasksPerSecond - } - return nil -} - -// Experimental. Worker Deployments are experimental and might significantly change in the future. -type TaskQueueVersioningInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Specifies which Deployment Version should receive new workflow executions and tasks of - // existing unversioned or AutoUpgrade workflows. - // Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) - // Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage - // is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). - CurrentDeploymentVersion *v11.WorkerDeploymentVersion `protobuf:"bytes,7,opt,name=current_deployment_version,json=currentDeploymentVersion,proto3" json:"current_deployment_version,omitempty"` - // Deprecated. Use `current_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. - CurrentVersion string `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` - // When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. - // Must always be different from `current_deployment_version` unless both are nil. - // Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) - // Note that it is possible to ramp from one Version to another Version, or from unversioned - // workers to a particular Version, or from a particular Version to unversioned workers. - RampingDeploymentVersion *v11.WorkerDeploymentVersion `protobuf:"bytes,9,opt,name=ramping_deployment_version,json=rampingDeploymentVersion,proto3" json:"ramping_deployment_version,omitempty"` - // Deprecated. Use `ramping_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. - RampingVersion string `protobuf:"bytes,2,opt,name=ramping_version,json=rampingVersion,proto3" json:"ramping_version,omitempty"` - // Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - // Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - // not yet "promoted" to be the Current Version, likely due to pending validations. - // A 0% value means the Ramping Version is receiving no traffic. - RampingVersionPercentage float32 `protobuf:"fixed32,3,opt,name=ramping_version_percentage,json=rampingVersionPercentage,proto3" json:"ramping_version_percentage,omitempty"` - // Last time versioning information of this Task Queue changed. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueVersioningInfo) Reset() { - *x = TaskQueueVersioningInfo{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueVersioningInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueVersioningInfo) ProtoMessage() {} - -func (x *TaskQueueVersioningInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueVersioningInfo.ProtoReflect.Descriptor instead. -func (*TaskQueueVersioningInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *TaskQueueVersioningInfo) GetCurrentDeploymentVersion() *v11.WorkerDeploymentVersion { - if x != nil { - return x.CurrentDeploymentVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. -func (x *TaskQueueVersioningInfo) GetCurrentVersion() string { - if x != nil { - return x.CurrentVersion - } - return "" -} - -func (x *TaskQueueVersioningInfo) GetRampingDeploymentVersion() *v11.WorkerDeploymentVersion { - if x != nil { - return x.RampingDeploymentVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. -func (x *TaskQueueVersioningInfo) GetRampingVersion() string { - if x != nil { - return x.RampingVersion - } - return "" -} - -func (x *TaskQueueVersioningInfo) GetRampingVersionPercentage() float32 { - if x != nil { - return x.RampingVersionPercentage - } - return 0 -} - -func (x *TaskQueueVersioningInfo) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.UpdateTime - } - return nil -} - -// Used for specifying versions the caller is interested in. -type TaskQueueVersionSelection struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Include specific Build IDs. - BuildIds []string `protobuf:"bytes,1,rep,name=build_ids,json=buildIds,proto3" json:"build_ids,omitempty"` - // Include the unversioned queue. - Unversioned bool `protobuf:"varint,2,opt,name=unversioned,proto3" json:"unversioned,omitempty"` - // Include all active versions. A version is considered active if, in the last few minutes, - // it has had new tasks or polls, or it has been the subject of certain task queue API calls. - AllActive bool `protobuf:"varint,3,opt,name=all_active,json=allActive,proto3" json:"all_active,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueVersionSelection) Reset() { - *x = TaskQueueVersionSelection{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueVersionSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueVersionSelection) ProtoMessage() {} - -func (x *TaskQueueVersionSelection) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueVersionSelection.ProtoReflect.Descriptor instead. -func (*TaskQueueVersionSelection) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *TaskQueueVersionSelection) GetBuildIds() []string { - if x != nil { - return x.BuildIds - } - return nil -} - -func (x *TaskQueueVersionSelection) GetUnversioned() bool { - if x != nil { - return x.Unversioned - } - return false -} - -func (x *TaskQueueVersionSelection) GetAllActive() bool { - if x != nil { - return x.AllActive - } - return false -} - -type TaskQueueVersionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum. - TypesInfo map[int32]*TaskQueueTypeInfo `protobuf:"bytes,1,rep,name=types_info,json=typesInfo,proto3" json:"types_info,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // Task Reachability is eventually consistent; there may be a delay until it converges to the most - // accurate value but it is designed in a way to take the more conservative side until it converges. - // For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. - // - // Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be - // accounted for reachability as server cannot know if they'll happen as they do not use - // assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows - // who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make - // sure to query reachability for the parent/previous workflow's Task Queue as well. - TaskReachability v1.BuildIdTaskReachability `protobuf:"varint,2,opt,name=task_reachability,json=taskReachability,proto3,enum=temporal.api.enums.v1.BuildIdTaskReachability" json:"task_reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueVersionInfo) Reset() { - *x = TaskQueueVersionInfo{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueVersionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueVersionInfo) ProtoMessage() {} - -func (x *TaskQueueVersionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueVersionInfo.ProtoReflect.Descriptor instead. -func (*TaskQueueVersionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *TaskQueueVersionInfo) GetTypesInfo() map[int32]*TaskQueueTypeInfo { - if x != nil { - return x.TypesInfo - } - return nil -} - -func (x *TaskQueueVersionInfo) GetTaskReachability() v1.BuildIdTaskReachability { - if x != nil { - return x.TaskReachability - } - return v1.BuildIdTaskReachability(0) -} - -type TaskQueueTypeInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID. - Pollers []*PollerInfo `protobuf:"bytes,1,rep,name=pollers,proto3" json:"pollers,omitempty"` - Stats *TaskQueueStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueTypeInfo) Reset() { - *x = TaskQueueTypeInfo{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueTypeInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueTypeInfo) ProtoMessage() {} - -func (x *TaskQueueTypeInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueTypeInfo.ProtoReflect.Descriptor instead. -func (*TaskQueueTypeInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *TaskQueueTypeInfo) GetPollers() []*PollerInfo { - if x != nil { - return x.Pollers - } - return nil -} - -func (x *TaskQueueTypeInfo) GetStats() *TaskQueueStats { - if x != nil { - return x.Stats - } - return nil -} - -// TaskQueueStats contains statistics about task queue backlog and activity. -// -// For workflow task queue type, this result is partial because tasks sent to sticky queues are not included. Read -// comments above each metric to understand the impact of sticky queue exclusion on that metric accuracy. -type TaskQueueStats struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually - // converges to the right value. Can be relied upon for scaling decisions. - // - // Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because - // those tasks only remain valid for a few seconds, the inaccuracy becomes less significant as the backlog size - // grows. - ApproximateBacklogCount int64 `protobuf:"varint,1,opt,name=approximate_backlog_count,json=approximateBacklogCount,proto3" json:"approximate_backlog_count,omitempty"` - // Approximate age of the oldest task in the backlog based on the creation time of the task at the head of - // the queue. Can be relied upon for scaling decisions. - // - // Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because - // those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than - // few seconds. - ApproximateBacklogAge *durationpb.Duration `protobuf:"bytes,2,opt,name=approximate_backlog_age,json=approximateBacklogAge,proto3" json:"approximate_backlog_age,omitempty"` - // The approximate tasks per second added to the task queue, averaging the last 30 seconds. These includes tasks - // whether or not they were added to/dispatched from the backlog or they were dispatched immediately without going - // to the backlog (sync-matched). - // - // The difference between `tasks_add_rate` and `tasks_dispatch_rate` is a reliable metric for the rate at which - // backlog grows/shrinks. - // - // Note: the actual tasks delivered to the workers may significantly be higher than the numbers reported by - // tasks_add_rate, because: - // - Tasks can be sent to workers without going to the task queue. This is called Eager dispatch. Eager dispatch is - // enable for activities by default in the latest SDKs. - // - Tasks going to Sticky queue are not accounted for. Note that, typically, only the first workflow task of each - // workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific - // worker instance. - TasksAddRate float32 `protobuf:"fixed32,3,opt,name=tasks_add_rate,json=tasksAddRate,proto3" json:"tasks_add_rate,omitempty"` - // The approximate tasks per second dispatched from the task queue, averaging the last 30 seconds. These includes - // tasks whether or not they were added to/dispatched from the backlog or they were dispatched immediately without - // going to the backlog (sync-matched). - // - // The difference between `tasks_add_rate` and `tasks_dispatch_rate` is a reliable metric for the rate at which - // backlog grows/shrinks. - // - // Note: the actual tasks delivered to the workers may significantly be higher than the numbers reported by - // tasks_dispatch_rate, because: - // - Tasks can be sent to workers without going to the task queue. This is called Eager dispatch. Eager dispatch is - // enable for activities by default in the latest SDKs. - // - Tasks going to Sticky queue are not accounted for. Note that, typically, only the first workflow task of each - // workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific - // worker instance. - TasksDispatchRate float32 `protobuf:"fixed32,4,opt,name=tasks_dispatch_rate,json=tasksDispatchRate,proto3" json:"tasks_dispatch_rate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueStats) Reset() { - *x = TaskQueueStats{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueStats) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueStats) ProtoMessage() {} - -func (x *TaskQueueStats) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueStats.ProtoReflect.Descriptor instead. -func (*TaskQueueStats) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *TaskQueueStats) GetApproximateBacklogCount() int64 { - if x != nil { - return x.ApproximateBacklogCount - } - return 0 -} - -func (x *TaskQueueStats) GetApproximateBacklogAge() *durationpb.Duration { - if x != nil { - return x.ApproximateBacklogAge - } - return nil -} - -func (x *TaskQueueStats) GetTasksAddRate() float32 { - if x != nil { - return x.TasksAddRate - } - return 0 -} - -func (x *TaskQueueStats) GetTasksDispatchRate() float32 { - if x != nil { - return x.TasksDispatchRate - } - return 0 -} - -// Deprecated. Use `InternalTaskQueueStatus`. This is kept until `DescribeTaskQueue` supports legacy behavior. -type TaskQueueStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - BacklogCountHint int64 `protobuf:"varint,1,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"` - ReadLevel int64 `protobuf:"varint,2,opt,name=read_level,json=readLevel,proto3" json:"read_level,omitempty"` - AckLevel int64 `protobuf:"varint,3,opt,name=ack_level,json=ackLevel,proto3" json:"ack_level,omitempty"` - RatePerSecond float64 `protobuf:"fixed64,4,opt,name=rate_per_second,json=ratePerSecond,proto3" json:"rate_per_second,omitempty"` - TaskIdBlock *TaskIdBlock `protobuf:"bytes,5,opt,name=task_id_block,json=taskIdBlock,proto3" json:"task_id_block,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueStatus) Reset() { - *x = TaskQueueStatus{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueStatus) ProtoMessage() {} - -func (x *TaskQueueStatus) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueStatus.ProtoReflect.Descriptor instead. -func (*TaskQueueStatus) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *TaskQueueStatus) GetBacklogCountHint() int64 { - if x != nil { - return x.BacklogCountHint - } - return 0 -} - -func (x *TaskQueueStatus) GetReadLevel() int64 { - if x != nil { - return x.ReadLevel - } - return 0 -} - -func (x *TaskQueueStatus) GetAckLevel() int64 { - if x != nil { - return x.AckLevel - } - return 0 -} - -func (x *TaskQueueStatus) GetRatePerSecond() float64 { - if x != nil { - return x.RatePerSecond - } - return 0 -} - -func (x *TaskQueueStatus) GetTaskIdBlock() *TaskIdBlock { - if x != nil { - return x.TaskIdBlock - } - return nil -} - -type TaskIdBlock struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartId int64 `protobuf:"varint,1,opt,name=start_id,json=startId,proto3" json:"start_id,omitempty"` - EndId int64 `protobuf:"varint,2,opt,name=end_id,json=endId,proto3" json:"end_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskIdBlock) Reset() { - *x = TaskIdBlock{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskIdBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskIdBlock) ProtoMessage() {} - -func (x *TaskIdBlock) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskIdBlock.ProtoReflect.Descriptor instead. -func (*TaskIdBlock) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *TaskIdBlock) GetStartId() int64 { - if x != nil { - return x.StartId - } - return 0 -} - -func (x *TaskIdBlock) GetEndId() int64 { - if x != nil { - return x.EndId - } - return 0 -} - -type TaskQueuePartitionMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - OwnerHostName string `protobuf:"bytes,2,opt,name=owner_host_name,json=ownerHostName,proto3" json:"owner_host_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueuePartitionMetadata) Reset() { - *x = TaskQueuePartitionMetadata{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueuePartitionMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueuePartitionMetadata) ProtoMessage() {} - -func (x *TaskQueuePartitionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueuePartitionMetadata.ProtoReflect.Descriptor instead. -func (*TaskQueuePartitionMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *TaskQueuePartitionMetadata) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *TaskQueuePartitionMetadata) GetOwnerHostName() string { - if x != nil { - return x.OwnerHostName - } - return "" -} - -type PollerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - LastAccessTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_access_time,json=lastAccessTime,proto3" json:"last_access_time,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - RatePerSecond float64 `protobuf:"fixed64,3,opt,name=rate_per_second,json=ratePerSecond,proto3" json:"rate_per_second,omitempty"` - // If a worker has opted into the worker versioning feature while polling, its capabilities will - // appear here. - // Deprecated. Replaced by deployment_options. - // - // Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. - WorkerVersionCapabilities *v12.WorkerVersionCapabilities `protobuf:"bytes,4,opt,name=worker_version_capabilities,json=workerVersionCapabilities,proto3" json:"worker_version_capabilities,omitempty"` - // Worker deployment options that SDK sent to server. - DeploymentOptions *v11.WorkerDeploymentOptions `protobuf:"bytes,5,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollerInfo) Reset() { - *x = PollerInfo{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollerInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollerInfo) ProtoMessage() {} - -func (x *PollerInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollerInfo.ProtoReflect.Descriptor instead. -func (*PollerInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *PollerInfo) GetLastAccessTime() *timestamppb.Timestamp { - if x != nil { - return x.LastAccessTime - } - return nil -} - -func (x *PollerInfo) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PollerInfo) GetRatePerSecond() float64 { - if x != nil { - return x.RatePerSecond - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/taskqueue/v1/message.proto. -func (x *PollerInfo) GetWorkerVersionCapabilities() *v12.WorkerVersionCapabilities { - if x != nil { - return x.WorkerVersionCapabilities - } - return nil -} - -func (x *PollerInfo) GetDeploymentOptions() *v11.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type StickyExecutionAttributes struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerTaskQueue *TaskQueue `protobuf:"bytes,1,opt,name=worker_task_queue,json=workerTaskQueue,proto3" json:"worker_task_queue,omitempty"` - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToStartTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StickyExecutionAttributes) Reset() { - *x = StickyExecutionAttributes{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StickyExecutionAttributes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickyExecutionAttributes) ProtoMessage() {} - -func (x *StickyExecutionAttributes) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickyExecutionAttributes.ProtoReflect.Descriptor instead. -func (*StickyExecutionAttributes) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *StickyExecutionAttributes) GetWorkerTaskQueue() *TaskQueue { - if x != nil { - return x.WorkerTaskQueue - } - return nil -} - -func (x *StickyExecutionAttributes) GetScheduleToStartTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToStartTimeout - } - return nil -} - -// Used by the worker versioning APIs, represents an unordered set of one or more versions which are -// considered to be compatible with each other. Currently the versions are always worker build IDs. -type CompatibleVersionSet struct { - state protoimpl.MessageState `protogen:"open.v1"` - // All the compatible versions, unordered, except for the last element, which is considered the set "default". - BuildIds []string `protobuf:"bytes,1,rep,name=build_ids,json=buildIds,proto3" json:"build_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CompatibleVersionSet) Reset() { - *x = CompatibleVersionSet{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CompatibleVersionSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompatibleVersionSet) ProtoMessage() {} - -func (x *CompatibleVersionSet) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CompatibleVersionSet.ProtoReflect.Descriptor instead. -func (*CompatibleVersionSet) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *CompatibleVersionSet) GetBuildIds() []string { - if x != nil { - return x.BuildIds - } - return nil -} - -// Reachability of tasks for a worker on a single task queue. -type TaskQueueReachability struct { - state protoimpl.MessageState `protogen:"open.v1"` - TaskQueue string `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Task reachability for a worker in a single task queue. - // See the TaskReachability docstring for information about each enum variant. - // If reachability is empty, this worker is considered unreachable in this task queue. - Reachability []v1.TaskReachability `protobuf:"varint,2,rep,packed,name=reachability,proto3,enum=temporal.api.enums.v1.TaskReachability" json:"reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueReachability) Reset() { - *x = TaskQueueReachability{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueReachability) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueReachability) ProtoMessage() {} - -func (x *TaskQueueReachability) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueReachability.ProtoReflect.Descriptor instead. -func (*TaskQueueReachability) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *TaskQueueReachability) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *TaskQueueReachability) GetReachability() []v1.TaskReachability { - if x != nil { - return x.Reachability - } - return nil -} - -// Reachability of tasks for a worker by build id, in one or more task queues. -type BuildIdReachability struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A build id or empty if unversioned. - BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Reachability per task queue. - TaskQueueReachability []*TaskQueueReachability `protobuf:"bytes,2,rep,name=task_queue_reachability,json=taskQueueReachability,proto3" json:"task_queue_reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BuildIdReachability) Reset() { - *x = BuildIdReachability{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BuildIdReachability) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BuildIdReachability) ProtoMessage() {} - -func (x *BuildIdReachability) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BuildIdReachability.ProtoReflect.Descriptor instead. -func (*BuildIdReachability) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *BuildIdReachability) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *BuildIdReachability) GetTaskQueueReachability() []*TaskQueueReachability { - if x != nil { - return x.TaskQueueReachability - } - return nil -} - -type RampByPercentage struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Acceptable range is [0,100). - RampPercentage float32 `protobuf:"fixed32,1,opt,name=ramp_percentage,json=rampPercentage,proto3" json:"ramp_percentage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RampByPercentage) Reset() { - *x = RampByPercentage{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RampByPercentage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RampByPercentage) ProtoMessage() {} - -func (x *RampByPercentage) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RampByPercentage.ProtoReflect.Descriptor instead. -func (*RampByPercentage) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *RampByPercentage) GetRampPercentage() float32 { - if x != nil { - return x.RampPercentage - } - return 0 -} - -// Assignment rules are applied to *new* Workflow and Activity executions at -// schedule time to assign them to a Build ID. -// -// Assignment rules will not be used in the following cases: -// - Child Workflows or Continue-As-New Executions who inherit their -// parent/previous Workflow's assigned Build ID (by setting the -// `inherit_build_id` flag - default behavior in SDKs when the same Task Queue -// is used.) -// - An Activity that inherits the assigned Build ID of its Workflow (by -// setting the `use_workflow_build_id` flag - default behavior in SDKs -// when the same Task Queue is used.) -// -// In absence of (applicable) redirect rules (`CompatibleBuildIdRedirectRule`s) -// the task will be dispatched to Workers of the Build ID determined by the -// assignment rules (or inherited). Otherwise, the final Build ID will be -// determined by the redirect rules. -// -// Once a Workflow completes its first Workflow Task in a particular Build ID it -// stays in that Build ID regardless of changes to assignment rules. Redirect -// rules can be used to move the workflow to another compatible Build ID. -// -// When using Worker Versioning on a Task Queue, in the steady state, -// there should typically be a single assignment rule to send all new executions -// to the latest Build ID. Existence of at least one such "unconditional" -// rule at all times is enforces by the system, unless the `force` flag is used -// by the user when replacing/deleting these rules (for exceptional cases). -// -// During a deployment, one or more additional rules can be added to assign a -// subset of the tasks to a new Build ID based on a "ramp percentage". -// -// When there are multiple assignment rules for a Task Queue, the rules are -// evaluated in order, starting from index 0. The first applicable rule will be -// applied and the rest will be ignored. -// -// In the event that no assignment rule is applicable on a task (or the Task -// Queue is simply not versioned), the tasks will be dispatched to an -// unversioned Worker. -type BuildIdAssignmentRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - TargetBuildId string `protobuf:"bytes,1,opt,name=target_build_id,json=targetBuildId,proto3" json:"target_build_id,omitempty"` - // If a ramp is provided, this rule will be applied only to a sample of - // tasks according to the provided percentage. - // This option can be used only on "terminal" Build IDs (the ones not used - // as source in any redirect rules). - // - // Types that are valid to be assigned to Ramp: - // - // *BuildIdAssignmentRule_PercentageRamp - Ramp isBuildIdAssignmentRule_Ramp `protobuf_oneof:"ramp"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BuildIdAssignmentRule) Reset() { - *x = BuildIdAssignmentRule{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BuildIdAssignmentRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BuildIdAssignmentRule) ProtoMessage() {} - -func (x *BuildIdAssignmentRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BuildIdAssignmentRule.ProtoReflect.Descriptor instead. -func (*BuildIdAssignmentRule) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{16} -} - -func (x *BuildIdAssignmentRule) GetTargetBuildId() string { - if x != nil { - return x.TargetBuildId - } - return "" -} - -func (x *BuildIdAssignmentRule) GetRamp() isBuildIdAssignmentRule_Ramp { - if x != nil { - return x.Ramp - } - return nil -} - -func (x *BuildIdAssignmentRule) GetPercentageRamp() *RampByPercentage { - if x != nil { - if x, ok := x.Ramp.(*BuildIdAssignmentRule_PercentageRamp); ok { - return x.PercentageRamp - } - } - return nil -} - -type isBuildIdAssignmentRule_Ramp interface { - isBuildIdAssignmentRule_Ramp() -} - -type BuildIdAssignmentRule_PercentageRamp struct { - // This ramp is useful for gradual Blue/Green deployments (and similar) - // where you want to send a certain portion of the traffic to the target - // Build ID. - PercentageRamp *RampByPercentage `protobuf:"bytes,3,opt,name=percentage_ramp,json=percentageRamp,proto3,oneof"` -} - -func (*BuildIdAssignmentRule_PercentageRamp) isBuildIdAssignmentRule_Ramp() {} - -// These rules apply to tasks assigned to a particular Build ID -// (`source_build_id`) to redirect them to another *compatible* Build ID -// (`target_build_id`). -// -// It is user's responsibility to ensure that the target Build ID is compatible -// with the source Build ID (e.g. by using the Patching API). -// -// Most deployments are not expected to need these rules, however following -// situations can greatly benefit from redirects: -// - Need to move long-running Workflow Executions from an old Build ID to a -// newer one. -// - Need to hotfix some broken or stuck Workflow Executions. -// -// In steady state, redirect rules are beneficial when dealing with old -// Executions ran on now-decommissioned Build IDs: -// - To redirecting the Workflow Queries to the current (compatible) Build ID. -// - To be able to Reset an old Execution so it can run on the current -// (compatible) Build ID. -// -// Redirect rules can be chained. -type CompatibleBuildIdRedirectRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - SourceBuildId string `protobuf:"bytes,1,opt,name=source_build_id,json=sourceBuildId,proto3" json:"source_build_id,omitempty"` - // Target Build ID must be compatible with the Source Build ID; that is it - // must be able to process event histories made by the Source Build ID by - // using [Patching](https://docs.temporal.io/workflows#patching) or other - // means. - TargetBuildId string `protobuf:"bytes,2,opt,name=target_build_id,json=targetBuildId,proto3" json:"target_build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CompatibleBuildIdRedirectRule) Reset() { - *x = CompatibleBuildIdRedirectRule{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CompatibleBuildIdRedirectRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompatibleBuildIdRedirectRule) ProtoMessage() {} - -func (x *CompatibleBuildIdRedirectRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CompatibleBuildIdRedirectRule.ProtoReflect.Descriptor instead. -func (*CompatibleBuildIdRedirectRule) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{17} -} - -func (x *CompatibleBuildIdRedirectRule) GetSourceBuildId() string { - if x != nil { - return x.SourceBuildId - } - return "" -} - -func (x *CompatibleBuildIdRedirectRule) GetTargetBuildId() string { - if x != nil { - return x.TargetBuildId - } - return "" -} - -type TimestampedBuildIdAssignmentRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *BuildIdAssignmentRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimestampedBuildIdAssignmentRule) Reset() { - *x = TimestampedBuildIdAssignmentRule{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimestampedBuildIdAssignmentRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimestampedBuildIdAssignmentRule) ProtoMessage() {} - -func (x *TimestampedBuildIdAssignmentRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimestampedBuildIdAssignmentRule.ProtoReflect.Descriptor instead. -func (*TimestampedBuildIdAssignmentRule) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{18} -} - -func (x *TimestampedBuildIdAssignmentRule) GetRule() *BuildIdAssignmentRule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *TimestampedBuildIdAssignmentRule) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -type TimestampedCompatibleBuildIdRedirectRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *CompatibleBuildIdRedirectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TimestampedCompatibleBuildIdRedirectRule) Reset() { - *x = TimestampedCompatibleBuildIdRedirectRule{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TimestampedCompatibleBuildIdRedirectRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimestampedCompatibleBuildIdRedirectRule) ProtoMessage() {} - -func (x *TimestampedCompatibleBuildIdRedirectRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimestampedCompatibleBuildIdRedirectRule.ProtoReflect.Descriptor instead. -func (*TimestampedCompatibleBuildIdRedirectRule) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{19} -} - -func (x *TimestampedCompatibleBuildIdRedirectRule) GetRule() *CompatibleBuildIdRedirectRule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *TimestampedCompatibleBuildIdRedirectRule) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -// Attached to task responses to give hints to the SDK about how it may adjust its number of -// pollers. -type PollerScalingDecision struct { - state protoimpl.MessageState `protogen:"open.v1"` - // How many poll requests to suggest should be added or removed, if any. As of now, server only - // scales up or down by 1. However, SDKs should allow for other values (while staying within - // defined min/max). - // - // The SDK is free to ignore this suggestion, EX: making more polls would not make sense because - // all slots are already occupied. - PollRequestDeltaSuggestion int32 `protobuf:"varint,1,opt,name=poll_request_delta_suggestion,json=pollRequestDeltaSuggestion,proto3" json:"poll_request_delta_suggestion,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollerScalingDecision) Reset() { - *x = PollerScalingDecision{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollerScalingDecision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollerScalingDecision) ProtoMessage() {} - -func (x *PollerScalingDecision) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollerScalingDecision.ProtoReflect.Descriptor instead. -func (*PollerScalingDecision) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{20} -} - -func (x *PollerScalingDecision) GetPollRequestDeltaSuggestion() int32 { - if x != nil { - return x.PollRequestDeltaSuggestion - } - return 0 -} - -type RateLimit struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Zero is a valid rate limit. - RequestsPerSecond float32 `protobuf:"fixed32,1,opt,name=requests_per_second,json=requestsPerSecond,proto3" json:"requests_per_second,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RateLimit) Reset() { - *x = RateLimit{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RateLimit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RateLimit) ProtoMessage() {} - -func (x *RateLimit) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RateLimit.ProtoReflect.Descriptor instead. -func (*RateLimit) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{21} -} - -func (x *RateLimit) GetRequestsPerSecond() float32 { - if x != nil { - return x.RequestsPerSecond - } - return 0 -} - -type ConfigMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Reason for why the config was set. - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - // Identity of the last updater. - // Set by the request's identity field. - UpdateIdentity string `protobuf:"bytes,2,opt,name=update_identity,json=updateIdentity,proto3" json:"update_identity,omitempty"` - // Time of the last update. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConfigMetadata) Reset() { - *x = ConfigMetadata{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConfigMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigMetadata) ProtoMessage() {} - -func (x *ConfigMetadata) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConfigMetadata.ProtoReflect.Descriptor instead. -func (*ConfigMetadata) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{22} -} - -func (x *ConfigMetadata) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *ConfigMetadata) GetUpdateIdentity() string { - if x != nil { - return x.UpdateIdentity - } - return "" -} - -func (x *ConfigMetadata) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.UpdateTime - } - return nil -} - -type RateLimitConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - RateLimit *RateLimit `protobuf:"bytes,1,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"` - Metadata *ConfigMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RateLimitConfig) Reset() { - *x = RateLimitConfig{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RateLimitConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RateLimitConfig) ProtoMessage() {} - -func (x *RateLimitConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RateLimitConfig.ProtoReflect.Descriptor instead. -func (*RateLimitConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{23} -} - -func (x *RateLimitConfig) GetRateLimit() *RateLimit { - if x != nil { - return x.RateLimit - } - return nil -} - -func (x *RateLimitConfig) GetMetadata() *ConfigMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -type TaskQueueConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Unless modified, this is the system-defined rate limit. - QueueRateLimit *RateLimitConfig `protobuf:"bytes,1,opt,name=queue_rate_limit,json=queueRateLimit,proto3" json:"queue_rate_limit,omitempty"` - // If set, each individual fairness key will be limited to this rate, scaled by the weight of the fairness key. - FairnessKeysRateLimitDefault *RateLimitConfig `protobuf:"bytes,2,opt,name=fairness_keys_rate_limit_default,json=fairnessKeysRateLimitDefault,proto3" json:"fairness_keys_rate_limit_default,omitempty"` - // If set, overrides the fairness weights for the corresponding fairness keys. - FairnessWeightOverrides map[string]float32 `protobuf:"bytes,3,rep,name=fairness_weight_overrides,json=fairnessWeightOverrides,proto3" json:"fairness_weight_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TaskQueueConfig) Reset() { - *x = TaskQueueConfig{} - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TaskQueueConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TaskQueueConfig) ProtoMessage() {} - -func (x *TaskQueueConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_taskqueue_v1_message_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TaskQueueConfig.ProtoReflect.Descriptor instead. -func (*TaskQueueConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP(), []int{24} -} - -func (x *TaskQueueConfig) GetQueueRateLimit() *RateLimitConfig { - if x != nil { - return x.QueueRateLimit - } - return nil -} - -func (x *TaskQueueConfig) GetFairnessKeysRateLimitDefault() *RateLimitConfig { - if x != nil { - return x.FairnessKeysRateLimitDefault - } - return nil -} - -func (x *TaskQueueConfig) GetFairnessWeightOverrides() map[string]float32 { - if x != nil { - return x.FairnessWeightOverrides - } - return nil -} - -var File_temporal_api_taskqueue_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_taskqueue_v1_message_proto_rawDesc = "" + - "\n" + - "'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"z\n" + - "\tTaskQueue\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x128\n" + - "\x04kind\x18\x02 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueKindR\x04kind\x12\x1f\n" + - "\vnormal_name\x18\x03 \x01(\tR\n" + - "normalName\"b\n" + - "\x11TaskQueueMetadata\x12M\n" + - "\x14max_tasks_per_second\x18\x01 \x01(\v2\x1c.google.protobuf.DoubleValueR\x11maxTasksPerSecond\"\xd4\x03\n" + - "\x17TaskQueueVersioningInfo\x12q\n" + - "\x1acurrent_deployment_version\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x18currentDeploymentVersion\x12+\n" + - "\x0fcurrent_version\x18\x01 \x01(\tB\x02\x18\x01R\x0ecurrentVersion\x12q\n" + - "\x1aramping_deployment_version\x18\t \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x18rampingDeploymentVersion\x12+\n" + - "\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01R\x0erampingVersion\x12<\n" + - "\x1aramping_version_percentage\x18\x03 \x01(\x02R\x18rampingVersionPercentage\x12;\n" + - "\vupdate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "updateTime\"y\n" + - "\x19TaskQueueVersionSelection\x12\x1b\n" + - "\tbuild_ids\x18\x01 \x03(\tR\bbuildIds\x12 \n" + - "\vunversioned\x18\x02 \x01(\bR\vunversioned\x12\x1d\n" + - "\n" + - "all_active\x18\x03 \x01(\bR\tallActive\"\xbe\x02\n" + - "\x14TaskQueueVersionInfo\x12]\n" + - "\n" + - "types_info\x18\x01 \x03(\v2>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntryR\ttypesInfo\x12[\n" + - "\x11task_reachability\x18\x02 \x01(\x0e2..temporal.api.enums.v1.BuildIdTaskReachabilityR\x10taskReachability\x1aj\n" + - "\x0eTypesInfoEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\x05R\x03key\x12B\n" + - "\x05value\x18\x02 \x01(\v2,.temporal.api.taskqueue.v1.TaskQueueTypeInfoR\x05value:\x028\x01\"\x95\x01\n" + - "\x11TaskQueueTypeInfo\x12?\n" + - "\apollers\x18\x01 \x03(\v2%.temporal.api.taskqueue.v1.PollerInfoR\apollers\x12?\n" + - "\x05stats\x18\x02 \x01(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\x05stats\"\xf5\x01\n" + - "\x0eTaskQueueStats\x12:\n" + - "\x19approximate_backlog_count\x18\x01 \x01(\x03R\x17approximateBacklogCount\x12Q\n" + - "\x17approximate_backlog_age\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x15approximateBacklogAge\x12$\n" + - "\x0etasks_add_rate\x18\x03 \x01(\x02R\ftasksAddRate\x12.\n" + - "\x13tasks_dispatch_rate\x18\x04 \x01(\x02R\x11tasksDispatchRate\"\xef\x01\n" + - "\x0fTaskQueueStatus\x12,\n" + - "\x12backlog_count_hint\x18\x01 \x01(\x03R\x10backlogCountHint\x12\x1d\n" + - "\n" + - "read_level\x18\x02 \x01(\x03R\treadLevel\x12\x1b\n" + - "\tack_level\x18\x03 \x01(\x03R\backLevel\x12&\n" + - "\x0frate_per_second\x18\x04 \x01(\x01R\rratePerSecond\x12J\n" + - "\rtask_id_block\x18\x05 \x01(\v2&.temporal.api.taskqueue.v1.TaskIdBlockR\vtaskIdBlock\"?\n" + - "\vTaskIdBlock\x12\x19\n" + - "\bstart_id\x18\x01 \x01(\x03R\astartId\x12\x15\n" + - "\x06end_id\x18\x02 \x01(\x03R\x05endId\"V\n" + - "\x1aTaskQueuePartitionMetadata\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12&\n" + - "\x0fowner_host_name\x18\x02 \x01(\tR\rownerHostName\"\xf1\x02\n" + - "\n" + - "PollerInfo\x12D\n" + - "\x10last_access_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x0elastAccessTime\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12&\n" + - "\x0frate_per_second\x18\x03 \x01(\x01R\rratePerSecond\x12u\n" + - "\x1bworker_version_capabilities\x18\x04 \x01(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01R\x19workerVersionCapabilities\x12b\n" + - "\x12deployment_options\x18\x05 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"\xc3\x01\n" + - "\x19StickyExecutionAttributes\x12P\n" + - "\x11worker_task_queue\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\x0fworkerTaskQueue\x12T\n" + - "\x19schedule_to_start_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToStartTimeout\"3\n" + - "\x14CompatibleVersionSet\x12\x1b\n" + - "\tbuild_ids\x18\x01 \x03(\tR\bbuildIds\"\x83\x01\n" + - "\x15TaskQueueReachability\x12\x1d\n" + - "\n" + - "task_queue\x18\x01 \x01(\tR\ttaskQueue\x12K\n" + - "\freachability\x18\x02 \x03(\x0e2'.temporal.api.enums.v1.TaskReachabilityR\freachability\"\x9a\x01\n" + - "\x13BuildIdReachability\x12\x19\n" + - "\bbuild_id\x18\x01 \x01(\tR\abuildId\x12h\n" + - "\x17task_queue_reachability\x18\x02 \x03(\v20.temporal.api.taskqueue.v1.TaskQueueReachabilityR\x15taskQueueReachability\";\n" + - "\x10RampByPercentage\x12'\n" + - "\x0framp_percentage\x18\x01 \x01(\x02R\x0erampPercentage\"\x9f\x01\n" + - "\x15BuildIdAssignmentRule\x12&\n" + - "\x0ftarget_build_id\x18\x01 \x01(\tR\rtargetBuildId\x12V\n" + - "\x0fpercentage_ramp\x18\x03 \x01(\v2+.temporal.api.taskqueue.v1.RampByPercentageH\x00R\x0epercentageRampB\x06\n" + - "\x04ramp\"o\n" + - "\x1dCompatibleBuildIdRedirectRule\x12&\n" + - "\x0fsource_build_id\x18\x01 \x01(\tR\rsourceBuildId\x12&\n" + - "\x0ftarget_build_id\x18\x02 \x01(\tR\rtargetBuildId\"\xa5\x01\n" + - " TimestampedBuildIdAssignmentRule\x12D\n" + - "\x04rule\x18\x01 \x01(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\x04rule\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\"\xb5\x01\n" + - "(TimestampedCompatibleBuildIdRedirectRule\x12L\n" + - "\x04rule\x18\x01 \x01(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\x04rule\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\"Z\n" + - "\x15PollerScalingDecision\x12A\n" + - "\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05R\x1apollRequestDeltaSuggestion\";\n" + - "\tRateLimit\x12.\n" + - "\x13requests_per_second\x18\x01 \x01(\x02R\x11requestsPerSecond\"\x8e\x01\n" + - "\x0eConfigMetadata\x12\x16\n" + - "\x06reason\x18\x01 \x01(\tR\x06reason\x12'\n" + - "\x0fupdate_identity\x18\x02 \x01(\tR\x0eupdateIdentity\x12;\n" + - "\vupdate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "updateTime\"\x9d\x01\n" + - "\x0fRateLimitConfig\x12C\n" + - "\n" + - "rate_limit\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.RateLimitR\trateLimit\x12E\n" + - "\bmetadata\x18\x02 \x01(\v2).temporal.api.taskqueue.v1.ConfigMetadataR\bmetadata\"\xad\x03\n" + - "\x0fTaskQueueConfig\x12T\n" + - "\x10queue_rate_limit\x18\x01 \x01(\v2*.temporal.api.taskqueue.v1.RateLimitConfigR\x0equeueRateLimit\x12r\n" + - " fairness_keys_rate_limit_default\x18\x02 \x01(\v2*.temporal.api.taskqueue.v1.RateLimitConfigR\x1cfairnessKeysRateLimitDefault\x12\x83\x01\n" + - "\x19fairness_weight_overrides\x18\x03 \x03(\v2G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntryR\x17fairnessWeightOverrides\x1aJ\n" + - "\x1cFairnessWeightOverridesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01B\x98\x01\n" + - "\x1cio.temporal.api.taskqueue.v1B\fMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3" - -var ( - file_temporal_api_taskqueue_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_taskqueue_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_taskqueue_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_taskqueue_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_taskqueue_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_taskqueue_v1_message_proto_rawDesc), len(file_temporal_api_taskqueue_v1_message_proto_rawDesc))) - }) - return file_temporal_api_taskqueue_v1_message_proto_rawDescData -} - -var file_temporal_api_taskqueue_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_temporal_api_taskqueue_v1_message_proto_goTypes = []any{ - (*TaskQueue)(nil), // 0: temporal.api.taskqueue.v1.TaskQueue - (*TaskQueueMetadata)(nil), // 1: temporal.api.taskqueue.v1.TaskQueueMetadata - (*TaskQueueVersioningInfo)(nil), // 2: temporal.api.taskqueue.v1.TaskQueueVersioningInfo - (*TaskQueueVersionSelection)(nil), // 3: temporal.api.taskqueue.v1.TaskQueueVersionSelection - (*TaskQueueVersionInfo)(nil), // 4: temporal.api.taskqueue.v1.TaskQueueVersionInfo - (*TaskQueueTypeInfo)(nil), // 5: temporal.api.taskqueue.v1.TaskQueueTypeInfo - (*TaskQueueStats)(nil), // 6: temporal.api.taskqueue.v1.TaskQueueStats - (*TaskQueueStatus)(nil), // 7: temporal.api.taskqueue.v1.TaskQueueStatus - (*TaskIdBlock)(nil), // 8: temporal.api.taskqueue.v1.TaskIdBlock - (*TaskQueuePartitionMetadata)(nil), // 9: temporal.api.taskqueue.v1.TaskQueuePartitionMetadata - (*PollerInfo)(nil), // 10: temporal.api.taskqueue.v1.PollerInfo - (*StickyExecutionAttributes)(nil), // 11: temporal.api.taskqueue.v1.StickyExecutionAttributes - (*CompatibleVersionSet)(nil), // 12: temporal.api.taskqueue.v1.CompatibleVersionSet - (*TaskQueueReachability)(nil), // 13: temporal.api.taskqueue.v1.TaskQueueReachability - (*BuildIdReachability)(nil), // 14: temporal.api.taskqueue.v1.BuildIdReachability - (*RampByPercentage)(nil), // 15: temporal.api.taskqueue.v1.RampByPercentage - (*BuildIdAssignmentRule)(nil), // 16: temporal.api.taskqueue.v1.BuildIdAssignmentRule - (*CompatibleBuildIdRedirectRule)(nil), // 17: temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule - (*TimestampedBuildIdAssignmentRule)(nil), // 18: temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule - (*TimestampedCompatibleBuildIdRedirectRule)(nil), // 19: temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule - (*PollerScalingDecision)(nil), // 20: temporal.api.taskqueue.v1.PollerScalingDecision - (*RateLimit)(nil), // 21: temporal.api.taskqueue.v1.RateLimit - (*ConfigMetadata)(nil), // 22: temporal.api.taskqueue.v1.ConfigMetadata - (*RateLimitConfig)(nil), // 23: temporal.api.taskqueue.v1.RateLimitConfig - (*TaskQueueConfig)(nil), // 24: temporal.api.taskqueue.v1.TaskQueueConfig - nil, // 25: temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry - nil, // 26: temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry - (v1.TaskQueueKind)(0), // 27: temporal.api.enums.v1.TaskQueueKind - (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue - (*v11.WorkerDeploymentVersion)(nil), // 29: temporal.api.deployment.v1.WorkerDeploymentVersion - (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp - (v1.BuildIdTaskReachability)(0), // 31: temporal.api.enums.v1.BuildIdTaskReachability - (*durationpb.Duration)(nil), // 32: google.protobuf.Duration - (*v12.WorkerVersionCapabilities)(nil), // 33: temporal.api.common.v1.WorkerVersionCapabilities - (*v11.WorkerDeploymentOptions)(nil), // 34: temporal.api.deployment.v1.WorkerDeploymentOptions - (v1.TaskReachability)(0), // 35: temporal.api.enums.v1.TaskReachability -} -var file_temporal_api_taskqueue_v1_message_proto_depIdxs = []int32{ - 27, // 0: temporal.api.taskqueue.v1.TaskQueue.kind:type_name -> temporal.api.enums.v1.TaskQueueKind - 28, // 1: temporal.api.taskqueue.v1.TaskQueueMetadata.max_tasks_per_second:type_name -> google.protobuf.DoubleValue - 29, // 2: temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 29, // 3: temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 30, // 4: temporal.api.taskqueue.v1.TaskQueueVersioningInfo.update_time:type_name -> google.protobuf.Timestamp - 25, // 5: temporal.api.taskqueue.v1.TaskQueueVersionInfo.types_info:type_name -> temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry - 31, // 6: temporal.api.taskqueue.v1.TaskQueueVersionInfo.task_reachability:type_name -> temporal.api.enums.v1.BuildIdTaskReachability - 10, // 7: temporal.api.taskqueue.v1.TaskQueueTypeInfo.pollers:type_name -> temporal.api.taskqueue.v1.PollerInfo - 6, // 8: temporal.api.taskqueue.v1.TaskQueueTypeInfo.stats:type_name -> temporal.api.taskqueue.v1.TaskQueueStats - 32, // 9: temporal.api.taskqueue.v1.TaskQueueStats.approximate_backlog_age:type_name -> google.protobuf.Duration - 8, // 10: temporal.api.taskqueue.v1.TaskQueueStatus.task_id_block:type_name -> temporal.api.taskqueue.v1.TaskIdBlock - 30, // 11: temporal.api.taskqueue.v1.PollerInfo.last_access_time:type_name -> google.protobuf.Timestamp - 33, // 12: temporal.api.taskqueue.v1.PollerInfo.worker_version_capabilities:type_name -> temporal.api.common.v1.WorkerVersionCapabilities - 34, // 13: temporal.api.taskqueue.v1.PollerInfo.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 0, // 14: temporal.api.taskqueue.v1.StickyExecutionAttributes.worker_task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 32, // 15: temporal.api.taskqueue.v1.StickyExecutionAttributes.schedule_to_start_timeout:type_name -> google.protobuf.Duration - 35, // 16: temporal.api.taskqueue.v1.TaskQueueReachability.reachability:type_name -> temporal.api.enums.v1.TaskReachability - 13, // 17: temporal.api.taskqueue.v1.BuildIdReachability.task_queue_reachability:type_name -> temporal.api.taskqueue.v1.TaskQueueReachability - 15, // 18: temporal.api.taskqueue.v1.BuildIdAssignmentRule.percentage_ramp:type_name -> temporal.api.taskqueue.v1.RampByPercentage - 16, // 19: temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule.rule:type_name -> temporal.api.taskqueue.v1.BuildIdAssignmentRule - 30, // 20: temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule.create_time:type_name -> google.protobuf.Timestamp - 17, // 21: temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule.rule:type_name -> temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule - 30, // 22: temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule.create_time:type_name -> google.protobuf.Timestamp - 30, // 23: temporal.api.taskqueue.v1.ConfigMetadata.update_time:type_name -> google.protobuf.Timestamp - 21, // 24: temporal.api.taskqueue.v1.RateLimitConfig.rate_limit:type_name -> temporal.api.taskqueue.v1.RateLimit - 22, // 25: temporal.api.taskqueue.v1.RateLimitConfig.metadata:type_name -> temporal.api.taskqueue.v1.ConfigMetadata - 23, // 26: temporal.api.taskqueue.v1.TaskQueueConfig.queue_rate_limit:type_name -> temporal.api.taskqueue.v1.RateLimitConfig - 23, // 27: temporal.api.taskqueue.v1.TaskQueueConfig.fairness_keys_rate_limit_default:type_name -> temporal.api.taskqueue.v1.RateLimitConfig - 26, // 28: temporal.api.taskqueue.v1.TaskQueueConfig.fairness_weight_overrides:type_name -> temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry - 5, // 29: temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry.value:type_name -> temporal.api.taskqueue.v1.TaskQueueTypeInfo - 30, // [30:30] is the sub-list for method output_type - 30, // [30:30] is the sub-list for method input_type - 30, // [30:30] is the sub-list for extension type_name - 30, // [30:30] is the sub-list for extension extendee - 0, // [0:30] is the sub-list for field type_name -} - -func init() { file_temporal_api_taskqueue_v1_message_proto_init() } -func file_temporal_api_taskqueue_v1_message_proto_init() { - if File_temporal_api_taskqueue_v1_message_proto != nil { - return - } - file_temporal_api_taskqueue_v1_message_proto_msgTypes[16].OneofWrappers = []any{ - (*BuildIdAssignmentRule_PercentageRamp)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_taskqueue_v1_message_proto_rawDesc), len(file_temporal_api_taskqueue_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 27, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_taskqueue_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_taskqueue_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_taskqueue_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_taskqueue_v1_message_proto = out.File - file_temporal_api_taskqueue_v1_message_proto_goTypes = nil - file_temporal_api_taskqueue_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/update/v1/message.pb.go b/build/temporal/api/update/v1/message.pb.go deleted file mode 100644 index 27a5b1a..0000000 --- a/build/temporal/api/update/v1/message.pb.go +++ /dev/null @@ -1,686 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/update/v1/message.proto - -package update - -import ( - v11 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/enums/v1" - v12 "go.temporal.io/api/failure/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Specifies client's intent to wait for Update results. -type WaitPolicy struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Indicates the Update lifecycle stage that the Update must reach before - // API call is returned. - // NOTE: This field works together with API call timeout which is limited by - // server timeout (maximum wait time). If server timeout is expired before - // user specified timeout, API call returns even if specified stage is not reached. - LifecycleStage v1.UpdateWorkflowExecutionLifecycleStage `protobuf:"varint,1,opt,name=lifecycle_stage,json=lifecycleStage,proto3,enum=temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage" json:"lifecycle_stage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WaitPolicy) Reset() { - *x = WaitPolicy{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WaitPolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WaitPolicy) ProtoMessage() {} - -func (x *WaitPolicy) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WaitPolicy.ProtoReflect.Descriptor instead. -func (*WaitPolicy) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WaitPolicy) GetLifecycleStage() v1.UpdateWorkflowExecutionLifecycleStage { - if x != nil { - return x.LifecycleStage - } - return v1.UpdateWorkflowExecutionLifecycleStage(0) -} - -// The data needed by a client to refer to a previously invoked Workflow Update. -type UpdateRef struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - UpdateId string `protobuf:"bytes,2,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateRef) Reset() { - *x = UpdateRef{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateRef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRef) ProtoMessage() {} - -func (x *UpdateRef) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRef.ProtoReflect.Descriptor instead. -func (*UpdateRef) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *UpdateRef) GetWorkflowExecution() *v11.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *UpdateRef) GetUpdateId() string { - if x != nil { - return x.UpdateId - } - return "" -} - -// The outcome of a Workflow Update: success or failure. -type Outcome struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Value: - // - // *Outcome_Success - // *Outcome_Failure - Value isOutcome_Value `protobuf_oneof:"value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Outcome) Reset() { - *x = Outcome{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Outcome) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Outcome) ProtoMessage() {} - -func (x *Outcome) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Outcome.ProtoReflect.Descriptor instead. -func (*Outcome) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *Outcome) GetValue() isOutcome_Value { - if x != nil { - return x.Value - } - return nil -} - -func (x *Outcome) GetSuccess() *v11.Payloads { - if x != nil { - if x, ok := x.Value.(*Outcome_Success); ok { - return x.Success - } - } - return nil -} - -func (x *Outcome) GetFailure() *v12.Failure { - if x != nil { - if x, ok := x.Value.(*Outcome_Failure); ok { - return x.Failure - } - } - return nil -} - -type isOutcome_Value interface { - isOutcome_Value() -} - -type Outcome_Success struct { - Success *v11.Payloads `protobuf:"bytes,1,opt,name=success,proto3,oneof"` -} - -type Outcome_Failure struct { - Failure *v12.Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"` -} - -func (*Outcome_Success) isOutcome_Value() {} - -func (*Outcome_Failure) isOutcome_Value() {} - -// Metadata about a Workflow Update. -type Meta struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An ID with workflow-scoped uniqueness for this Update. - UpdateId string `protobuf:"bytes,1,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"` - // A string identifying the agent that requested this Update. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Meta) Reset() { - *x = Meta{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Meta) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Meta) ProtoMessage() {} - -func (x *Meta) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Meta.ProtoReflect.Descriptor instead. -func (*Meta) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *Meta) GetUpdateId() string { - if x != nil { - return x.UpdateId - } - return "" -} - -func (x *Meta) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type Input struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Headers that are passed with the Update from the requesting entity. - // These can include things like auth or tracing tokens. - Header *v11.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // The name of the Update handler to invoke on the target Workflow. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The arguments to pass to the named Update handler. - Args *v11.Payloads `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Input) Reset() { - *x = Input{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Input) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Input) ProtoMessage() {} - -func (x *Input) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Input.ProtoReflect.Descriptor instead. -func (*Input) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *Input) GetHeader() *v11.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *Input) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *Input) GetArgs() *v11.Payloads { - if x != nil { - return x.Args - } - return nil -} - -// The client request that triggers a Workflow Update. -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - Meta *Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` - Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *Request) GetMeta() *Meta { - if x != nil { - return x.Meta - } - return nil -} - -func (x *Request) GetInput() *Input { - if x != nil { - return x.Input - } - return nil -} - -// An Update protocol message indicating that a Workflow Update has been rejected. -type Rejection struct { - state protoimpl.MessageState `protogen:"open.v1"` - RejectedRequestMessageId string `protobuf:"bytes,1,opt,name=rejected_request_message_id,json=rejectedRequestMessageId,proto3" json:"rejected_request_message_id,omitempty"` - RejectedRequestSequencingEventId int64 `protobuf:"varint,2,opt,name=rejected_request_sequencing_event_id,json=rejectedRequestSequencingEventId,proto3" json:"rejected_request_sequencing_event_id,omitempty"` - RejectedRequest *Request `protobuf:"bytes,3,opt,name=rejected_request,json=rejectedRequest,proto3" json:"rejected_request,omitempty"` - Failure *v12.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Rejection) Reset() { - *x = Rejection{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Rejection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rejection) ProtoMessage() {} - -func (x *Rejection) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Rejection.ProtoReflect.Descriptor instead. -func (*Rejection) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *Rejection) GetRejectedRequestMessageId() string { - if x != nil { - return x.RejectedRequestMessageId - } - return "" -} - -func (x *Rejection) GetRejectedRequestSequencingEventId() int64 { - if x != nil { - return x.RejectedRequestSequencingEventId - } - return 0 -} - -func (x *Rejection) GetRejectedRequest() *Request { - if x != nil { - return x.RejectedRequest - } - return nil -} - -func (x *Rejection) GetFailure() *v12.Failure { - if x != nil { - return x.Failure - } - return nil -} - -// An Update protocol message indicating that a Workflow Update has -// been accepted (i.e. passed the worker-side validation phase). -type Acceptance struct { - state protoimpl.MessageState `protogen:"open.v1"` - AcceptedRequestMessageId string `protobuf:"bytes,1,opt,name=accepted_request_message_id,json=acceptedRequestMessageId,proto3" json:"accepted_request_message_id,omitempty"` - AcceptedRequestSequencingEventId int64 `protobuf:"varint,2,opt,name=accepted_request_sequencing_event_id,json=acceptedRequestSequencingEventId,proto3" json:"accepted_request_sequencing_event_id,omitempty"` - AcceptedRequest *Request `protobuf:"bytes,3,opt,name=accepted_request,json=acceptedRequest,proto3" json:"accepted_request,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Acceptance) Reset() { - *x = Acceptance{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Acceptance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Acceptance) ProtoMessage() {} - -func (x *Acceptance) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Acceptance.ProtoReflect.Descriptor instead. -func (*Acceptance) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *Acceptance) GetAcceptedRequestMessageId() string { - if x != nil { - return x.AcceptedRequestMessageId - } - return "" -} - -func (x *Acceptance) GetAcceptedRequestSequencingEventId() int64 { - if x != nil { - return x.AcceptedRequestSequencingEventId - } - return 0 -} - -func (x *Acceptance) GetAcceptedRequest() *Request { - if x != nil { - return x.AcceptedRequest - } - return nil -} - -// An Update protocol message indicating that a Workflow Update has -// completed with the contained outcome. -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Meta *Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` - Outcome *Outcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_temporal_api_update_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_update_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_temporal_api_update_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *Response) GetMeta() *Meta { - if x != nil { - return x.Meta - } - return nil -} - -func (x *Response) GetOutcome() *Outcome { - if x != nil { - return x.Outcome - } - return nil -} - -var File_temporal_api_update_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_update_v1_message_proto_rawDesc = "" + - "\n" + - "$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto\"s\n" + - "\n" + - "WaitPolicy\x12e\n" + - "\x0flifecycle_stage\x18\x01 \x01(\x0e2<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStageR\x0elifecycleStage\"\x82\x01\n" + - "\tUpdateRef\x12X\n" + - "\x12workflow_execution\x18\x01 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1b\n" + - "\tupdate_id\x18\x02 \x01(\tR\bupdateId\"\x8e\x01\n" + - "\aOutcome\x12<\n" + - "\asuccess\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsH\x00R\asuccess\x12<\n" + - "\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureH\x00R\afailureB\a\n" + - "\x05value\"?\n" + - "\x04Meta\x12\x1b\n" + - "\tupdate_id\x18\x01 \x01(\tR\bupdateId\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\"\x89\x01\n" + - "\x05Input\x126\n" + - "\x06header\x18\x01 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12\x12\n" + - "\x04name\x18\x02 \x01(\tR\x04name\x124\n" + - "\x04args\x18\x03 \x01(\v2 .temporal.api.common.v1.PayloadsR\x04args\"p\n" + - "\aRequest\x120\n" + - "\x04meta\x18\x01 \x01(\v2\x1c.temporal.api.update.v1.MetaR\x04meta\x123\n" + - "\x05input\x18\x02 \x01(\v2\x1d.temporal.api.update.v1.InputR\x05input\"\xa2\x02\n" + - "\tRejection\x12=\n" + - "\x1brejected_request_message_id\x18\x01 \x01(\tR\x18rejectedRequestMessageId\x12N\n" + - "$rejected_request_sequencing_event_id\x18\x02 \x01(\x03R rejectedRequestSequencingEventId\x12J\n" + - "\x10rejected_request\x18\x03 \x01(\v2\x1f.temporal.api.update.v1.RequestR\x0frejectedRequest\x12:\n" + - "\afailure\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\"\xe7\x01\n" + - "\n" + - "Acceptance\x12=\n" + - "\x1baccepted_request_message_id\x18\x01 \x01(\tR\x18acceptedRequestMessageId\x12N\n" + - "$accepted_request_sequencing_event_id\x18\x02 \x01(\x03R acceptedRequestSequencingEventId\x12J\n" + - "\x10accepted_request\x18\x03 \x01(\v2\x1f.temporal.api.update.v1.RequestR\x0facceptedRequest\"w\n" + - "\bResponse\x120\n" + - "\x04meta\x18\x01 \x01(\v2\x1c.temporal.api.update.v1.MetaR\x04meta\x129\n" + - "\aoutcome\x18\x02 \x01(\v2\x1f.temporal.api.update.v1.OutcomeR\aoutcomeB\x89\x01\n" + - "\x19io.temporal.api.update.v1B\fMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3" - -var ( - file_temporal_api_update_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_update_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_update_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_update_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_update_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_update_v1_message_proto_rawDesc), len(file_temporal_api_update_v1_message_proto_rawDesc))) - }) - return file_temporal_api_update_v1_message_proto_rawDescData -} - -var file_temporal_api_update_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_temporal_api_update_v1_message_proto_goTypes = []any{ - (*WaitPolicy)(nil), // 0: temporal.api.update.v1.WaitPolicy - (*UpdateRef)(nil), // 1: temporal.api.update.v1.UpdateRef - (*Outcome)(nil), // 2: temporal.api.update.v1.Outcome - (*Meta)(nil), // 3: temporal.api.update.v1.Meta - (*Input)(nil), // 4: temporal.api.update.v1.Input - (*Request)(nil), // 5: temporal.api.update.v1.Request - (*Rejection)(nil), // 6: temporal.api.update.v1.Rejection - (*Acceptance)(nil), // 7: temporal.api.update.v1.Acceptance - (*Response)(nil), // 8: temporal.api.update.v1.Response - (v1.UpdateWorkflowExecutionLifecycleStage)(0), // 9: temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage - (*v11.WorkflowExecution)(nil), // 10: temporal.api.common.v1.WorkflowExecution - (*v11.Payloads)(nil), // 11: temporal.api.common.v1.Payloads - (*v12.Failure)(nil), // 12: temporal.api.failure.v1.Failure - (*v11.Header)(nil), // 13: temporal.api.common.v1.Header -} -var file_temporal_api_update_v1_message_proto_depIdxs = []int32{ - 9, // 0: temporal.api.update.v1.WaitPolicy.lifecycle_stage:type_name -> temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage - 10, // 1: temporal.api.update.v1.UpdateRef.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 11, // 2: temporal.api.update.v1.Outcome.success:type_name -> temporal.api.common.v1.Payloads - 12, // 3: temporal.api.update.v1.Outcome.failure:type_name -> temporal.api.failure.v1.Failure - 13, // 4: temporal.api.update.v1.Input.header:type_name -> temporal.api.common.v1.Header - 11, // 5: temporal.api.update.v1.Input.args:type_name -> temporal.api.common.v1.Payloads - 3, // 6: temporal.api.update.v1.Request.meta:type_name -> temporal.api.update.v1.Meta - 4, // 7: temporal.api.update.v1.Request.input:type_name -> temporal.api.update.v1.Input - 5, // 8: temporal.api.update.v1.Rejection.rejected_request:type_name -> temporal.api.update.v1.Request - 12, // 9: temporal.api.update.v1.Rejection.failure:type_name -> temporal.api.failure.v1.Failure - 5, // 10: temporal.api.update.v1.Acceptance.accepted_request:type_name -> temporal.api.update.v1.Request - 3, // 11: temporal.api.update.v1.Response.meta:type_name -> temporal.api.update.v1.Meta - 2, // 12: temporal.api.update.v1.Response.outcome:type_name -> temporal.api.update.v1.Outcome - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_temporal_api_update_v1_message_proto_init() } -func file_temporal_api_update_v1_message_proto_init() { - if File_temporal_api_update_v1_message_proto != nil { - return - } - file_temporal_api_update_v1_message_proto_msgTypes[2].OneofWrappers = []any{ - (*Outcome_Success)(nil), - (*Outcome_Failure)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_update_v1_message_proto_rawDesc), len(file_temporal_api_update_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_update_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_update_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_update_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_update_v1_message_proto = out.File - file_temporal_api_update_v1_message_proto_goTypes = nil - file_temporal_api_update_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/version/v1/message.pb.go b/build/temporal/api/version/v1/message.pb.go deleted file mode 100644 index 61895e9..0000000 --- a/build/temporal/api/version/v1/message.pb.go +++ /dev/null @@ -1,293 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/version/v1/message.proto - -package version - -import ( - v1 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// ReleaseInfo contains information about specific version of temporal. -type ReleaseInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - ReleaseTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=release_time,json=releaseTime,proto3" json:"release_time,omitempty"` - Notes string `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReleaseInfo) Reset() { - *x = ReleaseInfo{} - mi := &file_temporal_api_version_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReleaseInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReleaseInfo) ProtoMessage() {} - -func (x *ReleaseInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_version_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReleaseInfo.ProtoReflect.Descriptor instead. -func (*ReleaseInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_version_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *ReleaseInfo) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ReleaseInfo) GetReleaseTime() *timestamppb.Timestamp { - if x != nil { - return x.ReleaseTime - } - return nil -} - -func (x *ReleaseInfo) GetNotes() string { - if x != nil { - return x.Notes - } - return "" -} - -// Alert contains notification and severity. -type Alert struct { - state protoimpl.MessageState `protogen:"open.v1"` - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Severity v1.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=temporal.api.enums.v1.Severity" json:"severity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Alert) Reset() { - *x = Alert{} - mi := &file_temporal_api_version_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Alert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Alert) ProtoMessage() {} - -func (x *Alert) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_version_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Alert.ProtoReflect.Descriptor instead. -func (*Alert) Descriptor() ([]byte, []int) { - return file_temporal_api_version_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *Alert) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Alert) GetSeverity() v1.Severity { - if x != nil { - return x.Severity - } - return v1.Severity(0) -} - -// VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions. -type VersionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Current *ReleaseInfo `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` - Recommended *ReleaseInfo `protobuf:"bytes,2,opt,name=recommended,proto3" json:"recommended,omitempty"` - Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"` - Alerts []*Alert `protobuf:"bytes,4,rep,name=alerts,proto3" json:"alerts,omitempty"` - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *VersionInfo) Reset() { - *x = VersionInfo{} - mi := &file_temporal_api_version_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *VersionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VersionInfo) ProtoMessage() {} - -func (x *VersionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_version_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead. -func (*VersionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_version_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *VersionInfo) GetCurrent() *ReleaseInfo { - if x != nil { - return x.Current - } - return nil -} - -func (x *VersionInfo) GetRecommended() *ReleaseInfo { - if x != nil { - return x.Recommended - } - return nil -} - -func (x *VersionInfo) GetInstructions() string { - if x != nil { - return x.Instructions - } - return "" -} - -func (x *VersionInfo) GetAlerts() []*Alert { - if x != nil { - return x.Alerts - } - return nil -} - -func (x *VersionInfo) GetLastUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.LastUpdateTime - } - return nil -} - -var File_temporal_api_version_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_version_v1_message_proto_rawDesc = "" + - "\n" + - "%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"temporal/api/enums/v1/common.proto\"|\n" + - "\vReleaseInfo\x12\x18\n" + - "\aversion\x18\x01 \x01(\tR\aversion\x12=\n" + - "\frelease_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\vreleaseTime\x12\x14\n" + - "\x05notes\x18\x03 \x01(\tR\x05notes\"^\n" + - "\x05Alert\x12\x18\n" + - "\amessage\x18\x01 \x01(\tR\amessage\x12;\n" + - "\bseverity\x18\x02 \x01(\x0e2\x1f.temporal.api.enums.v1.SeverityR\bseverity\"\xb7\x02\n" + - "\vVersionInfo\x12>\n" + - "\acurrent\x18\x01 \x01(\v2$.temporal.api.version.v1.ReleaseInfoR\acurrent\x12F\n" + - "\vrecommended\x18\x02 \x01(\v2$.temporal.api.version.v1.ReleaseInfoR\vrecommended\x12\"\n" + - "\finstructions\x18\x03 \x01(\tR\finstructions\x126\n" + - "\x06alerts\x18\x04 \x03(\v2\x1e.temporal.api.version.v1.AlertR\x06alerts\x12D\n" + - "\x10last_update_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x0elastUpdateTimeB\x8e\x01\n" + - "\x1aio.temporal.api.version.v1B\fMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3" - -var ( - file_temporal_api_version_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_version_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_version_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_version_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_version_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_version_v1_message_proto_rawDesc), len(file_temporal_api_version_v1_message_proto_rawDesc))) - }) - return file_temporal_api_version_v1_message_proto_rawDescData -} - -var file_temporal_api_version_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_temporal_api_version_v1_message_proto_goTypes = []any{ - (*ReleaseInfo)(nil), // 0: temporal.api.version.v1.ReleaseInfo - (*Alert)(nil), // 1: temporal.api.version.v1.Alert - (*VersionInfo)(nil), // 2: temporal.api.version.v1.VersionInfo - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (v1.Severity)(0), // 4: temporal.api.enums.v1.Severity -} -var file_temporal_api_version_v1_message_proto_depIdxs = []int32{ - 3, // 0: temporal.api.version.v1.ReleaseInfo.release_time:type_name -> google.protobuf.Timestamp - 4, // 1: temporal.api.version.v1.Alert.severity:type_name -> temporal.api.enums.v1.Severity - 0, // 2: temporal.api.version.v1.VersionInfo.current:type_name -> temporal.api.version.v1.ReleaseInfo - 0, // 3: temporal.api.version.v1.VersionInfo.recommended:type_name -> temporal.api.version.v1.ReleaseInfo - 1, // 4: temporal.api.version.v1.VersionInfo.alerts:type_name -> temporal.api.version.v1.Alert - 3, // 5: temporal.api.version.v1.VersionInfo.last_update_time:type_name -> google.protobuf.Timestamp - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_temporal_api_version_v1_message_proto_init() } -func file_temporal_api_version_v1_message_proto_init() { - if File_temporal_api_version_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_version_v1_message_proto_rawDesc), len(file_temporal_api_version_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_version_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_version_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_version_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_version_v1_message_proto = out.File - file_temporal_api_version_v1_message_proto_goTypes = nil - file_temporal_api_version_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/worker/v1/message.pb.go b/build/temporal/api/worker/v1/message.pb.go deleted file mode 100644 index 72c0d9e..0000000 --- a/build/temporal/api/worker/v1/message.pb.go +++ /dev/null @@ -1,753 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/worker/v1/message.proto - -package worker - -import ( - v1 "go.temporal.io/api/deployment/v1" - v11 "go.temporal.io/api/enums/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type WorkerPollerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Number of polling RPCs that are currently in flight. - CurrentPollers int32 `protobuf:"varint,1,opt,name=current_pollers,json=currentPollers,proto3" json:"current_pollers,omitempty"` - LastSuccessfulPollTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_successful_poll_time,json=lastSuccessfulPollTime,proto3" json:"last_successful_poll_time,omitempty"` - // Set true if the number of concurrent pollers is auto-scaled - IsAutoscaling bool `protobuf:"varint,3,opt,name=is_autoscaling,json=isAutoscaling,proto3" json:"is_autoscaling,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerPollerInfo) Reset() { - *x = WorkerPollerInfo{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerPollerInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerPollerInfo) ProtoMessage() {} - -func (x *WorkerPollerInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerPollerInfo.ProtoReflect.Descriptor instead. -func (*WorkerPollerInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkerPollerInfo) GetCurrentPollers() int32 { - if x != nil { - return x.CurrentPollers - } - return 0 -} - -func (x *WorkerPollerInfo) GetLastSuccessfulPollTime() *timestamppb.Timestamp { - if x != nil { - return x.LastSuccessfulPollTime - } - return nil -} - -func (x *WorkerPollerInfo) GetIsAutoscaling() bool { - if x != nil { - return x.IsAutoscaling - } - return false -} - -type WorkerSlotsInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Number of slots available for the worker to specific tasks. - // May be -1 if the upper bound is not known. - CurrentAvailableSlots int32 `protobuf:"varint,1,opt,name=current_available_slots,json=currentAvailableSlots,proto3" json:"current_available_slots,omitempty"` - // Number of slots used by the worker for specific tasks. - CurrentUsedSlots int32 `protobuf:"varint,2,opt,name=current_used_slots,json=currentUsedSlots,proto3" json:"current_used_slots,omitempty"` - // Kind of the slot supplier, which is used to determine how the slots are allocated. - // Possible values: "Fixed | ResourceBased | Custom String" - SlotSupplierKind string `protobuf:"bytes,3,opt,name=slot_supplier_kind,json=slotSupplierKind,proto3" json:"slot_supplier_kind,omitempty"` - // Total number of tasks processed (completed both successfully and unsuccesfully, or any other way) - // by the worker since the worker started. This is a cumulative counter. - TotalProcessedTasks int32 `protobuf:"varint,4,opt,name=total_processed_tasks,json=totalProcessedTasks,proto3" json:"total_processed_tasks,omitempty"` - // Total number of failed tasks processed by the worker so far. - TotalFailedTasks int32 `protobuf:"varint,5,opt,name=total_failed_tasks,json=totalFailedTasks,proto3" json:"total_failed_tasks,omitempty"` - // Number of tasks processed in since the last heartbeat from the worker. - // This is a cumulative counter, and it is reset to 0 each time the worker sends a heartbeat. - // Contains both successful and failed tasks. - LastIntervalProcessedTasks int32 `protobuf:"varint,6,opt,name=last_interval_processed_tasks,json=lastIntervalProcessedTasks,proto3" json:"last_interval_processed_tasks,omitempty"` - // Number of failed tasks processed since the last heartbeat from the worker. - LastIntervalFailureTasks int32 `protobuf:"varint,7,opt,name=last_interval_failure_tasks,json=lastIntervalFailureTasks,proto3" json:"last_interval_failure_tasks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerSlotsInfo) Reset() { - *x = WorkerSlotsInfo{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerSlotsInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerSlotsInfo) ProtoMessage() {} - -func (x *WorkerSlotsInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerSlotsInfo.ProtoReflect.Descriptor instead. -func (*WorkerSlotsInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkerSlotsInfo) GetCurrentAvailableSlots() int32 { - if x != nil { - return x.CurrentAvailableSlots - } - return 0 -} - -func (x *WorkerSlotsInfo) GetCurrentUsedSlots() int32 { - if x != nil { - return x.CurrentUsedSlots - } - return 0 -} - -func (x *WorkerSlotsInfo) GetSlotSupplierKind() string { - if x != nil { - return x.SlotSupplierKind - } - return "" -} - -func (x *WorkerSlotsInfo) GetTotalProcessedTasks() int32 { - if x != nil { - return x.TotalProcessedTasks - } - return 0 -} - -func (x *WorkerSlotsInfo) GetTotalFailedTasks() int32 { - if x != nil { - return x.TotalFailedTasks - } - return 0 -} - -func (x *WorkerSlotsInfo) GetLastIntervalProcessedTasks() int32 { - if x != nil { - return x.LastIntervalProcessedTasks - } - return 0 -} - -func (x *WorkerSlotsInfo) GetLastIntervalFailureTasks() int32 { - if x != nil { - return x.LastIntervalFailureTasks - } - return 0 -} - -// Holds everything needed to identify the worker host/process context -type WorkerHostInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Worker host identifier. - HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` - // Worker grouping identifier. A key to group workers that share the same client+namespace+process. - // This will be used to build the worker command nexus task queue name: - // "temporal-sys/worker-commands/{worker_grouping_key}" - WorkerGroupingKey string `protobuf:"bytes,5,opt,name=worker_grouping_key,json=workerGroupingKey,proto3" json:"worker_grouping_key,omitempty"` - // Worker process identifier. This id only needs to be unique - // within one host (so using e.g. a unix pid would be appropriate). - ProcessId string `protobuf:"bytes,2,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` - // System used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all - // cores on the host pegged. - CurrentHostCpuUsage float32 `protobuf:"fixed32,3,opt,name=current_host_cpu_usage,json=currentHostCpuUsage,proto3" json:"current_host_cpu_usage,omitempty"` - // System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as - // all available memory on the host is used. - CurrentHostMemUsage float32 `protobuf:"fixed32,4,opt,name=current_host_mem_usage,json=currentHostMemUsage,proto3" json:"current_host_mem_usage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerHostInfo) Reset() { - *x = WorkerHostInfo{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerHostInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerHostInfo) ProtoMessage() {} - -func (x *WorkerHostInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerHostInfo.ProtoReflect.Descriptor instead. -func (*WorkerHostInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *WorkerHostInfo) GetHostName() string { - if x != nil { - return x.HostName - } - return "" -} - -func (x *WorkerHostInfo) GetWorkerGroupingKey() string { - if x != nil { - return x.WorkerGroupingKey - } - return "" -} - -func (x *WorkerHostInfo) GetProcessId() string { - if x != nil { - return x.ProcessId - } - return "" -} - -func (x *WorkerHostInfo) GetCurrentHostCpuUsage() float32 { - if x != nil { - return x.CurrentHostCpuUsage - } - return 0 -} - -func (x *WorkerHostInfo) GetCurrentHostMemUsage() float32 { - if x != nil { - return x.CurrentHostMemUsage - } - return 0 -} - -// Worker info message, contains information about the worker and its current state. -// All information is provided by the worker itself. -// (-- api-linter: core::0140::prepositions=disabled -// -// aip.dev/not-precedent: Removing those words make names less clear. --) -type WorkerHeartbeat struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Worker identifier, should be unique for the namespace. - // It is distinct from worker identity, which is not necessarily namespace-unique. - WorkerInstanceKey string `protobuf:"bytes,1,opt,name=worker_instance_key,json=workerInstanceKey,proto3" json:"worker_instance_key,omitempty"` - // Worker identity, set by the client, may not be unique. - // Usually host_name+(user group name)+process_id, but can be overwritten by the user. - WorkerIdentity string `protobuf:"bytes,2,opt,name=worker_identity,json=workerIdentity,proto3" json:"worker_identity,omitempty"` - // Worker host information. - HostInfo *WorkerHostInfo `protobuf:"bytes,3,opt,name=host_info,json=hostInfo,proto3" json:"host_info,omitempty"` - // Task queue this worker is polling for tasks. - TaskQueue string `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - DeploymentVersion *v1.WorkerDeploymentVersion `protobuf:"bytes,5,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - SdkName string `protobuf:"bytes,6,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"` - SdkVersion string `protobuf:"bytes,7,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` - // Worker status. Defined by SDK. - Status v11.WorkerStatus `protobuf:"varint,8,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkerStatus" json:"status,omitempty"` - // Worker start time. - // It can be used to determine worker uptime. (current time - start time) - StartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Timestamp of this heartbeat, coming from the worker. Worker should set it to "now". - // Note that this timestamp comes directly from the worker and is subject to workers' clock skew. - HeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=heartbeat_time,json=heartbeatTime,proto3" json:"heartbeat_time,omitempty"` - // Elapsed time since the last heartbeat from the worker. - ElapsedSinceLastHeartbeat *durationpb.Duration `protobuf:"bytes,11,opt,name=elapsed_since_last_heartbeat,json=elapsedSinceLastHeartbeat,proto3" json:"elapsed_since_last_heartbeat,omitempty"` - WorkflowTaskSlotsInfo *WorkerSlotsInfo `protobuf:"bytes,12,opt,name=workflow_task_slots_info,json=workflowTaskSlotsInfo,proto3" json:"workflow_task_slots_info,omitempty"` - ActivityTaskSlotsInfo *WorkerSlotsInfo `protobuf:"bytes,13,opt,name=activity_task_slots_info,json=activityTaskSlotsInfo,proto3" json:"activity_task_slots_info,omitempty"` - NexusTaskSlotsInfo *WorkerSlotsInfo `protobuf:"bytes,14,opt,name=nexus_task_slots_info,json=nexusTaskSlotsInfo,proto3" json:"nexus_task_slots_info,omitempty"` - LocalActivitySlotsInfo *WorkerSlotsInfo `protobuf:"bytes,15,opt,name=local_activity_slots_info,json=localActivitySlotsInfo,proto3" json:"local_activity_slots_info,omitempty"` - WorkflowPollerInfo *WorkerPollerInfo `protobuf:"bytes,16,opt,name=workflow_poller_info,json=workflowPollerInfo,proto3" json:"workflow_poller_info,omitempty"` - WorkflowStickyPollerInfo *WorkerPollerInfo `protobuf:"bytes,17,opt,name=workflow_sticky_poller_info,json=workflowStickyPollerInfo,proto3" json:"workflow_sticky_poller_info,omitempty"` - ActivityPollerInfo *WorkerPollerInfo `protobuf:"bytes,18,opt,name=activity_poller_info,json=activityPollerInfo,proto3" json:"activity_poller_info,omitempty"` - NexusPollerInfo *WorkerPollerInfo `protobuf:"bytes,19,opt,name=nexus_poller_info,json=nexusPollerInfo,proto3" json:"nexus_poller_info,omitempty"` - // A Workflow Task found a cached Workflow Execution to run against. - TotalStickyCacheHit int32 `protobuf:"varint,20,opt,name=total_sticky_cache_hit,json=totalStickyCacheHit,proto3" json:"total_sticky_cache_hit,omitempty"` - // A Workflow Task did not find a cached Workflow execution to run against. - TotalStickyCacheMiss int32 `protobuf:"varint,21,opt,name=total_sticky_cache_miss,json=totalStickyCacheMiss,proto3" json:"total_sticky_cache_miss,omitempty"` - // Current cache size, expressed in number of Workflow Executions. - CurrentStickyCacheSize int32 `protobuf:"varint,22,opt,name=current_sticky_cache_size,json=currentStickyCacheSize,proto3" json:"current_sticky_cache_size,omitempty"` - // Plugins currently in use by this SDK. - Plugins []*PluginInfo `protobuf:"bytes,23,rep,name=plugins,proto3" json:"plugins,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerHeartbeat) Reset() { - *x = WorkerHeartbeat{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerHeartbeat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerHeartbeat) ProtoMessage() {} - -func (x *WorkerHeartbeat) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerHeartbeat.ProtoReflect.Descriptor instead. -func (*WorkerHeartbeat) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *WorkerHeartbeat) GetWorkerInstanceKey() string { - if x != nil { - return x.WorkerInstanceKey - } - return "" -} - -func (x *WorkerHeartbeat) GetWorkerIdentity() string { - if x != nil { - return x.WorkerIdentity - } - return "" -} - -func (x *WorkerHeartbeat) GetHostInfo() *WorkerHostInfo { - if x != nil { - return x.HostInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *WorkerHeartbeat) GetDeploymentVersion() *v1.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *WorkerHeartbeat) GetSdkName() string { - if x != nil { - return x.SdkName - } - return "" -} - -func (x *WorkerHeartbeat) GetSdkVersion() string { - if x != nil { - return x.SdkVersion - } - return "" -} - -func (x *WorkerHeartbeat) GetStatus() v11.WorkerStatus { - if x != nil { - return x.Status - } - return v11.WorkerStatus(0) -} - -func (x *WorkerHeartbeat) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *WorkerHeartbeat) GetHeartbeatTime() *timestamppb.Timestamp { - if x != nil { - return x.HeartbeatTime - } - return nil -} - -func (x *WorkerHeartbeat) GetElapsedSinceLastHeartbeat() *durationpb.Duration { - if x != nil { - return x.ElapsedSinceLastHeartbeat - } - return nil -} - -func (x *WorkerHeartbeat) GetWorkflowTaskSlotsInfo() *WorkerSlotsInfo { - if x != nil { - return x.WorkflowTaskSlotsInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetActivityTaskSlotsInfo() *WorkerSlotsInfo { - if x != nil { - return x.ActivityTaskSlotsInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetNexusTaskSlotsInfo() *WorkerSlotsInfo { - if x != nil { - return x.NexusTaskSlotsInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetLocalActivitySlotsInfo() *WorkerSlotsInfo { - if x != nil { - return x.LocalActivitySlotsInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetWorkflowPollerInfo() *WorkerPollerInfo { - if x != nil { - return x.WorkflowPollerInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetWorkflowStickyPollerInfo() *WorkerPollerInfo { - if x != nil { - return x.WorkflowStickyPollerInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetActivityPollerInfo() *WorkerPollerInfo { - if x != nil { - return x.ActivityPollerInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetNexusPollerInfo() *WorkerPollerInfo { - if x != nil { - return x.NexusPollerInfo - } - return nil -} - -func (x *WorkerHeartbeat) GetTotalStickyCacheHit() int32 { - if x != nil { - return x.TotalStickyCacheHit - } - return 0 -} - -func (x *WorkerHeartbeat) GetTotalStickyCacheMiss() int32 { - if x != nil { - return x.TotalStickyCacheMiss - } - return 0 -} - -func (x *WorkerHeartbeat) GetCurrentStickyCacheSize() int32 { - if x != nil { - return x.CurrentStickyCacheSize - } - return 0 -} - -func (x *WorkerHeartbeat) GetPlugins() []*PluginInfo { - if x != nil { - return x.Plugins - } - return nil -} - -type WorkerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerHeartbeat *WorkerHeartbeat `protobuf:"bytes,1,opt,name=worker_heartbeat,json=workerHeartbeat,proto3" json:"worker_heartbeat,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkerInfo) Reset() { - *x = WorkerInfo{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkerInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkerInfo) ProtoMessage() {} - -func (x *WorkerInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkerInfo.ProtoReflect.Descriptor instead. -func (*WorkerInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{4} -} - -func (x *WorkerInfo) GetWorkerHeartbeat() *WorkerHeartbeat { - if x != nil { - return x.WorkerHeartbeat - } - return nil -} - -type PluginInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The name of the plugin, required. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The version of the plugin, may be empty. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PluginInfo) Reset() { - *x = PluginInfo{} - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PluginInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PluginInfo) ProtoMessage() {} - -func (x *PluginInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_worker_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead. -func (*PluginInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_worker_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *PluginInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *PluginInfo) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -var File_temporal_api_worker_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_worker_v1_message_proto_rawDesc = "" + - "\n" + - "$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\xb9\x01\n" + - "\x10WorkerPollerInfo\x12'\n" + - "\x0fcurrent_pollers\x18\x01 \x01(\x05R\x0ecurrentPollers\x12U\n" + - "\x19last_successful_poll_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x16lastSuccessfulPollTime\x12%\n" + - "\x0eis_autoscaling\x18\x03 \x01(\bR\risAutoscaling\"\x89\x03\n" + - "\x0fWorkerSlotsInfo\x126\n" + - "\x17current_available_slots\x18\x01 \x01(\x05R\x15currentAvailableSlots\x12,\n" + - "\x12current_used_slots\x18\x02 \x01(\x05R\x10currentUsedSlots\x12,\n" + - "\x12slot_supplier_kind\x18\x03 \x01(\tR\x10slotSupplierKind\x122\n" + - "\x15total_processed_tasks\x18\x04 \x01(\x05R\x13totalProcessedTasks\x12,\n" + - "\x12total_failed_tasks\x18\x05 \x01(\x05R\x10totalFailedTasks\x12A\n" + - "\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05R\x1alastIntervalProcessedTasks\x12=\n" + - "\x1blast_interval_failure_tasks\x18\a \x01(\x05R\x18lastIntervalFailureTasks\"\xe6\x01\n" + - "\x0eWorkerHostInfo\x12\x1b\n" + - "\thost_name\x18\x01 \x01(\tR\bhostName\x12.\n" + - "\x13worker_grouping_key\x18\x05 \x01(\tR\x11workerGroupingKey\x12\x1d\n" + - "\n" + - "process_id\x18\x02 \x01(\tR\tprocessId\x123\n" + - "\x16current_host_cpu_usage\x18\x03 \x01(\x02R\x13currentHostCpuUsage\x123\n" + - "\x16current_host_mem_usage\x18\x04 \x01(\x02R\x13currentHostMemUsage\"\xe5\f\n" + - "\x0fWorkerHeartbeat\x12.\n" + - "\x13worker_instance_key\x18\x01 \x01(\tR\x11workerInstanceKey\x12'\n" + - "\x0fworker_identity\x18\x02 \x01(\tR\x0eworkerIdentity\x12C\n" + - "\thost_info\x18\x03 \x01(\v2&.temporal.api.worker.v1.WorkerHostInfoR\bhostInfo\x12\x1d\n" + - "\n" + - "task_queue\x18\x04 \x01(\tR\ttaskQueue\x12b\n" + - "\x12deployment_version\x18\x05 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12\x19\n" + - "\bsdk_name\x18\x06 \x01(\tR\asdkName\x12\x1f\n" + - "\vsdk_version\x18\a \x01(\tR\n" + - "sdkVersion\x12;\n" + - "\x06status\x18\b \x01(\x0e2#.temporal.api.enums.v1.WorkerStatusR\x06status\x129\n" + - "\n" + - "start_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x12A\n" + - "\x0eheartbeat_time\x18\n" + - " \x01(\v2\x1a.google.protobuf.TimestampR\rheartbeatTime\x12Z\n" + - "\x1celapsed_since_last_heartbeat\x18\v \x01(\v2\x19.google.protobuf.DurationR\x19elapsedSinceLastHeartbeat\x12`\n" + - "\x18workflow_task_slots_info\x18\f \x01(\v2'.temporal.api.worker.v1.WorkerSlotsInfoR\x15workflowTaskSlotsInfo\x12`\n" + - "\x18activity_task_slots_info\x18\r \x01(\v2'.temporal.api.worker.v1.WorkerSlotsInfoR\x15activityTaskSlotsInfo\x12Z\n" + - "\x15nexus_task_slots_info\x18\x0e \x01(\v2'.temporal.api.worker.v1.WorkerSlotsInfoR\x12nexusTaskSlotsInfo\x12b\n" + - "\x19local_activity_slots_info\x18\x0f \x01(\v2'.temporal.api.worker.v1.WorkerSlotsInfoR\x16localActivitySlotsInfo\x12Z\n" + - "\x14workflow_poller_info\x18\x10 \x01(\v2(.temporal.api.worker.v1.WorkerPollerInfoR\x12workflowPollerInfo\x12g\n" + - "\x1bworkflow_sticky_poller_info\x18\x11 \x01(\v2(.temporal.api.worker.v1.WorkerPollerInfoR\x18workflowStickyPollerInfo\x12Z\n" + - "\x14activity_poller_info\x18\x12 \x01(\v2(.temporal.api.worker.v1.WorkerPollerInfoR\x12activityPollerInfo\x12T\n" + - "\x11nexus_poller_info\x18\x13 \x01(\v2(.temporal.api.worker.v1.WorkerPollerInfoR\x0fnexusPollerInfo\x123\n" + - "\x16total_sticky_cache_hit\x18\x14 \x01(\x05R\x13totalStickyCacheHit\x125\n" + - "\x17total_sticky_cache_miss\x18\x15 \x01(\x05R\x14totalStickyCacheMiss\x129\n" + - "\x19current_sticky_cache_size\x18\x16 \x01(\x05R\x16currentStickyCacheSize\x12<\n" + - "\aplugins\x18\x17 \x03(\v2\".temporal.api.worker.v1.PluginInfoR\aplugins\"`\n" + - "\n" + - "WorkerInfo\x12R\n" + - "\x10worker_heartbeat\x18\x01 \x01(\v2'.temporal.api.worker.v1.WorkerHeartbeatR\x0fworkerHeartbeat\":\n" + - "\n" + - "PluginInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + - "\aversion\x18\x02 \x01(\tR\aversionB\x89\x01\n" + - "\x19io.temporal.api.worker.v1B\fMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3" - -var ( - file_temporal_api_worker_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_worker_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_worker_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_worker_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_worker_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_worker_v1_message_proto_rawDesc), len(file_temporal_api_worker_v1_message_proto_rawDesc))) - }) - return file_temporal_api_worker_v1_message_proto_rawDescData -} - -var file_temporal_api_worker_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_temporal_api_worker_v1_message_proto_goTypes = []any{ - (*WorkerPollerInfo)(nil), // 0: temporal.api.worker.v1.WorkerPollerInfo - (*WorkerSlotsInfo)(nil), // 1: temporal.api.worker.v1.WorkerSlotsInfo - (*WorkerHostInfo)(nil), // 2: temporal.api.worker.v1.WorkerHostInfo - (*WorkerHeartbeat)(nil), // 3: temporal.api.worker.v1.WorkerHeartbeat - (*WorkerInfo)(nil), // 4: temporal.api.worker.v1.WorkerInfo - (*PluginInfo)(nil), // 5: temporal.api.worker.v1.PluginInfo - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp - (*v1.WorkerDeploymentVersion)(nil), // 7: temporal.api.deployment.v1.WorkerDeploymentVersion - (v11.WorkerStatus)(0), // 8: temporal.api.enums.v1.WorkerStatus - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration -} -var file_temporal_api_worker_v1_message_proto_depIdxs = []int32{ - 6, // 0: temporal.api.worker.v1.WorkerPollerInfo.last_successful_poll_time:type_name -> google.protobuf.Timestamp - 2, // 1: temporal.api.worker.v1.WorkerHeartbeat.host_info:type_name -> temporal.api.worker.v1.WorkerHostInfo - 7, // 2: temporal.api.worker.v1.WorkerHeartbeat.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 8, // 3: temporal.api.worker.v1.WorkerHeartbeat.status:type_name -> temporal.api.enums.v1.WorkerStatus - 6, // 4: temporal.api.worker.v1.WorkerHeartbeat.start_time:type_name -> google.protobuf.Timestamp - 6, // 5: temporal.api.worker.v1.WorkerHeartbeat.heartbeat_time:type_name -> google.protobuf.Timestamp - 9, // 6: temporal.api.worker.v1.WorkerHeartbeat.elapsed_since_last_heartbeat:type_name -> google.protobuf.Duration - 1, // 7: temporal.api.worker.v1.WorkerHeartbeat.workflow_task_slots_info:type_name -> temporal.api.worker.v1.WorkerSlotsInfo - 1, // 8: temporal.api.worker.v1.WorkerHeartbeat.activity_task_slots_info:type_name -> temporal.api.worker.v1.WorkerSlotsInfo - 1, // 9: temporal.api.worker.v1.WorkerHeartbeat.nexus_task_slots_info:type_name -> temporal.api.worker.v1.WorkerSlotsInfo - 1, // 10: temporal.api.worker.v1.WorkerHeartbeat.local_activity_slots_info:type_name -> temporal.api.worker.v1.WorkerSlotsInfo - 0, // 11: temporal.api.worker.v1.WorkerHeartbeat.workflow_poller_info:type_name -> temporal.api.worker.v1.WorkerPollerInfo - 0, // 12: temporal.api.worker.v1.WorkerHeartbeat.workflow_sticky_poller_info:type_name -> temporal.api.worker.v1.WorkerPollerInfo - 0, // 13: temporal.api.worker.v1.WorkerHeartbeat.activity_poller_info:type_name -> temporal.api.worker.v1.WorkerPollerInfo - 0, // 14: temporal.api.worker.v1.WorkerHeartbeat.nexus_poller_info:type_name -> temporal.api.worker.v1.WorkerPollerInfo - 5, // 15: temporal.api.worker.v1.WorkerHeartbeat.plugins:type_name -> temporal.api.worker.v1.PluginInfo - 3, // 16: temporal.api.worker.v1.WorkerInfo.worker_heartbeat:type_name -> temporal.api.worker.v1.WorkerHeartbeat - 17, // [17:17] is the sub-list for method output_type - 17, // [17:17] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name -} - -func init() { file_temporal_api_worker_v1_message_proto_init() } -func file_temporal_api_worker_v1_message_proto_init() { - if File_temporal_api_worker_v1_message_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_worker_v1_message_proto_rawDesc), len(file_temporal_api_worker_v1_message_proto_rawDesc)), - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_worker_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_worker_v1_message_proto_depIdxs, - MessageInfos: file_temporal_api_worker_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_worker_v1_message_proto = out.File - file_temporal_api_worker_v1_message_proto_goTypes = nil - file_temporal_api_worker_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/workflow/v1/message.pb.go b/build/temporal/api/workflow/v1/message.pb.go deleted file mode 100644 index d0c5763..0000000 --- a/build/temporal/api/workflow/v1/message.pb.go +++ /dev/null @@ -1,3424 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/workflow/v1/message.proto - -package workflow - -import ( - v16 "go.temporal.io/api/activity/v1" - v1 "go.temporal.io/api/common/v1" - v12 "go.temporal.io/api/deployment/v1" - v11 "go.temporal.io/api/enums/v1" - v15 "go.temporal.io/api/failure/v1" - v14 "go.temporal.io/api/sdk/v1" - v13 "go.temporal.io/api/taskqueue/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - emptypb "google.golang.org/protobuf/types/known/emptypb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Used to specify different sub-types of Pinned override that we plan to add in the future. -type VersioningOverride_PinnedOverrideBehavior int32 - -const ( - // Unspecified. - VersioningOverride_PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED VersioningOverride_PinnedOverrideBehavior = 0 - // Override workflow behavior to be Pinned. - VersioningOverride_PINNED_OVERRIDE_BEHAVIOR_PINNED VersioningOverride_PinnedOverrideBehavior = 1 -) - -// Enum value maps for VersioningOverride_PinnedOverrideBehavior. -var ( - VersioningOverride_PinnedOverrideBehavior_name = map[int32]string{ - 0: "PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED", - 1: "PINNED_OVERRIDE_BEHAVIOR_PINNED", - } - VersioningOverride_PinnedOverrideBehavior_value = map[string]int32{ - "PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED": 0, - "PINNED_OVERRIDE_BEHAVIOR_PINNED": 1, - } -) - -func (x VersioningOverride_PinnedOverrideBehavior) Enum() *VersioningOverride_PinnedOverrideBehavior { - p := new(VersioningOverride_PinnedOverrideBehavior) - *p = x - return p -} - -func (x VersioningOverride_PinnedOverrideBehavior) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VersioningOverride_PinnedOverrideBehavior) Descriptor() protoreflect.EnumDescriptor { - return file_temporal_api_workflow_v1_message_proto_enumTypes[0].Descriptor() -} - -func (VersioningOverride_PinnedOverrideBehavior) Type() protoreflect.EnumType { - return &file_temporal_api_workflow_v1_message_proto_enumTypes[0] -} - -func (x VersioningOverride_PinnedOverrideBehavior) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use VersioningOverride_PinnedOverrideBehavior.Descriptor instead. -func (VersioningOverride_PinnedOverrideBehavior) EnumDescriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{16, 0} -} - -// Hold basic information about a workflow execution. -// This structure is a part of visibility, and thus contain a limited subset of information. -type WorkflowExecutionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Execution *v1.WorkflowExecution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"` - Type *v1.WorkflowType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - CloseTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` - Status v11.WorkflowExecutionStatus `protobuf:"varint,5,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"` - HistoryLength int64 `protobuf:"varint,6,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"` - ParentNamespaceId string `protobuf:"bytes,7,opt,name=parent_namespace_id,json=parentNamespaceId,proto3" json:"parent_namespace_id,omitempty"` - ParentExecution *v1.WorkflowExecution `protobuf:"bytes,8,opt,name=parent_execution,json=parentExecution,proto3" json:"parent_execution,omitempty"` - ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` - Memo *v1.Memo `protobuf:"bytes,10,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,11,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - AutoResetPoints *ResetPoints `protobuf:"bytes,12,opt,name=auto_reset_points,json=autoResetPoints,proto3" json:"auto_reset_points,omitempty"` - TaskQueue string `protobuf:"bytes,13,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - StateTransitionCount int64 `protobuf:"varint,14,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"` - HistorySizeBytes int64 `protobuf:"varint,15,opt,name=history_size_bytes,json=historySizeBytes,proto3" json:"history_size_bytes,omitempty"` - // If set, the most recent worker version stamp that appeared in a workflow task completion - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - MostRecentWorkerVersionStamp *v1.WorkerVersionStamp `protobuf:"bytes,16,opt,name=most_recent_worker_version_stamp,json=mostRecentWorkerVersionStamp,proto3" json:"most_recent_worker_version_stamp,omitempty"` - // Workflow execution duration is defined as difference between close time and execution time. - // This field is only populated if the workflow is closed. - ExecutionDuration *durationpb.Duration `protobuf:"bytes,17,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"` - // Contains information about the root workflow execution. - // The root workflow execution is defined as follows: - // 1. A workflow without parent workflow is its own root workflow. - // 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. - // Note: workflows continued as new or reseted may or may not have parents, check examples below. - // - // Examples: - // - // Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - // - The root workflow of all three workflows is W1. - // Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - // - The root workflow of all three workflows is W1. - // Scenario 3: Workflow W1 continued as new W2. - // - The root workflow of W1 is W1 and the root workflow of W2 is W2. - // Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - // - The root workflow of all three workflows is W1. - // Scenario 5: Workflow W1 is reseted, creating W2. - // - The root workflow of W1 is W1 and the root workflow of W2 is W2. - RootExecution *v1.WorkflowExecution `protobuf:"bytes,18,opt,name=root_execution,json=rootExecution,proto3" json:"root_execution,omitempty"` - // The currently assigned build ID for this execution. Presence of this value means worker versioning is used - // for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules - // when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled - // again, the assigned build ID may change according to the latest versioning rules. - // Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to - // this execution. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - AssignedBuildId string `protobuf:"bytes,19,opt,name=assigned_build_id,json=assignedBuildId,proto3" json:"assigned_build_id,omitempty"` - // Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead - // of using the assignment rules. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - InheritedBuildId string `protobuf:"bytes,20,opt,name=inherited_build_id,json=inheritedBuildId,proto3" json:"inherited_build_id,omitempty"` - // The first run ID in the execution chain. - // Executions created via the following operations are considered to be in the same chain - // - ContinueAsNew - // - Workflow Retry - // - Workflow Reset - // - Cron Schedule - FirstRunId string `protobuf:"bytes,21,opt,name=first_run_id,json=firstRunId,proto3" json:"first_run_id,omitempty"` - // Absent value means the workflow execution is not versioned. When present, the execution might - // be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. - // Experimental. Versioning info is experimental and might change in the future. - VersioningInfo *WorkflowExecutionVersioningInfo `protobuf:"bytes,22,opt,name=versioning_info,json=versioningInfo,proto3" json:"versioning_info,omitempty"` - // The name of Worker Deployment that completed the most recent workflow task. - // Experimental. Worker Deployments are experimental and might change in the future. - WorkerDeploymentName string `protobuf:"bytes,23,opt,name=worker_deployment_name,json=workerDeploymentName,proto3" json:"worker_deployment_name,omitempty"` - // Priority metadata - Priority *v1.Priority `protobuf:"bytes,24,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionInfo) Reset() { - *x = WorkflowExecutionInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionInfo) ProtoMessage() {} - -func (x *WorkflowExecutionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionInfo.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{0} -} - -func (x *WorkflowExecutionInfo) GetExecution() *v1.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *WorkflowExecutionInfo) GetType() *v1.WorkflowType { - if x != nil { - return x.Type - } - return nil -} - -func (x *WorkflowExecutionInfo) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *WorkflowExecutionInfo) GetCloseTime() *timestamppb.Timestamp { - if x != nil { - return x.CloseTime - } - return nil -} - -func (x *WorkflowExecutionInfo) GetStatus() v11.WorkflowExecutionStatus { - if x != nil { - return x.Status - } - return v11.WorkflowExecutionStatus(0) -} - -func (x *WorkflowExecutionInfo) GetHistoryLength() int64 { - if x != nil { - return x.HistoryLength - } - return 0 -} - -func (x *WorkflowExecutionInfo) GetParentNamespaceId() string { - if x != nil { - return x.ParentNamespaceId - } - return "" -} - -func (x *WorkflowExecutionInfo) GetParentExecution() *v1.WorkflowExecution { - if x != nil { - return x.ParentExecution - } - return nil -} - -func (x *WorkflowExecutionInfo) GetExecutionTime() *timestamppb.Timestamp { - if x != nil { - return x.ExecutionTime - } - return nil -} - -func (x *WorkflowExecutionInfo) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *WorkflowExecutionInfo) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *WorkflowExecutionInfo) GetAutoResetPoints() *ResetPoints { - if x != nil { - return x.AutoResetPoints - } - return nil -} - -func (x *WorkflowExecutionInfo) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *WorkflowExecutionInfo) GetStateTransitionCount() int64 { - if x != nil { - return x.StateTransitionCount - } - return 0 -} - -func (x *WorkflowExecutionInfo) GetHistorySizeBytes() int64 { - if x != nil { - return x.HistorySizeBytes - } - return 0 -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionInfo) GetMostRecentWorkerVersionStamp() *v1.WorkerVersionStamp { - if x != nil { - return x.MostRecentWorkerVersionStamp - } - return nil -} - -func (x *WorkflowExecutionInfo) GetExecutionDuration() *durationpb.Duration { - if x != nil { - return x.ExecutionDuration - } - return nil -} - -func (x *WorkflowExecutionInfo) GetRootExecution() *v1.WorkflowExecution { - if x != nil { - return x.RootExecution - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionInfo) GetAssignedBuildId() string { - if x != nil { - return x.AssignedBuildId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionInfo) GetInheritedBuildId() string { - if x != nil { - return x.InheritedBuildId - } - return "" -} - -func (x *WorkflowExecutionInfo) GetFirstRunId() string { - if x != nil { - return x.FirstRunId - } - return "" -} - -func (x *WorkflowExecutionInfo) GetVersioningInfo() *WorkflowExecutionVersioningInfo { - if x != nil { - return x.VersioningInfo - } - return nil -} - -func (x *WorkflowExecutionInfo) GetWorkerDeploymentName() string { - if x != nil { - return x.WorkerDeploymentName - } - return "" -} - -func (x *WorkflowExecutionInfo) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -// Holds all the extra information about workflow execution that is not part of Visibility. -type WorkflowExecutionExtendedInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Workflow execution expiration time is defined as workflow start time plus expiration timeout. - // Workflow start time may change after workflow reset. - ExecutionExpirationTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=execution_expiration_time,json=executionExpirationTime,proto3" json:"execution_expiration_time,omitempty"` - // Workflow run expiration time is defined as current workflow run start time plus workflow run timeout. - RunExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=run_expiration_time,json=runExpirationTime,proto3" json:"run_expiration_time,omitempty"` - // indicates if the workflow received a cancel request - CancelRequested bool `protobuf:"varint,3,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` - // Last workflow reset time. Nil if the workflow was never reset. - LastResetTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_reset_time,json=lastResetTime,proto3" json:"last_reset_time,omitempty"` - // Original workflow start time. - OriginalStartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=original_start_time,json=originalStartTime,proto3" json:"original_start_time,omitempty"` - // Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run. - ResetRunId string `protobuf:"bytes,6,opt,name=reset_run_id,json=resetRunId,proto3" json:"reset_run_id,omitempty"` - // Request ID information (eg: history event information associated with the request ID). - // Note: It only contains request IDs from StartWorkflowExecution requests, including indirect - // calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is - // used in the StartWorkflowExecution request). - RequestIdInfos map[string]*RequestIdInfo `protobuf:"bytes,7,rep,name=request_id_infos,json=requestIdInfos,proto3" json:"request_id_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionExtendedInfo) Reset() { - *x = WorkflowExecutionExtendedInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionExtendedInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionExtendedInfo) ProtoMessage() {} - -func (x *WorkflowExecutionExtendedInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionExtendedInfo.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionExtendedInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{1} -} - -func (x *WorkflowExecutionExtendedInfo) GetExecutionExpirationTime() *timestamppb.Timestamp { - if x != nil { - return x.ExecutionExpirationTime - } - return nil -} - -func (x *WorkflowExecutionExtendedInfo) GetRunExpirationTime() *timestamppb.Timestamp { - if x != nil { - return x.RunExpirationTime - } - return nil -} - -func (x *WorkflowExecutionExtendedInfo) GetCancelRequested() bool { - if x != nil { - return x.CancelRequested - } - return false -} - -func (x *WorkflowExecutionExtendedInfo) GetLastResetTime() *timestamppb.Timestamp { - if x != nil { - return x.LastResetTime - } - return nil -} - -func (x *WorkflowExecutionExtendedInfo) GetOriginalStartTime() *timestamppb.Timestamp { - if x != nil { - return x.OriginalStartTime - } - return nil -} - -func (x *WorkflowExecutionExtendedInfo) GetResetRunId() string { - if x != nil { - return x.ResetRunId - } - return "" -} - -func (x *WorkflowExecutionExtendedInfo) GetRequestIdInfos() map[string]*RequestIdInfo { - if x != nil { - return x.RequestIdInfos - } - return nil -} - -// Holds all the information about worker versioning for a particular workflow execution. -// Experimental. Versioning info is experimental and might change in the future. -type WorkflowExecutionVersioningInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Versioning behavior determines how the server should treat this execution when workers are - // upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means - // unversioned. See the comments in `VersioningBehavior` enum for more info about different - // behaviors. - // This field is first set after an execution completes its first workflow task on a versioned - // worker, and set again on completion of every subsequent workflow task. - // For child workflows of Pinned parents, this will be set to Pinned (along with `deployment_version`) when - // the the child starts so that child's first workflow task goes to the same Version as the - // parent. After the first workflow task, it depends on the child workflow itself if it wants - // to stay pinned or become unpinned (according to Versioning Behavior set in the worker). - // Note that `behavior` is overridden by `versioning_override` if the latter is present. - Behavior v11.VersioningBehavior `protobuf:"varint,1,opt,name=behavior,proto3,enum=temporal.api.enums.v1.VersioningBehavior" json:"behavior,omitempty"` - // The worker deployment that completed the last workflow task of this workflow execution. Must - // be present if `behavior` is set. Absent value means no workflow task is completed, or the - // last workflow task was completed by an unversioned worker. Unversioned workers may still send - // a deployment value which will be stored here, so the right way to check if an execution is - // versioned if an execution is versioned or not is via the `behavior` field. - // Note that `deployment` is overridden by `versioning_override` if the latter is present. - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - Deployment *v12.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` - // The Worker Deployment Version that completed the last workflow task of this workflow execution. - // An absent value means no workflow task is completed, or the workflow is unversioned. - // If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed - // by a worker that is not using versioning but _is_ passing Deployment Name and Build ID. - // - // For child workflows of Pinned parents, this will be set to the parent's Pinned Version when - // the child starts, so that the child's first workflow task goes to the same Version as the parent. - // Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version` - // will override this value. - DeploymentVersion *v12.WorkerDeploymentVersion `protobuf:"bytes,7,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - // Present if user has set an execution-specific versioning override. This override takes - // precedence over SDK-sent `behavior` (and `version` when override is PINNED). An - // override can be set when starting a new execution, as well as afterwards by calling the - // `UpdateWorkflowExecutionOptions` API. - // Pinned overrides are automatically inherited by child workflows, continue-as-new workflows, - // workflow retries, and cron workflows. - VersioningOverride *VersioningOverride `protobuf:"bytes,3,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // When present, indicates the workflow is transitioning to a different deployment. Can - // indicate one of the following transitions: unversioned -> versioned, versioned -> versioned - // on a different deployment, or versioned -> unversioned. - // Not applicable to workflows with PINNED behavior. - // When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically - // start a transition to the task queue's current deployment if the task queue's current - // deployment is different from the workflow's deployment. - // If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those - // tasks will be redirected to the task queue's current deployment. As soon as a poller from - // that deployment is available to receive the task, the workflow will automatically start a - // transition to that deployment and continue execution there. - // A deployment transition can only exist while there is a pending or started workflow task. - // Once the pending workflow task completes on the transition's target deployment, the - // transition completes and the workflow's `deployment` and `behavior` fields are updated per - // the worker's task completion response. - // Pending activities will not start new attempts during a transition. Once the transition is - // completed, pending activities will start their next attempt on the new deployment. - // Deprecated. Use version_transition. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - DeploymentTransition *DeploymentTransition `protobuf:"bytes,4,opt,name=deployment_transition,json=deploymentTransition,proto3" json:"deployment_transition,omitempty"` - // When present, indicates the workflow is transitioning to a different deployment version - // (which may belong to the same deployment name or another). Can indicate one of the following - // transitions: unversioned -> versioned, versioned -> versioned - // on a different deployment version, or versioned -> unversioned. - // Not applicable to workflows with PINNED behavior. - // When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically - // start a transition to the task queue's current version if the task queue's current version is - // different from the workflow's current deployment version. - // If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those - // tasks will be redirected to the task queue's current version. As soon as a poller from - // that deployment version is available to receive the task, the workflow will automatically - // start a transition to that version and continue execution there. - // A version transition can only exist while there is a pending or started workflow task. - // Once the pending workflow task completes on the transition's target version, the - // transition completes and the workflow's `behavior`, and `deployment_version` fields are updated per the - // worker's task completion response. - // Pending activities will not start new attempts during a transition. Once the transition is - // completed, pending activities will start their next attempt on the new version. - VersionTransition *DeploymentVersionTransition `protobuf:"bytes,6,opt,name=version_transition,json=versionTransition,proto3" json:"version_transition,omitempty"` - // Monotonic counter reflecting the latest routing decision for this workflow execution. - // Used for staleness detection between history and matching when dispatching tasks to workers. - // Incremented when a workflow execution routes to a new deployment version, which happens - // when a worker of the new deployment version completes a workflow task. - // Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not - // face the problem of inconsistent dispatching that arises from eventual consistency between - // task queues and their partitions. - RevisionNumber int64 `protobuf:"varint,8,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionVersioningInfo) Reset() { - *x = WorkflowExecutionVersioningInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionVersioningInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionVersioningInfo) ProtoMessage() {} - -func (x *WorkflowExecutionVersioningInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionVersioningInfo.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionVersioningInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{2} -} - -func (x *WorkflowExecutionVersioningInfo) GetBehavior() v11.VersioningBehavior { - if x != nil { - return x.Behavior - } - return v11.VersioningBehavior(0) -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionVersioningInfo) GetDeployment() *v12.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionVersioningInfo) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *WorkflowExecutionVersioningInfo) GetDeploymentVersion() *v12.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *WorkflowExecutionVersioningInfo) GetVersioningOverride() *VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *WorkflowExecutionVersioningInfo) GetDeploymentTransition() *DeploymentTransition { - if x != nil { - return x.DeploymentTransition - } - return nil -} - -func (x *WorkflowExecutionVersioningInfo) GetVersionTransition() *DeploymentVersionTransition { - if x != nil { - return x.VersionTransition - } - return nil -} - -func (x *WorkflowExecutionVersioningInfo) GetRevisionNumber() int64 { - if x != nil { - return x.RevisionNumber - } - return 0 -} - -// Holds information about ongoing transition of a workflow execution from one deployment to another. -// Deprecated. Use DeploymentVersionTransition. -type DeploymentTransition struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The target deployment of the transition. Null means a so-far-versioned workflow is - // transitioning to unversioned workers. - Deployment *v12.Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploymentTransition) Reset() { - *x = DeploymentTransition{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploymentTransition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploymentTransition) ProtoMessage() {} - -func (x *DeploymentTransition) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploymentTransition.ProtoReflect.Descriptor instead. -func (*DeploymentTransition) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{3} -} - -func (x *DeploymentTransition) GetDeployment() *v12.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -// Holds information about ongoing transition of a workflow execution from one worker -// deployment version to another. -// Experimental. Might change in the future. -type DeploymentVersionTransition struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // The target Version of the transition. - // If nil, a so-far-versioned workflow is transitioning to unversioned workers. - DeploymentVersion *v12.WorkerDeploymentVersion `protobuf:"bytes,2,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploymentVersionTransition) Reset() { - *x = DeploymentVersionTransition{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploymentVersionTransition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploymentVersionTransition) ProtoMessage() {} - -func (x *DeploymentVersionTransition) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploymentVersionTransition.ProtoReflect.Descriptor instead. -func (*DeploymentVersionTransition) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{4} -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *DeploymentVersionTransition) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *DeploymentVersionTransition) GetDeploymentVersion() *v12.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -type WorkflowExecutionConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - TaskQueue *v13.TaskQueue `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - DefaultWorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=default_workflow_task_timeout,json=defaultWorkflowTaskTimeout,proto3" json:"default_workflow_task_timeout,omitempty"` - // User metadata provided on start workflow. - UserMetadata *v14.UserMetadata `protobuf:"bytes,5,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionConfig) Reset() { - *x = WorkflowExecutionConfig{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionConfig) ProtoMessage() {} - -func (x *WorkflowExecutionConfig) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionConfig.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionConfig) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{5} -} - -func (x *WorkflowExecutionConfig) GetTaskQueue() *v13.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *WorkflowExecutionConfig) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *WorkflowExecutionConfig) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *WorkflowExecutionConfig) GetDefaultWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.DefaultWorkflowTaskTimeout - } - return nil -} - -func (x *WorkflowExecutionConfig) GetUserMetadata() *v14.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -type PendingActivityInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - ActivityType *v1.ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` - State v11.PendingActivityState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.PendingActivityState" json:"state,omitempty"` - HeartbeatDetails *v1.Payloads `protobuf:"bytes,4,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"` - LastHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"` - LastStartedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_started_time,json=lastStartedTime,proto3" json:"last_started_time,omitempty"` - Attempt int32 `protobuf:"varint,7,opt,name=attempt,proto3" json:"attempt,omitempty"` - MaximumAttempts int32 `protobuf:"varint,8,opt,name=maximum_attempts,json=maximumAttempts,proto3" json:"maximum_attempts,omitempty"` - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` - LastFailure *v15.Failure `protobuf:"bytes,11,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"` - LastWorkerIdentity string `protobuf:"bytes,12,opt,name=last_worker_identity,json=lastWorkerIdentity,proto3" json:"last_worker_identity,omitempty"` - // Absence of `assigned_build_id` generally means this task is on an "unversioned" task queue. - // In rare cases, it can also mean that the task queue is versioned but we failed to write activity's - // independently-assigned build ID to the database. This case heals automatically once the task is dispatched. - // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Types that are valid to be assigned to AssignedBuildId: - // - // *PendingActivityInfo_UseWorkflowBuildId - // *PendingActivityInfo_LastIndependentlyAssignedBuildId - AssignedBuildId isPendingActivityInfo_AssignedBuildId `protobuf_oneof:"assigned_build_id"` - // Deprecated. The version stamp of the worker to whom this activity was most recently dispatched - // This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - LastWorkerVersionStamp *v1.WorkerVersionStamp `protobuf:"bytes,15,opt,name=last_worker_version_stamp,json=lastWorkerVersionStamp,proto3" json:"last_worker_version_stamp,omitempty"` - // The time activity will wait until the next retry. - // If activity is currently running it will be next retry interval if activity failed. - // If activity is currently waiting it will be current retry interval. - // If there will be no retry it will be null. - CurrentRetryInterval *durationpb.Duration `protobuf:"bytes,16,opt,name=current_retry_interval,json=currentRetryInterval,proto3" json:"current_retry_interval,omitempty"` - // The time when the last activity attempt was completed. If activity has not been completed yet then it will be null. - LastAttemptCompleteTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=last_attempt_complete_time,json=lastAttemptCompleteTime,proto3" json:"last_attempt_complete_time,omitempty"` - // Next time when activity will be scheduled. - // If activity is currently scheduled or started it will be null. - NextAttemptScheduleTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=next_attempt_schedule_time,json=nextAttemptScheduleTime,proto3" json:"next_attempt_schedule_time,omitempty"` - // Indicates if activity is paused. - Paused bool `protobuf:"varint,19,opt,name=paused,proto3" json:"paused,omitempty"` - // The deployment this activity was dispatched to most recently. Present only if the activity - // was dispatched to a versioned worker. - // Deprecated. Use `last_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - LastDeployment *v12.Deployment `protobuf:"bytes,20,opt,name=last_deployment,json=lastDeployment,proto3" json:"last_deployment,omitempty"` - // The Worker Deployment Version this activity was dispatched to most recently. - // Deprecated. Use `last_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - LastWorkerDeploymentVersion string `protobuf:"bytes,21,opt,name=last_worker_deployment_version,json=lastWorkerDeploymentVersion,proto3" json:"last_worker_deployment_version,omitempty"` - // The Worker Deployment Version this activity was dispatched to most recently. - // If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. - LastDeploymentVersion *v12.WorkerDeploymentVersion `protobuf:"bytes,25,opt,name=last_deployment_version,json=lastDeploymentVersion,proto3" json:"last_deployment_version,omitempty"` - // Priority metadata - Priority *v1.Priority `protobuf:"bytes,22,opt,name=priority,proto3" json:"priority,omitempty"` - PauseInfo *PendingActivityInfo_PauseInfo `protobuf:"bytes,23,opt,name=pause_info,json=pauseInfo,proto3" json:"pause_info,omitempty"` - // Current activity options. May be different from the one used to start the activity. - ActivityOptions *v16.ActivityOptions `protobuf:"bytes,24,opt,name=activity_options,json=activityOptions,proto3" json:"activity_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingActivityInfo) Reset() { - *x = PendingActivityInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingActivityInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingActivityInfo) ProtoMessage() {} - -func (x *PendingActivityInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingActivityInfo.ProtoReflect.Descriptor instead. -func (*PendingActivityInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{6} -} - -func (x *PendingActivityInfo) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *PendingActivityInfo) GetActivityType() *v1.ActivityType { - if x != nil { - return x.ActivityType - } - return nil -} - -func (x *PendingActivityInfo) GetState() v11.PendingActivityState { - if x != nil { - return x.State - } - return v11.PendingActivityState(0) -} - -func (x *PendingActivityInfo) GetHeartbeatDetails() *v1.Payloads { - if x != nil { - return x.HeartbeatDetails - } - return nil -} - -func (x *PendingActivityInfo) GetLastHeartbeatTime() *timestamppb.Timestamp { - if x != nil { - return x.LastHeartbeatTime - } - return nil -} - -func (x *PendingActivityInfo) GetLastStartedTime() *timestamppb.Timestamp { - if x != nil { - return x.LastStartedTime - } - return nil -} - -func (x *PendingActivityInfo) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *PendingActivityInfo) GetMaximumAttempts() int32 { - if x != nil { - return x.MaximumAttempts - } - return 0 -} - -func (x *PendingActivityInfo) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *PendingActivityInfo) GetExpirationTime() *timestamppb.Timestamp { - if x != nil { - return x.ExpirationTime - } - return nil -} - -func (x *PendingActivityInfo) GetLastFailure() *v15.Failure { - if x != nil { - return x.LastFailure - } - return nil -} - -func (x *PendingActivityInfo) GetLastWorkerIdentity() string { - if x != nil { - return x.LastWorkerIdentity - } - return "" -} - -func (x *PendingActivityInfo) GetAssignedBuildId() isPendingActivityInfo_AssignedBuildId { - if x != nil { - return x.AssignedBuildId - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingActivityInfo) GetUseWorkflowBuildId() *emptypb.Empty { - if x != nil { - if x, ok := x.AssignedBuildId.(*PendingActivityInfo_UseWorkflowBuildId); ok { - return x.UseWorkflowBuildId - } - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingActivityInfo) GetLastIndependentlyAssignedBuildId() string { - if x != nil { - if x, ok := x.AssignedBuildId.(*PendingActivityInfo_LastIndependentlyAssignedBuildId); ok { - return x.LastIndependentlyAssignedBuildId - } - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingActivityInfo) GetLastWorkerVersionStamp() *v1.WorkerVersionStamp { - if x != nil { - return x.LastWorkerVersionStamp - } - return nil -} - -func (x *PendingActivityInfo) GetCurrentRetryInterval() *durationpb.Duration { - if x != nil { - return x.CurrentRetryInterval - } - return nil -} - -func (x *PendingActivityInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp { - if x != nil { - return x.LastAttemptCompleteTime - } - return nil -} - -func (x *PendingActivityInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp { - if x != nil { - return x.NextAttemptScheduleTime - } - return nil -} - -func (x *PendingActivityInfo) GetPaused() bool { - if x != nil { - return x.Paused - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingActivityInfo) GetLastDeployment() *v12.Deployment { - if x != nil { - return x.LastDeployment - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingActivityInfo) GetLastWorkerDeploymentVersion() string { - if x != nil { - return x.LastWorkerDeploymentVersion - } - return "" -} - -func (x *PendingActivityInfo) GetLastDeploymentVersion() *v12.WorkerDeploymentVersion { - if x != nil { - return x.LastDeploymentVersion - } - return nil -} - -func (x *PendingActivityInfo) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -func (x *PendingActivityInfo) GetPauseInfo() *PendingActivityInfo_PauseInfo { - if x != nil { - return x.PauseInfo - } - return nil -} - -func (x *PendingActivityInfo) GetActivityOptions() *v16.ActivityOptions { - if x != nil { - return x.ActivityOptions - } - return nil -} - -type isPendingActivityInfo_AssignedBuildId interface { - isPendingActivityInfo_AssignedBuildId() -} - -type PendingActivityInfo_UseWorkflowBuildId struct { - // Deprecated. When present, it means this activity is assigned to the build ID of its workflow. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - UseWorkflowBuildId *emptypb.Empty `protobuf:"bytes,13,opt,name=use_workflow_build_id,json=useWorkflowBuildId,proto3,oneof"` -} - -type PendingActivityInfo_LastIndependentlyAssignedBuildId struct { - // Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. - // The activity will use the build id in this field instead. - // If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning - // rules. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - LastIndependentlyAssignedBuildId string `protobuf:"bytes,14,opt,name=last_independently_assigned_build_id,json=lastIndependentlyAssignedBuildId,proto3,oneof"` -} - -func (*PendingActivityInfo_UseWorkflowBuildId) isPendingActivityInfo_AssignedBuildId() {} - -func (*PendingActivityInfo_LastIndependentlyAssignedBuildId) isPendingActivityInfo_AssignedBuildId() { -} - -type PendingChildExecutionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - WorkflowTypeName string `protobuf:"bytes,3,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"` - InitiatedId int64 `protobuf:"varint,4,opt,name=initiated_id,json=initiatedId,proto3" json:"initiated_id,omitempty"` - // Default: PARENT_CLOSE_POLICY_TERMINATE. - ParentClosePolicy v11.ParentClosePolicy `protobuf:"varint,5,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=temporal.api.enums.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingChildExecutionInfo) Reset() { - *x = PendingChildExecutionInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingChildExecutionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingChildExecutionInfo) ProtoMessage() {} - -func (x *PendingChildExecutionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingChildExecutionInfo.ProtoReflect.Descriptor instead. -func (*PendingChildExecutionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{7} -} - -func (x *PendingChildExecutionInfo) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *PendingChildExecutionInfo) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *PendingChildExecutionInfo) GetWorkflowTypeName() string { - if x != nil { - return x.WorkflowTypeName - } - return "" -} - -func (x *PendingChildExecutionInfo) GetInitiatedId() int64 { - if x != nil { - return x.InitiatedId - } - return 0 -} - -func (x *PendingChildExecutionInfo) GetParentClosePolicy() v11.ParentClosePolicy { - if x != nil { - return x.ParentClosePolicy - } - return v11.ParentClosePolicy(0) -} - -type PendingWorkflowTaskInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - State v11.PendingWorkflowTaskState `protobuf:"varint,1,opt,name=state,proto3,enum=temporal.api.enums.v1.PendingWorkflowTaskState" json:"state,omitempty"` - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - // original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat. - // Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command - // In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds - // some threshold, the workflow task will be forced timeout. - OriginalScheduledTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=original_scheduled_time,json=originalScheduledTime,proto3" json:"original_scheduled_time,omitempty"` - StartedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` - Attempt int32 `protobuf:"varint,5,opt,name=attempt,proto3" json:"attempt,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingWorkflowTaskInfo) Reset() { - *x = PendingWorkflowTaskInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingWorkflowTaskInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingWorkflowTaskInfo) ProtoMessage() {} - -func (x *PendingWorkflowTaskInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingWorkflowTaskInfo.ProtoReflect.Descriptor instead. -func (*PendingWorkflowTaskInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{8} -} - -func (x *PendingWorkflowTaskInfo) GetState() v11.PendingWorkflowTaskState { - if x != nil { - return x.State - } - return v11.PendingWorkflowTaskState(0) -} - -func (x *PendingWorkflowTaskInfo) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *PendingWorkflowTaskInfo) GetOriginalScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.OriginalScheduledTime - } - return nil -} - -func (x *PendingWorkflowTaskInfo) GetStartedTime() *timestamppb.Timestamp { - if x != nil { - return x.StartedTime - } - return nil -} - -func (x *PendingWorkflowTaskInfo) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -type ResetPoints struct { - state protoimpl.MessageState `protogen:"open.v1"` - Points []*ResetPointInfo `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetPoints) Reset() { - *x = ResetPoints{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetPoints) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetPoints) ProtoMessage() {} - -func (x *ResetPoints) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetPoints.ProtoReflect.Descriptor instead. -func (*ResetPoints) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{9} -} - -func (x *ResetPoints) GetPoints() []*ResetPointInfo { - if x != nil { - return x.Points - } - return nil -} - -// ResetPointInfo records the workflow event id that is the first one processed by a given -// build id or binary checksum. A new reset point will be created if either build id or binary -// checksum changes (although in general only one or the other will be used at a time). -type ResetPointInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Worker build id. - BuildId string `protobuf:"bytes,7,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Deprecated. A worker binary version identifier. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - BinaryChecksum string `protobuf:"bytes,1,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - // The first run ID in the execution chain that was touched by this worker build. - RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Event ID of the first WorkflowTaskCompleted event processed by this worker build. - FirstWorkflowTaskCompletedId int64 `protobuf:"varint,3,opt,name=first_workflow_task_completed_id,json=firstWorkflowTaskCompletedId,proto3" json:"first_workflow_task_completed_id,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // (-- api-linter: core::0214::resource-expiry=disabled - // - // aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --) - // - // The time that the run is deleted due to retention. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // false if the reset point has pending childWFs/reqCancels/signalExternals. - Resettable bool `protobuf:"varint,6,opt,name=resettable,proto3" json:"resettable,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetPointInfo) Reset() { - *x = ResetPointInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetPointInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetPointInfo) ProtoMessage() {} - -func (x *ResetPointInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetPointInfo.ProtoReflect.Descriptor instead. -func (*ResetPointInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{10} -} - -func (x *ResetPointInfo) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *ResetPointInfo) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -func (x *ResetPointInfo) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *ResetPointInfo) GetFirstWorkflowTaskCompletedId() int64 { - if x != nil { - return x.FirstWorkflowTaskCompletedId - } - return 0 -} - -func (x *ResetPointInfo) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *ResetPointInfo) GetExpireTime() *timestamppb.Timestamp { - if x != nil { - return x.ExpireTime - } - return nil -} - -func (x *ResetPointInfo) GetResettable() bool { - if x != nil { - return x.Resettable - } - return false -} - -// NewWorkflowExecutionInfo is a shared message that encapsulates all the -// required arguments to starting a workflow in different contexts. -type NewWorkflowExecutionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v1.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v13.TaskQueue `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Serialized arguments to the workflow. - Input *v1.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new. - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - WorkflowIdReusePolicy v11.WorkflowIdReusePolicy `protobuf:"varint,8,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` - // The retry policy for the workflow. Will never exceed `workflow_execution_timeout`. - RetryPolicy *v1.RetryPolicy `protobuf:"bytes,9,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/ - CronSchedule string `protobuf:"bytes,10,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Memo *v1.Memo `protobuf:"bytes,11,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v1.SearchAttributes `protobuf:"bytes,12,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - Header *v1.Header `protobuf:"bytes,13,opt,name=header,proto3" json:"header,omitempty"` - // Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig - // for use by user interfaces to display the fixed as-of-start summary and details of the - // workflow. - UserMetadata *v14.UserMetadata `protobuf:"bytes,14,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - // If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. - // To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. - VersioningOverride *VersioningOverride `protobuf:"bytes,15,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // Priority metadata - Priority *v1.Priority `protobuf:"bytes,16,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NewWorkflowExecutionInfo) Reset() { - *x = NewWorkflowExecutionInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NewWorkflowExecutionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NewWorkflowExecutionInfo) ProtoMessage() {} - -func (x *NewWorkflowExecutionInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NewWorkflowExecutionInfo.ProtoReflect.Descriptor instead. -func (*NewWorkflowExecutionInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{11} -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowType() *v1.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetTaskQueue() *v13.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetWorkflowIdReusePolicy() v11.WorkflowIdReusePolicy { - if x != nil { - return x.WorkflowIdReusePolicy - } - return v11.WorkflowIdReusePolicy(0) -} - -func (x *NewWorkflowExecutionInfo) GetRetryPolicy() *v1.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *NewWorkflowExecutionInfo) GetMemo() *v1.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetSearchAttributes() *v1.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetUserMetadata() *v14.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetVersioningOverride() *VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -func (x *NewWorkflowExecutionInfo) GetPriority() *v1.Priority { - if x != nil { - return x.Priority - } - return nil -} - -// CallbackInfo contains the state of an attached workflow callback. -type CallbackInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Information on how this callback should be invoked (e.g. its URL and type). - Callback *v1.Callback `protobuf:"bytes,1,opt,name=callback,proto3" json:"callback,omitempty"` - // Trigger for this callback. - Trigger *CallbackInfo_Trigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"` - // The time when the callback was registered. - RegistrationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=registration_time,json=registrationTime,proto3" json:"registration_time,omitempty"` - State v11.CallbackState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.enums.v1.CallbackState" json:"state,omitempty"` - // The number of attempts made to deliver the callback. - // This number represents a minimum bound since the attempt is incremented after the callback request completes. - Attempt int32 `protobuf:"varint,5,opt,name=attempt,proto3" json:"attempt,omitempty"` - // The time when the last attempt completed. - LastAttemptCompleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_attempt_complete_time,json=lastAttemptCompleteTime,proto3" json:"last_attempt_complete_time,omitempty"` - // The last attempt's failure, if any. - LastAttemptFailure *v15.Failure `protobuf:"bytes,7,opt,name=last_attempt_failure,json=lastAttemptFailure,proto3" json:"last_attempt_failure,omitempty"` - // The time when the next attempt is scheduled. - NextAttemptScheduleTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=next_attempt_schedule_time,json=nextAttemptScheduleTime,proto3" json:"next_attempt_schedule_time,omitempty"` - // If the state is BLOCKED, blocked reason provides additional information. - BlockedReason string `protobuf:"bytes,9,opt,name=blocked_reason,json=blockedReason,proto3" json:"blocked_reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CallbackInfo) Reset() { - *x = CallbackInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CallbackInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallbackInfo) ProtoMessage() {} - -func (x *CallbackInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallbackInfo.ProtoReflect.Descriptor instead. -func (*CallbackInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{12} -} - -func (x *CallbackInfo) GetCallback() *v1.Callback { - if x != nil { - return x.Callback - } - return nil -} - -func (x *CallbackInfo) GetTrigger() *CallbackInfo_Trigger { - if x != nil { - return x.Trigger - } - return nil -} - -func (x *CallbackInfo) GetRegistrationTime() *timestamppb.Timestamp { - if x != nil { - return x.RegistrationTime - } - return nil -} - -func (x *CallbackInfo) GetState() v11.CallbackState { - if x != nil { - return x.State - } - return v11.CallbackState(0) -} - -func (x *CallbackInfo) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *CallbackInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp { - if x != nil { - return x.LastAttemptCompleteTime - } - return nil -} - -func (x *CallbackInfo) GetLastAttemptFailure() *v15.Failure { - if x != nil { - return x.LastAttemptFailure - } - return nil -} - -func (x *CallbackInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp { - if x != nil { - return x.NextAttemptScheduleTime - } - return nil -} - -func (x *CallbackInfo) GetBlockedReason() string { - if x != nil { - return x.BlockedReason - } - return "" -} - -// PendingNexusOperationInfo contains the state of a pending Nexus operation. -type PendingNexusOperationInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Endpoint name. - // Resolved to a URL via the cluster's endpoint registry. - Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // Service name. - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // Operation name. - Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` - // Operation ID. Only set for asynchronous operations after a successful StartOperation call. - // - // Deprecated. Renamed to operation_token. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - OperationId string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Schedule-to-close timeout for this operation. - // This is the only timeout settable by a workflow. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // The time when the operation was scheduled. - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - State v11.PendingNexusOperationState `protobuf:"varint,7,opt,name=state,proto3,enum=temporal.api.enums.v1.PendingNexusOperationState" json:"state,omitempty"` - // The number of attempts made to deliver the start operation request. - // This number represents a minimum bound since the attempt is incremented after the request completes. - Attempt int32 `protobuf:"varint,8,opt,name=attempt,proto3" json:"attempt,omitempty"` - // The time when the last attempt completed. - LastAttemptCompleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_attempt_complete_time,json=lastAttemptCompleteTime,proto3" json:"last_attempt_complete_time,omitempty"` - // The last attempt's failure, if any. - LastAttemptFailure *v15.Failure `protobuf:"bytes,10,opt,name=last_attempt_failure,json=lastAttemptFailure,proto3" json:"last_attempt_failure,omitempty"` - // The time when the next attempt is scheduled. - NextAttemptScheduleTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=next_attempt_schedule_time,json=nextAttemptScheduleTime,proto3" json:"next_attempt_schedule_time,omitempty"` - CancellationInfo *NexusOperationCancellationInfo `protobuf:"bytes,12,opt,name=cancellation_info,json=cancellationInfo,proto3" json:"cancellation_info,omitempty"` - // The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the - // DescribeWorkflowExecution response with workflow history. - ScheduledEventId int64 `protobuf:"varint,13,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` - // If the state is BLOCKED, blocked reason provides additional information. - BlockedReason string `protobuf:"bytes,14,opt,name=blocked_reason,json=blockedReason,proto3" json:"blocked_reason,omitempty"` - // Operation token. Only set for asynchronous operations after a successful StartOperation call. - OperationToken string `protobuf:"bytes,15,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingNexusOperationInfo) Reset() { - *x = PendingNexusOperationInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingNexusOperationInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingNexusOperationInfo) ProtoMessage() {} - -func (x *PendingNexusOperationInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingNexusOperationInfo.ProtoReflect.Descriptor instead. -func (*PendingNexusOperationInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{13} -} - -func (x *PendingNexusOperationInfo) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *PendingNexusOperationInfo) GetService() string { - if x != nil { - return x.Service - } - return "" -} - -func (x *PendingNexusOperationInfo) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *PendingNexusOperationInfo) GetOperationId() string { - if x != nil { - return x.OperationId - } - return "" -} - -func (x *PendingNexusOperationInfo) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *PendingNexusOperationInfo) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *PendingNexusOperationInfo) GetState() v11.PendingNexusOperationState { - if x != nil { - return x.State - } - return v11.PendingNexusOperationState(0) -} - -func (x *PendingNexusOperationInfo) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *PendingNexusOperationInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp { - if x != nil { - return x.LastAttemptCompleteTime - } - return nil -} - -func (x *PendingNexusOperationInfo) GetLastAttemptFailure() *v15.Failure { - if x != nil { - return x.LastAttemptFailure - } - return nil -} - -func (x *PendingNexusOperationInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp { - if x != nil { - return x.NextAttemptScheduleTime - } - return nil -} - -func (x *PendingNexusOperationInfo) GetCancellationInfo() *NexusOperationCancellationInfo { - if x != nil { - return x.CancellationInfo - } - return nil -} - -func (x *PendingNexusOperationInfo) GetScheduledEventId() int64 { - if x != nil { - return x.ScheduledEventId - } - return 0 -} - -func (x *PendingNexusOperationInfo) GetBlockedReason() string { - if x != nil { - return x.BlockedReason - } - return "" -} - -func (x *PendingNexusOperationInfo) GetOperationToken() string { - if x != nil { - return x.OperationToken - } - return "" -} - -// NexusOperationCancellationInfo contains the state of a nexus operation cancellation. -type NexusOperationCancellationInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The time when cancellation was requested. - RequestedTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=requested_time,json=requestedTime,proto3" json:"requested_time,omitempty"` - State v11.NexusOperationCancellationState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.enums.v1.NexusOperationCancellationState" json:"state,omitempty"` - // The number of attempts made to deliver the cancel operation request. - // This number represents a minimum bound since the attempt is incremented after the request completes. - Attempt int32 `protobuf:"varint,3,opt,name=attempt,proto3" json:"attempt,omitempty"` - // The time when the last attempt completed. - LastAttemptCompleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_attempt_complete_time,json=lastAttemptCompleteTime,proto3" json:"last_attempt_complete_time,omitempty"` - // The last attempt's failure, if any. - LastAttemptFailure *v15.Failure `protobuf:"bytes,5,opt,name=last_attempt_failure,json=lastAttemptFailure,proto3" json:"last_attempt_failure,omitempty"` - // The time when the next attempt is scheduled. - NextAttemptScheduleTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=next_attempt_schedule_time,json=nextAttemptScheduleTime,proto3" json:"next_attempt_schedule_time,omitempty"` - // If the state is BLOCKED, blocked reason provides additional information. - BlockedReason string `protobuf:"bytes,7,opt,name=blocked_reason,json=blockedReason,proto3" json:"blocked_reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NexusOperationCancellationInfo) Reset() { - *x = NexusOperationCancellationInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NexusOperationCancellationInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NexusOperationCancellationInfo) ProtoMessage() {} - -func (x *NexusOperationCancellationInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NexusOperationCancellationInfo.ProtoReflect.Descriptor instead. -func (*NexusOperationCancellationInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{14} -} - -func (x *NexusOperationCancellationInfo) GetRequestedTime() *timestamppb.Timestamp { - if x != nil { - return x.RequestedTime - } - return nil -} - -func (x *NexusOperationCancellationInfo) GetState() v11.NexusOperationCancellationState { - if x != nil { - return x.State - } - return v11.NexusOperationCancellationState(0) -} - -func (x *NexusOperationCancellationInfo) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *NexusOperationCancellationInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp { - if x != nil { - return x.LastAttemptCompleteTime - } - return nil -} - -func (x *NexusOperationCancellationInfo) GetLastAttemptFailure() *v15.Failure { - if x != nil { - return x.LastAttemptFailure - } - return nil -} - -func (x *NexusOperationCancellationInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp { - if x != nil { - return x.NextAttemptScheduleTime - } - return nil -} - -func (x *NexusOperationCancellationInfo) GetBlockedReason() string { - if x != nil { - return x.BlockedReason - } - return "" -} - -type WorkflowExecutionOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. - VersioningOverride *VersioningOverride `protobuf:"bytes,1,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WorkflowExecutionOptions) Reset() { - *x = WorkflowExecutionOptions{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WorkflowExecutionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionOptions) ProtoMessage() {} - -func (x *WorkflowExecutionOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionOptions.ProtoReflect.Descriptor instead. -func (*WorkflowExecutionOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{15} -} - -func (x *WorkflowExecutionOptions) GetVersioningOverride() *VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -// Used to override the versioning behavior (and pinned deployment version, if applicable) of a -// specific workflow execution. If set, takes precedence over the worker-sent values. See -// `WorkflowExecutionInfo.VersioningInfo` for more information. To remove the override, call -// `UpdateWorkflowExecutionOptions` with a null `VersioningOverride`, and use the `update_mask` -// to indicate that it should be mutated. -// Pinned overrides are automatically inherited by child workflows, continue-as-new workflows, -// workflow retries, and cron workflows. -type VersioningOverride struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Indicates whether to override the workflow to be AutoUpgrade or Pinned. - // - // Types that are valid to be assigned to Override: - // - // *VersioningOverride_Pinned - // *VersioningOverride_AutoUpgrade - Override isVersioningOverride_Override `protobuf_oneof:"override"` - // Required. - // Deprecated. Use `override`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - Behavior v11.VersioningBehavior `protobuf:"varint,1,opt,name=behavior,proto3,enum=temporal.api.enums.v1.VersioningBehavior" json:"behavior,omitempty"` - // Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. - // Identifies the worker deployment to pin the workflow to. - // Deprecated. Use `override.pinned.version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - Deployment *v12.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. - // Identifies the worker deployment version to pin the workflow to, in the format - // ".". - // Deprecated. Use `override.pinned.version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. - PinnedVersion string `protobuf:"bytes,9,opt,name=pinned_version,json=pinnedVersion,proto3" json:"pinned_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *VersioningOverride) Reset() { - *x = VersioningOverride{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *VersioningOverride) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VersioningOverride) ProtoMessage() {} - -func (x *VersioningOverride) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VersioningOverride.ProtoReflect.Descriptor instead. -func (*VersioningOverride) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{16} -} - -func (x *VersioningOverride) GetOverride() isVersioningOverride_Override { - if x != nil { - return x.Override - } - return nil -} - -func (x *VersioningOverride) GetPinned() *VersioningOverride_PinnedOverride { - if x != nil { - if x, ok := x.Override.(*VersioningOverride_Pinned); ok { - return x.Pinned - } - } - return nil -} - -func (x *VersioningOverride) GetAutoUpgrade() bool { - if x != nil { - if x, ok := x.Override.(*VersioningOverride_AutoUpgrade); ok { - return x.AutoUpgrade - } - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *VersioningOverride) GetBehavior() v11.VersioningBehavior { - if x != nil { - return x.Behavior - } - return v11.VersioningBehavior(0) -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *VersioningOverride) GetDeployment() *v12.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflow/v1/message.proto. -func (x *VersioningOverride) GetPinnedVersion() string { - if x != nil { - return x.PinnedVersion - } - return "" -} - -type isVersioningOverride_Override interface { - isVersioningOverride_Override() -} - -type VersioningOverride_Pinned struct { - // Send the next workflow task to the Version specified in the override. - Pinned *VersioningOverride_PinnedOverride `protobuf:"bytes,3,opt,name=pinned,proto3,oneof"` -} - -type VersioningOverride_AutoUpgrade struct { - // Send the next workflow task to the Current Deployment Version - // of its Task Queue when the next workflow task is dispatched. - AutoUpgrade bool `protobuf:"varint,4,opt,name=auto_upgrade,json=autoUpgrade,proto3,oneof"` -} - -func (*VersioningOverride_Pinned) isVersioningOverride_Override() {} - -func (*VersioningOverride_AutoUpgrade) isVersioningOverride_Override() {} - -// When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and -// there is already an existing running workflow, OnConflictOptions defines actions to be taken on -// the existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent -// history event in the running workflow with the changes requested in this object. -type OnConflictOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Attaches the request ID to the running workflow. - AttachRequestId bool `protobuf:"varint,1,opt,name=attach_request_id,json=attachRequestId,proto3" json:"attach_request_id,omitempty"` - // Attaches the completion callbacks to the running workflow. - AttachCompletionCallbacks bool `protobuf:"varint,2,opt,name=attach_completion_callbacks,json=attachCompletionCallbacks,proto3" json:"attach_completion_callbacks,omitempty"` - // Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event. - AttachLinks bool `protobuf:"varint,3,opt,name=attach_links,json=attachLinks,proto3" json:"attach_links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OnConflictOptions) Reset() { - *x = OnConflictOptions{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OnConflictOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OnConflictOptions) ProtoMessage() {} - -func (x *OnConflictOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OnConflictOptions.ProtoReflect.Descriptor instead. -func (*OnConflictOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{17} -} - -func (x *OnConflictOptions) GetAttachRequestId() bool { - if x != nil { - return x.AttachRequestId - } - return false -} - -func (x *OnConflictOptions) GetAttachCompletionCallbacks() bool { - if x != nil { - return x.AttachCompletionCallbacks - } - return false -} - -func (x *OnConflictOptions) GetAttachLinks() bool { - if x != nil { - return x.AttachLinks - } - return false -} - -// RequestIdInfo contains details of a request ID. -type RequestIdInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The event type of the history event generated by the request. - EventType v11.EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=temporal.api.enums.v1.EventType" json:"event_type,omitempty"` - // The event id of the history event generated by the request. It's possible the event ID is not - // known (unflushed buffered event). In this case, the value will be zero or a negative value, - // representing an invalid ID. - EventId int64 `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - // Indicate if the request is still buffered. If so, the event ID is not known and its value - // will be an invalid event ID. - Buffered bool `protobuf:"varint,3,opt,name=buffered,proto3" json:"buffered,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestIdInfo) Reset() { - *x = RequestIdInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestIdInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestIdInfo) ProtoMessage() {} - -func (x *RequestIdInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestIdInfo.ProtoReflect.Descriptor instead. -func (*RequestIdInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{18} -} - -func (x *RequestIdInfo) GetEventType() v11.EventType { - if x != nil { - return x.EventType - } - return v11.EventType(0) -} - -func (x *RequestIdInfo) GetEventId() int64 { - if x != nil { - return x.EventId - } - return 0 -} - -func (x *RequestIdInfo) GetBuffered() bool { - if x != nil { - return x.Buffered - } - return false -} - -// PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset. -type PostResetOperation struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *PostResetOperation_SignalWorkflow_ - // *PostResetOperation_UpdateWorkflowOptions_ - Variant isPostResetOperation_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PostResetOperation) Reset() { - *x = PostResetOperation{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PostResetOperation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostResetOperation) ProtoMessage() {} - -func (x *PostResetOperation) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostResetOperation.ProtoReflect.Descriptor instead. -func (*PostResetOperation) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{19} -} - -func (x *PostResetOperation) GetVariant() isPostResetOperation_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *PostResetOperation) GetSignalWorkflow() *PostResetOperation_SignalWorkflow { - if x != nil { - if x, ok := x.Variant.(*PostResetOperation_SignalWorkflow_); ok { - return x.SignalWorkflow - } - } - return nil -} - -func (x *PostResetOperation) GetUpdateWorkflowOptions() *PostResetOperation_UpdateWorkflowOptions { - if x != nil { - if x, ok := x.Variant.(*PostResetOperation_UpdateWorkflowOptions_); ok { - return x.UpdateWorkflowOptions - } - } - return nil -} - -type isPostResetOperation_Variant interface { - isPostResetOperation_Variant() -} - -type PostResetOperation_SignalWorkflow_ struct { - SignalWorkflow *PostResetOperation_SignalWorkflow `protobuf:"bytes,1,opt,name=signal_workflow,json=signalWorkflow,proto3,oneof"` -} - -type PostResetOperation_UpdateWorkflowOptions_ struct { - UpdateWorkflowOptions *PostResetOperation_UpdateWorkflowOptions `protobuf:"bytes,2,opt,name=update_workflow_options,json=updateWorkflowOptions,proto3,oneof"` -} - -func (*PostResetOperation_SignalWorkflow_) isPostResetOperation_Variant() {} - -func (*PostResetOperation_UpdateWorkflowOptions_) isPostResetOperation_Variant() {} - -type PendingActivityInfo_PauseInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The time when the activity was paused. - PauseTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=pause_time,json=pauseTime,proto3" json:"pause_time,omitempty"` - // Types that are valid to be assigned to PausedBy: - // - // *PendingActivityInfo_PauseInfo_Manual_ - // *PendingActivityInfo_PauseInfo_Rule_ - PausedBy isPendingActivityInfo_PauseInfo_PausedBy `protobuf_oneof:"paused_by"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingActivityInfo_PauseInfo) Reset() { - *x = PendingActivityInfo_PauseInfo{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingActivityInfo_PauseInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingActivityInfo_PauseInfo) ProtoMessage() {} - -func (x *PendingActivityInfo_PauseInfo) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingActivityInfo_PauseInfo.ProtoReflect.Descriptor instead. -func (*PendingActivityInfo_PauseInfo) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{6, 0} -} - -func (x *PendingActivityInfo_PauseInfo) GetPauseTime() *timestamppb.Timestamp { - if x != nil { - return x.PauseTime - } - return nil -} - -func (x *PendingActivityInfo_PauseInfo) GetPausedBy() isPendingActivityInfo_PauseInfo_PausedBy { - if x != nil { - return x.PausedBy - } - return nil -} - -func (x *PendingActivityInfo_PauseInfo) GetManual() *PendingActivityInfo_PauseInfo_Manual { - if x != nil { - if x, ok := x.PausedBy.(*PendingActivityInfo_PauseInfo_Manual_); ok { - return x.Manual - } - } - return nil -} - -func (x *PendingActivityInfo_PauseInfo) GetRule() *PendingActivityInfo_PauseInfo_Rule { - if x != nil { - if x, ok := x.PausedBy.(*PendingActivityInfo_PauseInfo_Rule_); ok { - return x.Rule - } - } - return nil -} - -type isPendingActivityInfo_PauseInfo_PausedBy interface { - isPendingActivityInfo_PauseInfo_PausedBy() -} - -type PendingActivityInfo_PauseInfo_Manual_ struct { - // activity was paused by the manual intervention - Manual *PendingActivityInfo_PauseInfo_Manual `protobuf:"bytes,2,opt,name=manual,proto3,oneof"` -} - -type PendingActivityInfo_PauseInfo_Rule_ struct { - // activity was paused by the rule - Rule *PendingActivityInfo_PauseInfo_Rule `protobuf:"bytes,4,opt,name=rule,proto3,oneof"` -} - -func (*PendingActivityInfo_PauseInfo_Manual_) isPendingActivityInfo_PauseInfo_PausedBy() {} - -func (*PendingActivityInfo_PauseInfo_Rule_) isPendingActivityInfo_PauseInfo_PausedBy() {} - -type PendingActivityInfo_PauseInfo_Manual struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The identity of the actor that paused the activity. - Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - // Reason for pausing the activity. - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingActivityInfo_PauseInfo_Manual) Reset() { - *x = PendingActivityInfo_PauseInfo_Manual{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingActivityInfo_PauseInfo_Manual) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingActivityInfo_PauseInfo_Manual) ProtoMessage() {} - -func (x *PendingActivityInfo_PauseInfo_Manual) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingActivityInfo_PauseInfo_Manual.ProtoReflect.Descriptor instead. -func (*PendingActivityInfo_PauseInfo_Manual) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{6, 0, 0} -} - -func (x *PendingActivityInfo_PauseInfo_Manual) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PendingActivityInfo_PauseInfo_Manual) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type PendingActivityInfo_PauseInfo_Rule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The rule that paused the activity. - RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` - // The identity of the actor that created the rule. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // Reason why rule was created. Populated from rule description. - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PendingActivityInfo_PauseInfo_Rule) Reset() { - *x = PendingActivityInfo_PauseInfo_Rule{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PendingActivityInfo_PauseInfo_Rule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PendingActivityInfo_PauseInfo_Rule) ProtoMessage() {} - -func (x *PendingActivityInfo_PauseInfo_Rule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PendingActivityInfo_PauseInfo_Rule.ProtoReflect.Descriptor instead. -func (*PendingActivityInfo_PauseInfo_Rule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{6, 0, 1} -} - -func (x *PendingActivityInfo_PauseInfo_Rule) GetRuleId() string { - if x != nil { - return x.RuleId - } - return "" -} - -func (x *PendingActivityInfo_PauseInfo_Rule) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PendingActivityInfo_PauseInfo_Rule) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -// Trigger for when the workflow is closed. -type CallbackInfo_WorkflowClosed struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CallbackInfo_WorkflowClosed) Reset() { - *x = CallbackInfo_WorkflowClosed{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CallbackInfo_WorkflowClosed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallbackInfo_WorkflowClosed) ProtoMessage() {} - -func (x *CallbackInfo_WorkflowClosed) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallbackInfo_WorkflowClosed.ProtoReflect.Descriptor instead. -func (*CallbackInfo_WorkflowClosed) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{12, 0} -} - -type CallbackInfo_Trigger struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Variant: - // - // *CallbackInfo_Trigger_WorkflowClosed - Variant isCallbackInfo_Trigger_Variant `protobuf_oneof:"variant"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CallbackInfo_Trigger) Reset() { - *x = CallbackInfo_Trigger{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CallbackInfo_Trigger) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallbackInfo_Trigger) ProtoMessage() {} - -func (x *CallbackInfo_Trigger) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallbackInfo_Trigger.ProtoReflect.Descriptor instead. -func (*CallbackInfo_Trigger) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{12, 1} -} - -func (x *CallbackInfo_Trigger) GetVariant() isCallbackInfo_Trigger_Variant { - if x != nil { - return x.Variant - } - return nil -} - -func (x *CallbackInfo_Trigger) GetWorkflowClosed() *CallbackInfo_WorkflowClosed { - if x != nil { - if x, ok := x.Variant.(*CallbackInfo_Trigger_WorkflowClosed); ok { - return x.WorkflowClosed - } - } - return nil -} - -type isCallbackInfo_Trigger_Variant interface { - isCallbackInfo_Trigger_Variant() -} - -type CallbackInfo_Trigger_WorkflowClosed struct { - WorkflowClosed *CallbackInfo_WorkflowClosed `protobuf:"bytes,1,opt,name=workflow_closed,json=workflowClosed,proto3,oneof"` -} - -func (*CallbackInfo_Trigger_WorkflowClosed) isCallbackInfo_Trigger_Variant() {} - -type VersioningOverride_PinnedOverride struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. - // See `PinnedOverrideBehavior` for details. - Behavior VersioningOverride_PinnedOverrideBehavior `protobuf:"varint,1,opt,name=behavior,proto3,enum=temporal.api.workflow.v1.VersioningOverride_PinnedOverrideBehavior" json:"behavior,omitempty"` - // Required. - Version *v12.WorkerDeploymentVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *VersioningOverride_PinnedOverride) Reset() { - *x = VersioningOverride_PinnedOverride{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *VersioningOverride_PinnedOverride) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VersioningOverride_PinnedOverride) ProtoMessage() {} - -func (x *VersioningOverride_PinnedOverride) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VersioningOverride_PinnedOverride.ProtoReflect.Descriptor instead. -func (*VersioningOverride_PinnedOverride) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{16, 0} -} - -func (x *VersioningOverride_PinnedOverride) GetBehavior() VersioningOverride_PinnedOverrideBehavior { - if x != nil { - return x.Behavior - } - return VersioningOverride_PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED -} - -func (x *VersioningOverride_PinnedOverride) GetVersion() *v12.WorkerDeploymentVersion { - if x != nil { - return x.Version - } - return nil -} - -// SignalWorkflow represents sending a signal after a workflow reset. -// Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest. -type PostResetOperation_SignalWorkflow struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The workflow author-defined name of the signal to send to the workflow. - SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Serialized value(s) to provide with the signal. - Input *v1.Payloads `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` - // Headers that are passed with the signal to the processing workflow. - Header *v1.Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` - // Links to be associated with the WorkflowExecutionSignaled event. - Links []*v1.Link `protobuf:"bytes,4,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PostResetOperation_SignalWorkflow) Reset() { - *x = PostResetOperation_SignalWorkflow{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PostResetOperation_SignalWorkflow) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostResetOperation_SignalWorkflow) ProtoMessage() {} - -func (x *PostResetOperation_SignalWorkflow) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostResetOperation_SignalWorkflow.ProtoReflect.Descriptor instead. -func (*PostResetOperation_SignalWorkflow) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{19, 0} -} - -func (x *PostResetOperation_SignalWorkflow) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *PostResetOperation_SignalWorkflow) GetInput() *v1.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *PostResetOperation_SignalWorkflow) GetHeader() *v1.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *PostResetOperation_SignalWorkflow) GetLinks() []*v1.Link { - if x != nil { - return x.Links - } - return nil -} - -// UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. -// Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. -type PostResetOperation_UpdateWorkflowOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask. - WorkflowExecutionOptions *WorkflowExecutionOptions `protobuf:"bytes,1,opt,name=workflow_execution_options,json=workflowExecutionOptions,proto3" json:"workflow_execution_options,omitempty"` - // Controls which fields from `workflow_execution_options` will be applied. - // To unset a field, set it to null and use the update mask to indicate that it should be mutated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PostResetOperation_UpdateWorkflowOptions) Reset() { - *x = PostResetOperation_UpdateWorkflowOptions{} - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PostResetOperation_UpdateWorkflowOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostResetOperation_UpdateWorkflowOptions) ProtoMessage() {} - -func (x *PostResetOperation_UpdateWorkflowOptions) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflow_v1_message_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostResetOperation_UpdateWorkflowOptions.ProtoReflect.Descriptor instead. -func (*PostResetOperation_UpdateWorkflowOptions) Descriptor() ([]byte, []int) { - return file_temporal_api_workflow_v1_message_proto_rawDescGZIP(), []int{19, 1} -} - -func (x *PostResetOperation_UpdateWorkflowOptions) GetWorkflowExecutionOptions() *WorkflowExecutionOptions { - if x != nil { - return x.WorkflowExecutionOptions - } - return nil -} - -func (x *PostResetOperation_UpdateWorkflowOptions) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -var File_temporal_api_workflow_v1_message_proto protoreflect.FileDescriptor - -const file_temporal_api_workflow_v1_message_proto_rawDesc = "" + - "\n" + - "&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a'temporal/api/sdk/v1/user_metadata.proto\"\x97\f\n" + - "\x15WorkflowExecutionInfo\x12G\n" + - "\texecution\x18\x01 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x128\n" + - "\x04type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\x04type\x129\n" + - "\n" + - "start_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x129\n" + - "\n" + - "close_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x12F\n" + - "\x06status\x18\x05 \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06status\x12%\n" + - "\x0ehistory_length\x18\x06 \x01(\x03R\rhistoryLength\x12.\n" + - "\x13parent_namespace_id\x18\a \x01(\tR\x11parentNamespaceId\x12T\n" + - "\x10parent_execution\x18\b \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x0fparentExecution\x12A\n" + - "\x0eexecution_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\rexecutionTime\x120\n" + - "\x04memo\x18\n" + - " \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\v \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12Q\n" + - "\x11auto_reset_points\x18\f \x01(\v2%.temporal.api.workflow.v1.ResetPointsR\x0fautoResetPoints\x12\x1d\n" + - "\n" + - "task_queue\x18\r \x01(\tR\ttaskQueue\x124\n" + - "\x16state_transition_count\x18\x0e \x01(\x03R\x14stateTransitionCount\x12,\n" + - "\x12history_size_bytes\x18\x0f \x01(\x03R\x10historySizeBytes\x12v\n" + - " most_recent_worker_version_stamp\x18\x10 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\x1cmostRecentWorkerVersionStamp\x12H\n" + - "\x12execution_duration\x18\x11 \x01(\v2\x19.google.protobuf.DurationR\x11executionDuration\x12P\n" + - "\x0eroot_execution\x18\x12 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\rrootExecution\x12.\n" + - "\x11assigned_build_id\x18\x13 \x01(\tB\x02\x18\x01R\x0fassignedBuildId\x120\n" + - "\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01R\x10inheritedBuildId\x12 \n" + - "\ffirst_run_id\x18\x15 \x01(\tR\n" + - "firstRunId\x12b\n" + - "\x0fversioning_info\x18\x16 \x01(\v29.temporal.api.workflow.v1.WorkflowExecutionVersioningInfoR\x0eversioningInfo\x124\n" + - "\x16worker_deployment_name\x18\x17 \x01(\tR\x14workerDeploymentName\x12<\n" + - "\bpriority\x18\x18 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\x83\x05\n" + - "\x1dWorkflowExecutionExtendedInfo\x12V\n" + - "\x19execution_expiration_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x17executionExpirationTime\x12J\n" + - "\x13run_expiration_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x11runExpirationTime\x12)\n" + - "\x10cancel_requested\x18\x03 \x01(\bR\x0fcancelRequested\x12B\n" + - "\x0flast_reset_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\rlastResetTime\x12J\n" + - "\x13original_start_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x11originalStartTime\x12 \n" + - "\freset_run_id\x18\x06 \x01(\tR\n" + - "resetRunId\x12u\n" + - "\x10request_id_infos\x18\a \x03(\v2K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntryR\x0erequestIdInfos\x1aj\n" + - "\x13RequestIdInfosEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\v2'.temporal.api.workflow.v1.RequestIdInfoR\x05value:\x028\x01\"\x8d\x05\n" + - "\x1fWorkflowExecutionVersioningInfo\x12E\n" + - "\bbehavior\x18\x01 \x01(\x0e2).temporal.api.enums.v1.VersioningBehaviorR\bbehavior\x12J\n" + - "\n" + - "deployment\x18\x02 \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12\x1c\n" + - "\aversion\x18\x05 \x01(\tB\x02\x18\x01R\aversion\x12b\n" + - "\x12deployment_version\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12]\n" + - "\x13versioning_override\x18\x03 \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12g\n" + - "\x15deployment_transition\x18\x04 \x01(\v2..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01R\x14deploymentTransition\x12d\n" + - "\x12version_transition\x18\x06 \x01(\v25.temporal.api.workflow.v1.DeploymentVersionTransitionR\x11versionTransition\x12'\n" + - "\x0frevision_number\x18\b \x01(\x03R\x0erevisionNumber\"^\n" + - "\x14DeploymentTransition\x12F\n" + - "\n" + - "deployment\x18\x01 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\"\x9f\x01\n" + - "\x1bDeploymentVersionTransition\x12\x1c\n" + - "\aversion\x18\x01 \x01(\tB\x02\x18\x01R\aversion\x12b\n" + - "\x12deployment_version\x18\x02 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\"\xaa\x03\n" + - "\x17WorkflowExecutionConfig\x12C\n" + - "\n" + - "task_queue\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12\\\n" + - "\x1ddefault_workflow_task_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x1adefaultWorkflowTaskTimeout\x12F\n" + - "\ruser_metadata\x18\x05 \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\"\xbb\x11\n" + - "\x13PendingActivityInfo\x12\x1f\n" + - "\vactivity_id\x18\x01 \x01(\tR\n" + - "activityId\x12I\n" + - "\ractivity_type\x18\x02 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12A\n" + - "\x05state\x18\x03 \x01(\x0e2+.temporal.api.enums.v1.PendingActivityStateR\x05state\x12M\n" + - "\x11heartbeat_details\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\x10heartbeatDetails\x12J\n" + - "\x13last_heartbeat_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x11lastHeartbeatTime\x12F\n" + - "\x11last_started_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x0flastStartedTime\x12\x18\n" + - "\aattempt\x18\a \x01(\x05R\aattempt\x12)\n" + - "\x10maximum_attempts\x18\b \x01(\x05R\x0fmaximumAttempts\x12A\n" + - "\x0escheduled_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12C\n" + - "\x0fexpiration_time\x18\n" + - " \x01(\v2\x1a.google.protobuf.TimestampR\x0eexpirationTime\x12C\n" + - "\flast_failure\x18\v \x01(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\x120\n" + - "\x14last_worker_identity\x18\f \x01(\tR\x12lastWorkerIdentity\x12O\n" + - "\x15use_workflow_build_id\x18\r \x01(\v2\x16.google.protobuf.EmptyB\x02\x18\x01H\x00R\x12useWorkflowBuildId\x12T\n" + - "$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00R lastIndependentlyAssignedBuildId\x12i\n" + - "\x19last_worker_version_stamp\x18\x0f \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\x16lastWorkerVersionStamp\x12O\n" + - "\x16current_retry_interval\x18\x10 \x01(\v2\x19.google.protobuf.DurationR\x14currentRetryInterval\x12W\n" + - "\x1alast_attempt_complete_time\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampR\x17lastAttemptCompleteTime\x12W\n" + - "\x1anext_attempt_schedule_time\x18\x12 \x01(\v2\x1a.google.protobuf.TimestampR\x17nextAttemptScheduleTime\x12\x16\n" + - "\x06paused\x18\x13 \x01(\bR\x06paused\x12S\n" + - "\x0flast_deployment\x18\x14 \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\x0elastDeployment\x12G\n" + - "\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01R\x1blastWorkerDeploymentVersion\x12k\n" + - "\x17last_deployment_version\x18\x19 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x15lastDeploymentVersion\x12<\n" + - "\bpriority\x18\x16 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\x12V\n" + - "\n" + - "pause_info\x18\x17 \x01(\v27.temporal.api.workflow.v1.PendingActivityInfo.PauseInfoR\tpauseInfo\x12T\n" + - "\x10activity_options\x18\x18 \x01(\v2).temporal.api.activity.v1.ActivityOptionsR\x0factivityOptions\x1a\x94\x03\n" + - "\tPauseInfo\x129\n" + - "\n" + - "pause_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tpauseTime\x12X\n" + - "\x06manual\x18\x02 \x01(\v2>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00R\x06manual\x12R\n" + - "\x04rule\x18\x04 \x01(\v2<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00R\x04rule\x1a<\n" + - "\x06Manual\x12\x1a\n" + - "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\x02 \x01(\tR\x06reason\x1aS\n" + - "\x04Rule\x12\x17\n" + - "\arule_id\x18\x01 \x01(\tR\x06ruleId\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reasonB\v\n" + - "\tpaused_byB\x13\n" + - "\x11assigned_build_id\"\xfe\x01\n" + - "\x19PendingChildExecutionInfo\x12\x1f\n" + - "\vworkflow_id\x18\x01 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x02 \x01(\tR\x05runId\x12,\n" + - "\x12workflow_type_name\x18\x03 \x01(\tR\x10workflowTypeName\x12!\n" + - "\finitiated_id\x18\x04 \x01(\x03R\vinitiatedId\x12X\n" + - "\x13parent_close_policy\x18\x05 \x01(\x0e2(.temporal.api.enums.v1.ParentClosePolicyR\x11parentClosePolicy\"\xd0\x02\n" + - "\x17PendingWorkflowTaskInfo\x12E\n" + - "\x05state\x18\x01 \x01(\x0e2/.temporal.api.enums.v1.PendingWorkflowTaskStateR\x05state\x12A\n" + - "\x0escheduled_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12R\n" + - "\x17original_scheduled_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x15originalScheduledTime\x12=\n" + - "\fstarted_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\vstartedTime\x12\x18\n" + - "\aattempt\x18\x05 \x01(\x05R\aattempt\"O\n" + - "\vResetPoints\x12@\n" + - "\x06points\x18\x01 \x03(\v2(.temporal.api.workflow.v1.ResetPointInfoR\x06points\"\xd1\x02\n" + - "\x0eResetPointInfo\x12\x19\n" + - "\bbuild_id\x18\a \x01(\tR\abuildId\x12+\n" + - "\x0fbinary_checksum\x18\x01 \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12\x15\n" + - "\x06run_id\x18\x02 \x01(\tR\x05runId\x12F\n" + - " first_workflow_task_completed_id\x18\x03 \x01(\x03R\x1cfirstWorkflowTaskCompletedId\x12;\n" + - "\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12;\n" + - "\vexpire_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "expireTime\x12\x1e\n" + - "\n" + - "resettable\x18\x06 \x01(\bR\n" + - "resettable\"\xf2\b\n" + - "\x18NewWorkflowExecutionInfo\x12\x1f\n" + - "\vworkflow_id\x18\x01 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x03 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12e\n" + - "\x18workflow_id_reuse_policy\x18\b \x01(\x0e2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\x15workflowIdReusePolicy\x12F\n" + - "\fretry_policy\x18\t \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12#\n" + - "\rcron_schedule\x18\n" + - " \x01(\tR\fcronSchedule\x120\n" + - "\x04memo\x18\v \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\f \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x126\n" + - "\x06header\x18\r \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12F\n" + - "\ruser_metadata\x18\x0e \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x12]\n" + - "\x13versioning_override\x18\x0f \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12<\n" + - "\bpriority\x18\x10 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\xec\x05\n" + - "\fCallbackInfo\x12<\n" + - "\bcallback\x18\x01 \x01(\v2 .temporal.api.common.v1.CallbackR\bcallback\x12H\n" + - "\atrigger\x18\x02 \x01(\v2..temporal.api.workflow.v1.CallbackInfo.TriggerR\atrigger\x12G\n" + - "\x11registration_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x10registrationTime\x12:\n" + - "\x05state\x18\x04 \x01(\x0e2$.temporal.api.enums.v1.CallbackStateR\x05state\x12\x18\n" + - "\aattempt\x18\x05 \x01(\x05R\aattempt\x12W\n" + - "\x1alast_attempt_complete_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x17lastAttemptCompleteTime\x12R\n" + - "\x14last_attempt_failure\x18\a \x01(\v2 .temporal.api.failure.v1.FailureR\x12lastAttemptFailure\x12W\n" + - "\x1anext_attempt_schedule_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x17nextAttemptScheduleTime\x12%\n" + - "\x0eblocked_reason\x18\t \x01(\tR\rblockedReason\x1a\x10\n" + - "\x0eWorkflowClosed\x1av\n" + - "\aTrigger\x12`\n" + - "\x0fworkflow_closed\x18\x01 \x01(\v25.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00R\x0eworkflowClosedB\t\n" + - "\avariant\"\xfd\x06\n" + - "\x19PendingNexusOperationInfo\x12\x1a\n" + - "\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x18\n" + - "\aservice\x18\x02 \x01(\tR\aservice\x12\x1c\n" + - "\toperation\x18\x03 \x01(\tR\toperation\x12%\n" + - "\foperation_id\x18\x04 \x01(\tB\x02\x18\x01R\voperationId\x12T\n" + - "\x19schedule_to_close_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12A\n" + - "\x0escheduled_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12G\n" + - "\x05state\x18\a \x01(\x0e21.temporal.api.enums.v1.PendingNexusOperationStateR\x05state\x12\x18\n" + - "\aattempt\x18\b \x01(\x05R\aattempt\x12W\n" + - "\x1alast_attempt_complete_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\x17lastAttemptCompleteTime\x12R\n" + - "\x14last_attempt_failure\x18\n" + - " \x01(\v2 .temporal.api.failure.v1.FailureR\x12lastAttemptFailure\x12W\n" + - "\x1anext_attempt_schedule_time\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\x17nextAttemptScheduleTime\x12e\n" + - "\x11cancellation_info\x18\f \x01(\v28.temporal.api.workflow.v1.NexusOperationCancellationInfoR\x10cancellationInfo\x12,\n" + - "\x12scheduled_event_id\x18\r \x01(\x03R\x10scheduledEventId\x12%\n" + - "\x0eblocked_reason\x18\x0e \x01(\tR\rblockedReason\x12'\n" + - "\x0foperation_token\x18\x0f \x01(\tR\x0eoperationToken\"\xf8\x03\n" + - "\x1eNexusOperationCancellationInfo\x12A\n" + - "\x0erequested_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\rrequestedTime\x12L\n" + - "\x05state\x18\x02 \x01(\x0e26.temporal.api.enums.v1.NexusOperationCancellationStateR\x05state\x12\x18\n" + - "\aattempt\x18\x03 \x01(\x05R\aattempt\x12W\n" + - "\x1alast_attempt_complete_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x17lastAttemptCompleteTime\x12R\n" + - "\x14last_attempt_failure\x18\x05 \x01(\v2 .temporal.api.failure.v1.FailureR\x12lastAttemptFailure\x12W\n" + - "\x1anext_attempt_schedule_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x17nextAttemptScheduleTime\x12%\n" + - "\x0eblocked_reason\x18\a \x01(\tR\rblockedReason\"y\n" + - "\x18WorkflowExecutionOptions\x12]\n" + - "\x13versioning_override\x18\x01 \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\"\x8a\x05\n" + - "\x12VersioningOverride\x12U\n" + - "\x06pinned\x18\x03 \x01(\v2;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00R\x06pinned\x12#\n" + - "\fauto_upgrade\x18\x04 \x01(\bH\x00R\vautoUpgrade\x12I\n" + - "\bbehavior\x18\x01 \x01(\x0e2).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01R\bbehavior\x12J\n" + - "\n" + - "deployment\x18\x02 \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12)\n" + - "\x0epinned_version\x18\t \x01(\tB\x02\x18\x01R\rpinnedVersion\x1a\xc0\x01\n" + - "\x0ePinnedOverride\x12_\n" + - "\bbehavior\x18\x01 \x01(\x0e2C.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehaviorR\bbehavior\x12M\n" + - "\aversion\x18\x02 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\aversion\"g\n" + - "\x16PinnedOverrideBehavior\x12(\n" + - "$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n" + - "\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01B\n" + - "\n" + - "\boverride\"\xa2\x01\n" + - "\x11OnConflictOptions\x12*\n" + - "\x11attach_request_id\x18\x01 \x01(\bR\x0fattachRequestId\x12>\n" + - "\x1battach_completion_callbacks\x18\x02 \x01(\bR\x19attachCompletionCallbacks\x12!\n" + - "\fattach_links\x18\x03 \x01(\bR\vattachLinks\"\x87\x01\n" + - "\rRequestIdInfo\x12?\n" + - "\n" + - "event_type\x18\x01 \x01(\x0e2 .temporal.api.enums.v1.EventTypeR\teventType\x12\x19\n" + - "\bevent_id\x18\x02 \x01(\x03R\aeventId\x12\x1a\n" + - "\bbuffered\x18\x03 \x01(\bR\bbuffered\"\xa6\x05\n" + - "\x12PostResetOperation\x12f\n" + - "\x0fsignal_workflow\x18\x01 \x01(\v2;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00R\x0esignalWorkflow\x12|\n" + - "\x17update_workflow_options\x18\x02 \x01(\v2B.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00R\x15updateWorkflowOptions\x1a\xd5\x01\n" + - "\x0eSignalWorkflow\x12\x1f\n" + - "\vsignal_name\x18\x01 \x01(\tR\n" + - "signalName\x126\n" + - "\x05input\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x126\n" + - "\x06header\x18\x03 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x122\n" + - "\x05links\x18\x04 \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x1a\xc6\x01\n" + - "\x15UpdateWorkflowOptions\x12p\n" + - "\x1aworkflow_execution_options\x18\x01 \x01(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\x18workflowExecutionOptions\x12;\n" + - "\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMaskB\t\n" + - "\avariantB\x93\x01\n" + - "\x1bio.temporal.api.workflow.v1B\fMessageProtoP\x01Z'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3" - -var ( - file_temporal_api_workflow_v1_message_proto_rawDescOnce sync.Once - file_temporal_api_workflow_v1_message_proto_rawDescData []byte -) - -func file_temporal_api_workflow_v1_message_proto_rawDescGZIP() []byte { - file_temporal_api_workflow_v1_message_proto_rawDescOnce.Do(func() { - file_temporal_api_workflow_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_workflow_v1_message_proto_rawDesc), len(file_temporal_api_workflow_v1_message_proto_rawDesc))) - }) - return file_temporal_api_workflow_v1_message_proto_rawDescData -} - -var file_temporal_api_workflow_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_temporal_api_workflow_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_temporal_api_workflow_v1_message_proto_goTypes = []any{ - (VersioningOverride_PinnedOverrideBehavior)(0), // 0: temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior - (*WorkflowExecutionInfo)(nil), // 1: temporal.api.workflow.v1.WorkflowExecutionInfo - (*WorkflowExecutionExtendedInfo)(nil), // 2: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo - (*WorkflowExecutionVersioningInfo)(nil), // 3: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo - (*DeploymentTransition)(nil), // 4: temporal.api.workflow.v1.DeploymentTransition - (*DeploymentVersionTransition)(nil), // 5: temporal.api.workflow.v1.DeploymentVersionTransition - (*WorkflowExecutionConfig)(nil), // 6: temporal.api.workflow.v1.WorkflowExecutionConfig - (*PendingActivityInfo)(nil), // 7: temporal.api.workflow.v1.PendingActivityInfo - (*PendingChildExecutionInfo)(nil), // 8: temporal.api.workflow.v1.PendingChildExecutionInfo - (*PendingWorkflowTaskInfo)(nil), // 9: temporal.api.workflow.v1.PendingWorkflowTaskInfo - (*ResetPoints)(nil), // 10: temporal.api.workflow.v1.ResetPoints - (*ResetPointInfo)(nil), // 11: temporal.api.workflow.v1.ResetPointInfo - (*NewWorkflowExecutionInfo)(nil), // 12: temporal.api.workflow.v1.NewWorkflowExecutionInfo - (*CallbackInfo)(nil), // 13: temporal.api.workflow.v1.CallbackInfo - (*PendingNexusOperationInfo)(nil), // 14: temporal.api.workflow.v1.PendingNexusOperationInfo - (*NexusOperationCancellationInfo)(nil), // 15: temporal.api.workflow.v1.NexusOperationCancellationInfo - (*WorkflowExecutionOptions)(nil), // 16: temporal.api.workflow.v1.WorkflowExecutionOptions - (*VersioningOverride)(nil), // 17: temporal.api.workflow.v1.VersioningOverride - (*OnConflictOptions)(nil), // 18: temporal.api.workflow.v1.OnConflictOptions - (*RequestIdInfo)(nil), // 19: temporal.api.workflow.v1.RequestIdInfo - (*PostResetOperation)(nil), // 20: temporal.api.workflow.v1.PostResetOperation - nil, // 21: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry - (*PendingActivityInfo_PauseInfo)(nil), // 22: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo - (*PendingActivityInfo_PauseInfo_Manual)(nil), // 23: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual - (*PendingActivityInfo_PauseInfo_Rule)(nil), // 24: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule - (*CallbackInfo_WorkflowClosed)(nil), // 25: temporal.api.workflow.v1.CallbackInfo.WorkflowClosed - (*CallbackInfo_Trigger)(nil), // 26: temporal.api.workflow.v1.CallbackInfo.Trigger - (*VersioningOverride_PinnedOverride)(nil), // 27: temporal.api.workflow.v1.VersioningOverride.PinnedOverride - (*PostResetOperation_SignalWorkflow)(nil), // 28: temporal.api.workflow.v1.PostResetOperation.SignalWorkflow - (*PostResetOperation_UpdateWorkflowOptions)(nil), // 29: temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions - (*v1.WorkflowExecution)(nil), // 30: temporal.api.common.v1.WorkflowExecution - (*v1.WorkflowType)(nil), // 31: temporal.api.common.v1.WorkflowType - (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp - (v11.WorkflowExecutionStatus)(0), // 33: temporal.api.enums.v1.WorkflowExecutionStatus - (*v1.Memo)(nil), // 34: temporal.api.common.v1.Memo - (*v1.SearchAttributes)(nil), // 35: temporal.api.common.v1.SearchAttributes - (*v1.WorkerVersionStamp)(nil), // 36: temporal.api.common.v1.WorkerVersionStamp - (*durationpb.Duration)(nil), // 37: google.protobuf.Duration - (*v1.Priority)(nil), // 38: temporal.api.common.v1.Priority - (v11.VersioningBehavior)(0), // 39: temporal.api.enums.v1.VersioningBehavior - (*v12.Deployment)(nil), // 40: temporal.api.deployment.v1.Deployment - (*v12.WorkerDeploymentVersion)(nil), // 41: temporal.api.deployment.v1.WorkerDeploymentVersion - (*v13.TaskQueue)(nil), // 42: temporal.api.taskqueue.v1.TaskQueue - (*v14.UserMetadata)(nil), // 43: temporal.api.sdk.v1.UserMetadata - (*v1.ActivityType)(nil), // 44: temporal.api.common.v1.ActivityType - (v11.PendingActivityState)(0), // 45: temporal.api.enums.v1.PendingActivityState - (*v1.Payloads)(nil), // 46: temporal.api.common.v1.Payloads - (*v15.Failure)(nil), // 47: temporal.api.failure.v1.Failure - (*emptypb.Empty)(nil), // 48: google.protobuf.Empty - (*v16.ActivityOptions)(nil), // 49: temporal.api.activity.v1.ActivityOptions - (v11.ParentClosePolicy)(0), // 50: temporal.api.enums.v1.ParentClosePolicy - (v11.PendingWorkflowTaskState)(0), // 51: temporal.api.enums.v1.PendingWorkflowTaskState - (v11.WorkflowIdReusePolicy)(0), // 52: temporal.api.enums.v1.WorkflowIdReusePolicy - (*v1.RetryPolicy)(nil), // 53: temporal.api.common.v1.RetryPolicy - (*v1.Header)(nil), // 54: temporal.api.common.v1.Header - (*v1.Callback)(nil), // 55: temporal.api.common.v1.Callback - (v11.CallbackState)(0), // 56: temporal.api.enums.v1.CallbackState - (v11.PendingNexusOperationState)(0), // 57: temporal.api.enums.v1.PendingNexusOperationState - (v11.NexusOperationCancellationState)(0), // 58: temporal.api.enums.v1.NexusOperationCancellationState - (v11.EventType)(0), // 59: temporal.api.enums.v1.EventType - (*v1.Link)(nil), // 60: temporal.api.common.v1.Link - (*fieldmaskpb.FieldMask)(nil), // 61: google.protobuf.FieldMask -} -var file_temporal_api_workflow_v1_message_proto_depIdxs = []int32{ - 30, // 0: temporal.api.workflow.v1.WorkflowExecutionInfo.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 31, // 1: temporal.api.workflow.v1.WorkflowExecutionInfo.type:type_name -> temporal.api.common.v1.WorkflowType - 32, // 2: temporal.api.workflow.v1.WorkflowExecutionInfo.start_time:type_name -> google.protobuf.Timestamp - 32, // 3: temporal.api.workflow.v1.WorkflowExecutionInfo.close_time:type_name -> google.protobuf.Timestamp - 33, // 4: temporal.api.workflow.v1.WorkflowExecutionInfo.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus - 30, // 5: temporal.api.workflow.v1.WorkflowExecutionInfo.parent_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 32, // 6: temporal.api.workflow.v1.WorkflowExecutionInfo.execution_time:type_name -> google.protobuf.Timestamp - 34, // 7: temporal.api.workflow.v1.WorkflowExecutionInfo.memo:type_name -> temporal.api.common.v1.Memo - 35, // 8: temporal.api.workflow.v1.WorkflowExecutionInfo.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 10, // 9: temporal.api.workflow.v1.WorkflowExecutionInfo.auto_reset_points:type_name -> temporal.api.workflow.v1.ResetPoints - 36, // 10: temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp:type_name -> temporal.api.common.v1.WorkerVersionStamp - 37, // 11: temporal.api.workflow.v1.WorkflowExecutionInfo.execution_duration:type_name -> google.protobuf.Duration - 30, // 12: temporal.api.workflow.v1.WorkflowExecutionInfo.root_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 3, // 13: temporal.api.workflow.v1.WorkflowExecutionInfo.versioning_info:type_name -> temporal.api.workflow.v1.WorkflowExecutionVersioningInfo - 38, // 14: temporal.api.workflow.v1.WorkflowExecutionInfo.priority:type_name -> temporal.api.common.v1.Priority - 32, // 15: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.execution_expiration_time:type_name -> google.protobuf.Timestamp - 32, // 16: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.run_expiration_time:type_name -> google.protobuf.Timestamp - 32, // 17: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.last_reset_time:type_name -> google.protobuf.Timestamp - 32, // 18: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.original_start_time:type_name -> google.protobuf.Timestamp - 21, // 19: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.request_id_infos:type_name -> temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry - 39, // 20: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.behavior:type_name -> temporal.api.enums.v1.VersioningBehavior - 40, // 21: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.deployment:type_name -> temporal.api.deployment.v1.Deployment - 41, // 22: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 17, // 23: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 4, // 24: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.deployment_transition:type_name -> temporal.api.workflow.v1.DeploymentTransition - 5, // 25: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.version_transition:type_name -> temporal.api.workflow.v1.DeploymentVersionTransition - 40, // 26: temporal.api.workflow.v1.DeploymentTransition.deployment:type_name -> temporal.api.deployment.v1.Deployment - 41, // 27: temporal.api.workflow.v1.DeploymentVersionTransition.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 42, // 28: temporal.api.workflow.v1.WorkflowExecutionConfig.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 37, // 29: temporal.api.workflow.v1.WorkflowExecutionConfig.workflow_execution_timeout:type_name -> google.protobuf.Duration - 37, // 30: temporal.api.workflow.v1.WorkflowExecutionConfig.workflow_run_timeout:type_name -> google.protobuf.Duration - 37, // 31: temporal.api.workflow.v1.WorkflowExecutionConfig.default_workflow_task_timeout:type_name -> google.protobuf.Duration - 43, // 32: temporal.api.workflow.v1.WorkflowExecutionConfig.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 44, // 33: temporal.api.workflow.v1.PendingActivityInfo.activity_type:type_name -> temporal.api.common.v1.ActivityType - 45, // 34: temporal.api.workflow.v1.PendingActivityInfo.state:type_name -> temporal.api.enums.v1.PendingActivityState - 46, // 35: temporal.api.workflow.v1.PendingActivityInfo.heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 32, // 36: temporal.api.workflow.v1.PendingActivityInfo.last_heartbeat_time:type_name -> google.protobuf.Timestamp - 32, // 37: temporal.api.workflow.v1.PendingActivityInfo.last_started_time:type_name -> google.protobuf.Timestamp - 32, // 38: temporal.api.workflow.v1.PendingActivityInfo.scheduled_time:type_name -> google.protobuf.Timestamp - 32, // 39: temporal.api.workflow.v1.PendingActivityInfo.expiration_time:type_name -> google.protobuf.Timestamp - 47, // 40: temporal.api.workflow.v1.PendingActivityInfo.last_failure:type_name -> temporal.api.failure.v1.Failure - 48, // 41: temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id:type_name -> google.protobuf.Empty - 36, // 42: temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp:type_name -> temporal.api.common.v1.WorkerVersionStamp - 37, // 43: temporal.api.workflow.v1.PendingActivityInfo.current_retry_interval:type_name -> google.protobuf.Duration - 32, // 44: temporal.api.workflow.v1.PendingActivityInfo.last_attempt_complete_time:type_name -> google.protobuf.Timestamp - 32, // 45: temporal.api.workflow.v1.PendingActivityInfo.next_attempt_schedule_time:type_name -> google.protobuf.Timestamp - 40, // 46: temporal.api.workflow.v1.PendingActivityInfo.last_deployment:type_name -> temporal.api.deployment.v1.Deployment - 41, // 47: temporal.api.workflow.v1.PendingActivityInfo.last_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 38, // 48: temporal.api.workflow.v1.PendingActivityInfo.priority:type_name -> temporal.api.common.v1.Priority - 22, // 49: temporal.api.workflow.v1.PendingActivityInfo.pause_info:type_name -> temporal.api.workflow.v1.PendingActivityInfo.PauseInfo - 49, // 50: temporal.api.workflow.v1.PendingActivityInfo.activity_options:type_name -> temporal.api.activity.v1.ActivityOptions - 50, // 51: temporal.api.workflow.v1.PendingChildExecutionInfo.parent_close_policy:type_name -> temporal.api.enums.v1.ParentClosePolicy - 51, // 52: temporal.api.workflow.v1.PendingWorkflowTaskInfo.state:type_name -> temporal.api.enums.v1.PendingWorkflowTaskState - 32, // 53: temporal.api.workflow.v1.PendingWorkflowTaskInfo.scheduled_time:type_name -> google.protobuf.Timestamp - 32, // 54: temporal.api.workflow.v1.PendingWorkflowTaskInfo.original_scheduled_time:type_name -> google.protobuf.Timestamp - 32, // 55: temporal.api.workflow.v1.PendingWorkflowTaskInfo.started_time:type_name -> google.protobuf.Timestamp - 11, // 56: temporal.api.workflow.v1.ResetPoints.points:type_name -> temporal.api.workflow.v1.ResetPointInfo - 32, // 57: temporal.api.workflow.v1.ResetPointInfo.create_time:type_name -> google.protobuf.Timestamp - 32, // 58: temporal.api.workflow.v1.ResetPointInfo.expire_time:type_name -> google.protobuf.Timestamp - 31, // 59: temporal.api.workflow.v1.NewWorkflowExecutionInfo.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 42, // 60: temporal.api.workflow.v1.NewWorkflowExecutionInfo.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 46, // 61: temporal.api.workflow.v1.NewWorkflowExecutionInfo.input:type_name -> temporal.api.common.v1.Payloads - 37, // 62: temporal.api.workflow.v1.NewWorkflowExecutionInfo.workflow_execution_timeout:type_name -> google.protobuf.Duration - 37, // 63: temporal.api.workflow.v1.NewWorkflowExecutionInfo.workflow_run_timeout:type_name -> google.protobuf.Duration - 37, // 64: temporal.api.workflow.v1.NewWorkflowExecutionInfo.workflow_task_timeout:type_name -> google.protobuf.Duration - 52, // 65: temporal.api.workflow.v1.NewWorkflowExecutionInfo.workflow_id_reuse_policy:type_name -> temporal.api.enums.v1.WorkflowIdReusePolicy - 53, // 66: temporal.api.workflow.v1.NewWorkflowExecutionInfo.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 34, // 67: temporal.api.workflow.v1.NewWorkflowExecutionInfo.memo:type_name -> temporal.api.common.v1.Memo - 35, // 68: temporal.api.workflow.v1.NewWorkflowExecutionInfo.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 54, // 69: temporal.api.workflow.v1.NewWorkflowExecutionInfo.header:type_name -> temporal.api.common.v1.Header - 43, // 70: temporal.api.workflow.v1.NewWorkflowExecutionInfo.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 17, // 71: temporal.api.workflow.v1.NewWorkflowExecutionInfo.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 38, // 72: temporal.api.workflow.v1.NewWorkflowExecutionInfo.priority:type_name -> temporal.api.common.v1.Priority - 55, // 73: temporal.api.workflow.v1.CallbackInfo.callback:type_name -> temporal.api.common.v1.Callback - 26, // 74: temporal.api.workflow.v1.CallbackInfo.trigger:type_name -> temporal.api.workflow.v1.CallbackInfo.Trigger - 32, // 75: temporal.api.workflow.v1.CallbackInfo.registration_time:type_name -> google.protobuf.Timestamp - 56, // 76: temporal.api.workflow.v1.CallbackInfo.state:type_name -> temporal.api.enums.v1.CallbackState - 32, // 77: temporal.api.workflow.v1.CallbackInfo.last_attempt_complete_time:type_name -> google.protobuf.Timestamp - 47, // 78: temporal.api.workflow.v1.CallbackInfo.last_attempt_failure:type_name -> temporal.api.failure.v1.Failure - 32, // 79: temporal.api.workflow.v1.CallbackInfo.next_attempt_schedule_time:type_name -> google.protobuf.Timestamp - 37, // 80: temporal.api.workflow.v1.PendingNexusOperationInfo.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 32, // 81: temporal.api.workflow.v1.PendingNexusOperationInfo.scheduled_time:type_name -> google.protobuf.Timestamp - 57, // 82: temporal.api.workflow.v1.PendingNexusOperationInfo.state:type_name -> temporal.api.enums.v1.PendingNexusOperationState - 32, // 83: temporal.api.workflow.v1.PendingNexusOperationInfo.last_attempt_complete_time:type_name -> google.protobuf.Timestamp - 47, // 84: temporal.api.workflow.v1.PendingNexusOperationInfo.last_attempt_failure:type_name -> temporal.api.failure.v1.Failure - 32, // 85: temporal.api.workflow.v1.PendingNexusOperationInfo.next_attempt_schedule_time:type_name -> google.protobuf.Timestamp - 15, // 86: temporal.api.workflow.v1.PendingNexusOperationInfo.cancellation_info:type_name -> temporal.api.workflow.v1.NexusOperationCancellationInfo - 32, // 87: temporal.api.workflow.v1.NexusOperationCancellationInfo.requested_time:type_name -> google.protobuf.Timestamp - 58, // 88: temporal.api.workflow.v1.NexusOperationCancellationInfo.state:type_name -> temporal.api.enums.v1.NexusOperationCancellationState - 32, // 89: temporal.api.workflow.v1.NexusOperationCancellationInfo.last_attempt_complete_time:type_name -> google.protobuf.Timestamp - 47, // 90: temporal.api.workflow.v1.NexusOperationCancellationInfo.last_attempt_failure:type_name -> temporal.api.failure.v1.Failure - 32, // 91: temporal.api.workflow.v1.NexusOperationCancellationInfo.next_attempt_schedule_time:type_name -> google.protobuf.Timestamp - 17, // 92: temporal.api.workflow.v1.WorkflowExecutionOptions.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 27, // 93: temporal.api.workflow.v1.VersioningOverride.pinned:type_name -> temporal.api.workflow.v1.VersioningOverride.PinnedOverride - 39, // 94: temporal.api.workflow.v1.VersioningOverride.behavior:type_name -> temporal.api.enums.v1.VersioningBehavior - 40, // 95: temporal.api.workflow.v1.VersioningOverride.deployment:type_name -> temporal.api.deployment.v1.Deployment - 59, // 96: temporal.api.workflow.v1.RequestIdInfo.event_type:type_name -> temporal.api.enums.v1.EventType - 28, // 97: temporal.api.workflow.v1.PostResetOperation.signal_workflow:type_name -> temporal.api.workflow.v1.PostResetOperation.SignalWorkflow - 29, // 98: temporal.api.workflow.v1.PostResetOperation.update_workflow_options:type_name -> temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions - 19, // 99: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry.value:type_name -> temporal.api.workflow.v1.RequestIdInfo - 32, // 100: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.pause_time:type_name -> google.protobuf.Timestamp - 23, // 101: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.manual:type_name -> temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual - 24, // 102: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.rule:type_name -> temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule - 25, // 103: temporal.api.workflow.v1.CallbackInfo.Trigger.workflow_closed:type_name -> temporal.api.workflow.v1.CallbackInfo.WorkflowClosed - 0, // 104: temporal.api.workflow.v1.VersioningOverride.PinnedOverride.behavior:type_name -> temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior - 41, // 105: temporal.api.workflow.v1.VersioningOverride.PinnedOverride.version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 46, // 106: temporal.api.workflow.v1.PostResetOperation.SignalWorkflow.input:type_name -> temporal.api.common.v1.Payloads - 54, // 107: temporal.api.workflow.v1.PostResetOperation.SignalWorkflow.header:type_name -> temporal.api.common.v1.Header - 60, // 108: temporal.api.workflow.v1.PostResetOperation.SignalWorkflow.links:type_name -> temporal.api.common.v1.Link - 16, // 109: temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions.workflow_execution_options:type_name -> temporal.api.workflow.v1.WorkflowExecutionOptions - 61, // 110: temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions.update_mask:type_name -> google.protobuf.FieldMask - 111, // [111:111] is the sub-list for method output_type - 111, // [111:111] is the sub-list for method input_type - 111, // [111:111] is the sub-list for extension type_name - 111, // [111:111] is the sub-list for extension extendee - 0, // [0:111] is the sub-list for field type_name -} - -func init() { file_temporal_api_workflow_v1_message_proto_init() } -func file_temporal_api_workflow_v1_message_proto_init() { - if File_temporal_api_workflow_v1_message_proto != nil { - return - } - file_temporal_api_workflow_v1_message_proto_msgTypes[6].OneofWrappers = []any{ - (*PendingActivityInfo_UseWorkflowBuildId)(nil), - (*PendingActivityInfo_LastIndependentlyAssignedBuildId)(nil), - } - file_temporal_api_workflow_v1_message_proto_msgTypes[16].OneofWrappers = []any{ - (*VersioningOverride_Pinned)(nil), - (*VersioningOverride_AutoUpgrade)(nil), - } - file_temporal_api_workflow_v1_message_proto_msgTypes[19].OneofWrappers = []any{ - (*PostResetOperation_SignalWorkflow_)(nil), - (*PostResetOperation_UpdateWorkflowOptions_)(nil), - } - file_temporal_api_workflow_v1_message_proto_msgTypes[21].OneofWrappers = []any{ - (*PendingActivityInfo_PauseInfo_Manual_)(nil), - (*PendingActivityInfo_PauseInfo_Rule_)(nil), - } - file_temporal_api_workflow_v1_message_proto_msgTypes[25].OneofWrappers = []any{ - (*CallbackInfo_Trigger_WorkflowClosed)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_workflow_v1_message_proto_rawDesc), len(file_temporal_api_workflow_v1_message_proto_rawDesc)), - NumEnums: 1, - NumMessages: 29, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_workflow_v1_message_proto_goTypes, - DependencyIndexes: file_temporal_api_workflow_v1_message_proto_depIdxs, - EnumInfos: file_temporal_api_workflow_v1_message_proto_enumTypes, - MessageInfos: file_temporal_api_workflow_v1_message_proto_msgTypes, - }.Build() - File_temporal_api_workflow_v1_message_proto = out.File - file_temporal_api_workflow_v1_message_proto_goTypes = nil - file_temporal_api_workflow_v1_message_proto_depIdxs = nil -} diff --git a/build/temporal/api/workflowservice/v1/request_response.pb.go b/build/temporal/api/workflowservice/v1/request_response.pb.go deleted file mode 100644 index 6cba345..0000000 --- a/build/temporal/api/workflowservice/v1/request_response.pb.go +++ /dev/null @@ -1,17372 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/workflowservice/v1/request_response.proto - -package workflowservice - -import ( - v120 "go.temporal.io/api/activity/v1" - v118 "go.temporal.io/api/batch/v1" - v112 "go.temporal.io/api/command/v1" - v13 "go.temporal.io/api/common/v1" - v18 "go.temporal.io/api/deployment/v1" - v11 "go.temporal.io/api/enums/v1" - v15 "go.temporal.io/api/failure/v1" - v113 "go.temporal.io/api/filter/v1" - v19 "go.temporal.io/api/history/v1" - v12 "go.temporal.io/api/namespace/v1" - v119 "go.temporal.io/api/nexus/v1" - v111 "go.temporal.io/api/protocol/v1" - v110 "go.temporal.io/api/query/v1" - v1 "go.temporal.io/api/replication/v1" - v121 "go.temporal.io/api/rules/v1" - v116 "go.temporal.io/api/schedule/v1" - v16 "go.temporal.io/api/sdk/v1" - v14 "go.temporal.io/api/taskqueue/v1" - v117 "go.temporal.io/api/update/v1" - v115 "go.temporal.io/api/version/v1" - v114 "go.temporal.io/api/worker/v1" - v17 "go.temporal.io/api/workflow/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RegisterNamespaceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - OwnerEmail string `protobuf:"bytes,3,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` - WorkflowExecutionRetentionPeriod *durationpb.Duration `protobuf:"bytes,4,opt,name=workflow_execution_retention_period,json=workflowExecutionRetentionPeriod,proto3" json:"workflow_execution_retention_period,omitempty"` - Clusters []*v1.ClusterReplicationConfig `protobuf:"bytes,5,rep,name=clusters,proto3" json:"clusters,omitempty"` - ActiveClusterName string `protobuf:"bytes,6,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"` - // A key-value map for any customized purpose. - Data map[string]string `protobuf:"bytes,7,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - SecurityToken string `protobuf:"bytes,8,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` - IsGlobalNamespace bool `protobuf:"varint,9,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"` - // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. - HistoryArchivalState v11.ArchivalState `protobuf:"varint,10,opt,name=history_archival_state,json=historyArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"history_archival_state,omitempty"` - HistoryArchivalUri string `protobuf:"bytes,11,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"` - // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used. - VisibilityArchivalState v11.ArchivalState `protobuf:"varint,12,opt,name=visibility_archival_state,json=visibilityArchivalState,proto3,enum=temporal.api.enums.v1.ArchivalState" json:"visibility_archival_state,omitempty"` - VisibilityArchivalUri string `protobuf:"bytes,13,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RegisterNamespaceRequest) Reset() { - *x = RegisterNamespaceRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RegisterNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RegisterNamespaceRequest) ProtoMessage() {} - -func (x *RegisterNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RegisterNamespaceRequest.ProtoReflect.Descriptor instead. -func (*RegisterNamespaceRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{0} -} - -func (x *RegisterNamespaceRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RegisterNamespaceRequest) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *RegisterNamespaceRequest) GetOwnerEmail() string { - if x != nil { - return x.OwnerEmail - } - return "" -} - -func (x *RegisterNamespaceRequest) GetWorkflowExecutionRetentionPeriod() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionRetentionPeriod - } - return nil -} - -func (x *RegisterNamespaceRequest) GetClusters() []*v1.ClusterReplicationConfig { - if x != nil { - return x.Clusters - } - return nil -} - -func (x *RegisterNamespaceRequest) GetActiveClusterName() string { - if x != nil { - return x.ActiveClusterName - } - return "" -} - -func (x *RegisterNamespaceRequest) GetData() map[string]string { - if x != nil { - return x.Data - } - return nil -} - -func (x *RegisterNamespaceRequest) GetSecurityToken() string { - if x != nil { - return x.SecurityToken - } - return "" -} - -func (x *RegisterNamespaceRequest) GetIsGlobalNamespace() bool { - if x != nil { - return x.IsGlobalNamespace - } - return false -} - -func (x *RegisterNamespaceRequest) GetHistoryArchivalState() v11.ArchivalState { - if x != nil { - return x.HistoryArchivalState - } - return v11.ArchivalState(0) -} - -func (x *RegisterNamespaceRequest) GetHistoryArchivalUri() string { - if x != nil { - return x.HistoryArchivalUri - } - return "" -} - -func (x *RegisterNamespaceRequest) GetVisibilityArchivalState() v11.ArchivalState { - if x != nil { - return x.VisibilityArchivalState - } - return v11.ArchivalState(0) -} - -func (x *RegisterNamespaceRequest) GetVisibilityArchivalUri() string { - if x != nil { - return x.VisibilityArchivalUri - } - return "" -} - -type RegisterNamespaceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RegisterNamespaceResponse) Reset() { - *x = RegisterNamespaceResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RegisterNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RegisterNamespaceResponse) ProtoMessage() {} - -func (x *RegisterNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RegisterNamespaceResponse.ProtoReflect.Descriptor instead. -func (*RegisterNamespaceResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{1} -} - -type ListNamespacesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - NamespaceFilter *v12.NamespaceFilter `protobuf:"bytes,3,opt,name=namespace_filter,json=namespaceFilter,proto3" json:"namespace_filter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListNamespacesRequest) Reset() { - *x = ListNamespacesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListNamespacesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNamespacesRequest) ProtoMessage() {} - -func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead. -func (*ListNamespacesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{2} -} - -func (x *ListNamespacesRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListNamespacesRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListNamespacesRequest) GetNamespaceFilter() *v12.NamespaceFilter { - if x != nil { - return x.NamespaceFilter - } - return nil -} - -type ListNamespacesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespaces []*DescribeNamespaceResponse `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListNamespacesResponse) Reset() { - *x = ListNamespacesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListNamespacesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNamespacesResponse) ProtoMessage() {} - -func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead. -func (*ListNamespacesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{3} -} - -func (x *ListNamespacesResponse) GetNamespaces() []*DescribeNamespaceResponse { - if x != nil { - return x.Namespaces - } - return nil -} - -func (x *ListNamespacesResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type DescribeNamespaceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeNamespaceRequest) Reset() { - *x = DescribeNamespaceRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeNamespaceRequest) ProtoMessage() {} - -func (x *DescribeNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeNamespaceRequest.ProtoReflect.Descriptor instead. -func (*DescribeNamespaceRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{4} -} - -func (x *DescribeNamespaceRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeNamespaceRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type DescribeNamespaceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - NamespaceInfo *v12.NamespaceInfo `protobuf:"bytes,1,opt,name=namespace_info,json=namespaceInfo,proto3" json:"namespace_info,omitempty"` - Config *v12.NamespaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,3,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"` - FailoverVersion int64 `protobuf:"varint,4,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"` - IsGlobalNamespace bool `protobuf:"varint,5,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"` - // Contains the historical state of failover_versions for the cluster, truncated to contain only the last N - // states to ensure that the list does not grow unbounded. - FailoverHistory []*v1.FailoverStatus `protobuf:"bytes,6,rep,name=failover_history,json=failoverHistory,proto3" json:"failover_history,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeNamespaceResponse) Reset() { - *x = DescribeNamespaceResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeNamespaceResponse) ProtoMessage() {} - -func (x *DescribeNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeNamespaceResponse.ProtoReflect.Descriptor instead. -func (*DescribeNamespaceResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{5} -} - -func (x *DescribeNamespaceResponse) GetNamespaceInfo() *v12.NamespaceInfo { - if x != nil { - return x.NamespaceInfo - } - return nil -} - -func (x *DescribeNamespaceResponse) GetConfig() *v12.NamespaceConfig { - if x != nil { - return x.Config - } - return nil -} - -func (x *DescribeNamespaceResponse) GetReplicationConfig() *v1.NamespaceReplicationConfig { - if x != nil { - return x.ReplicationConfig - } - return nil -} - -func (x *DescribeNamespaceResponse) GetFailoverVersion() int64 { - if x != nil { - return x.FailoverVersion - } - return 0 -} - -func (x *DescribeNamespaceResponse) GetIsGlobalNamespace() bool { - if x != nil { - return x.IsGlobalNamespace - } - return false -} - -func (x *DescribeNamespaceResponse) GetFailoverHistory() []*v1.FailoverStatus { - if x != nil { - return x.FailoverHistory - } - return nil -} - -type UpdateNamespaceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - UpdateInfo *v12.UpdateNamespaceInfo `protobuf:"bytes,2,opt,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"` - Config *v12.NamespaceConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` - ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,4,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"` - SecurityToken string `protobuf:"bytes,5,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` - DeleteBadBinary string `protobuf:"bytes,6,opt,name=delete_bad_binary,json=deleteBadBinary,proto3" json:"delete_bad_binary,omitempty"` - // promote local namespace to global namespace. Ignored if namespace is already global namespace. - PromoteNamespace bool `protobuf:"varint,7,opt,name=promote_namespace,json=promoteNamespace,proto3" json:"promote_namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateNamespaceRequest) Reset() { - *x = UpdateNamespaceRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateNamespaceRequest) ProtoMessage() {} - -func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead. -func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{6} -} - -func (x *UpdateNamespaceRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateNamespaceRequest) GetUpdateInfo() *v12.UpdateNamespaceInfo { - if x != nil { - return x.UpdateInfo - } - return nil -} - -func (x *UpdateNamespaceRequest) GetConfig() *v12.NamespaceConfig { - if x != nil { - return x.Config - } - return nil -} - -func (x *UpdateNamespaceRequest) GetReplicationConfig() *v1.NamespaceReplicationConfig { - if x != nil { - return x.ReplicationConfig - } - return nil -} - -func (x *UpdateNamespaceRequest) GetSecurityToken() string { - if x != nil { - return x.SecurityToken - } - return "" -} - -func (x *UpdateNamespaceRequest) GetDeleteBadBinary() string { - if x != nil { - return x.DeleteBadBinary - } - return "" -} - -func (x *UpdateNamespaceRequest) GetPromoteNamespace() bool { - if x != nil { - return x.PromoteNamespace - } - return false -} - -type UpdateNamespaceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - NamespaceInfo *v12.NamespaceInfo `protobuf:"bytes,1,opt,name=namespace_info,json=namespaceInfo,proto3" json:"namespace_info,omitempty"` - Config *v12.NamespaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - ReplicationConfig *v1.NamespaceReplicationConfig `protobuf:"bytes,3,opt,name=replication_config,json=replicationConfig,proto3" json:"replication_config,omitempty"` - FailoverVersion int64 `protobuf:"varint,4,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"` - IsGlobalNamespace bool `protobuf:"varint,5,opt,name=is_global_namespace,json=isGlobalNamespace,proto3" json:"is_global_namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateNamespaceResponse) Reset() { - *x = UpdateNamespaceResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateNamespaceResponse) ProtoMessage() {} - -func (x *UpdateNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead. -func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateNamespaceResponse) GetNamespaceInfo() *v12.NamespaceInfo { - if x != nil { - return x.NamespaceInfo - } - return nil -} - -func (x *UpdateNamespaceResponse) GetConfig() *v12.NamespaceConfig { - if x != nil { - return x.Config - } - return nil -} - -func (x *UpdateNamespaceResponse) GetReplicationConfig() *v1.NamespaceReplicationConfig { - if x != nil { - return x.ReplicationConfig - } - return nil -} - -func (x *UpdateNamespaceResponse) GetFailoverVersion() int64 { - if x != nil { - return x.FailoverVersion - } - return 0 -} - -func (x *UpdateNamespaceResponse) GetIsGlobalNamespace() bool { - if x != nil { - return x.IsGlobalNamespace - } - return false -} - -// Deprecated. -type DeprecateNamespaceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - SecurityToken string `protobuf:"bytes,2,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeprecateNamespaceRequest) Reset() { - *x = DeprecateNamespaceRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeprecateNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeprecateNamespaceRequest) ProtoMessage() {} - -func (x *DeprecateNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeprecateNamespaceRequest.ProtoReflect.Descriptor instead. -func (*DeprecateNamespaceRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{8} -} - -func (x *DeprecateNamespaceRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeprecateNamespaceRequest) GetSecurityToken() string { - if x != nil { - return x.SecurityToken - } - return "" -} - -// Deprecated. -type DeprecateNamespaceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeprecateNamespaceResponse) Reset() { - *x = DeprecateNamespaceResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeprecateNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeprecateNamespaceResponse) ProtoMessage() {} - -func (x *DeprecateNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeprecateNamespaceResponse.ProtoReflect.Descriptor instead. -func (*DeprecateNamespaceResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{9} -} - -type StartWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - TaskQueue *v14.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Serialized arguments to the workflow. These are passed as arguments to the workflow function. - Input *v13.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new. - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run. - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task. - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // The identity of the client who initiated this request - Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this start request. Typically UUIDv4. - RequestId string `protobuf:"bytes,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Defines whether to allow re-using the workflow id from a previously *closed* workflow. - // The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - // - // See `workflow_id_conflict_policy` for handling a workflow id duplication with a *running* workflow. - WorkflowIdReusePolicy v11.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` - // Defines how to resolve a workflow id conflict with a *running* workflow. - // The default policy is WORKFLOW_ID_CONFLICT_POLICY_FAIL. - // - // See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. - WorkflowIdConflictPolicy v11.WorkflowIdConflictPolicy `protobuf:"varint,22,opt,name=workflow_id_conflict_policy,json=workflowIdConflictPolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdConflictPolicy" json:"workflow_id_conflict_policy,omitempty"` - // The retry policy for the workflow. Will never exceed `workflow_execution_timeout`. - RetryPolicy *v13.RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/ - CronSchedule string `protobuf:"bytes,13,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Memo *v13.Memo `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v13.SearchAttributes `protobuf:"bytes,15,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - Header *v13.Header `protobuf:"bytes,16,opt,name=header,proto3" json:"header,omitempty"` - // Request to get the first workflow task inline in the response bypassing matching service and worker polling. - // If set to `true` the caller is expected to have a worker available and capable of processing the task. - // The returned task will be marked as started and is expected to be completed by the specified - // `workflow_task_timeout`. - RequestEagerExecution bool `protobuf:"varint,17,opt,name=request_eager_execution,json=requestEagerExecution,proto3" json:"request_eager_execution,omitempty"` - // These values will be available as ContinuedFailure and LastCompletionResult in the - // WorkflowExecutionStarted event and through SDKs. The are currently only used by the - // server itself (for the schedules feature) and are not intended to be exposed in - // StartWorkflowExecution. - ContinuedFailure *v15.Failure `protobuf:"bytes,18,opt,name=continued_failure,json=continuedFailure,proto3" json:"continued_failure,omitempty"` - LastCompletionResult *v13.Payloads `protobuf:"bytes,19,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` - // Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. - // If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest - // of the delay will be ignored. - WorkflowStartDelay *durationpb.Duration `protobuf:"bytes,20,opt,name=workflow_start_delay,json=workflowStartDelay,proto3" json:"workflow_start_delay,omitempty"` - // Callbacks to be called by the server when this workflow reaches a terminal state. - // If the workflow continues-as-new, these callbacks will be carried over to the new execution. - // Callback addresses must be whitelisted in the server's dynamic configuration. - CompletionCallbacks []*v13.Callback `protobuf:"bytes,21,rep,name=completion_callbacks,json=completionCallbacks,proto3" json:"completion_callbacks,omitempty"` - // Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo - // for use by user interfaces to display the fixed as-of-start summary and details of the - // workflow. - UserMetadata *v16.UserMetadata `protobuf:"bytes,23,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - // Links to be associated with the workflow. - Links []*v13.Link `protobuf:"bytes,24,rep,name=links,proto3" json:"links,omitempty"` - // If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. - // To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. - VersioningOverride *v17.VersioningOverride `protobuf:"bytes,25,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // Defines actions to be done to the existing running workflow when the conflict policy - // WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set (ie., nil value) or set to a - // empty object (ie., all options with default value), it won't do anything to the existing - // running workflow. If set, it will add a history event to the running workflow. - OnConflictOptions *v17.OnConflictOptions `protobuf:"bytes,26,opt,name=on_conflict_options,json=onConflictOptions,proto3" json:"on_conflict_options,omitempty"` - // Priority metadata - Priority *v13.Priority `protobuf:"bytes,27,opt,name=priority,proto3" json:"priority,omitempty"` - // Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. - EagerWorkerDeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,28,opt,name=eager_worker_deployment_options,json=eagerWorkerDeploymentOptions,proto3" json:"eager_worker_deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartWorkflowExecutionRequest) Reset() { - *x = StartWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartWorkflowExecutionRequest) ProtoMessage() {} - -func (x *StartWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*StartWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{10} -} - -func (x *StartWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowType() *v13.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetInput() *v13.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *StartWorkflowExecutionRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() v11.WorkflowIdReusePolicy { - if x != nil { - return x.WorkflowIdReusePolicy - } - return v11.WorkflowIdReusePolicy(0) -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowIdConflictPolicy() v11.WorkflowIdConflictPolicy { - if x != nil { - return x.WorkflowIdConflictPolicy - } - return v11.WorkflowIdConflictPolicy(0) -} - -func (x *StartWorkflowExecutionRequest) GetRetryPolicy() *v13.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *StartWorkflowExecutionRequest) GetMemo() *v13.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetSearchAttributes() *v13.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetHeader() *v13.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetRequestEagerExecution() bool { - if x != nil { - return x.RequestEagerExecution - } - return false -} - -func (x *StartWorkflowExecutionRequest) GetContinuedFailure() *v15.Failure { - if x != nil { - return x.ContinuedFailure - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetLastCompletionResult() *v13.Payloads { - if x != nil { - return x.LastCompletionResult - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetWorkflowStartDelay() *durationpb.Duration { - if x != nil { - return x.WorkflowStartDelay - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetCompletionCallbacks() []*v13.Callback { - if x != nil { - return x.CompletionCallbacks - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetUserMetadata() *v16.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetLinks() []*v13.Link { - if x != nil { - return x.Links - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetVersioningOverride() *v17.VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetOnConflictOptions() *v17.OnConflictOptions { - if x != nil { - return x.OnConflictOptions - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetPriority() *v13.Priority { - if x != nil { - return x.Priority - } - return nil -} - -func (x *StartWorkflowExecutionRequest) GetEagerWorkerDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.EagerWorkerDeploymentOptions - } - return nil -} - -type StartWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING). - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // If true, a new workflow was started. - Started bool `protobuf:"varint,3,opt,name=started,proto3" json:"started,omitempty"` - // Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING - // unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs). - Status v11.WorkflowExecutionStatus `protobuf:"varint,5,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"` - // When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will - // return the first workflow task to be eagerly executed. - // The caller is expected to have a worker available to process the task. - EagerWorkflowTask *PollWorkflowTaskQueueResponse `protobuf:"bytes,2,opt,name=eager_workflow_task,json=eagerWorkflowTask,proto3" json:"eager_workflow_task,omitempty"` - // Link to the workflow event. - Link *v13.Link `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartWorkflowExecutionResponse) Reset() { - *x = StartWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartWorkflowExecutionResponse) ProtoMessage() {} - -func (x *StartWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*StartWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{11} -} - -func (x *StartWorkflowExecutionResponse) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *StartWorkflowExecutionResponse) GetStarted() bool { - if x != nil { - return x.Started - } - return false -} - -func (x *StartWorkflowExecutionResponse) GetStatus() v11.WorkflowExecutionStatus { - if x != nil { - return x.Status - } - return v11.WorkflowExecutionStatus(0) -} - -func (x *StartWorkflowExecutionResponse) GetEagerWorkflowTask() *PollWorkflowTaskQueueResponse { - if x != nil { - return x.EagerWorkflowTask - } - return nil -} - -func (x *StartWorkflowExecutionResponse) GetLink() *v13.Link { - if x != nil { - return x.Link - } - return nil -} - -type GetWorkflowExecutionHistoryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - MaximumPageSize int32 `protobuf:"varint,3,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"` - // If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of - // these, it should be passed here to fetch the next page. - NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // If set to true, the RPC call will not resolve until there is a new event which matches - // the `history_event_filter_type`, or a timeout is hit. - WaitNewEvent bool `protobuf:"varint,5,opt,name=wait_new_event,json=waitNewEvent,proto3" json:"wait_new_event,omitempty"` - // Filter returned events such that they match the specified filter type. - // Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT. - HistoryEventFilterType v11.HistoryEventFilterType `protobuf:"varint,6,opt,name=history_event_filter_type,json=historyEventFilterType,proto3,enum=temporal.api.enums.v1.HistoryEventFilterType" json:"history_event_filter_type,omitempty"` - SkipArchival bool `protobuf:"varint,7,opt,name=skip_archival,json=skipArchival,proto3" json:"skip_archival,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkflowExecutionHistoryRequest) Reset() { - *x = GetWorkflowExecutionHistoryRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkflowExecutionHistoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionHistoryRequest) ProtoMessage() {} - -func (x *GetWorkflowExecutionHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionHistoryRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowExecutionHistoryRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{12} -} - -func (x *GetWorkflowExecutionHistoryRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetWorkflowExecutionHistoryRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *GetWorkflowExecutionHistoryRequest) GetMaximumPageSize() int32 { - if x != nil { - return x.MaximumPageSize - } - return 0 -} - -func (x *GetWorkflowExecutionHistoryRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *GetWorkflowExecutionHistoryRequest) GetWaitNewEvent() bool { - if x != nil { - return x.WaitNewEvent - } - return false -} - -func (x *GetWorkflowExecutionHistoryRequest) GetHistoryEventFilterType() v11.HistoryEventFilterType { - if x != nil { - return x.HistoryEventFilterType - } - return v11.HistoryEventFilterType(0) -} - -func (x *GetWorkflowExecutionHistoryRequest) GetSkipArchival() bool { - if x != nil { - return x.SkipArchival - } - return false -} - -type GetWorkflowExecutionHistoryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - History *v19.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` - // Raw history is an alternate representation of history that may be returned if configured on - // the frontend. This is not supported by all SDKs. Either this or `history` will be set. - RawHistory []*v13.DataBlob `protobuf:"bytes,2,rep,name=raw_history,json=rawHistory,proto3" json:"raw_history,omitempty"` - // Will be set if there are more history events than were included in this response - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkflowExecutionHistoryResponse) Reset() { - *x = GetWorkflowExecutionHistoryResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkflowExecutionHistoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionHistoryResponse) ProtoMessage() {} - -func (x *GetWorkflowExecutionHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionHistoryResponse.ProtoReflect.Descriptor instead. -func (*GetWorkflowExecutionHistoryResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{13} -} - -func (x *GetWorkflowExecutionHistoryResponse) GetHistory() *v19.History { - if x != nil { - return x.History - } - return nil -} - -func (x *GetWorkflowExecutionHistoryResponse) GetRawHistory() []*v13.DataBlob { - if x != nil { - return x.RawHistory - } - return nil -} - -func (x *GetWorkflowExecutionHistoryResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *GetWorkflowExecutionHistoryResponse) GetArchived() bool { - if x != nil { - return x.Archived - } - return false -} - -type GetWorkflowExecutionHistoryReverseRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - MaximumPageSize int32 `protobuf:"varint,3,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) Reset() { - *x = GetWorkflowExecutionHistoryReverseRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionHistoryReverseRequest) ProtoMessage() {} - -func (x *GetWorkflowExecutionHistoryReverseRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionHistoryReverseRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowExecutionHistoryReverseRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{14} -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) GetMaximumPageSize() int32 { - if x != nil { - return x.MaximumPageSize - } - return 0 -} - -func (x *GetWorkflowExecutionHistoryReverseRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type GetWorkflowExecutionHistoryReverseResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - History *v19.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` - // Will be set if there are more history events than were included in this response - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkflowExecutionHistoryReverseResponse) Reset() { - *x = GetWorkflowExecutionHistoryReverseResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkflowExecutionHistoryReverseResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionHistoryReverseResponse) ProtoMessage() {} - -func (x *GetWorkflowExecutionHistoryReverseResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionHistoryReverseResponse.ProtoReflect.Descriptor instead. -func (*GetWorkflowExecutionHistoryReverseResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{15} -} - -func (x *GetWorkflowExecutionHistoryReverseResponse) GetHistory() *v19.History { - if x != nil { - return x.History - } - return nil -} - -func (x *GetWorkflowExecutionHistoryReverseResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type PollWorkflowTaskQueueRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // The identity of the worker/client who is polling this task queue - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Deprecated. Use deployment_options instead. - // Each worker process should provide an ID unique to the specific set of code it is running - // "checksum" in this field name isn't very accurate, it should be though of as an id. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - BinaryChecksum string `protobuf:"bytes,4,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - // Deprecated. Use deployment_options instead. - // Information about this worker's build identifier and if it is choosing to use the versioning - // feature. See the `WorkerVersionCapabilities` docstring for more. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersionCapabilities *v13.WorkerVersionCapabilities `protobuf:"bytes,5,opt,name=worker_version_capabilities,json=workerVersionCapabilities,proto3" json:"worker_version_capabilities,omitempty"` - // Worker deployment options that user has set in the worker. - // Experimental. Worker Deployments are experimental and might significantly change in the future. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,6,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollWorkflowTaskQueueRequest) Reset() { - *x = PollWorkflowTaskQueueRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollWorkflowTaskQueueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollWorkflowTaskQueueRequest) ProtoMessage() {} - -func (x *PollWorkflowTaskQueueRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollWorkflowTaskQueueRequest.ProtoReflect.Descriptor instead. -func (*PollWorkflowTaskQueueRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{16} -} - -func (x *PollWorkflowTaskQueueRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PollWorkflowTaskQueueRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *PollWorkflowTaskQueueRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *PollWorkflowTaskQueueRequest) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *PollWorkflowTaskQueueRequest) GetWorkerVersionCapabilities() *v13.WorkerVersionCapabilities { - if x != nil { - return x.WorkerVersionCapabilities - } - return nil -} - -func (x *PollWorkflowTaskQueueRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type PollWorkflowTaskQueueResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A unique identifier for this task - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // The last workflow task started event which was processed by some worker for this execution. - // Will be zero if no task has ever started. - PreviousStartedEventId int64 `protobuf:"varint,4,opt,name=previous_started_event_id,json=previousStartedEventId,proto3" json:"previous_started_event_id,omitempty"` - // The id of the most recent workflow task started event, which will have been generated as a - // result of this poll request being served. Will be zero if the task - // does not contain any events which would advance history (no new WFT started). - // Currently this can happen for queries. - StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` - // Starting at 1, the number of attempts to complete this task by any worker. - Attempt int32 `protobuf:"varint,6,opt,name=attempt,proto3" json:"attempt,omitempty"` - // A hint that there are more tasks already present in this task queue - // partition. Can be used to prioritize draining a sticky queue. - // - // Specifically, the returned number is the number of tasks remaining in - // the in-memory buffer for this partition, which is currently capped at - // 1000. Because sticky queues only have one partition, this number is - // more useful when draining them. Normal queues, typically having more than one - // partition, will return a number representing only some portion of the - // overall backlog. Subsequent RPCs may not hit the same partition as - // this call. - BacklogCountHint int64 `protobuf:"varint,7,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"` - // The history for this workflow, which will either be complete or partial. Partial histories - // are sent to workers who have signaled that they are using a sticky queue when completing - // a workflow task. - History *v19.History `protobuf:"bytes,8,opt,name=history,proto3" json:"history,omitempty"` - // Will be set if there are more history events than were included in this response. Such events - // should be fetched via `GetWorkflowExecutionHistory`. - NextPageToken []byte `protobuf:"bytes,9,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Legacy queries appear in this field. The query must be responded to via - // `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on - // closed workflows) then the `history` field will be populated with the entire history. It - // may also be populated if this task originates on a non-sticky queue. - Query *v110.WorkflowQuery `protobuf:"bytes,10,opt,name=query,proto3" json:"query,omitempty"` - // The task queue this task originated from, which will always be the original non-sticky name - // for the queue, even if this response came from polling a sticky queue. - WorkflowExecutionTaskQueue *v14.TaskQueue `protobuf:"bytes,11,opt,name=workflow_execution_task_queue,json=workflowExecutionTaskQueue,proto3" json:"workflow_execution_task_queue,omitempty"` - // When this task was scheduled by the server - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - // When the current workflow task started event was generated, meaning the current attempt. - StartedTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` - // Queries that should be executed after applying the history in this task. Responses should be - // attached to `RespondWorkflowTaskCompletedRequest::query_results` - Queries map[string]*v110.WorkflowQuery `protobuf:"bytes,14,rep,name=queries,proto3" json:"queries,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // Protocol messages piggybacking on a WFT as a transport - Messages []*v111.Message `protobuf:"bytes,15,rep,name=messages,proto3" json:"messages,omitempty"` - // Server-advised information the SDK may use to adjust its poller count. - PollerScalingDecision *v14.PollerScalingDecision `protobuf:"bytes,16,opt,name=poller_scaling_decision,json=pollerScalingDecision,proto3" json:"poller_scaling_decision,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollWorkflowTaskQueueResponse) Reset() { - *x = PollWorkflowTaskQueueResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollWorkflowTaskQueueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollWorkflowTaskQueueResponse) ProtoMessage() {} - -func (x *PollWorkflowTaskQueueResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollWorkflowTaskQueueResponse.ProtoReflect.Descriptor instead. -func (*PollWorkflowTaskQueueResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{17} -} - -func (x *PollWorkflowTaskQueueResponse) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetWorkflowType() *v13.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetPreviousStartedEventId() int64 { - if x != nil { - return x.PreviousStartedEventId - } - return 0 -} - -func (x *PollWorkflowTaskQueueResponse) GetStartedEventId() int64 { - if x != nil { - return x.StartedEventId - } - return 0 -} - -func (x *PollWorkflowTaskQueueResponse) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *PollWorkflowTaskQueueResponse) GetBacklogCountHint() int64 { - if x != nil { - return x.BacklogCountHint - } - return 0 -} - -func (x *PollWorkflowTaskQueueResponse) GetHistory() *v19.History { - if x != nil { - return x.History - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetQuery() *v110.WorkflowQuery { - if x != nil { - return x.Query - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetWorkflowExecutionTaskQueue() *v14.TaskQueue { - if x != nil { - return x.WorkflowExecutionTaskQueue - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetStartedTime() *timestamppb.Timestamp { - if x != nil { - return x.StartedTime - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetQueries() map[string]*v110.WorkflowQuery { - if x != nil { - return x.Queries - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetMessages() []*v111.Message { - if x != nil { - return x.Messages - } - return nil -} - -func (x *PollWorkflowTaskQueueResponse) GetPollerScalingDecision() *v14.PollerScalingDecision { - if x != nil { - return x.PollerScalingDecision - } - return nil -} - -type RespondWorkflowTaskCompletedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollWorkflowTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // A list of commands generated when driving the workflow code in response to the new task - Commands []*v112.Command `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // May be set by workers to indicate that the worker desires future tasks to be provided with - // incremental history on a sticky queue. - StickyAttributes *v14.StickyExecutionAttributes `protobuf:"bytes,4,opt,name=sticky_attributes,json=stickyAttributes,proto3" json:"sticky_attributes,omitempty"` - // If set, the worker wishes to immediately receive the next workflow task as a response to - // this completion. This can save on polling round-trips. - ReturnNewWorkflowTask bool `protobuf:"varint,5,opt,name=return_new_workflow_task,json=returnNewWorkflowTask,proto3" json:"return_new_workflow_task,omitempty"` - // Can be used to *force* creation of a new workflow task, even if no commands have resolved or - // one would not otherwise have been generated. This is used when the worker knows it is doing - // something useful, but cannot complete it within the workflow task timeout. Local activities - // which run for longer than the task timeout being the prime example. - ForceCreateNewWorkflowTask bool `protobuf:"varint,6,opt,name=force_create_new_workflow_task,json=forceCreateNewWorkflowTask,proto3" json:"force_create_new_workflow_task,omitempty"` - // Deprecated. Use `deployment_options` instead. - // Worker process' unique binary id - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - BinaryChecksum string `protobuf:"bytes,7,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - // Responses to the `queries` field in the task being responded to - QueryResults map[string]*v110.WorkflowQueryResult `protobuf:"bytes,8,rep,name=query_results,json=queryResults,proto3" json:"query_results,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Version info of the worker who processed this task. This message's `build_id` field should - // always be set by SDKs. Workers opting into versioning will also set the `use_versioning` - // field to true. See message docstrings for more. - // Deprecated. Use `deployment_options` and `versioning_behavior` instead. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersionStamp *v13.WorkerVersionStamp `protobuf:"bytes,10,opt,name=worker_version_stamp,json=workerVersionStamp,proto3" json:"worker_version_stamp,omitempty"` - // Protocol messages piggybacking on a WFT as a transport - Messages []*v111.Message `protobuf:"bytes,11,rep,name=messages,proto3" json:"messages,omitempty"` - // Data the SDK wishes to record for itself, but server need not interpret, and does not - // directly impact workflow state. - SdkMetadata *v16.WorkflowTaskCompletedMetadata `protobuf:"bytes,12,opt,name=sdk_metadata,json=sdkMetadata,proto3" json:"sdk_metadata,omitempty"` - // Local usage data collected for metering - MeteringMetadata *v13.MeteringMetadata `protobuf:"bytes,13,opt,name=metering_metadata,json=meteringMetadata,proto3" json:"metering_metadata,omitempty"` - // All capabilities the SDK supports. - Capabilities *RespondWorkflowTaskCompletedRequest_Capabilities `protobuf:"bytes,14,opt,name=capabilities,proto3" json:"capabilities,omitempty"` - // Deployment info of the worker that completed this task. Must be present if user has set - // `WorkerDeploymentOptions` regardless of versioning being enabled or not. - // Deprecated. Replaced with `deployment_options`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Deployment *v18.Deployment `protobuf:"bytes,15,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Versioning behavior of this workflow execution as set on the worker that completed this task. - // UNSPECIFIED means versioning is not enabled in the worker. - VersioningBehavior v11.VersioningBehavior `protobuf:"varint,16,opt,name=versioning_behavior,json=versioningBehavior,proto3,enum=temporal.api.enums.v1.VersioningBehavior" json:"versioning_behavior,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,17,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondWorkflowTaskCompletedRequest) Reset() { - *x = RespondWorkflowTaskCompletedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondWorkflowTaskCompletedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondWorkflowTaskCompletedRequest) ProtoMessage() {} - -func (x *RespondWorkflowTaskCompletedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondWorkflowTaskCompletedRequest.ProtoReflect.Descriptor instead. -func (*RespondWorkflowTaskCompletedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{18} -} - -func (x *RespondWorkflowTaskCompletedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetCommands() []*v112.Command { - if x != nil { - return x.Commands - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondWorkflowTaskCompletedRequest) GetStickyAttributes() *v14.StickyExecutionAttributes { - if x != nil { - return x.StickyAttributes - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetReturnNewWorkflowTask() bool { - if x != nil { - return x.ReturnNewWorkflowTask - } - return false -} - -func (x *RespondWorkflowTaskCompletedRequest) GetForceCreateNewWorkflowTask() bool { - if x != nil { - return x.ForceCreateNewWorkflowTask - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskCompletedRequest) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -func (x *RespondWorkflowTaskCompletedRequest) GetQueryResults() map[string]*v110.WorkflowQueryResult { - if x != nil { - return x.QueryResults - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskCompletedRequest) GetWorkerVersionStamp() *v13.WorkerVersionStamp { - if x != nil { - return x.WorkerVersionStamp - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetMessages() []*v111.Message { - if x != nil { - return x.Messages - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetSdkMetadata() *v16.WorkflowTaskCompletedMetadata { - if x != nil { - return x.SdkMetadata - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetMeteringMetadata() *v13.MeteringMetadata { - if x != nil { - return x.MeteringMetadata - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetCapabilities() *RespondWorkflowTaskCompletedRequest_Capabilities { - if x != nil { - return x.Capabilities - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskCompletedRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *RespondWorkflowTaskCompletedRequest) GetVersioningBehavior() v11.VersioningBehavior { - if x != nil { - return x.VersioningBehavior - } - return v11.VersioningBehavior(0) -} - -func (x *RespondWorkflowTaskCompletedRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondWorkflowTaskCompletedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task` - WorkflowTask *PollWorkflowTaskQueueResponse `protobuf:"bytes,1,opt,name=workflow_task,json=workflowTask,proto3" json:"workflow_task,omitempty"` - // See `ScheduleActivityTaskCommandAttributes::request_eager_execution` - ActivityTasks []*PollActivityTaskQueueResponse `protobuf:"bytes,2,rep,name=activity_tasks,json=activityTasks,proto3" json:"activity_tasks,omitempty"` - // If non zero, indicates the server has discarded the workflow task that was being responded to. - // Will be the event ID of the last workflow task started event in the history before the new workflow task. - // Server is only expected to discard a workflow task if it could not have modified the workflow state. - ResetHistoryEventId int64 `protobuf:"varint,3,opt,name=reset_history_event_id,json=resetHistoryEventId,proto3" json:"reset_history_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondWorkflowTaskCompletedResponse) Reset() { - *x = RespondWorkflowTaskCompletedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondWorkflowTaskCompletedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondWorkflowTaskCompletedResponse) ProtoMessage() {} - -func (x *RespondWorkflowTaskCompletedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondWorkflowTaskCompletedResponse.ProtoReflect.Descriptor instead. -func (*RespondWorkflowTaskCompletedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{19} -} - -func (x *RespondWorkflowTaskCompletedResponse) GetWorkflowTask() *PollWorkflowTaskQueueResponse { - if x != nil { - return x.WorkflowTask - } - return nil -} - -func (x *RespondWorkflowTaskCompletedResponse) GetActivityTasks() []*PollActivityTaskQueueResponse { - if x != nil { - return x.ActivityTasks - } - return nil -} - -func (x *RespondWorkflowTaskCompletedResponse) GetResetHistoryEventId() int64 { - if x != nil { - return x.ResetHistoryEventId - } - return 0 -} - -type RespondWorkflowTaskFailedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollWorkflowTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Why did the task fail? It's important to note that many of the variants in this enum cannot - // apply to worker responses. See the type's doc for more. - Cause v11.WorkflowTaskFailedCause `protobuf:"varint,2,opt,name=cause,proto3,enum=temporal.api.enums.v1.WorkflowTaskFailedCause" json:"cause,omitempty"` - // Failure details - Failure *v15.Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - // Deprecated. Use `deployment_options` instead. - // Worker process' unique binary id - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - BinaryChecksum string `protobuf:"bytes,5,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` - Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Protocol messages piggybacking on a WFT as a transport - Messages []*v111.Message `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"` - // Version info of the worker who processed this task. This message's `build_id` field should - // always be set by SDKs. Workers opting into versioning will also set the `use_versioning` - // field to true. See message docstrings for more. - // Deprecated. Use `deployment_options` instead. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersion *v13.WorkerVersionStamp `protobuf:"bytes,8,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Deployment info of the worker that completed this task. Must be present if user has set - // `WorkerDeploymentOptions` regardless of versioning being enabled or not. - // Deprecated. Replaced with `deployment_options`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Deployment *v18.Deployment `protobuf:"bytes,9,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,10,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondWorkflowTaskFailedRequest) Reset() { - *x = RespondWorkflowTaskFailedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondWorkflowTaskFailedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondWorkflowTaskFailedRequest) ProtoMessage() {} - -func (x *RespondWorkflowTaskFailedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondWorkflowTaskFailedRequest.ProtoReflect.Descriptor instead. -func (*RespondWorkflowTaskFailedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{20} -} - -func (x *RespondWorkflowTaskFailedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondWorkflowTaskFailedRequest) GetCause() v11.WorkflowTaskFailedCause { - if x != nil { - return x.Cause - } - return v11.WorkflowTaskFailedCause(0) -} - -func (x *RespondWorkflowTaskFailedRequest) GetFailure() *v15.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *RespondWorkflowTaskFailedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskFailedRequest) GetBinaryChecksum() string { - if x != nil { - return x.BinaryChecksum - } - return "" -} - -func (x *RespondWorkflowTaskFailedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondWorkflowTaskFailedRequest) GetMessages() []*v111.Message { - if x != nil { - return x.Messages - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskFailedRequest) GetWorkerVersion() *v13.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondWorkflowTaskFailedRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *RespondWorkflowTaskFailedRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondWorkflowTaskFailedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondWorkflowTaskFailedResponse) Reset() { - *x = RespondWorkflowTaskFailedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondWorkflowTaskFailedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondWorkflowTaskFailedResponse) ProtoMessage() {} - -func (x *RespondWorkflowTaskFailedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondWorkflowTaskFailedResponse.ProtoReflect.Descriptor instead. -func (*RespondWorkflowTaskFailedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{21} -} - -type PollActivityTaskQueueRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - TaskQueueMetadata *v14.TaskQueueMetadata `protobuf:"bytes,4,opt,name=task_queue_metadata,json=taskQueueMetadata,proto3" json:"task_queue_metadata,omitempty"` - // Information about this worker's build identifier and if it is choosing to use the versioning - // feature. See the `WorkerVersionCapabilities` docstring for more. - // Deprecated. Replaced by deployment_options. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersionCapabilities *v13.WorkerVersionCapabilities `protobuf:"bytes,5,opt,name=worker_version_capabilities,json=workerVersionCapabilities,proto3" json:"worker_version_capabilities,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,6,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollActivityTaskQueueRequest) Reset() { - *x = PollActivityTaskQueueRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollActivityTaskQueueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollActivityTaskQueueRequest) ProtoMessage() {} - -func (x *PollActivityTaskQueueRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollActivityTaskQueueRequest.ProtoReflect.Descriptor instead. -func (*PollActivityTaskQueueRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{22} -} - -func (x *PollActivityTaskQueueRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PollActivityTaskQueueRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *PollActivityTaskQueueRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PollActivityTaskQueueRequest) GetTaskQueueMetadata() *v14.TaskQueueMetadata { - if x != nil { - return x.TaskQueueMetadata - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *PollActivityTaskQueueRequest) GetWorkerVersionCapabilities() *v13.WorkerVersionCapabilities { - if x != nil { - return x.WorkerVersionCapabilities - } - return nil -} - -func (x *PollActivityTaskQueueRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type PollActivityTaskQueueResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A unique identifier for this task - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // The namespace the workflow which requested this activity lives in - WorkflowNamespace string `protobuf:"bytes,2,opt,name=workflow_namespace,json=workflowNamespace,proto3" json:"workflow_namespace,omitempty"` - // Type of the requesting workflow - WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // Execution info of the requesting workflow - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - ActivityType *v13.ActivityType `protobuf:"bytes,5,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` - // The autogenerated or user specified identifier of this activity. Can be used to complete the - // activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage - // has resolved, but unique IDs for every activity invocation is a good idea. - ActivityId string `protobuf:"bytes,6,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - // Headers specified by the scheduling workflow. Commonly used to propagate contextual info - // from the workflow to its activities. For example, tracing contexts. - Header *v13.Header `protobuf:"bytes,7,opt,name=header,proto3" json:"header,omitempty"` - // Arguments to the activity invocation - Input *v13.Payloads `protobuf:"bytes,8,opt,name=input,proto3" json:"input,omitempty"` - // Details of the last heartbeat that was recorded for this activity as of the time this task - // was delivered. - HeartbeatDetails *v13.Payloads `protobuf:"bytes,9,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"` - // When was this task first scheduled - ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` - // When was this task attempt scheduled - CurrentAttemptScheduledTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=current_attempt_scheduled_time,json=currentAttemptScheduledTime,proto3" json:"current_attempt_scheduled_time,omitempty"` - // When was this task started (this attempt) - StartedTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` - // Starting at 1, the number of attempts to perform this activity - Attempt int32 `protobuf:"varint,13,opt,name=attempt,proto3" json:"attempt,omitempty"` - // First scheduled -> final result reported timeout - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - ScheduleToCloseTimeout *durationpb.Duration `protobuf:"bytes,14,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` - // Current attempt start -> final result reported timeout - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "to" is used to indicate interval. --) - StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` - // Window within which the activity must report a heartbeat, or be timed out. - HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,16,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` - // This is the retry policy the service uses which may be different from the one provided - // (or not) during activity scheduling. The service can override the provided one if some - // values are not specified or exceed configured system limits. - RetryPolicy *v13.RetryPolicy `protobuf:"bytes,17,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // Server-advised information the SDK may use to adjust its poller count. - PollerScalingDecision *v14.PollerScalingDecision `protobuf:"bytes,18,opt,name=poller_scaling_decision,json=pollerScalingDecision,proto3" json:"poller_scaling_decision,omitempty"` - // Priority metadata - Priority *v13.Priority `protobuf:"bytes,19,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollActivityTaskQueueResponse) Reset() { - *x = PollActivityTaskQueueResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollActivityTaskQueueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollActivityTaskQueueResponse) ProtoMessage() {} - -func (x *PollActivityTaskQueueResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollActivityTaskQueueResponse.ProtoReflect.Descriptor instead. -func (*PollActivityTaskQueueResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{23} -} - -func (x *PollActivityTaskQueueResponse) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetWorkflowNamespace() string { - if x != nil { - return x.WorkflowNamespace - } - return "" -} - -func (x *PollActivityTaskQueueResponse) GetWorkflowType() *v13.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetActivityType() *v13.ActivityType { - if x != nil { - return x.ActivityType - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *PollActivityTaskQueueResponse) GetHeader() *v13.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetInput() *v13.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetHeartbeatDetails() *v13.Payloads { - if x != nil { - return x.HeartbeatDetails - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.ScheduledTime - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetCurrentAttemptScheduledTime() *timestamppb.Timestamp { - if x != nil { - return x.CurrentAttemptScheduledTime - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetStartedTime() *timestamppb.Timestamp { - if x != nil { - return x.StartedTime - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetAttempt() int32 { - if x != nil { - return x.Attempt - } - return 0 -} - -func (x *PollActivityTaskQueueResponse) GetScheduleToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.ScheduleToCloseTimeout - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetStartToCloseTimeout() *durationpb.Duration { - if x != nil { - return x.StartToCloseTimeout - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetHeartbeatTimeout() *durationpb.Duration { - if x != nil { - return x.HeartbeatTimeout - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetRetryPolicy() *v13.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetPollerScalingDecision() *v14.PollerScalingDecision { - if x != nil { - return x.PollerScalingDecision - } - return nil -} - -func (x *PollActivityTaskQueueResponse) GetPriority() *v13.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type RecordActivityTaskHeartbeatRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollActivityTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Arbitrary data, of which the most recent call is kept, to store for this activity - Details *v13.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordActivityTaskHeartbeatRequest) Reset() { - *x = RecordActivityTaskHeartbeatRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordActivityTaskHeartbeatRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordActivityTaskHeartbeatRequest) ProtoMessage() {} - -func (x *RecordActivityTaskHeartbeatRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordActivityTaskHeartbeatRequest.ProtoReflect.Descriptor instead. -func (*RecordActivityTaskHeartbeatRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{24} -} - -func (x *RecordActivityTaskHeartbeatRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RecordActivityTaskHeartbeatRequest) GetDetails() *v13.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *RecordActivityTaskHeartbeatRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RecordActivityTaskHeartbeatRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -type RecordActivityTaskHeartbeatResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Will be set to true if the activity has been asked to cancel itself. The SDK should then - // notify the activity of cancellation if it is still running. - CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` - // Will be set to true if the activity is paused. - ActivityPaused bool `protobuf:"varint,2,opt,name=activity_paused,json=activityPaused,proto3" json:"activity_paused,omitempty"` - // Will be set to true if the activity was reset. - // Applies only to the current run. - ActivityReset bool `protobuf:"varint,3,opt,name=activity_reset,json=activityReset,proto3" json:"activity_reset,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordActivityTaskHeartbeatResponse) Reset() { - *x = RecordActivityTaskHeartbeatResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordActivityTaskHeartbeatResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordActivityTaskHeartbeatResponse) ProtoMessage() {} - -func (x *RecordActivityTaskHeartbeatResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordActivityTaskHeartbeatResponse.ProtoReflect.Descriptor instead. -func (*RecordActivityTaskHeartbeatResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{25} -} - -func (x *RecordActivityTaskHeartbeatResponse) GetCancelRequested() bool { - if x != nil { - return x.CancelRequested - } - return false -} - -func (x *RecordActivityTaskHeartbeatResponse) GetActivityPaused() bool { - if x != nil { - return x.ActivityPaused - } - return false -} - -func (x *RecordActivityTaskHeartbeatResponse) GetActivityReset() bool { - if x != nil { - return x.ActivityReset - } - return false -} - -type RecordActivityTaskHeartbeatByIdRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Id of the workflow which scheduled this activity - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Run Id of the workflow which scheduled this activity - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Id of the activity we're heartbeating - ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - // Arbitrary data, of which the most recent call is kept, to store for this activity - Details *v13.Payloads `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) Reset() { - *x = RecordActivityTaskHeartbeatByIdRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordActivityTaskHeartbeatByIdRequest) ProtoMessage() {} - -func (x *RecordActivityTaskHeartbeatByIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordActivityTaskHeartbeatByIdRequest.ProtoReflect.Descriptor instead. -func (*RecordActivityTaskHeartbeatByIdRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{26} -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetDetails() *v13.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *RecordActivityTaskHeartbeatByIdRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type RecordActivityTaskHeartbeatByIdResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Will be set to true if the activity has been asked to cancel itself. The SDK should then - // notify the activity of cancellation if it is still running. - CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` - // Will be set to true if the activity is paused. - ActivityPaused bool `protobuf:"varint,2,opt,name=activity_paused,json=activityPaused,proto3" json:"activity_paused,omitempty"` - // Will be set to true if the activity was reset. - // Applies only to the current run. - ActivityReset bool `protobuf:"varint,3,opt,name=activity_reset,json=activityReset,proto3" json:"activity_reset,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordActivityTaskHeartbeatByIdResponse) Reset() { - *x = RecordActivityTaskHeartbeatByIdResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordActivityTaskHeartbeatByIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordActivityTaskHeartbeatByIdResponse) ProtoMessage() {} - -func (x *RecordActivityTaskHeartbeatByIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordActivityTaskHeartbeatByIdResponse.ProtoReflect.Descriptor instead. -func (*RecordActivityTaskHeartbeatByIdResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{27} -} - -func (x *RecordActivityTaskHeartbeatByIdResponse) GetCancelRequested() bool { - if x != nil { - return x.CancelRequested - } - return false -} - -func (x *RecordActivityTaskHeartbeatByIdResponse) GetActivityPaused() bool { - if x != nil { - return x.ActivityPaused - } - return false -} - -func (x *RecordActivityTaskHeartbeatByIdResponse) GetActivityReset() bool { - if x != nil { - return x.ActivityReset - } - return false -} - -type RespondActivityTaskCompletedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollActivityTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // The result of successfully executing the activity - Result *v13.Payloads `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Version info of the worker who processed this task. This message's `build_id` field should - // always be set by SDKs. Workers opting into versioning will also set the `use_versioning` - // field to true. See message docstrings for more. - // Deprecated. Use `deployment_options` instead. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersion *v13.WorkerVersionStamp `protobuf:"bytes,5,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Deployment info of the worker that completed this task. Must be present if user has set - // `WorkerDeploymentOptions` regardless of versioning being enabled or not. - // Deprecated. Replaced with `deployment_options`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Deployment *v18.Deployment `protobuf:"bytes,6,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,7,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCompletedRequest) Reset() { - *x = RespondActivityTaskCompletedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCompletedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCompletedRequest) ProtoMessage() {} - -func (x *RespondActivityTaskCompletedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCompletedRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCompletedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{28} -} - -func (x *RespondActivityTaskCompletedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondActivityTaskCompletedRequest) GetResult() *v13.Payloads { - if x != nil { - return x.Result - } - return nil -} - -func (x *RespondActivityTaskCompletedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondActivityTaskCompletedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskCompletedRequest) GetWorkerVersion() *v13.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskCompletedRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *RespondActivityTaskCompletedRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondActivityTaskCompletedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCompletedResponse) Reset() { - *x = RespondActivityTaskCompletedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCompletedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCompletedResponse) ProtoMessage() {} - -func (x *RespondActivityTaskCompletedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCompletedResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCompletedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{29} -} - -type RespondActivityTaskCompletedByIdRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Id of the workflow which scheduled this activity - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Run Id of the workflow which scheduled this activity - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Id of the activity to complete - ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - // The serialized result of activity execution - Result *v13.Payloads `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCompletedByIdRequest) Reset() { - *x = RespondActivityTaskCompletedByIdRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCompletedByIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCompletedByIdRequest) ProtoMessage() {} - -func (x *RespondActivityTaskCompletedByIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCompletedByIdRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCompletedByIdRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{30} -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetResult() *v13.Payloads { - if x != nil { - return x.Result - } - return nil -} - -func (x *RespondActivityTaskCompletedByIdRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type RespondActivityTaskCompletedByIdResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCompletedByIdResponse) Reset() { - *x = RespondActivityTaskCompletedByIdResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCompletedByIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCompletedByIdResponse) ProtoMessage() {} - -func (x *RespondActivityTaskCompletedByIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCompletedByIdResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCompletedByIdResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{31} -} - -type RespondActivityTaskFailedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollActivityTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Detailed failure information - Failure *v15.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Additional details to be stored as last activity heartbeat - LastHeartbeatDetails *v13.Payloads `protobuf:"bytes,5,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` - // Version info of the worker who processed this task. This message's `build_id` field should - // always be set by SDKs. Workers opting into versioning will also set the `use_versioning` - // field to true. See message docstrings for more. - // Deprecated. Use `deployment_options` instead. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersion *v13.WorkerVersionStamp `protobuf:"bytes,6,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Deployment info of the worker that completed this task. Must be present if user has set - // `WorkerDeploymentOptions` regardless of versioning being enabled or not. - // Deprecated. Replaced with `deployment_options`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Deployment *v18.Deployment `protobuf:"bytes,7,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,8,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskFailedRequest) Reset() { - *x = RespondActivityTaskFailedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskFailedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskFailedRequest) ProtoMessage() {} - -func (x *RespondActivityTaskFailedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskFailedRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskFailedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{32} -} - -func (x *RespondActivityTaskFailedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondActivityTaskFailedRequest) GetFailure() *v15.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *RespondActivityTaskFailedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondActivityTaskFailedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondActivityTaskFailedRequest) GetLastHeartbeatDetails() *v13.Payloads { - if x != nil { - return x.LastHeartbeatDetails - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskFailedRequest) GetWorkerVersion() *v13.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskFailedRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *RespondActivityTaskFailedRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondActivityTaskFailedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Server validation failures could include - // last_heartbeat_details payload is too large, request failure is too large - Failures []*v15.Failure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskFailedResponse) Reset() { - *x = RespondActivityTaskFailedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskFailedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskFailedResponse) ProtoMessage() {} - -func (x *RespondActivityTaskFailedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskFailedResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskFailedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{33} -} - -func (x *RespondActivityTaskFailedResponse) GetFailures() []*v15.Failure { - if x != nil { - return x.Failures - } - return nil -} - -type RespondActivityTaskFailedByIdRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Id of the workflow which scheduled this activity - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Run Id of the workflow which scheduled this activity - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Id of the activity to fail - ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - // Detailed failure information - Failure *v15.Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - // Additional details to be stored as last activity heartbeat - LastHeartbeatDetails *v13.Payloads `protobuf:"bytes,7,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskFailedByIdRequest) Reset() { - *x = RespondActivityTaskFailedByIdRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskFailedByIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskFailedByIdRequest) ProtoMessage() {} - -func (x *RespondActivityTaskFailedByIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskFailedByIdRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskFailedByIdRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{34} -} - -func (x *RespondActivityTaskFailedByIdRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondActivityTaskFailedByIdRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *RespondActivityTaskFailedByIdRequest) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *RespondActivityTaskFailedByIdRequest) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *RespondActivityTaskFailedByIdRequest) GetFailure() *v15.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *RespondActivityTaskFailedByIdRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondActivityTaskFailedByIdRequest) GetLastHeartbeatDetails() *v13.Payloads { - if x != nil { - return x.LastHeartbeatDetails - } - return nil -} - -type RespondActivityTaskFailedByIdResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Server validation failures could include - // last_heartbeat_details payload is too large, request failure is too large - Failures []*v15.Failure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskFailedByIdResponse) Reset() { - *x = RespondActivityTaskFailedByIdResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskFailedByIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskFailedByIdResponse) ProtoMessage() {} - -func (x *RespondActivityTaskFailedByIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskFailedByIdResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskFailedByIdResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{35} -} - -func (x *RespondActivityTaskFailedByIdResponse) GetFailures() []*v15.Failure { - if x != nil { - return x.Failures - } - return nil -} - -type RespondActivityTaskCanceledRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The task token as received in `PollActivityTaskQueueResponse` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Serialized additional information to attach to the cancellation - Details *v13.Payloads `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Version info of the worker who processed this task. This message's `build_id` field should - // always be set by SDKs. Workers opting into versioning will also set the `use_versioning` - // field to true. See message docstrings for more. - // Deprecated. Use `deployment_options` instead. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersion *v13.WorkerVersionStamp `protobuf:"bytes,5,opt,name=worker_version,json=workerVersion,proto3" json:"worker_version,omitempty"` - // Deployment info of the worker that completed this task. Must be present if user has set - // `WorkerDeploymentOptions` regardless of versioning being enabled or not. - // Deprecated. Replaced with `deployment_options`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Deployment *v18.Deployment `protobuf:"bytes,6,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,7,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCanceledRequest) Reset() { - *x = RespondActivityTaskCanceledRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCanceledRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCanceledRequest) ProtoMessage() {} - -func (x *RespondActivityTaskCanceledRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCanceledRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCanceledRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{36} -} - -func (x *RespondActivityTaskCanceledRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondActivityTaskCanceledRequest) GetDetails() *v13.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *RespondActivityTaskCanceledRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondActivityTaskCanceledRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskCanceledRequest) GetWorkerVersion() *v13.WorkerVersionStamp { - if x != nil { - return x.WorkerVersion - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *RespondActivityTaskCanceledRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *RespondActivityTaskCanceledRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondActivityTaskCanceledResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCanceledResponse) Reset() { - *x = RespondActivityTaskCanceledResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCanceledResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCanceledResponse) ProtoMessage() {} - -func (x *RespondActivityTaskCanceledResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCanceledResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCanceledResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{37} -} - -type RespondActivityTaskCanceledByIdRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Id of the workflow which scheduled this activity - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Run Id of the workflow which scheduled this activity - RunId string `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // Id of the activity to confirm is cancelled - ActivityId string `protobuf:"bytes,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` - // Serialized additional information to attach to the cancellation - Details *v13.Payloads `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,7,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCanceledByIdRequest) Reset() { - *x = RespondActivityTaskCanceledByIdRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCanceledByIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCanceledByIdRequest) ProtoMessage() {} - -func (x *RespondActivityTaskCanceledByIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCanceledByIdRequest.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCanceledByIdRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{38} -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetActivityId() string { - if x != nil { - return x.ActivityId - } - return "" -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetDetails() *v13.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondActivityTaskCanceledByIdRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -type RespondActivityTaskCanceledByIdResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondActivityTaskCanceledByIdResponse) Reset() { - *x = RespondActivityTaskCanceledByIdResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondActivityTaskCanceledByIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondActivityTaskCanceledByIdResponse) ProtoMessage() {} - -func (x *RespondActivityTaskCanceledByIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondActivityTaskCanceledByIdResponse.ProtoReflect.Descriptor instead. -func (*RespondActivityTaskCanceledByIdResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{39} -} - -type RequestCancelWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Used to de-dupe cancellation requests - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // If set, this call will error if the most recent (if no run id is set on - // `workflow_execution`), or specified (if it is) workflow execution is not part of the same - // execution chain as this id. - FirstExecutionRunId string `protobuf:"bytes,5,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` - // Reason for requesting the cancellation - Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` - // Links to be associated with the WorkflowExecutionCanceled event. - Links []*v13.Link `protobuf:"bytes,7,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelWorkflowExecutionRequest) Reset() { - *x = RequestCancelWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelWorkflowExecutionRequest) ProtoMessage() {} - -func (x *RequestCancelWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*RequestCancelWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{40} -} - -func (x *RequestCancelWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RequestCancelWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *RequestCancelWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RequestCancelWorkflowExecutionRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *RequestCancelWorkflowExecutionRequest) GetFirstExecutionRunId() string { - if x != nil { - return x.FirstExecutionRunId - } - return "" -} - -func (x *RequestCancelWorkflowExecutionRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *RequestCancelWorkflowExecutionRequest) GetLinks() []*v13.Link { - if x != nil { - return x.Links - } - return nil -} - -type RequestCancelWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RequestCancelWorkflowExecutionResponse) Reset() { - *x = RequestCancelWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RequestCancelWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestCancelWorkflowExecutionResponse) ProtoMessage() {} - -func (x *RequestCancelWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestCancelWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*RequestCancelWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{41} -} - -// Keep the parameters in sync with: -// - temporal.api.batch.v1.BatchOperationSignal. -// - temporal.api.workflow.v1.PostResetOperation.SignalWorkflow. -type SignalWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // The workflow author-defined name of the signal to send to the workflow - SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Serialized value(s) to provide with the signal - Input *v13.Payloads `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // Used to de-dupe sent signals - RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Control string `protobuf:"bytes,7,opt,name=control,proto3" json:"control,omitempty"` - // Headers that are passed with the signal to the processing workflow. - // These can include things like auth or tracing tokens. - Header *v13.Header `protobuf:"bytes,8,opt,name=header,proto3" json:"header,omitempty"` - // Links to be associated with the WorkflowExecutionSignaled event. - Links []*v13.Link `protobuf:"bytes,10,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalWorkflowExecutionRequest) Reset() { - *x = SignalWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalWorkflowExecutionRequest) ProtoMessage() {} - -func (x *SignalWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*SignalWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{42} -} - -func (x *SignalWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SignalWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *SignalWorkflowExecutionRequest) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *SignalWorkflowExecutionRequest) GetInput() *v13.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *SignalWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *SignalWorkflowExecutionRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SignalWorkflowExecutionRequest) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *SignalWorkflowExecutionRequest) GetHeader() *v13.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *SignalWorkflowExecutionRequest) GetLinks() []*v13.Link { - if x != nil { - return x.Links - } - return nil -} - -type SignalWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalWorkflowExecutionResponse) Reset() { - *x = SignalWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalWorkflowExecutionResponse) ProtoMessage() {} - -func (x *SignalWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*SignalWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{43} -} - -type SignalWithStartWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - WorkflowType *v13.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - // The task queue to start this workflow on, if it will be started - TaskQueue *v14.TaskQueue `protobuf:"bytes,4,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Serialized arguments to the workflow. These are passed as arguments to the workflow function. - Input *v13.Payloads `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - // Total workflow execution timeout including retries and continue as new - WorkflowExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=workflow_execution_timeout,json=workflowExecutionTimeout,proto3" json:"workflow_execution_timeout,omitempty"` - // Timeout of a single workflow run - WorkflowRunTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=workflow_run_timeout,json=workflowRunTimeout,proto3" json:"workflow_run_timeout,omitempty"` - // Timeout of a single workflow task - WorkflowTaskTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=workflow_task_timeout,json=workflowTaskTimeout,proto3" json:"workflow_task_timeout,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"` - // Used to de-dupe signal w/ start requests - RequestId string `protobuf:"bytes,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Defines whether to allow re-using the workflow id from a previously *closed* workflow. - // The default policy is WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - // - // See `workflow_id_reuse_policy` for handling a workflow id duplication with a *running* workflow. - WorkflowIdReusePolicy v11.WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` - // Defines how to resolve a workflow id conflict with a *running* workflow. - // The default policy is WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING. - // Note that WORKFLOW_ID_CONFLICT_POLICY_FAIL is an invalid option. - // - // See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. - WorkflowIdConflictPolicy v11.WorkflowIdConflictPolicy `protobuf:"varint,22,opt,name=workflow_id_conflict_policy,json=workflowIdConflictPolicy,proto3,enum=temporal.api.enums.v1.WorkflowIdConflictPolicy" json:"workflow_id_conflict_policy,omitempty"` - // The workflow author-defined name of the signal to send to the workflow - SignalName string `protobuf:"bytes,12,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` - // Serialized value(s) to provide with the signal - SignalInput *v13.Payloads `protobuf:"bytes,13,opt,name=signal_input,json=signalInput,proto3" json:"signal_input,omitempty"` - // Deprecated. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Control string `protobuf:"bytes,14,opt,name=control,proto3" json:"control,omitempty"` - // Retry policy for the workflow - RetryPolicy *v13.RetryPolicy `protobuf:"bytes,15,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` - // See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/ - CronSchedule string `protobuf:"bytes,16,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` - Memo *v13.Memo `protobuf:"bytes,17,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v13.SearchAttributes `protobuf:"bytes,18,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - Header *v13.Header `protobuf:"bytes,19,opt,name=header,proto3" json:"header,omitempty"` - // Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`. - // Note that the signal will be delivered with the first workflow task. If the workflow gets - // another SignalWithStartWorkflow before the delay a workflow task will be dispatched immediately - // and the rest of the delay period will be ignored, even if that request also had a delay. - // Signal via SignalWorkflowExecution will not unblock the workflow. - WorkflowStartDelay *durationpb.Duration `protobuf:"bytes,20,opt,name=workflow_start_delay,json=workflowStartDelay,proto3" json:"workflow_start_delay,omitempty"` - // Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo - // for use by user interfaces to display the fixed as-of-start summary and details of the - // workflow. - UserMetadata *v16.UserMetadata `protobuf:"bytes,23,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` - // Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events. - Links []*v13.Link `protobuf:"bytes,24,rep,name=links,proto3" json:"links,omitempty"` - // If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. - // To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. - VersioningOverride *v17.VersioningOverride `protobuf:"bytes,25,opt,name=versioning_override,json=versioningOverride,proto3" json:"versioning_override,omitempty"` - // Priority metadata - Priority *v13.Priority `protobuf:"bytes,26,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalWithStartWorkflowExecutionRequest) Reset() { - *x = SignalWithStartWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalWithStartWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalWithStartWorkflowExecutionRequest) ProtoMessage() {} - -func (x *SignalWithStartWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalWithStartWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*SignalWithStartWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{44} -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowType() *v13.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetInput() *v13.Payloads { - if x != nil { - return x.Input - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowExecutionTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowExecutionTimeout - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowRunTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowRunTimeout - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowTaskTimeout() *durationpb.Duration { - if x != nil { - return x.WorkflowTaskTimeout - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() v11.WorkflowIdReusePolicy { - if x != nil { - return x.WorkflowIdReusePolicy - } - return v11.WorkflowIdReusePolicy(0) -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowIdConflictPolicy() v11.WorkflowIdConflictPolicy { - if x != nil { - return x.WorkflowIdConflictPolicy - } - return v11.WorkflowIdConflictPolicy(0) -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetSignalName() string { - if x != nil { - return x.SignalName - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetSignalInput() *v13.Payloads { - if x != nil { - return x.SignalInput - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SignalWithStartWorkflowExecutionRequest) GetControl() string { - if x != nil { - return x.Control - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetRetryPolicy() *v13.RetryPolicy { - if x != nil { - return x.RetryPolicy - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetCronSchedule() string { - if x != nil { - return x.CronSchedule - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetMemo() *v13.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetSearchAttributes() *v13.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetHeader() *v13.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetWorkflowStartDelay() *durationpb.Duration { - if x != nil { - return x.WorkflowStartDelay - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetUserMetadata() *v16.UserMetadata { - if x != nil { - return x.UserMetadata - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetLinks() []*v13.Link { - if x != nil { - return x.Links - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetVersioningOverride() *v17.VersioningOverride { - if x != nil { - return x.VersioningOverride - } - return nil -} - -func (x *SignalWithStartWorkflowExecutionRequest) GetPriority() *v13.Priority { - if x != nil { - return x.Priority - } - return nil -} - -type SignalWithStartWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The run id of the workflow that was started - or just signaled, if it was already running. - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // If true, a new workflow was started. - Started bool `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SignalWithStartWorkflowExecutionResponse) Reset() { - *x = SignalWithStartWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SignalWithStartWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignalWithStartWorkflowExecutionResponse) ProtoMessage() {} - -func (x *SignalWithStartWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignalWithStartWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*SignalWithStartWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{45} -} - -func (x *SignalWithStartWorkflowExecutionResponse) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *SignalWithStartWorkflowExecutionResponse) GetStarted() bool { - if x != nil { - return x.Started - } - return false -} - -type ResetWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The workflow to reset. If this contains a run ID then the workflow will be reset back to the - // provided event ID in that run. Otherwise it will be reset to the provided event ID in the - // current run. In all cases the current run will be terminated and a new run started. - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - // The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or - // `WORKFLOW_TASK_STARTED` event to reset to. - WorkflowTaskFinishEventId int64 `protobuf:"varint,4,opt,name=workflow_task_finish_event_id,json=workflowTaskFinishEventId,proto3" json:"workflow_task_finish_event_id,omitempty"` - // Used to de-dupe reset requests - RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Deprecated. Use `options`. - // Default: RESET_REAPPLY_TYPE_SIGNAL - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - ResetReapplyType v11.ResetReapplyType `protobuf:"varint,6,opt,name=reset_reapply_type,json=resetReapplyType,proto3,enum=temporal.api.enums.v1.ResetReapplyType" json:"reset_reapply_type,omitempty"` - // Event types not to be reapplied - ResetReapplyExcludeTypes []v11.ResetReapplyExcludeType `protobuf:"varint,7,rep,packed,name=reset_reapply_exclude_types,json=resetReapplyExcludeTypes,proto3,enum=temporal.api.enums.v1.ResetReapplyExcludeType" json:"reset_reapply_exclude_types,omitempty"` - // Operations to perform after the workflow has been reset. These operations will be applied - // to the *new* run of the workflow execution in the order they are provided. - // All operations are applied to the workflow before the first new workflow task is generated - PostResetOperations []*v17.PostResetOperation `protobuf:"bytes,8,rep,name=post_reset_operations,json=postResetOperations,proto3" json:"post_reset_operations,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetWorkflowExecutionRequest) Reset() { - *x = ResetWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetWorkflowExecutionRequest) ProtoMessage() {} - -func (x *ResetWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*ResetWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{46} -} - -func (x *ResetWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ResetWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ResetWorkflowExecutionRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *ResetWorkflowExecutionRequest) GetWorkflowTaskFinishEventId() int64 { - if x != nil { - return x.WorkflowTaskFinishEventId - } - return 0 -} - -func (x *ResetWorkflowExecutionRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *ResetWorkflowExecutionRequest) GetResetReapplyType() v11.ResetReapplyType { - if x != nil { - return x.ResetReapplyType - } - return v11.ResetReapplyType(0) -} - -func (x *ResetWorkflowExecutionRequest) GetResetReapplyExcludeTypes() []v11.ResetReapplyExcludeType { - if x != nil { - return x.ResetReapplyExcludeTypes - } - return nil -} - -func (x *ResetWorkflowExecutionRequest) GetPostResetOperations() []*v17.PostResetOperation { - if x != nil { - return x.PostResetOperations - } - return nil -} - -func (x *ResetWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type ResetWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetWorkflowExecutionResponse) Reset() { - *x = ResetWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetWorkflowExecutionResponse) ProtoMessage() {} - -func (x *ResetWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*ResetWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{47} -} - -func (x *ResetWorkflowExecutionResponse) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -type TerminateWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - // Serialized additional information to attach to the termination event - Details *v13.Payloads `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` - // The identity of the worker/client - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // If set, this call will error if the most recent (if no run id is set on - // `workflow_execution`), or specified (if it is) workflow execution is not part of the same - // execution chain as this id. - FirstExecutionRunId string `protobuf:"bytes,6,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` - // Links to be associated with the WorkflowExecutionTerminated event. - Links []*v13.Link `protobuf:"bytes,7,rep,name=links,proto3" json:"links,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TerminateWorkflowExecutionRequest) Reset() { - *x = TerminateWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TerminateWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TerminateWorkflowExecutionRequest) ProtoMessage() {} - -func (x *TerminateWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TerminateWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*TerminateWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{48} -} - -func (x *TerminateWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *TerminateWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *TerminateWorkflowExecutionRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *TerminateWorkflowExecutionRequest) GetDetails() *v13.Payloads { - if x != nil { - return x.Details - } - return nil -} - -func (x *TerminateWorkflowExecutionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *TerminateWorkflowExecutionRequest) GetFirstExecutionRunId() string { - if x != nil { - return x.FirstExecutionRunId - } - return "" -} - -func (x *TerminateWorkflowExecutionRequest) GetLinks() []*v13.Link { - if x != nil { - return x.Links - } - return nil -} - -type TerminateWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TerminateWorkflowExecutionResponse) Reset() { - *x = TerminateWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TerminateWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TerminateWorkflowExecutionResponse) ProtoMessage() {} - -func (x *TerminateWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TerminateWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*TerminateWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{49} -} - -type DeleteWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Workflow Execution to delete. If run_id is not specified, the latest one is used. - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkflowExecutionRequest) Reset() { - *x = DeleteWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkflowExecutionRequest) ProtoMessage() {} - -func (x *DeleteWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*DeleteWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{50} -} - -func (x *DeleteWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeleteWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -type DeleteWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkflowExecutionResponse) Reset() { - *x = DeleteWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkflowExecutionResponse) ProtoMessage() {} - -func (x *DeleteWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*DeleteWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{51} -} - -type ListOpenWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - MaximumPageSize int32 `protobuf:"varint,2,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - StartTimeFilter *v113.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListOpenWorkflowExecutionsRequest) Reset() { - *x = ListOpenWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOpenWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOpenWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ListOpenWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[52] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListOpenWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*ListOpenWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{52} -} - -func (x *ListOpenWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListOpenWorkflowExecutionsRequest) GetMaximumPageSize() int32 { - if x != nil { - return x.MaximumPageSize - } - return 0 -} - -func (x *ListOpenWorkflowExecutionsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListOpenWorkflowExecutionsRequest) GetStartTimeFilter() *v113.StartTimeFilter { - if x != nil { - return x.StartTimeFilter - } - return nil -} - -func (x *ListOpenWorkflowExecutionsRequest) GetFilters() isListOpenWorkflowExecutionsRequest_Filters { - if x != nil { - return x.Filters - } - return nil -} - -func (x *ListOpenWorkflowExecutionsRequest) GetExecutionFilter() *v113.WorkflowExecutionFilter { - if x != nil { - if x, ok := x.Filters.(*ListOpenWorkflowExecutionsRequest_ExecutionFilter); ok { - return x.ExecutionFilter - } - } - return nil -} - -func (x *ListOpenWorkflowExecutionsRequest) GetTypeFilter() *v113.WorkflowTypeFilter { - if x != nil { - if x, ok := x.Filters.(*ListOpenWorkflowExecutionsRequest_TypeFilter); ok { - return x.TypeFilter - } - } - return nil -} - -type isListOpenWorkflowExecutionsRequest_Filters interface { - isListOpenWorkflowExecutionsRequest_Filters() -} - -type ListOpenWorkflowExecutionsRequest_ExecutionFilter struct { - ExecutionFilter *v113.WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof"` -} - -type ListOpenWorkflowExecutionsRequest_TypeFilter struct { - TypeFilter *v113.WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof"` -} - -func (*ListOpenWorkflowExecutionsRequest_ExecutionFilter) isListOpenWorkflowExecutionsRequest_Filters() { -} - -func (*ListOpenWorkflowExecutionsRequest_TypeFilter) isListOpenWorkflowExecutionsRequest_Filters() {} - -type ListOpenWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executions []*v17.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListOpenWorkflowExecutionsResponse) Reset() { - *x = ListOpenWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOpenWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOpenWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ListOpenWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListOpenWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*ListOpenWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{53} -} - -func (x *ListOpenWorkflowExecutionsResponse) GetExecutions() []*v17.WorkflowExecutionInfo { - if x != nil { - return x.Executions - } - return nil -} - -func (x *ListOpenWorkflowExecutionsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListClosedWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - MaximumPageSize int32 `protobuf:"varint,2,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - StartTimeFilter *v113.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListClosedWorkflowExecutionsRequest) Reset() { - *x = ListClosedWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListClosedWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListClosedWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ListClosedWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[54] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListClosedWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*ListClosedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{54} -} - -func (x *ListClosedWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListClosedWorkflowExecutionsRequest) GetMaximumPageSize() int32 { - if x != nil { - return x.MaximumPageSize - } - return 0 -} - -func (x *ListClosedWorkflowExecutionsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListClosedWorkflowExecutionsRequest) GetStartTimeFilter() *v113.StartTimeFilter { - if x != nil { - return x.StartTimeFilter - } - return nil -} - -func (x *ListClosedWorkflowExecutionsRequest) GetFilters() isListClosedWorkflowExecutionsRequest_Filters { - if x != nil { - return x.Filters - } - return nil -} - -func (x *ListClosedWorkflowExecutionsRequest) GetExecutionFilter() *v113.WorkflowExecutionFilter { - if x != nil { - if x, ok := x.Filters.(*ListClosedWorkflowExecutionsRequest_ExecutionFilter); ok { - return x.ExecutionFilter - } - } - return nil -} - -func (x *ListClosedWorkflowExecutionsRequest) GetTypeFilter() *v113.WorkflowTypeFilter { - if x != nil { - if x, ok := x.Filters.(*ListClosedWorkflowExecutionsRequest_TypeFilter); ok { - return x.TypeFilter - } - } - return nil -} - -func (x *ListClosedWorkflowExecutionsRequest) GetStatusFilter() *v113.StatusFilter { - if x != nil { - if x, ok := x.Filters.(*ListClosedWorkflowExecutionsRequest_StatusFilter); ok { - return x.StatusFilter - } - } - return nil -} - -type isListClosedWorkflowExecutionsRequest_Filters interface { - isListClosedWorkflowExecutionsRequest_Filters() -} - -type ListClosedWorkflowExecutionsRequest_ExecutionFilter struct { - ExecutionFilter *v113.WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof"` -} - -type ListClosedWorkflowExecutionsRequest_TypeFilter struct { - TypeFilter *v113.WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof"` -} - -type ListClosedWorkflowExecutionsRequest_StatusFilter struct { - StatusFilter *v113.StatusFilter `protobuf:"bytes,7,opt,name=status_filter,json=statusFilter,proto3,oneof"` -} - -func (*ListClosedWorkflowExecutionsRequest_ExecutionFilter) isListClosedWorkflowExecutionsRequest_Filters() { -} - -func (*ListClosedWorkflowExecutionsRequest_TypeFilter) isListClosedWorkflowExecutionsRequest_Filters() { -} - -func (*ListClosedWorkflowExecutionsRequest_StatusFilter) isListClosedWorkflowExecutionsRequest_Filters() { -} - -type ListClosedWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executions []*v17.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListClosedWorkflowExecutionsResponse) Reset() { - *x = ListClosedWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListClosedWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListClosedWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ListClosedWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[55] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListClosedWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*ListClosedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{55} -} - -func (x *ListClosedWorkflowExecutionsResponse) GetExecutions() []*v17.WorkflowExecutionInfo { - if x != nil { - return x.Executions - } - return nil -} - -func (x *ListClosedWorkflowExecutionsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkflowExecutionsRequest) Reset() { - *x = ListWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ListWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[56] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{56} -} - -func (x *ListWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListWorkflowExecutionsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListWorkflowExecutionsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListWorkflowExecutionsRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -type ListWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executions []*v17.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkflowExecutionsResponse) Reset() { - *x = ListWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ListWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[57] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{57} -} - -func (x *ListWorkflowExecutionsResponse) GetExecutions() []*v17.WorkflowExecutionInfo { - if x != nil { - return x.Executions - } - return nil -} - -func (x *ListWorkflowExecutionsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListArchivedWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListArchivedWorkflowExecutionsRequest) Reset() { - *x = ListArchivedWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListArchivedWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListArchivedWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ListArchivedWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[58] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListArchivedWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*ListArchivedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{58} -} - -func (x *ListArchivedWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListArchivedWorkflowExecutionsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListArchivedWorkflowExecutionsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListArchivedWorkflowExecutionsRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -type ListArchivedWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executions []*v17.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListArchivedWorkflowExecutionsResponse) Reset() { - *x = ListArchivedWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListArchivedWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListArchivedWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ListArchivedWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[59] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListArchivedWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*ListArchivedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{59} -} - -func (x *ListArchivedWorkflowExecutionsResponse) GetExecutions() []*v17.WorkflowExecutionInfo { - if x != nil { - return x.Executions - } - return nil -} - -func (x *ListArchivedWorkflowExecutionsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -// Deprecated: Use with `ListWorkflowExecutions`. -type ScanWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScanWorkflowExecutionsRequest) Reset() { - *x = ScanWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScanWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScanWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ScanWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[60] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScanWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*ScanWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{60} -} - -func (x *ScanWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ScanWorkflowExecutionsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ScanWorkflowExecutionsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ScanWorkflowExecutionsRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -// Deprecated: Use with `ListWorkflowExecutions`. -type ScanWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executions []*v17.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ScanWorkflowExecutionsResponse) Reset() { - *x = ScanWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ScanWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScanWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ScanWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[61] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScanWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*ScanWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{61} -} - -func (x *ScanWorkflowExecutionsResponse) GetExecutions() []*v17.WorkflowExecutionInfo { - if x != nil { - return x.Executions - } - return nil -} - -func (x *ScanWorkflowExecutionsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type CountWorkflowExecutionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CountWorkflowExecutionsRequest) Reset() { - *x = CountWorkflowExecutionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CountWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *CountWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[62] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. -func (*CountWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{62} -} - -func (x *CountWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *CountWorkflowExecutionsRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -type CountWorkflowExecutionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // If `query` is not grouping by any field, the count is an approximate number - // of workflows that matches the query. - // If `query` is grouping by a field, the count is simply the sum of the counts - // of the groups returned in the response. This number can be smaller than the - // total number of workflows matching the query. - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // `groups` contains the groups if the request is grouping by a field. - // The list might not be complete, and the counts of each group is approximate. - Groups []*CountWorkflowExecutionsResponse_AggregationGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CountWorkflowExecutionsResponse) Reset() { - *x = CountWorkflowExecutionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CountWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *CountWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[63] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. -func (*CountWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{63} -} - -func (x *CountWorkflowExecutionsResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - -func (x *CountWorkflowExecutionsResponse) GetGroups() []*CountWorkflowExecutionsResponse_AggregationGroup { - if x != nil { - return x.Groups - } - return nil -} - -type GetSearchAttributesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSearchAttributesRequest) Reset() { - *x = GetSearchAttributesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSearchAttributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSearchAttributesRequest) ProtoMessage() {} - -func (x *GetSearchAttributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[64] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSearchAttributesRequest.ProtoReflect.Descriptor instead. -func (*GetSearchAttributesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{64} -} - -type GetSearchAttributesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Keys map[string]v11.IndexedValueType `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=temporal.api.enums.v1.IndexedValueType"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSearchAttributesResponse) Reset() { - *x = GetSearchAttributesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSearchAttributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSearchAttributesResponse) ProtoMessage() {} - -func (x *GetSearchAttributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[65] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSearchAttributesResponse.ProtoReflect.Descriptor instead. -func (*GetSearchAttributesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{65} -} - -func (x *GetSearchAttributesResponse) GetKeys() map[string]v11.IndexedValueType { - if x != nil { - return x.Keys - } - return nil -} - -type RespondQueryTaskCompletedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - CompletedType v11.QueryResultType `protobuf:"varint,2,opt,name=completed_type,json=completedType,proto3,enum=temporal.api.enums.v1.QueryResultType" json:"completed_type,omitempty"` - // The result of the query. - // Mutually exclusive with `error_message` and `failure`. Set when the query succeeds. - QueryResult *v13.Payloads `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` - // A plain error message that must be set if completed_type is QUERY_RESULT_TYPE_FAILED. - // SDKs should also fill in the more complete `failure` field to provide the full context and - // support encryption of failure information. - // `error_message` will be duplicated if the `failure` field is present to support callers - // that pre-date the addition of that field, regardless of whether or not a custom failure - // converter is used. - // Mutually exclusive with `query_result`. Set when the query fails. - ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The full reason for this query failure. This field is newer than `error_message` and can be - // encoded by the SDK's failure converter to support E2E encryption of messages and stack - // traces. - // Mutually exclusive with `query_result`. Set when the query fails. - Failure *v15.Failure `protobuf:"bytes,7,opt,name=failure,proto3" json:"failure,omitempty"` - // Why did the task fail? It's important to note that many of the variants in this enum cannot - // apply to worker responses. See the type's doc for more. - Cause v11.WorkflowTaskFailedCause `protobuf:"varint,8,opt,name=cause,proto3,enum=temporal.api.enums.v1.WorkflowTaskFailedCause" json:"cause,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondQueryTaskCompletedRequest) Reset() { - *x = RespondQueryTaskCompletedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondQueryTaskCompletedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondQueryTaskCompletedRequest) ProtoMessage() {} - -func (x *RespondQueryTaskCompletedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[66] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondQueryTaskCompletedRequest.ProtoReflect.Descriptor instead. -func (*RespondQueryTaskCompletedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{66} -} - -func (x *RespondQueryTaskCompletedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondQueryTaskCompletedRequest) GetCompletedType() v11.QueryResultType { - if x != nil { - return x.CompletedType - } - return v11.QueryResultType(0) -} - -func (x *RespondQueryTaskCompletedRequest) GetQueryResult() *v13.Payloads { - if x != nil { - return x.QueryResult - } - return nil -} - -func (x *RespondQueryTaskCompletedRequest) GetErrorMessage() string { - if x != nil { - return x.ErrorMessage - } - return "" -} - -func (x *RespondQueryTaskCompletedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondQueryTaskCompletedRequest) GetFailure() *v15.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *RespondQueryTaskCompletedRequest) GetCause() v11.WorkflowTaskFailedCause { - if x != nil { - return x.Cause - } - return v11.WorkflowTaskFailedCause(0) -} - -type RespondQueryTaskCompletedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondQueryTaskCompletedResponse) Reset() { - *x = RespondQueryTaskCompletedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondQueryTaskCompletedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondQueryTaskCompletedResponse) ProtoMessage() {} - -func (x *RespondQueryTaskCompletedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[67] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondQueryTaskCompletedResponse.ProtoReflect.Descriptor instead. -func (*RespondQueryTaskCompletedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{67} -} - -type ResetStickyTaskQueueRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetStickyTaskQueueRequest) Reset() { - *x = ResetStickyTaskQueueRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetStickyTaskQueueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetStickyTaskQueueRequest) ProtoMessage() {} - -func (x *ResetStickyTaskQueueRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[68] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetStickyTaskQueueRequest.ProtoReflect.Descriptor instead. -func (*ResetStickyTaskQueueRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{68} -} - -func (x *ResetStickyTaskQueueRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ResetStickyTaskQueueRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -type ResetStickyTaskQueueResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetStickyTaskQueueResponse) Reset() { - *x = ResetStickyTaskQueueResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetStickyTaskQueueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetStickyTaskQueueResponse) ProtoMessage() {} - -func (x *ResetStickyTaskQueueResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[69] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetStickyTaskQueueResponse.ProtoReflect.Descriptor instead. -func (*ResetStickyTaskQueueResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{69} -} - -type ShutdownWorkerRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - StickyTaskQueue string `protobuf:"bytes,2,opt,name=sticky_task_queue,json=stickyTaskQueue,proto3" json:"sticky_task_queue,omitempty"` - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - WorkerHeartbeat *v114.WorkerHeartbeat `protobuf:"bytes,5,opt,name=worker_heartbeat,json=workerHeartbeat,proto3" json:"worker_heartbeat,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ShutdownWorkerRequest) Reset() { - *x = ShutdownWorkerRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ShutdownWorkerRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShutdownWorkerRequest) ProtoMessage() {} - -func (x *ShutdownWorkerRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[70] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShutdownWorkerRequest.ProtoReflect.Descriptor instead. -func (*ShutdownWorkerRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{70} -} - -func (x *ShutdownWorkerRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ShutdownWorkerRequest) GetStickyTaskQueue() string { - if x != nil { - return x.StickyTaskQueue - } - return "" -} - -func (x *ShutdownWorkerRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *ShutdownWorkerRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *ShutdownWorkerRequest) GetWorkerHeartbeat() *v114.WorkerHeartbeat { - if x != nil { - return x.WorkerHeartbeat - } - return nil -} - -type ShutdownWorkerResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ShutdownWorkerResponse) Reset() { - *x = ShutdownWorkerResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ShutdownWorkerResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShutdownWorkerResponse) ProtoMessage() {} - -func (x *ShutdownWorkerResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[71] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShutdownWorkerResponse.ProtoReflect.Descriptor instead. -func (*ShutdownWorkerResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{71} -} - -type QueryWorkflowRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - Query *v110.WorkflowQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - // QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. - // Default: QUERY_REJECT_CONDITION_NONE. - QueryRejectCondition v11.QueryRejectCondition `protobuf:"varint,4,opt,name=query_reject_condition,json=queryRejectCondition,proto3,enum=temporal.api.enums.v1.QueryRejectCondition" json:"query_reject_condition,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *QueryWorkflowRequest) Reset() { - *x = QueryWorkflowRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *QueryWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QueryWorkflowRequest) ProtoMessage() {} - -func (x *QueryWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[72] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QueryWorkflowRequest.ProtoReflect.Descriptor instead. -func (*QueryWorkflowRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{72} -} - -func (x *QueryWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *QueryWorkflowRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *QueryWorkflowRequest) GetQuery() *v110.WorkflowQuery { - if x != nil { - return x.Query - } - return nil -} - -func (x *QueryWorkflowRequest) GetQueryRejectCondition() v11.QueryRejectCondition { - if x != nil { - return x.QueryRejectCondition - } - return v11.QueryRejectCondition(0) -} - -type QueryWorkflowResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - QueryResult *v13.Payloads `protobuf:"bytes,1,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` - QueryRejected *v110.QueryRejected `protobuf:"bytes,2,opt,name=query_rejected,json=queryRejected,proto3" json:"query_rejected,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *QueryWorkflowResponse) Reset() { - *x = QueryWorkflowResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *QueryWorkflowResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QueryWorkflowResponse) ProtoMessage() {} - -func (x *QueryWorkflowResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[73] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QueryWorkflowResponse.ProtoReflect.Descriptor instead. -func (*QueryWorkflowResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{73} -} - -func (x *QueryWorkflowResponse) GetQueryResult() *v13.Payloads { - if x != nil { - return x.QueryResult - } - return nil -} - -func (x *QueryWorkflowResponse) GetQueryRejected() *v110.QueryRejected { - if x != nil { - return x.QueryRejected - } - return nil -} - -type DescribeWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkflowExecutionRequest) Reset() { - *x = DescribeWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkflowExecutionRequest) ProtoMessage() {} - -func (x *DescribeWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[74] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*DescribeWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{74} -} - -func (x *DescribeWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeWorkflowExecutionRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -type DescribeWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExecutionConfig *v17.WorkflowExecutionConfig `protobuf:"bytes,1,opt,name=execution_config,json=executionConfig,proto3" json:"execution_config,omitempty"` - WorkflowExecutionInfo *v17.WorkflowExecutionInfo `protobuf:"bytes,2,opt,name=workflow_execution_info,json=workflowExecutionInfo,proto3" json:"workflow_execution_info,omitempty"` - PendingActivities []*v17.PendingActivityInfo `protobuf:"bytes,3,rep,name=pending_activities,json=pendingActivities,proto3" json:"pending_activities,omitempty"` - PendingChildren []*v17.PendingChildExecutionInfo `protobuf:"bytes,4,rep,name=pending_children,json=pendingChildren,proto3" json:"pending_children,omitempty"` - PendingWorkflowTask *v17.PendingWorkflowTaskInfo `protobuf:"bytes,5,opt,name=pending_workflow_task,json=pendingWorkflowTask,proto3" json:"pending_workflow_task,omitempty"` - Callbacks []*v17.CallbackInfo `protobuf:"bytes,6,rep,name=callbacks,proto3" json:"callbacks,omitempty"` - PendingNexusOperations []*v17.PendingNexusOperationInfo `protobuf:"bytes,7,rep,name=pending_nexus_operations,json=pendingNexusOperations,proto3" json:"pending_nexus_operations,omitempty"` - WorkflowExtendedInfo *v17.WorkflowExecutionExtendedInfo `protobuf:"bytes,8,opt,name=workflow_extended_info,json=workflowExtendedInfo,proto3" json:"workflow_extended_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkflowExecutionResponse) Reset() { - *x = DescribeWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkflowExecutionResponse) ProtoMessage() {} - -func (x *DescribeWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[75] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*DescribeWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{75} -} - -func (x *DescribeWorkflowExecutionResponse) GetExecutionConfig() *v17.WorkflowExecutionConfig { - if x != nil { - return x.ExecutionConfig - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo() *v17.WorkflowExecutionInfo { - if x != nil { - return x.WorkflowExecutionInfo - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetPendingActivities() []*v17.PendingActivityInfo { - if x != nil { - return x.PendingActivities - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetPendingChildren() []*v17.PendingChildExecutionInfo { - if x != nil { - return x.PendingChildren - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetPendingWorkflowTask() *v17.PendingWorkflowTaskInfo { - if x != nil { - return x.PendingWorkflowTask - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetCallbacks() []*v17.CallbackInfo { - if x != nil { - return x.Callbacks - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetPendingNexusOperations() []*v17.PendingNexusOperationInfo { - if x != nil { - return x.PendingNexusOperations - } - return nil -} - -func (x *DescribeWorkflowExecutionResponse) GetWorkflowExtendedInfo() *v17.WorkflowExecutionExtendedInfo { - if x != nil { - return x.WorkflowExtendedInfo - } - return nil -} - -// (-- api-linter: core::0203::optional=disabled -// -// aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) -type DescribeTaskQueueRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Sticky queues are not supported in deprecated ENHANCED mode. - TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used. - // Only supported in default mode (use `task_queue_types` in ENHANCED mode instead). - TaskQueueType v11.TaskQueueType `protobuf:"varint,3,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"` - // Report stats for the requested task queue type(s). - ReportStats bool `protobuf:"varint,8,opt,name=report_stats,json=reportStats,proto3" json:"report_stats,omitempty"` - // Report Task Queue Config - ReportConfig bool `protobuf:"varint,11,opt,name=report_config,json=reportConfig,proto3" json:"report_config,omitempty"` - // Deprecated, use `report_stats` instead. - // If true, the task queue status will be included in the response. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - IncludeTaskQueueStatus bool `protobuf:"varint,4,opt,name=include_task_queue_status,json=includeTaskQueueStatus,proto3" json:"include_task_queue_status,omitempty"` - // Deprecated. ENHANCED mode is also being deprecated. - // Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode. - // Consult the documentation for each field to understand which mode it is supported in. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - ApiMode v11.DescribeTaskQueueMode `protobuf:"varint,5,opt,name=api_mode,json=apiMode,proto3,enum=temporal.api.enums.v1.DescribeTaskQueueMode" json:"api_mode,omitempty"` - // Deprecated (as part of the ENHANCED mode deprecation). - // Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one - // mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the - // unversioned queue will be returned. - // (-- api-linter: core::0140::prepositions --) - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Versions *v14.TaskQueueVersionSelection `protobuf:"bytes,6,opt,name=versions,proto3" json:"versions,omitempty"` - // Deprecated (as part of the ENHANCED mode deprecation). - // Task queue types to report info about. If not specified, all types are considered. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - TaskQueueTypes []v11.TaskQueueType `protobuf:"varint,7,rep,packed,name=task_queue_types,json=taskQueueTypes,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_types,omitempty"` - // Deprecated (as part of the ENHANCED mode deprecation). - // Report list of pollers for requested task queue types and versions. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - ReportPollers bool `protobuf:"varint,9,opt,name=report_pollers,json=reportPollers,proto3" json:"report_pollers,omitempty"` - // Deprecated (as part of the ENHANCED mode deprecation). - // Report task reachability for the requested versions and all task types (task reachability is not reported - // per task type). - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - ReportTaskReachability bool `protobuf:"varint,10,opt,name=report_task_reachability,json=reportTaskReachability,proto3" json:"report_task_reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeTaskQueueRequest) Reset() { - *x = DescribeTaskQueueRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeTaskQueueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeTaskQueueRequest) ProtoMessage() {} - -func (x *DescribeTaskQueueRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[76] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeTaskQueueRequest.ProtoReflect.Descriptor instead. -func (*DescribeTaskQueueRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{76} -} - -func (x *DescribeTaskQueueRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeTaskQueueRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -func (x *DescribeTaskQueueRequest) GetTaskQueueType() v11.TaskQueueType { - if x != nil { - return x.TaskQueueType - } - return v11.TaskQueueType(0) -} - -func (x *DescribeTaskQueueRequest) GetReportStats() bool { - if x != nil { - return x.ReportStats - } - return false -} - -func (x *DescribeTaskQueueRequest) GetReportConfig() bool { - if x != nil { - return x.ReportConfig - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetIncludeTaskQueueStatus() bool { - if x != nil { - return x.IncludeTaskQueueStatus - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetApiMode() v11.DescribeTaskQueueMode { - if x != nil { - return x.ApiMode - } - return v11.DescribeTaskQueueMode(0) -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetVersions() *v14.TaskQueueVersionSelection { - if x != nil { - return x.Versions - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetTaskQueueTypes() []v11.TaskQueueType { - if x != nil { - return x.TaskQueueTypes - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetReportPollers() bool { - if x != nil { - return x.ReportPollers - } - return false -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueRequest) GetReportTaskReachability() bool { - if x != nil { - return x.ReportTaskReachability - } - return false -} - -type DescribeTaskQueueResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Pollers []*v14.PollerInfo `protobuf:"bytes,1,rep,name=pollers,proto3" json:"pollers,omitempty"` - // Statistics for the task queue. - // Only set if `report_stats` is set on the request. - Stats *v14.TaskQueueStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` - // Task queue stats breakdown by priority key. Only contains actively used priority keys. - // Only set if `report_stats` is set on the request. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "by" is used to clarify the keys and values. --) - StatsByPriorityKey map[int32]*v14.TaskQueueStats `protobuf:"bytes,8,rep,name=stats_by_priority_key,json=statsByPriorityKey,proto3" json:"stats_by_priority_key,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to. - // When not present, it means the tasks are routed to Unversioned workers (workers with - // UNVERSIONED or unspecified WorkerVersioningMode.) - // Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion - // and SetWorkerDeploymentRampingVersion on Worker Deployments. - // Note: This information is not relevant to Pinned workflow executions and their activities as - // they are always routed to their Pinned Deployment Version. However, new workflow executions - // are typically not Pinned until they complete their first task (unless they are started with - // a Pinned VersioningOverride or are Child Workflows of a Pinned parent). - VersioningInfo *v14.TaskQueueVersioningInfo `protobuf:"bytes,4,opt,name=versioning_info,json=versioningInfo,proto3" json:"versioning_info,omitempty"` - // Only populated if report_task_queue_config is set to true. - Config *v14.TaskQueueConfig `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` - EffectiveRateLimit *DescribeTaskQueueResponse_EffectiveRateLimit `protobuf:"bytes,7,opt,name=effective_rate_limit,json=effectiveRateLimit,proto3" json:"effective_rate_limit,omitempty"` - // Deprecated. - // Status of the task queue. Only populated when `include_task_queue_status` is set to true in the request. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - TaskQueueStatus *v14.TaskQueueStatus `protobuf:"bytes,2,opt,name=task_queue_status,json=taskQueueStatus,proto3" json:"task_queue_status,omitempty"` - // Deprecated. - // Only returned in ENHANCED mode. - // This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - VersionsInfo map[string]*v14.TaskQueueVersionInfo `protobuf:"bytes,3,rep,name=versions_info,json=versionsInfo,proto3" json:"versions_info,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeTaskQueueResponse) Reset() { - *x = DescribeTaskQueueResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeTaskQueueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeTaskQueueResponse) ProtoMessage() {} - -func (x *DescribeTaskQueueResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[77] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeTaskQueueResponse.ProtoReflect.Descriptor instead. -func (*DescribeTaskQueueResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{77} -} - -func (x *DescribeTaskQueueResponse) GetPollers() []*v14.PollerInfo { - if x != nil { - return x.Pollers - } - return nil -} - -func (x *DescribeTaskQueueResponse) GetStats() *v14.TaskQueueStats { - if x != nil { - return x.Stats - } - return nil -} - -func (x *DescribeTaskQueueResponse) GetStatsByPriorityKey() map[int32]*v14.TaskQueueStats { - if x != nil { - return x.StatsByPriorityKey - } - return nil -} - -func (x *DescribeTaskQueueResponse) GetVersioningInfo() *v14.TaskQueueVersioningInfo { - if x != nil { - return x.VersioningInfo - } - return nil -} - -func (x *DescribeTaskQueueResponse) GetConfig() *v14.TaskQueueConfig { - if x != nil { - return x.Config - } - return nil -} - -func (x *DescribeTaskQueueResponse) GetEffectiveRateLimit() *DescribeTaskQueueResponse_EffectiveRateLimit { - if x != nil { - return x.EffectiveRateLimit - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueResponse) GetTaskQueueStatus() *v14.TaskQueueStatus { - if x != nil { - return x.TaskQueueStatus - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeTaskQueueResponse) GetVersionsInfo() map[string]*v14.TaskQueueVersionInfo { - if x != nil { - return x.VersionsInfo - } - return nil -} - -type GetClusterInfoRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetClusterInfoRequest) Reset() { - *x = GetClusterInfoRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetClusterInfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetClusterInfoRequest) ProtoMessage() {} - -func (x *GetClusterInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[78] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetClusterInfoRequest.ProtoReflect.Descriptor instead. -func (*GetClusterInfoRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{78} -} - -// GetClusterInfoResponse contains information about Temporal cluster. -type GetClusterInfoResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". - // Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". - SupportedClients map[string]string `protobuf:"bytes,1,rep,name=supported_clients,json=supportedClients,proto3" json:"supported_clients,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - ServerVersion string `protobuf:"bytes,2,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - VersionInfo *v115.VersionInfo `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` - ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - HistoryShardCount int32 `protobuf:"varint,6,opt,name=history_shard_count,json=historyShardCount,proto3" json:"history_shard_count,omitempty"` - PersistenceStore string `protobuf:"bytes,7,opt,name=persistence_store,json=persistenceStore,proto3" json:"persistence_store,omitempty"` - VisibilityStore string `protobuf:"bytes,8,opt,name=visibility_store,json=visibilityStore,proto3" json:"visibility_store,omitempty"` - InitialFailoverVersion int64 `protobuf:"varint,9,opt,name=initial_failover_version,json=initialFailoverVersion,proto3" json:"initial_failover_version,omitempty"` - FailoverVersionIncrement int64 `protobuf:"varint,10,opt,name=failover_version_increment,json=failoverVersionIncrement,proto3" json:"failover_version_increment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetClusterInfoResponse) Reset() { - *x = GetClusterInfoResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetClusterInfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetClusterInfoResponse) ProtoMessage() {} - -func (x *GetClusterInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[79] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetClusterInfoResponse.ProtoReflect.Descriptor instead. -func (*GetClusterInfoResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{79} -} - -func (x *GetClusterInfoResponse) GetSupportedClients() map[string]string { - if x != nil { - return x.SupportedClients - } - return nil -} - -func (x *GetClusterInfoResponse) GetServerVersion() string { - if x != nil { - return x.ServerVersion - } - return "" -} - -func (x *GetClusterInfoResponse) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *GetClusterInfoResponse) GetVersionInfo() *v115.VersionInfo { - if x != nil { - return x.VersionInfo - } - return nil -} - -func (x *GetClusterInfoResponse) GetClusterName() string { - if x != nil { - return x.ClusterName - } - return "" -} - -func (x *GetClusterInfoResponse) GetHistoryShardCount() int32 { - if x != nil { - return x.HistoryShardCount - } - return 0 -} - -func (x *GetClusterInfoResponse) GetPersistenceStore() string { - if x != nil { - return x.PersistenceStore - } - return "" -} - -func (x *GetClusterInfoResponse) GetVisibilityStore() string { - if x != nil { - return x.VisibilityStore - } - return "" -} - -func (x *GetClusterInfoResponse) GetInitialFailoverVersion() int64 { - if x != nil { - return x.InitialFailoverVersion - } - return 0 -} - -func (x *GetClusterInfoResponse) GetFailoverVersionIncrement() int64 { - if x != nil { - return x.FailoverVersionIncrement - } - return 0 -} - -type GetSystemInfoRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSystemInfoRequest) Reset() { - *x = GetSystemInfoRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSystemInfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSystemInfoRequest) ProtoMessage() {} - -func (x *GetSystemInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[80] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSystemInfoRequest.ProtoReflect.Descriptor instead. -func (*GetSystemInfoRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{80} -} - -type GetSystemInfoResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Version of the server. - ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` - // All capabilities the system supports. - Capabilities *GetSystemInfoResponse_Capabilities `protobuf:"bytes,2,opt,name=capabilities,proto3" json:"capabilities,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSystemInfoResponse) Reset() { - *x = GetSystemInfoResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSystemInfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSystemInfoResponse) ProtoMessage() {} - -func (x *GetSystemInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[81] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSystemInfoResponse.ProtoReflect.Descriptor instead. -func (*GetSystemInfoResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{81} -} - -func (x *GetSystemInfoResponse) GetServerVersion() string { - if x != nil { - return x.ServerVersion - } - return "" -} - -func (x *GetSystemInfoResponse) GetCapabilities() *GetSystemInfoResponse_Capabilities { - if x != nil { - return x.Capabilities - } - return nil -} - -type ListTaskQueuePartitionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - TaskQueue *v14.TaskQueue `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListTaskQueuePartitionsRequest) Reset() { - *x = ListTaskQueuePartitionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListTaskQueuePartitionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTaskQueuePartitionsRequest) ProtoMessage() {} - -func (x *ListTaskQueuePartitionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[82] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListTaskQueuePartitionsRequest.ProtoReflect.Descriptor instead. -func (*ListTaskQueuePartitionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{82} -} - -func (x *ListTaskQueuePartitionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListTaskQueuePartitionsRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -type ListTaskQueuePartitionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActivityTaskQueuePartitions []*v14.TaskQueuePartitionMetadata `protobuf:"bytes,1,rep,name=activity_task_queue_partitions,json=activityTaskQueuePartitions,proto3" json:"activity_task_queue_partitions,omitempty"` - WorkflowTaskQueuePartitions []*v14.TaskQueuePartitionMetadata `protobuf:"bytes,2,rep,name=workflow_task_queue_partitions,json=workflowTaskQueuePartitions,proto3" json:"workflow_task_queue_partitions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListTaskQueuePartitionsResponse) Reset() { - *x = ListTaskQueuePartitionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListTaskQueuePartitionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTaskQueuePartitionsResponse) ProtoMessage() {} - -func (x *ListTaskQueuePartitionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[83] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListTaskQueuePartitionsResponse.ProtoReflect.Descriptor instead. -func (*ListTaskQueuePartitionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{83} -} - -func (x *ListTaskQueuePartitionsResponse) GetActivityTaskQueuePartitions() []*v14.TaskQueuePartitionMetadata { - if x != nil { - return x.ActivityTaskQueuePartitions - } - return nil -} - -func (x *ListTaskQueuePartitionsResponse) GetWorkflowTaskQueuePartitions() []*v14.TaskQueuePartitionMetadata { - if x != nil { - return x.WorkflowTaskQueuePartitions - } - return nil -} - -// (-- api-linter: core::0203::optional=disabled -// -// aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) -type CreateScheduleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace the schedule should be created in. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the new schedule. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - // The schedule spec, policies, action, and initial state. - Schedule *v116.Schedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Optional initial patch (e.g. to run the action once immediately). - InitialPatch *v116.SchedulePatch `protobuf:"bytes,4,opt,name=initial_patch,json=initialPatch,proto3" json:"initial_patch,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this create request for idempotence. Typically UUIDv4. - RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Memo and search attributes to attach to the schedule itself. - Memo *v13.Memo `protobuf:"bytes,7,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v13.SearchAttributes `protobuf:"bytes,8,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateScheduleRequest) Reset() { - *x = CreateScheduleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateScheduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateScheduleRequest) ProtoMessage() {} - -func (x *CreateScheduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[84] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateScheduleRequest.ProtoReflect.Descriptor instead. -func (*CreateScheduleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{84} -} - -func (x *CreateScheduleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *CreateScheduleRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *CreateScheduleRequest) GetSchedule() *v116.Schedule { - if x != nil { - return x.Schedule - } - return nil -} - -func (x *CreateScheduleRequest) GetInitialPatch() *v116.SchedulePatch { - if x != nil { - return x.InitialPatch - } - return nil -} - -func (x *CreateScheduleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *CreateScheduleRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *CreateScheduleRequest) GetMemo() *v13.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *CreateScheduleRequest) GetSearchAttributes() *v13.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -type CreateScheduleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ConflictToken []byte `protobuf:"bytes,1,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateScheduleResponse) Reset() { - *x = CreateScheduleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateScheduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateScheduleResponse) ProtoMessage() {} - -func (x *CreateScheduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[85] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateScheduleResponse.ProtoReflect.Descriptor instead. -func (*CreateScheduleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{85} -} - -func (x *CreateScheduleResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -type DescribeScheduleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the schedule to describe. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the schedule to describe. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeScheduleRequest) Reset() { - *x = DescribeScheduleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeScheduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeScheduleRequest) ProtoMessage() {} - -func (x *DescribeScheduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[86] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeScheduleRequest.ProtoReflect.Descriptor instead. -func (*DescribeScheduleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{86} -} - -func (x *DescribeScheduleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeScheduleRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -type DescribeScheduleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The complete current schedule details. This may not match the schedule as - // created because: - // - some types of schedule specs may get compiled into others (e.g. - // CronString into StructuredCalendarSpec) - // - some unspecified fields may be replaced by defaults - // - some fields in the state are modified automatically - // - the schedule may have been modified by UpdateSchedule or PatchSchedule - Schedule *v116.Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Extra schedule state info. - Info *v116.ScheduleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - // The memo and search attributes that the schedule was created with. - Memo *v13.Memo `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` - SearchAttributes *v13.SearchAttributes `protobuf:"bytes,4,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - // This value can be passed back to UpdateSchedule to ensure that the - // schedule was not modified between a Describe and an Update, which could - // lead to lost updates and other confusion. - ConflictToken []byte `protobuf:"bytes,5,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeScheduleResponse) Reset() { - *x = DescribeScheduleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeScheduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeScheduleResponse) ProtoMessage() {} - -func (x *DescribeScheduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[87] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeScheduleResponse.ProtoReflect.Descriptor instead. -func (*DescribeScheduleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{87} -} - -func (x *DescribeScheduleResponse) GetSchedule() *v116.Schedule { - if x != nil { - return x.Schedule - } - return nil -} - -func (x *DescribeScheduleResponse) GetInfo() *v116.ScheduleInfo { - if x != nil { - return x.Info - } - return nil -} - -func (x *DescribeScheduleResponse) GetMemo() *v13.Memo { - if x != nil { - return x.Memo - } - return nil -} - -func (x *DescribeScheduleResponse) GetSearchAttributes() *v13.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -func (x *DescribeScheduleResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -type UpdateScheduleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the schedule to update. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the schedule to update. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - // The new schedule. The four main fields of the schedule (spec, action, - // policies, state) are replaced completely by the values in this message. - Schedule *v116.Schedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"` - // This can be the value of conflict_token from a DescribeScheduleResponse, - // which will cause this request to fail if the schedule has been modified - // between the Describe and this Update. - // If missing, the schedule will be updated unconditionally. - ConflictToken []byte `protobuf:"bytes,4,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this update request for idempotence. Typically UUIDv4. - RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Schedule search attributes to be updated. - // Do not set this field if you do not want to update the search attributes. - // A non-null empty object will set the search attributes to an empty map. - // Note: you cannot only update the search attributes with `UpdateScheduleRequest`, - // you must also set the `schedule` field; otherwise, it will unset the schedule. - SearchAttributes *v13.SearchAttributes `protobuf:"bytes,7,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateScheduleRequest) Reset() { - *x = UpdateScheduleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateScheduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateScheduleRequest) ProtoMessage() {} - -func (x *UpdateScheduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[88] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateScheduleRequest.ProtoReflect.Descriptor instead. -func (*UpdateScheduleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{88} -} - -func (x *UpdateScheduleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateScheduleRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *UpdateScheduleRequest) GetSchedule() *v116.Schedule { - if x != nil { - return x.Schedule - } - return nil -} - -func (x *UpdateScheduleRequest) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *UpdateScheduleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *UpdateScheduleRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *UpdateScheduleRequest) GetSearchAttributes() *v13.SearchAttributes { - if x != nil { - return x.SearchAttributes - } - return nil -} - -type UpdateScheduleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateScheduleResponse) Reset() { - *x = UpdateScheduleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateScheduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateScheduleResponse) ProtoMessage() {} - -func (x *UpdateScheduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[89] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateScheduleResponse.ProtoReflect.Descriptor instead. -func (*UpdateScheduleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{89} -} - -type PatchScheduleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the schedule to patch. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the schedule to patch. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - Patch *v116.SchedulePatch `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this update request for idempotence. Typically UUIDv4. - RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PatchScheduleRequest) Reset() { - *x = PatchScheduleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PatchScheduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PatchScheduleRequest) ProtoMessage() {} - -func (x *PatchScheduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[90] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PatchScheduleRequest.ProtoReflect.Descriptor instead. -func (*PatchScheduleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{90} -} - -func (x *PatchScheduleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PatchScheduleRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *PatchScheduleRequest) GetPatch() *v116.SchedulePatch { - if x != nil { - return x.Patch - } - return nil -} - -func (x *PatchScheduleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PatchScheduleRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -type PatchScheduleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PatchScheduleResponse) Reset() { - *x = PatchScheduleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PatchScheduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PatchScheduleResponse) ProtoMessage() {} - -func (x *PatchScheduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[91] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PatchScheduleResponse.ProtoReflect.Descriptor instead. -func (*PatchScheduleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{91} -} - -type ListScheduleMatchingTimesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the schedule to query. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the schedule to query. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - // Time range to query. - StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListScheduleMatchingTimesRequest) Reset() { - *x = ListScheduleMatchingTimesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListScheduleMatchingTimesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListScheduleMatchingTimesRequest) ProtoMessage() {} - -func (x *ListScheduleMatchingTimesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[92] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListScheduleMatchingTimesRequest.ProtoReflect.Descriptor instead. -func (*ListScheduleMatchingTimesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{92} -} - -func (x *ListScheduleMatchingTimesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListScheduleMatchingTimesRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *ListScheduleMatchingTimesRequest) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *ListScheduleMatchingTimesRequest) GetEndTime() *timestamppb.Timestamp { - if x != nil { - return x.EndTime - } - return nil -} - -type ListScheduleMatchingTimesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartTime []*timestamppb.Timestamp `protobuf:"bytes,1,rep,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListScheduleMatchingTimesResponse) Reset() { - *x = ListScheduleMatchingTimesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListScheduleMatchingTimesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListScheduleMatchingTimesResponse) ProtoMessage() {} - -func (x *ListScheduleMatchingTimesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[93] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListScheduleMatchingTimesResponse.ProtoReflect.Descriptor instead. -func (*ListScheduleMatchingTimesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{93} -} - -func (x *ListScheduleMatchingTimesResponse) GetStartTime() []*timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -type DeleteScheduleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the schedule to delete. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The id of the schedule to delete. - ScheduleId string `protobuf:"bytes,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteScheduleRequest) Reset() { - *x = DeleteScheduleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteScheduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteScheduleRequest) ProtoMessage() {} - -func (x *DeleteScheduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[94] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteScheduleRequest.ProtoReflect.Descriptor instead. -func (*DeleteScheduleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{94} -} - -func (x *DeleteScheduleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeleteScheduleRequest) GetScheduleId() string { - if x != nil { - return x.ScheduleId - } - return "" -} - -func (x *DeleteScheduleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type DeleteScheduleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteScheduleResponse) Reset() { - *x = DeleteScheduleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteScheduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteScheduleResponse) ProtoMessage() {} - -func (x *DeleteScheduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[95] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteScheduleResponse.ProtoReflect.Descriptor instead. -func (*DeleteScheduleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{95} -} - -type ListSchedulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace to list schedules in. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // How many to return at once. - MaximumPageSize int32 `protobuf:"varint,2,opt,name=maximum_page_size,json=maximumPageSize,proto3" json:"maximum_page_size,omitempty"` - // Token to get the next page of results. - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Query to filter schedules. - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListSchedulesRequest) Reset() { - *x = ListSchedulesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSchedulesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSchedulesRequest) ProtoMessage() {} - -func (x *ListSchedulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[96] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSchedulesRequest.ProtoReflect.Descriptor instead. -func (*ListSchedulesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{96} -} - -func (x *ListSchedulesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListSchedulesRequest) GetMaximumPageSize() int32 { - if x != nil { - return x.MaximumPageSize - } - return 0 -} - -func (x *ListSchedulesRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListSchedulesRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -type ListSchedulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Schedules []*v116.ScheduleListEntry `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListSchedulesResponse) Reset() { - *x = ListSchedulesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSchedulesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSchedulesResponse) ProtoMessage() {} - -func (x *ListSchedulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[97] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSchedulesResponse.ProtoReflect.Descriptor instead. -func (*ListSchedulesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{97} -} - -func (x *ListSchedulesResponse) GetSchedules() []*v116.ScheduleListEntry { - if x != nil { - return x.Schedules - } - return nil -} - -func (x *ListSchedulesResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -// [cleanup-wv-pre-release] -type UpdateWorkerBuildIdCompatibilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Must be set, the task queue to apply changes to. Because all workers on a given task queue - // must have the same set of workflow & activity implementations, there is no reason to specify - // a task queue type here. - TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Types that are valid to be assigned to Operation: - // - // *UpdateWorkerBuildIdCompatibilityRequest_AddNewBuildIdInNewDefaultSet - // *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleBuildId - // *UpdateWorkerBuildIdCompatibilityRequest_PromoteSetByBuildId - // *UpdateWorkerBuildIdCompatibilityRequest_PromoteBuildIdWithinSet - // *UpdateWorkerBuildIdCompatibilityRequest_MergeSets_ - Operation isUpdateWorkerBuildIdCompatibilityRequest_Operation `protobuf_oneof:"operation"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) Reset() { - *x = UpdateWorkerBuildIdCompatibilityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerBuildIdCompatibilityRequest) ProtoMessage() {} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[98] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerBuildIdCompatibilityRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkerBuildIdCompatibilityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{98} -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetOperation() isUpdateWorkerBuildIdCompatibilityRequest_Operation { - if x != nil { - return x.Operation - } - return nil -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetAddNewBuildIdInNewDefaultSet() string { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerBuildIdCompatibilityRequest_AddNewBuildIdInNewDefaultSet); ok { - return x.AddNewBuildIdInNewDefaultSet - } - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetAddNewCompatibleBuildId() *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleBuildId); ok { - return x.AddNewCompatibleBuildId - } - } - return nil -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetPromoteSetByBuildId() string { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerBuildIdCompatibilityRequest_PromoteSetByBuildId); ok { - return x.PromoteSetByBuildId - } - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetPromoteBuildIdWithinSet() string { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerBuildIdCompatibilityRequest_PromoteBuildIdWithinSet); ok { - return x.PromoteBuildIdWithinSet - } - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest) GetMergeSets() *UpdateWorkerBuildIdCompatibilityRequest_MergeSets { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerBuildIdCompatibilityRequest_MergeSets_); ok { - return x.MergeSets - } - } - return nil -} - -type isUpdateWorkerBuildIdCompatibilityRequest_Operation interface { - isUpdateWorkerBuildIdCompatibilityRequest_Operation() -} - -type UpdateWorkerBuildIdCompatibilityRequest_AddNewBuildIdInNewDefaultSet struct { - // A new build id. This operation will create a new set which will be the new overall - // default version for the queue, with this id as its only member. This new set is - // incompatible with all previous sets/versions. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: In makes perfect sense here. --) - AddNewBuildIdInNewDefaultSet string `protobuf:"bytes,3,opt,name=add_new_build_id_in_new_default_set,json=addNewBuildIdInNewDefaultSet,proto3,oneof"` -} - -type UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleBuildId struct { - // Adds a new id to an existing compatible set, see sub-message definition for more. - AddNewCompatibleBuildId *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion `protobuf:"bytes,4,opt,name=add_new_compatible_build_id,json=addNewCompatibleBuildId,proto3,oneof"` -} - -type UpdateWorkerBuildIdCompatibilityRequest_PromoteSetByBuildId struct { - // Promote an existing set to be the current default (if it isn't already) by targeting - // an existing build id within it. This field's value is the extant build id. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: Names are hard. --) - PromoteSetByBuildId string `protobuf:"bytes,5,opt,name=promote_set_by_build_id,json=promoteSetByBuildId,proto3,oneof"` -} - -type UpdateWorkerBuildIdCompatibilityRequest_PromoteBuildIdWithinSet struct { - // Promote an existing build id within some set to be the current default for that set. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: Within makes perfect sense here. --) - PromoteBuildIdWithinSet string `protobuf:"bytes,6,opt,name=promote_build_id_within_set,json=promoteBuildIdWithinSet,proto3,oneof"` -} - -type UpdateWorkerBuildIdCompatibilityRequest_MergeSets_ struct { - // Merge two existing sets together, thus declaring all build IDs in both sets compatible - // with one another. The primary set's default will become the default for the merged set. - // This is useful if you've accidentally declared a new ID as incompatible you meant to - // declare as compatible. The unusual case of incomplete replication during failover could - // also result in a split set, which this operation can repair. - MergeSets *UpdateWorkerBuildIdCompatibilityRequest_MergeSets `protobuf:"bytes,7,opt,name=merge_sets,json=mergeSets,proto3,oneof"` -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_AddNewBuildIdInNewDefaultSet) isUpdateWorkerBuildIdCompatibilityRequest_Operation() { -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleBuildId) isUpdateWorkerBuildIdCompatibilityRequest_Operation() { -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_PromoteSetByBuildId) isUpdateWorkerBuildIdCompatibilityRequest_Operation() { -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_PromoteBuildIdWithinSet) isUpdateWorkerBuildIdCompatibilityRequest_Operation() { -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_MergeSets_) isUpdateWorkerBuildIdCompatibilityRequest_Operation() { -} - -// [cleanup-wv-pre-release] -type UpdateWorkerBuildIdCompatibilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerBuildIdCompatibilityResponse) Reset() { - *x = UpdateWorkerBuildIdCompatibilityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerBuildIdCompatibilityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerBuildIdCompatibilityResponse) ProtoMessage() {} - -func (x *UpdateWorkerBuildIdCompatibilityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[99] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerBuildIdCompatibilityResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkerBuildIdCompatibilityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{99} -} - -// [cleanup-wv-pre-release] -type GetWorkerBuildIdCompatibilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Must be set, the task queue to interrogate about worker id compatibility. - TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Limits how many compatible sets will be returned. Specify 1 to only return the current - // default major version set. 0 returns all sets. - MaxSets int32 `protobuf:"varint,3,opt,name=max_sets,json=maxSets,proto3" json:"max_sets,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerBuildIdCompatibilityRequest) Reset() { - *x = GetWorkerBuildIdCompatibilityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerBuildIdCompatibilityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerBuildIdCompatibilityRequest) ProtoMessage() {} - -func (x *GetWorkerBuildIdCompatibilityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[100] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerBuildIdCompatibilityRequest.ProtoReflect.Descriptor instead. -func (*GetWorkerBuildIdCompatibilityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{100} -} - -func (x *GetWorkerBuildIdCompatibilityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetWorkerBuildIdCompatibilityRequest) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *GetWorkerBuildIdCompatibilityRequest) GetMaxSets() int32 { - if x != nil { - return x.MaxSets - } - return 0 -} - -// [cleanup-wv-pre-release] -type GetWorkerBuildIdCompatibilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Major version sets, in order from oldest to newest. The last element of the list will always - // be the current default major version. IE: New workflows will target the most recent version - // in that version set. - // - // There may be fewer sets returned than exist, if the request chose to limit this response. - MajorVersionSets []*v14.CompatibleVersionSet `protobuf:"bytes,1,rep,name=major_version_sets,json=majorVersionSets,proto3" json:"major_version_sets,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerBuildIdCompatibilityResponse) Reset() { - *x = GetWorkerBuildIdCompatibilityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerBuildIdCompatibilityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerBuildIdCompatibilityResponse) ProtoMessage() {} - -func (x *GetWorkerBuildIdCompatibilityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[101] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerBuildIdCompatibilityResponse.ProtoReflect.Descriptor instead. -func (*GetWorkerBuildIdCompatibilityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{101} -} - -func (x *GetWorkerBuildIdCompatibilityResponse) GetMajorVersionSets() []*v14.CompatibleVersionSet { - if x != nil { - return x.MajorVersionSets - } - return nil -} - -// (-- api-linter: core::0134::request-mask-required=disabled -// -// aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) -// -// (-- api-linter: core::0134::request-resource-required=disabled -// -// aip.dev/not-precedent: GetWorkerBuildIdCompatibilityRequest RPC doesn't follow Google API format. --) -// -// [cleanup-wv-pre-release] -type UpdateWorkerVersioningRulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // A valid conflict_token can be taken from the previous - // ListWorkerVersioningRulesResponse or UpdateWorkerVersioningRulesResponse. - // An invalid token will cause this request to fail, ensuring that if the rules - // for this Task Queue have been modified between the previous and current - // operation, the request will fail instead of causing an unpredictable mutation. - ConflictToken []byte `protobuf:"bytes,3,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Types that are valid to be assigned to Operation: - // - // *UpdateWorkerVersioningRulesRequest_InsertAssignmentRule - // *UpdateWorkerVersioningRulesRequest_ReplaceAssignmentRule - // *UpdateWorkerVersioningRulesRequest_DeleteAssignmentRule - // *UpdateWorkerVersioningRulesRequest_AddCompatibleRedirectRule - // *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleRedirectRule - // *UpdateWorkerVersioningRulesRequest_DeleteCompatibleRedirectRule - // *UpdateWorkerVersioningRulesRequest_CommitBuildId_ - Operation isUpdateWorkerVersioningRulesRequest_Operation `protobuf_oneof:"operation"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest) Reset() { - *x = UpdateWorkerVersioningRulesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[102] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102} -} - -func (x *UpdateWorkerVersioningRulesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateWorkerVersioningRulesRequest) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *UpdateWorkerVersioningRulesRequest) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetOperation() isUpdateWorkerVersioningRulesRequest_Operation { - if x != nil { - return x.Operation - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetInsertAssignmentRule() *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_InsertAssignmentRule); ok { - return x.InsertAssignmentRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetReplaceAssignmentRule() *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_ReplaceAssignmentRule); ok { - return x.ReplaceAssignmentRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetDeleteAssignmentRule() *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_DeleteAssignmentRule); ok { - return x.DeleteAssignmentRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetAddCompatibleRedirectRule() *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_AddCompatibleRedirectRule); ok { - return x.AddCompatibleRedirectRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetReplaceCompatibleRedirectRule() *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleRedirectRule); ok { - return x.ReplaceCompatibleRedirectRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetDeleteCompatibleRedirectRule() *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_DeleteCompatibleRedirectRule); ok { - return x.DeleteCompatibleRedirectRule - } - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest) GetCommitBuildId() *UpdateWorkerVersioningRulesRequest_CommitBuildId { - if x != nil { - if x, ok := x.Operation.(*UpdateWorkerVersioningRulesRequest_CommitBuildId_); ok { - return x.CommitBuildId - } - } - return nil -} - -type isUpdateWorkerVersioningRulesRequest_Operation interface { - isUpdateWorkerVersioningRulesRequest_Operation() -} - -type UpdateWorkerVersioningRulesRequest_InsertAssignmentRule struct { - InsertAssignmentRule *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule `protobuf:"bytes,4,opt,name=insert_assignment_rule,json=insertAssignmentRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_ReplaceAssignmentRule struct { - ReplaceAssignmentRule *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule `protobuf:"bytes,5,opt,name=replace_assignment_rule,json=replaceAssignmentRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_DeleteAssignmentRule struct { - DeleteAssignmentRule *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule `protobuf:"bytes,6,opt,name=delete_assignment_rule,json=deleteAssignmentRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_AddCompatibleRedirectRule struct { - AddCompatibleRedirectRule *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule `protobuf:"bytes,7,opt,name=add_compatible_redirect_rule,json=addCompatibleRedirectRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_ReplaceCompatibleRedirectRule struct { - ReplaceCompatibleRedirectRule *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule `protobuf:"bytes,8,opt,name=replace_compatible_redirect_rule,json=replaceCompatibleRedirectRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_DeleteCompatibleRedirectRule struct { - DeleteCompatibleRedirectRule *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule `protobuf:"bytes,9,opt,name=delete_compatible_redirect_rule,json=deleteCompatibleRedirectRule,proto3,oneof"` -} - -type UpdateWorkerVersioningRulesRequest_CommitBuildId_ struct { - CommitBuildId *UpdateWorkerVersioningRulesRequest_CommitBuildId `protobuf:"bytes,10,opt,name=commit_build_id,json=commitBuildId,proto3,oneof"` -} - -func (*UpdateWorkerVersioningRulesRequest_InsertAssignmentRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_ReplaceAssignmentRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_DeleteAssignmentRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_AddCompatibleRedirectRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleRedirectRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_DeleteCompatibleRedirectRule) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -func (*UpdateWorkerVersioningRulesRequest_CommitBuildId_) isUpdateWorkerVersioningRulesRequest_Operation() { -} - -// [cleanup-wv-pre-release] -type UpdateWorkerVersioningRulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - AssignmentRules []*v14.TimestampedBuildIdAssignmentRule `protobuf:"bytes,1,rep,name=assignment_rules,json=assignmentRules,proto3" json:"assignment_rules,omitempty"` - CompatibleRedirectRules []*v14.TimestampedCompatibleBuildIdRedirectRule `protobuf:"bytes,2,rep,name=compatible_redirect_rules,json=compatibleRedirectRules,proto3" json:"compatible_redirect_rules,omitempty"` - // This value can be passed back to UpdateWorkerVersioningRulesRequest to - // ensure that the rules were not modified between the two updates, which - // could lead to lost updates and other confusion. - ConflictToken []byte `protobuf:"bytes,3,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesResponse) Reset() { - *x = UpdateWorkerVersioningRulesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesResponse) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[103] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{103} -} - -func (x *UpdateWorkerVersioningRulesResponse) GetAssignmentRules() []*v14.TimestampedBuildIdAssignmentRule { - if x != nil { - return x.AssignmentRules - } - return nil -} - -func (x *UpdateWorkerVersioningRulesResponse) GetCompatibleRedirectRules() []*v14.TimestampedCompatibleBuildIdRedirectRule { - if x != nil { - return x.CompatibleRedirectRules - } - return nil -} - -func (x *UpdateWorkerVersioningRulesResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -// [cleanup-wv-pre-release] -type GetWorkerVersioningRulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerVersioningRulesRequest) Reset() { - *x = GetWorkerVersioningRulesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerVersioningRulesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerVersioningRulesRequest) ProtoMessage() {} - -func (x *GetWorkerVersioningRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[104] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerVersioningRulesRequest.ProtoReflect.Descriptor instead. -func (*GetWorkerVersioningRulesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{104} -} - -func (x *GetWorkerVersioningRulesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetWorkerVersioningRulesRequest) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -// [cleanup-wv-pre-release] -type GetWorkerVersioningRulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - AssignmentRules []*v14.TimestampedBuildIdAssignmentRule `protobuf:"bytes,1,rep,name=assignment_rules,json=assignmentRules,proto3" json:"assignment_rules,omitempty"` - CompatibleRedirectRules []*v14.TimestampedCompatibleBuildIdRedirectRule `protobuf:"bytes,2,rep,name=compatible_redirect_rules,json=compatibleRedirectRules,proto3" json:"compatible_redirect_rules,omitempty"` - // This value can be passed back to UpdateWorkerVersioningRulesRequest to - // ensure that the rules were not modified between this List and the Update, - // which could lead to lost updates and other confusion. - ConflictToken []byte `protobuf:"bytes,3,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerVersioningRulesResponse) Reset() { - *x = GetWorkerVersioningRulesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerVersioningRulesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerVersioningRulesResponse) ProtoMessage() {} - -func (x *GetWorkerVersioningRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[105] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerVersioningRulesResponse.ProtoReflect.Descriptor instead. -func (*GetWorkerVersioningRulesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{105} -} - -func (x *GetWorkerVersioningRulesResponse) GetAssignmentRules() []*v14.TimestampedBuildIdAssignmentRule { - if x != nil { - return x.AssignmentRules - } - return nil -} - -func (x *GetWorkerVersioningRulesResponse) GetCompatibleRedirectRules() []*v14.TimestampedCompatibleBuildIdRedirectRule { - if x != nil { - return x.CompatibleRedirectRules - } - return nil -} - -func (x *GetWorkerVersioningRulesResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -// [cleanup-wv-pre-release] -// Deprecated. Use `DescribeTaskQueue`. -type GetWorkerTaskReachabilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. - // The number of build ids that can be queried in a single API call is limited. - // Open source users can adjust this limit by setting the server's dynamic config value for - // `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. - BuildIds []string `protobuf:"bytes,2,rep,name=build_ids,json=buildIds,proto3" json:"build_ids,omitempty"` - // Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given - // build ids in the namespace. - // Must specify at least one task queue if querying for an unversioned worker. - // The number of task queues that the server will fetch reachability information for is limited. - // See the `GetWorkerTaskReachabilityResponse` documentation for more information. - TaskQueues []string `protobuf:"bytes,3,rep,name=task_queues,json=taskQueues,proto3" json:"task_queues,omitempty"` - // Type of reachability to query for. - // `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. - // Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. - // Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left - // unspecified. - // See the TaskReachability docstring for information about each enum variant. - Reachability v11.TaskReachability `protobuf:"varint,4,opt,name=reachability,proto3,enum=temporal.api.enums.v1.TaskReachability" json:"reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerTaskReachabilityRequest) Reset() { - *x = GetWorkerTaskReachabilityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerTaskReachabilityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerTaskReachabilityRequest) ProtoMessage() {} - -func (x *GetWorkerTaskReachabilityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[106] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerTaskReachabilityRequest.ProtoReflect.Descriptor instead. -func (*GetWorkerTaskReachabilityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{106} -} - -func (x *GetWorkerTaskReachabilityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetWorkerTaskReachabilityRequest) GetBuildIds() []string { - if x != nil { - return x.BuildIds - } - return nil -} - -func (x *GetWorkerTaskReachabilityRequest) GetTaskQueues() []string { - if x != nil { - return x.TaskQueues - } - return nil -} - -func (x *GetWorkerTaskReachabilityRequest) GetReachability() v11.TaskReachability { - if x != nil { - return x.Reachability - } - return v11.TaskReachability(0) -} - -// [cleanup-wv-pre-release] -// Deprecated. Use `DescribeTaskQueue`. -type GetWorkerTaskReachabilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Task reachability, broken down by build id and then task queue. - // When requesting a large number of task queues or all task queues associated with the given build ids in a - // namespace, all task queues will be listed in the response but some of them may not contain reachability - // information due to a server enforced limit. When reaching the limit, task queues that reachability information - // could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue - // another call to get the reachability for those task queues. - // - // Open source users can adjust this limit by setting the server's dynamic config value for - // `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. - BuildIdReachability []*v14.BuildIdReachability `protobuf:"bytes,1,rep,name=build_id_reachability,json=buildIdReachability,proto3" json:"build_id_reachability,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetWorkerTaskReachabilityResponse) Reset() { - *x = GetWorkerTaskReachabilityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetWorkerTaskReachabilityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkerTaskReachabilityResponse) ProtoMessage() {} - -func (x *GetWorkerTaskReachabilityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[107] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkerTaskReachabilityResponse.ProtoReflect.Descriptor instead. -func (*GetWorkerTaskReachabilityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{107} -} - -func (x *GetWorkerTaskReachabilityResponse) GetBuildIdReachability() []*v14.BuildIdReachability { - if x != nil { - return x.BuildIdReachability - } - return nil -} - -// (-- api-linter: core::0134=disabled -// -// aip.dev/not-precedent: Update RPCs don't follow Google API format. --) -type UpdateWorkflowExecutionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace name of the target Workflow. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The target Workflow Id and (optionally) a specific Run Id thereof. - // (-- api-linter: core::0203::optional=disabled - // - // aip.dev/not-precedent: false positive triggered by the word "optional" --) - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // If set, this call will error if the most recent (if no Run Id is set on - // `workflow_execution`), or specified (if it is) Workflow Execution is not - // part of the same execution chain as this Id. - FirstExecutionRunId string `protobuf:"bytes,3,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` - // Specifies client's intent to wait for Update results. - // NOTE: This field works together with API call timeout which is limited by - // server timeout (maximum wait time). If server timeout is expired before - // user specified timeout, API call returns even if specified stage is not reached. - // Actual reached stage will be included in the response. - WaitPolicy *v117.WaitPolicy `protobuf:"bytes,4,opt,name=wait_policy,json=waitPolicy,proto3" json:"wait_policy,omitempty"` - // The request information that will be delivered all the way down to the - // Workflow Execution. - Request *v117.Request `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkflowExecutionRequest) Reset() { - *x = UpdateWorkflowExecutionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkflowExecutionRequest) ProtoMessage() {} - -func (x *UpdateWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[108] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkflowExecutionRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{108} -} - -func (x *UpdateWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateWorkflowExecutionRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *UpdateWorkflowExecutionRequest) GetFirstExecutionRunId() string { - if x != nil { - return x.FirstExecutionRunId - } - return "" -} - -func (x *UpdateWorkflowExecutionRequest) GetWaitPolicy() *v117.WaitPolicy { - if x != nil { - return x.WaitPolicy - } - return nil -} - -func (x *UpdateWorkflowExecutionRequest) GetRequest() *v117.Request { - if x != nil { - return x.Request - } - return nil -} - -type UpdateWorkflowExecutionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Enough information for subsequent poll calls if needed. Never null. - UpdateRef *v117.UpdateRef `protobuf:"bytes,1,opt,name=update_ref,json=updateRef,proto3" json:"update_ref,omitempty"` - // The outcome of the Update if and only if the Workflow Update - // has completed. If this response is being returned before the Update has - // completed then this field will not be set. - Outcome *v117.Outcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` - // The most advanced lifecycle stage that the Update is known to have - // reached, where lifecycle stages are ordered - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. - // UNSPECIFIED will be returned if and only if the server's maximum wait - // time was reached before the Update reached the stage specified in the - // request WaitPolicy, and before the context deadline expired; clients may - // may then retry the call as needed. - Stage v11.UpdateWorkflowExecutionLifecycleStage `protobuf:"varint,3,opt,name=stage,proto3,enum=temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage" json:"stage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkflowExecutionResponse) Reset() { - *x = UpdateWorkflowExecutionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkflowExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkflowExecutionResponse) ProtoMessage() {} - -func (x *UpdateWorkflowExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[109] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkflowExecutionResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkflowExecutionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{109} -} - -func (x *UpdateWorkflowExecutionResponse) GetUpdateRef() *v117.UpdateRef { - if x != nil { - return x.UpdateRef - } - return nil -} - -func (x *UpdateWorkflowExecutionResponse) GetOutcome() *v117.Outcome { - if x != nil { - return x.Outcome - } - return nil -} - -func (x *UpdateWorkflowExecutionResponse) GetStage() v11.UpdateWorkflowExecutionLifecycleStage { - if x != nil { - return x.Stage - } - return v11.UpdateWorkflowExecutionLifecycleStage(0) -} - -type StartBatchOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace that contains the batch operation - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Visibility query defines the the group of workflow to apply the batch operation - // This field and `executions` are mutually exclusive - VisibilityQuery string `protobuf:"bytes,2,opt,name=visibility_query,json=visibilityQuery,proto3" json:"visibility_query,omitempty"` - // Job ID defines the unique ID for the batch job - JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Reason to perform the batch operation - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - // Executions to apply the batch operation - // This field and `visibility_query` are mutually exclusive - Executions []*v13.WorkflowExecution `protobuf:"bytes,5,rep,name=executions,proto3" json:"executions,omitempty"` - // Limit for the number of operations processed per second within this batch. - // Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system - // overload and minimize potential delays in executing ongoing tasks for user workers. - // Note that when no explicit limit is provided, the server will operate according to its limit defined by the - // dynamic configuration key `worker.batcherRPS`. This also applies if the value in this field exceeds the - // server's configured limit. - MaxOperationsPerSecond float32 `protobuf:"fixed32,6,opt,name=max_operations_per_second,json=maxOperationsPerSecond,proto3" json:"max_operations_per_second,omitempty"` - // Operation input - // - // Types that are valid to be assigned to Operation: - // - // *StartBatchOperationRequest_TerminationOperation - // *StartBatchOperationRequest_SignalOperation - // *StartBatchOperationRequest_CancellationOperation - // *StartBatchOperationRequest_DeletionOperation - // *StartBatchOperationRequest_ResetOperation - // *StartBatchOperationRequest_UpdateWorkflowOptionsOperation - // *StartBatchOperationRequest_UnpauseActivitiesOperation - // *StartBatchOperationRequest_ResetActivitiesOperation - // *StartBatchOperationRequest_UpdateActivityOptionsOperation - Operation isStartBatchOperationRequest_Operation `protobuf_oneof:"operation"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartBatchOperationRequest) Reset() { - *x = StartBatchOperationRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartBatchOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartBatchOperationRequest) ProtoMessage() {} - -func (x *StartBatchOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[110] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartBatchOperationRequest.ProtoReflect.Descriptor instead. -func (*StartBatchOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{110} -} - -func (x *StartBatchOperationRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StartBatchOperationRequest) GetVisibilityQuery() string { - if x != nil { - return x.VisibilityQuery - } - return "" -} - -func (x *StartBatchOperationRequest) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -func (x *StartBatchOperationRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *StartBatchOperationRequest) GetExecutions() []*v13.WorkflowExecution { - if x != nil { - return x.Executions - } - return nil -} - -func (x *StartBatchOperationRequest) GetMaxOperationsPerSecond() float32 { - if x != nil { - return x.MaxOperationsPerSecond - } - return 0 -} - -func (x *StartBatchOperationRequest) GetOperation() isStartBatchOperationRequest_Operation { - if x != nil { - return x.Operation - } - return nil -} - -func (x *StartBatchOperationRequest) GetTerminationOperation() *v118.BatchOperationTermination { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_TerminationOperation); ok { - return x.TerminationOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetSignalOperation() *v118.BatchOperationSignal { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_SignalOperation); ok { - return x.SignalOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetCancellationOperation() *v118.BatchOperationCancellation { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_CancellationOperation); ok { - return x.CancellationOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetDeletionOperation() *v118.BatchOperationDeletion { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_DeletionOperation); ok { - return x.DeletionOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetResetOperation() *v118.BatchOperationReset { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_ResetOperation); ok { - return x.ResetOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetUpdateWorkflowOptionsOperation() *v118.BatchOperationUpdateWorkflowExecutionOptions { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_UpdateWorkflowOptionsOperation); ok { - return x.UpdateWorkflowOptionsOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetUnpauseActivitiesOperation() *v118.BatchOperationUnpauseActivities { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_UnpauseActivitiesOperation); ok { - return x.UnpauseActivitiesOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetResetActivitiesOperation() *v118.BatchOperationResetActivities { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_ResetActivitiesOperation); ok { - return x.ResetActivitiesOperation - } - } - return nil -} - -func (x *StartBatchOperationRequest) GetUpdateActivityOptionsOperation() *v118.BatchOperationUpdateActivityOptions { - if x != nil { - if x, ok := x.Operation.(*StartBatchOperationRequest_UpdateActivityOptionsOperation); ok { - return x.UpdateActivityOptionsOperation - } - } - return nil -} - -type isStartBatchOperationRequest_Operation interface { - isStartBatchOperationRequest_Operation() -} - -type StartBatchOperationRequest_TerminationOperation struct { - TerminationOperation *v118.BatchOperationTermination `protobuf:"bytes,10,opt,name=termination_operation,json=terminationOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_SignalOperation struct { - SignalOperation *v118.BatchOperationSignal `protobuf:"bytes,11,opt,name=signal_operation,json=signalOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_CancellationOperation struct { - CancellationOperation *v118.BatchOperationCancellation `protobuf:"bytes,12,opt,name=cancellation_operation,json=cancellationOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_DeletionOperation struct { - DeletionOperation *v118.BatchOperationDeletion `protobuf:"bytes,13,opt,name=deletion_operation,json=deletionOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_ResetOperation struct { - ResetOperation *v118.BatchOperationReset `protobuf:"bytes,14,opt,name=reset_operation,json=resetOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_UpdateWorkflowOptionsOperation struct { - UpdateWorkflowOptionsOperation *v118.BatchOperationUpdateWorkflowExecutionOptions `protobuf:"bytes,15,opt,name=update_workflow_options_operation,json=updateWorkflowOptionsOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_UnpauseActivitiesOperation struct { - UnpauseActivitiesOperation *v118.BatchOperationUnpauseActivities `protobuf:"bytes,16,opt,name=unpause_activities_operation,json=unpauseActivitiesOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_ResetActivitiesOperation struct { - ResetActivitiesOperation *v118.BatchOperationResetActivities `protobuf:"bytes,17,opt,name=reset_activities_operation,json=resetActivitiesOperation,proto3,oneof"` -} - -type StartBatchOperationRequest_UpdateActivityOptionsOperation struct { - UpdateActivityOptionsOperation *v118.BatchOperationUpdateActivityOptions `protobuf:"bytes,18,opt,name=update_activity_options_operation,json=updateActivityOptionsOperation,proto3,oneof"` -} - -func (*StartBatchOperationRequest_TerminationOperation) isStartBatchOperationRequest_Operation() {} - -func (*StartBatchOperationRequest_SignalOperation) isStartBatchOperationRequest_Operation() {} - -func (*StartBatchOperationRequest_CancellationOperation) isStartBatchOperationRequest_Operation() {} - -func (*StartBatchOperationRequest_DeletionOperation) isStartBatchOperationRequest_Operation() {} - -func (*StartBatchOperationRequest_ResetOperation) isStartBatchOperationRequest_Operation() {} - -func (*StartBatchOperationRequest_UpdateWorkflowOptionsOperation) isStartBatchOperationRequest_Operation() { -} - -func (*StartBatchOperationRequest_UnpauseActivitiesOperation) isStartBatchOperationRequest_Operation() { -} - -func (*StartBatchOperationRequest_ResetActivitiesOperation) isStartBatchOperationRequest_Operation() { -} - -func (*StartBatchOperationRequest_UpdateActivityOptionsOperation) isStartBatchOperationRequest_Operation() { -} - -type StartBatchOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StartBatchOperationResponse) Reset() { - *x = StartBatchOperationResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StartBatchOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartBatchOperationResponse) ProtoMessage() {} - -func (x *StartBatchOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[111] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StartBatchOperationResponse.ProtoReflect.Descriptor instead. -func (*StartBatchOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{111} -} - -type StopBatchOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace that contains the batch operation - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Batch job id - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Reason to stop a batch operation - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - // Identity of the operator - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StopBatchOperationRequest) Reset() { - *x = StopBatchOperationRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StopBatchOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StopBatchOperationRequest) ProtoMessage() {} - -func (x *StopBatchOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[112] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StopBatchOperationRequest.ProtoReflect.Descriptor instead. -func (*StopBatchOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{112} -} - -func (x *StopBatchOperationRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *StopBatchOperationRequest) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -func (x *StopBatchOperationRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *StopBatchOperationRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type StopBatchOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *StopBatchOperationResponse) Reset() { - *x = StopBatchOperationResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StopBatchOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StopBatchOperationResponse) ProtoMessage() {} - -func (x *StopBatchOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[113] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StopBatchOperationResponse.ProtoReflect.Descriptor instead. -func (*StopBatchOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{113} -} - -type DescribeBatchOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace that contains the batch operation - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Batch job id - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeBatchOperationRequest) Reset() { - *x = DescribeBatchOperationRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeBatchOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeBatchOperationRequest) ProtoMessage() {} - -func (x *DescribeBatchOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[114] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeBatchOperationRequest.ProtoReflect.Descriptor instead. -func (*DescribeBatchOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{114} -} - -func (x *DescribeBatchOperationRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeBatchOperationRequest) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -type DescribeBatchOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Batch operation type - OperationType v11.BatchOperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=temporal.api.enums.v1.BatchOperationType" json:"operation_type,omitempty"` - // Batch job ID - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Batch operation state - State v11.BatchOperationState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.BatchOperationState" json:"state,omitempty"` - // Batch operation start time - StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Batch operation close time - CloseTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` - // Total operation count - TotalOperationCount int64 `protobuf:"varint,6,opt,name=total_operation_count,json=totalOperationCount,proto3" json:"total_operation_count,omitempty"` - // Complete operation count - CompleteOperationCount int64 `protobuf:"varint,7,opt,name=complete_operation_count,json=completeOperationCount,proto3" json:"complete_operation_count,omitempty"` - // Failure operation count - FailureOperationCount int64 `protobuf:"varint,8,opt,name=failure_operation_count,json=failureOperationCount,proto3" json:"failure_operation_count,omitempty"` - // Identity indicates the operator identity - Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"` - // Reason indicates the reason to stop a operation - Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeBatchOperationResponse) Reset() { - *x = DescribeBatchOperationResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeBatchOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeBatchOperationResponse) ProtoMessage() {} - -func (x *DescribeBatchOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[115] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeBatchOperationResponse.ProtoReflect.Descriptor instead. -func (*DescribeBatchOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{115} -} - -func (x *DescribeBatchOperationResponse) GetOperationType() v11.BatchOperationType { - if x != nil { - return x.OperationType - } - return v11.BatchOperationType(0) -} - -func (x *DescribeBatchOperationResponse) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -func (x *DescribeBatchOperationResponse) GetState() v11.BatchOperationState { - if x != nil { - return x.State - } - return v11.BatchOperationState(0) -} - -func (x *DescribeBatchOperationResponse) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *DescribeBatchOperationResponse) GetCloseTime() *timestamppb.Timestamp { - if x != nil { - return x.CloseTime - } - return nil -} - -func (x *DescribeBatchOperationResponse) GetTotalOperationCount() int64 { - if x != nil { - return x.TotalOperationCount - } - return 0 -} - -func (x *DescribeBatchOperationResponse) GetCompleteOperationCount() int64 { - if x != nil { - return x.CompleteOperationCount - } - return 0 -} - -func (x *DescribeBatchOperationResponse) GetFailureOperationCount() int64 { - if x != nil { - return x.FailureOperationCount - } - return 0 -} - -func (x *DescribeBatchOperationResponse) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *DescribeBatchOperationResponse) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type ListBatchOperationsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace that contains the batch operation - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // List page size - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Next page token - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListBatchOperationsRequest) Reset() { - *x = ListBatchOperationsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListBatchOperationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBatchOperationsRequest) ProtoMessage() {} - -func (x *ListBatchOperationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[116] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBatchOperationsRequest.ProtoReflect.Descriptor instead. -func (*ListBatchOperationsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{116} -} - -func (x *ListBatchOperationsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListBatchOperationsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListBatchOperationsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListBatchOperationsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // BatchOperationInfo contains the basic info about batch operation - OperationInfo []*v118.BatchOperationInfo `protobuf:"bytes,1,rep,name=operation_info,json=operationInfo,proto3" json:"operation_info,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListBatchOperationsResponse) Reset() { - *x = ListBatchOperationsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListBatchOperationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBatchOperationsResponse) ProtoMessage() {} - -func (x *ListBatchOperationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[117] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBatchOperationsResponse.ProtoReflect.Descriptor instead. -func (*ListBatchOperationsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{117} -} - -func (x *ListBatchOperationsResponse) GetOperationInfo() []*v118.BatchOperationInfo { - if x != nil { - return x.OperationInfo - } - return nil -} - -func (x *ListBatchOperationsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type PollWorkflowExecutionUpdateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace of the Workflow Execution to which the Update was - // originally issued. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The Update reference returned in the initial UpdateWorkflowExecutionResponse. - UpdateRef *v117.UpdateRef `protobuf:"bytes,2,opt,name=update_ref,json=updateRef,proto3" json:"update_ref,omitempty"` - // The identity of the worker/client who is polling this Update outcome. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Specifies client's intent to wait for Update results. - // Omit to request a non-blocking poll. - WaitPolicy *v117.WaitPolicy `protobuf:"bytes,4,opt,name=wait_policy,json=waitPolicy,proto3" json:"wait_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollWorkflowExecutionUpdateRequest) Reset() { - *x = PollWorkflowExecutionUpdateRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollWorkflowExecutionUpdateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollWorkflowExecutionUpdateRequest) ProtoMessage() {} - -func (x *PollWorkflowExecutionUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[118] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollWorkflowExecutionUpdateRequest.ProtoReflect.Descriptor instead. -func (*PollWorkflowExecutionUpdateRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{118} -} - -func (x *PollWorkflowExecutionUpdateRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PollWorkflowExecutionUpdateRequest) GetUpdateRef() *v117.UpdateRef { - if x != nil { - return x.UpdateRef - } - return nil -} - -func (x *PollWorkflowExecutionUpdateRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PollWorkflowExecutionUpdateRequest) GetWaitPolicy() *v117.WaitPolicy { - if x != nil { - return x.WaitPolicy - } - return nil -} - -type PollWorkflowExecutionUpdateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The outcome of the update if and only if the update has completed. If - // this response is being returned before the update has completed (e.g. due - // to the specification of a wait policy that only waits on - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will - // not be set. - Outcome *v117.Outcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` - // The most advanced lifecycle stage that the Update is known to have - // reached, where lifecycle stages are ordered - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < - // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. - // UNSPECIFIED will be returned if and only if the server's maximum wait - // time was reached before the Update reached the stage specified in the - // request WaitPolicy, and before the context deadline expired; clients may - // may then retry the call as needed. - Stage v11.UpdateWorkflowExecutionLifecycleStage `protobuf:"varint,2,opt,name=stage,proto3,enum=temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage" json:"stage,omitempty"` - // Sufficient information to address this Update. - UpdateRef *v117.UpdateRef `protobuf:"bytes,3,opt,name=update_ref,json=updateRef,proto3" json:"update_ref,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollWorkflowExecutionUpdateResponse) Reset() { - *x = PollWorkflowExecutionUpdateResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollWorkflowExecutionUpdateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollWorkflowExecutionUpdateResponse) ProtoMessage() {} - -func (x *PollWorkflowExecutionUpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[119] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollWorkflowExecutionUpdateResponse.ProtoReflect.Descriptor instead. -func (*PollWorkflowExecutionUpdateResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{119} -} - -func (x *PollWorkflowExecutionUpdateResponse) GetOutcome() *v117.Outcome { - if x != nil { - return x.Outcome - } - return nil -} - -func (x *PollWorkflowExecutionUpdateResponse) GetStage() v11.UpdateWorkflowExecutionLifecycleStage { - if x != nil { - return x.Stage - } - return v11.UpdateWorkflowExecutionLifecycleStage(0) -} - -func (x *PollWorkflowExecutionUpdateResponse) GetUpdateRef() *v117.UpdateRef { - if x != nil { - return x.UpdateRef - } - return nil -} - -type PollNexusTaskQueueRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - TaskQueue *v14.TaskQueue `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // Information about this worker's build identifier and if it is choosing to use the versioning - // feature. See the `WorkerVersionCapabilities` docstring for more. - // Deprecated. Replaced by deployment_options. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - WorkerVersionCapabilities *v13.WorkerVersionCapabilities `protobuf:"bytes,4,opt,name=worker_version_capabilities,json=workerVersionCapabilities,proto3" json:"worker_version_capabilities,omitempty"` - // Worker deployment options that user has set in the worker. - DeploymentOptions *v18.WorkerDeploymentOptions `protobuf:"bytes,6,opt,name=deployment_options,json=deploymentOptions,proto3" json:"deployment_options,omitempty"` - // Worker info to be sent to the server. - WorkerHeartbeat []*v114.WorkerHeartbeat `protobuf:"bytes,7,rep,name=worker_heartbeat,json=workerHeartbeat,proto3" json:"worker_heartbeat,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollNexusTaskQueueRequest) Reset() { - *x = PollNexusTaskQueueRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollNexusTaskQueueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollNexusTaskQueueRequest) ProtoMessage() {} - -func (x *PollNexusTaskQueueRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[120] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollNexusTaskQueueRequest.ProtoReflect.Descriptor instead. -func (*PollNexusTaskQueueRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{120} -} - -func (x *PollNexusTaskQueueRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PollNexusTaskQueueRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PollNexusTaskQueueRequest) GetTaskQueue() *v14.TaskQueue { - if x != nil { - return x.TaskQueue - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *PollNexusTaskQueueRequest) GetWorkerVersionCapabilities() *v13.WorkerVersionCapabilities { - if x != nil { - return x.WorkerVersionCapabilities - } - return nil -} - -func (x *PollNexusTaskQueueRequest) GetDeploymentOptions() *v18.WorkerDeploymentOptions { - if x != nil { - return x.DeploymentOptions - } - return nil -} - -func (x *PollNexusTaskQueueRequest) GetWorkerHeartbeat() []*v114.WorkerHeartbeat { - if x != nil { - return x.WorkerHeartbeat - } - return nil -} - -type PollNexusTaskQueueResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // An opaque unique identifier for this task for correlating a completion request the embedded request. - TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Embedded request as translated from the incoming frontend request. - Request *v119.Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` - // Server-advised information the SDK may use to adjust its poller count. - PollerScalingDecision *v14.PollerScalingDecision `protobuf:"bytes,3,opt,name=poller_scaling_decision,json=pollerScalingDecision,proto3" json:"poller_scaling_decision,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PollNexusTaskQueueResponse) Reset() { - *x = PollNexusTaskQueueResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PollNexusTaskQueueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollNexusTaskQueueResponse) ProtoMessage() {} - -func (x *PollNexusTaskQueueResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[121] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollNexusTaskQueueResponse.ProtoReflect.Descriptor instead. -func (*PollNexusTaskQueueResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{121} -} - -func (x *PollNexusTaskQueueResponse) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *PollNexusTaskQueueResponse) GetRequest() *v119.Request { - if x != nil { - return x.Request - } - return nil -} - -func (x *PollNexusTaskQueueResponse) GetPollerScalingDecision() *v14.PollerScalingDecision { - if x != nil { - return x.PollerScalingDecision - } - return nil -} - -type RespondNexusTaskCompletedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this task as received via a poll response. - TaskToken []byte `protobuf:"bytes,3,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // Embedded response to be translated into a frontend response. - Response *v119.Response `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondNexusTaskCompletedRequest) Reset() { - *x = RespondNexusTaskCompletedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondNexusTaskCompletedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondNexusTaskCompletedRequest) ProtoMessage() {} - -func (x *RespondNexusTaskCompletedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[122] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondNexusTaskCompletedRequest.ProtoReflect.Descriptor instead. -func (*RespondNexusTaskCompletedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{122} -} - -func (x *RespondNexusTaskCompletedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondNexusTaskCompletedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondNexusTaskCompletedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondNexusTaskCompletedRequest) GetResponse() *v119.Response { - if x != nil { - return x.Response - } - return nil -} - -type RespondNexusTaskCompletedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondNexusTaskCompletedResponse) Reset() { - *x = RespondNexusTaskCompletedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondNexusTaskCompletedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondNexusTaskCompletedResponse) ProtoMessage() {} - -func (x *RespondNexusTaskCompletedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[123] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondNexusTaskCompletedResponse.ProtoReflect.Descriptor instead. -func (*RespondNexusTaskCompletedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{123} -} - -type RespondNexusTaskFailedRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // A unique identifier for this task. - TaskToken []byte `protobuf:"bytes,3,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` - // The error the handler failed with. - Error *v119.HandlerError `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondNexusTaskFailedRequest) Reset() { - *x = RespondNexusTaskFailedRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondNexusTaskFailedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondNexusTaskFailedRequest) ProtoMessage() {} - -func (x *RespondNexusTaskFailedRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[124] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondNexusTaskFailedRequest.ProtoReflect.Descriptor instead. -func (*RespondNexusTaskFailedRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{124} -} - -func (x *RespondNexusTaskFailedRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RespondNexusTaskFailedRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RespondNexusTaskFailedRequest) GetTaskToken() []byte { - if x != nil { - return x.TaskToken - } - return nil -} - -func (x *RespondNexusTaskFailedRequest) GetError() *v119.HandlerError { - if x != nil { - return x.Error - } - return nil -} - -type RespondNexusTaskFailedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondNexusTaskFailedResponse) Reset() { - *x = RespondNexusTaskFailedResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondNexusTaskFailedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondNexusTaskFailedResponse) ProtoMessage() {} - -func (x *RespondNexusTaskFailedResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[125] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondNexusTaskFailedResponse.ProtoReflect.Descriptor instead. -func (*RespondNexusTaskFailedResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{125} -} - -type ExecuteMultiOperationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // List of operations to execute within a single workflow. - // - // Preconditions: - // - The list of operations must not be empty. - // - The workflow ids must match across operations. - // - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order. - // - // Note that additional operation-specific restrictions have to be considered. - Operations []*ExecuteMultiOperationRequest_Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecuteMultiOperationRequest) Reset() { - *x = ExecuteMultiOperationRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecuteMultiOperationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecuteMultiOperationRequest) ProtoMessage() {} - -func (x *ExecuteMultiOperationRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[126] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecuteMultiOperationRequest.ProtoReflect.Descriptor instead. -func (*ExecuteMultiOperationRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{126} -} - -func (x *ExecuteMultiOperationRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ExecuteMultiOperationRequest) GetOperations() []*ExecuteMultiOperationRequest_Operation { - if x != nil { - return x.Operations - } - return nil -} - -// IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both -// 1. the workflow update for the requested update ID has already completed, and -// 2. the workflow for the requested workflow ID has already been closed, -// -// then you'll receive -// - an update response containing the update's outcome, and -// - a start response with a `status` field that reflects the workflow's current state. -type ExecuteMultiOperationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Responses []*ExecuteMultiOperationResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecuteMultiOperationResponse) Reset() { - *x = ExecuteMultiOperationResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecuteMultiOperationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecuteMultiOperationResponse) ProtoMessage() {} - -func (x *ExecuteMultiOperationResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[127] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecuteMultiOperationResponse.ProtoReflect.Descriptor instead. -func (*ExecuteMultiOperationResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{127} -} - -func (x *ExecuteMultiOperationResponse) GetResponses() []*ExecuteMultiOperationResponse_Response { - if x != nil { - return x.Responses - } - return nil -} - -// NOTE: keep in sync with temporal.api.batch.v1.BatchOperationUpdateActivityOptions -type UpdateActivityOptionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Execution info of the workflow which scheduled this activity - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // The identity of the client who initiated this request - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Activity options. Partial updates are accepted and controlled by update_mask - ActivityOptions *v120.ActivityOptions `protobuf:"bytes,4,opt,name=activity_options,json=activityOptions,proto3" json:"activity_options,omitempty"` - // Controls which fields from `activity_options` will be applied - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // either activity id, activity type or update_all must be provided - // - // Types that are valid to be assigned to Activity: - // - // *UpdateActivityOptionsRequest_Id - // *UpdateActivityOptionsRequest_Type - // *UpdateActivityOptionsRequest_MatchAll - Activity isUpdateActivityOptionsRequest_Activity `protobuf_oneof:"activity"` - // If set, the activity options will be restored to the default. - // Default options are then options activity was created with. - // They are part of the first SCHEDULE event. - // This flag cannot be combined with any other option; if you supply - // restore_original together with other options, the request will be rejected. - RestoreOriginal bool `protobuf:"varint,8,opt,name=restore_original,json=restoreOriginal,proto3" json:"restore_original,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateActivityOptionsRequest) Reset() { - *x = UpdateActivityOptionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateActivityOptionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateActivityOptionsRequest) ProtoMessage() {} - -func (x *UpdateActivityOptionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[128] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateActivityOptionsRequest.ProtoReflect.Descriptor instead. -func (*UpdateActivityOptionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{128} -} - -func (x *UpdateActivityOptionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateActivityOptionsRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *UpdateActivityOptionsRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *UpdateActivityOptionsRequest) GetActivityOptions() *v120.ActivityOptions { - if x != nil { - return x.ActivityOptions - } - return nil -} - -func (x *UpdateActivityOptionsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -func (x *UpdateActivityOptionsRequest) GetActivity() isUpdateActivityOptionsRequest_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *UpdateActivityOptionsRequest) GetId() string { - if x != nil { - if x, ok := x.Activity.(*UpdateActivityOptionsRequest_Id); ok { - return x.Id - } - } - return "" -} - -func (x *UpdateActivityOptionsRequest) GetType() string { - if x != nil { - if x, ok := x.Activity.(*UpdateActivityOptionsRequest_Type); ok { - return x.Type - } - } - return "" -} - -func (x *UpdateActivityOptionsRequest) GetMatchAll() bool { - if x != nil { - if x, ok := x.Activity.(*UpdateActivityOptionsRequest_MatchAll); ok { - return x.MatchAll - } - } - return false -} - -func (x *UpdateActivityOptionsRequest) GetRestoreOriginal() bool { - if x != nil { - return x.RestoreOriginal - } - return false -} - -type isUpdateActivityOptionsRequest_Activity interface { - isUpdateActivityOptionsRequest_Activity() -} - -type UpdateActivityOptionsRequest_Id struct { - // Only activity with this ID will be updated. - Id string `protobuf:"bytes,6,opt,name=id,proto3,oneof"` -} - -type UpdateActivityOptionsRequest_Type struct { - // Update all running activities of this type. - Type string `protobuf:"bytes,7,opt,name=type,proto3,oneof"` -} - -type UpdateActivityOptionsRequest_MatchAll struct { - // Update all running activities. - MatchAll bool `protobuf:"varint,9,opt,name=match_all,json=matchAll,proto3,oneof"` -} - -func (*UpdateActivityOptionsRequest_Id) isUpdateActivityOptionsRequest_Activity() {} - -func (*UpdateActivityOptionsRequest_Type) isUpdateActivityOptionsRequest_Activity() {} - -func (*UpdateActivityOptionsRequest_MatchAll) isUpdateActivityOptionsRequest_Activity() {} - -type UpdateActivityOptionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Activity options after an update - ActivityOptions *v120.ActivityOptions `protobuf:"bytes,1,opt,name=activity_options,json=activityOptions,proto3" json:"activity_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateActivityOptionsResponse) Reset() { - *x = UpdateActivityOptionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateActivityOptionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateActivityOptionsResponse) ProtoMessage() {} - -func (x *UpdateActivityOptionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[129] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateActivityOptionsResponse.ProtoReflect.Descriptor instead. -func (*UpdateActivityOptionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{129} -} - -func (x *UpdateActivityOptionsResponse) GetActivityOptions() *v120.ActivityOptions { - if x != nil { - return x.ActivityOptions - } - return nil -} - -type PauseActivityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Execution info of the workflow which scheduled this activity - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // either activity id or activity type must be provided - // - // Types that are valid to be assigned to Activity: - // - // *PauseActivityRequest_Id - // *PauseActivityRequest_Type - Activity isPauseActivityRequest_Activity `protobuf_oneof:"activity"` - // Reason to pause the activity. - Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PauseActivityRequest) Reset() { - *x = PauseActivityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PauseActivityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PauseActivityRequest) ProtoMessage() {} - -func (x *PauseActivityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[130] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PauseActivityRequest.ProtoReflect.Descriptor instead. -func (*PauseActivityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{130} -} - -func (x *PauseActivityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *PauseActivityRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *PauseActivityRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *PauseActivityRequest) GetActivity() isPauseActivityRequest_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *PauseActivityRequest) GetId() string { - if x != nil { - if x, ok := x.Activity.(*PauseActivityRequest_Id); ok { - return x.Id - } - } - return "" -} - -func (x *PauseActivityRequest) GetType() string { - if x != nil { - if x, ok := x.Activity.(*PauseActivityRequest_Type); ok { - return x.Type - } - } - return "" -} - -func (x *PauseActivityRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -type isPauseActivityRequest_Activity interface { - isPauseActivityRequest_Activity() -} - -type PauseActivityRequest_Id struct { - // Only the activity with this ID will be paused. - Id string `protobuf:"bytes,4,opt,name=id,proto3,oneof"` -} - -type PauseActivityRequest_Type struct { - // Pause all running activities of this type. - // Note: Experimental - the behavior of pause by activity type might change in a future release. - Type string `protobuf:"bytes,5,opt,name=type,proto3,oneof"` -} - -func (*PauseActivityRequest_Id) isPauseActivityRequest_Activity() {} - -func (*PauseActivityRequest_Type) isPauseActivityRequest_Activity() {} - -type PauseActivityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PauseActivityResponse) Reset() { - *x = PauseActivityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PauseActivityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PauseActivityResponse) ProtoMessage() {} - -func (x *PauseActivityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[131] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PauseActivityResponse.ProtoReflect.Descriptor instead. -func (*PauseActivityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{131} -} - -type UnpauseActivityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Execution info of the workflow which scheduled this activity - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // either activity id or activity type must be provided - // - // Types that are valid to be assigned to Activity: - // - // *UnpauseActivityRequest_Id - // *UnpauseActivityRequest_Type - // *UnpauseActivityRequest_UnpauseAll - Activity isUnpauseActivityRequest_Activity `protobuf_oneof:"activity"` - // Providing this flag will also reset the number of attempts. - ResetAttempts bool `protobuf:"varint,7,opt,name=reset_attempts,json=resetAttempts,proto3" json:"reset_attempts,omitempty"` - // Providing this flag will also reset the heartbeat details. - ResetHeartbeat bool `protobuf:"varint,8,opt,name=reset_heartbeat,json=resetHeartbeat,proto3" json:"reset_heartbeat,omitempty"` - // If set, the activity will start at a random time within the specified jitter duration. - Jitter *durationpb.Duration `protobuf:"bytes,9,opt,name=jitter,proto3" json:"jitter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnpauseActivityRequest) Reset() { - *x = UnpauseActivityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnpauseActivityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnpauseActivityRequest) ProtoMessage() {} - -func (x *UnpauseActivityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[132] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnpauseActivityRequest.ProtoReflect.Descriptor instead. -func (*UnpauseActivityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{132} -} - -func (x *UnpauseActivityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UnpauseActivityRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *UnpauseActivityRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *UnpauseActivityRequest) GetActivity() isUnpauseActivityRequest_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *UnpauseActivityRequest) GetId() string { - if x != nil { - if x, ok := x.Activity.(*UnpauseActivityRequest_Id); ok { - return x.Id - } - } - return "" -} - -func (x *UnpauseActivityRequest) GetType() string { - if x != nil { - if x, ok := x.Activity.(*UnpauseActivityRequest_Type); ok { - return x.Type - } - } - return "" -} - -func (x *UnpauseActivityRequest) GetUnpauseAll() bool { - if x != nil { - if x, ok := x.Activity.(*UnpauseActivityRequest_UnpauseAll); ok { - return x.UnpauseAll - } - } - return false -} - -func (x *UnpauseActivityRequest) GetResetAttempts() bool { - if x != nil { - return x.ResetAttempts - } - return false -} - -func (x *UnpauseActivityRequest) GetResetHeartbeat() bool { - if x != nil { - return x.ResetHeartbeat - } - return false -} - -func (x *UnpauseActivityRequest) GetJitter() *durationpb.Duration { - if x != nil { - return x.Jitter - } - return nil -} - -type isUnpauseActivityRequest_Activity interface { - isUnpauseActivityRequest_Activity() -} - -type UnpauseActivityRequest_Id struct { - // Only the activity with this ID will be unpaused. - Id string `protobuf:"bytes,4,opt,name=id,proto3,oneof"` -} - -type UnpauseActivityRequest_Type struct { - // Unpause all running activities with of this type. - Type string `protobuf:"bytes,5,opt,name=type,proto3,oneof"` -} - -type UnpauseActivityRequest_UnpauseAll struct { - // Unpause all running activities. - UnpauseAll bool `protobuf:"varint,6,opt,name=unpause_all,json=unpauseAll,proto3,oneof"` -} - -func (*UnpauseActivityRequest_Id) isUnpauseActivityRequest_Activity() {} - -func (*UnpauseActivityRequest_Type) isUnpauseActivityRequest_Activity() {} - -func (*UnpauseActivityRequest_UnpauseAll) isUnpauseActivityRequest_Activity() {} - -type UnpauseActivityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UnpauseActivityResponse) Reset() { - *x = UnpauseActivityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnpauseActivityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnpauseActivityResponse) ProtoMessage() {} - -func (x *UnpauseActivityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[133] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnpauseActivityResponse.ProtoReflect.Descriptor instead. -func (*UnpauseActivityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{133} -} - -// NOTE: keep in sync with temporal.api.batch.v1.BatchOperationResetActivities -type ResetActivityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace of the workflow which scheduled this activity. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Execution info of the workflow which scheduled this activity - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // either activity id, activity type or update_all must be provided - // - // Types that are valid to be assigned to Activity: - // - // *ResetActivityRequest_Id - // *ResetActivityRequest_Type - // *ResetActivityRequest_MatchAll - Activity isResetActivityRequest_Activity `protobuf_oneof:"activity"` - // Indicates that activity should reset heartbeat details. - // This flag will be applied only to the new instance of the activity. - ResetHeartbeat bool `protobuf:"varint,6,opt,name=reset_heartbeat,json=resetHeartbeat,proto3" json:"reset_heartbeat,omitempty"` - // If activity is paused, it will remain paused after reset - KeepPaused bool `protobuf:"varint,7,opt,name=keep_paused,json=keepPaused,proto3" json:"keep_paused,omitempty"` - // If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. - // (unless it is paused and keep_paused is set) - Jitter *durationpb.Duration `protobuf:"bytes,8,opt,name=jitter,proto3" json:"jitter,omitempty"` - // If set, the activity options will be restored to the defaults. - // Default options are then options activity was created with. - // They are part of the first SCHEDULE event. - RestoreOriginalOptions bool `protobuf:"varint,9,opt,name=restore_original_options,json=restoreOriginalOptions,proto3" json:"restore_original_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetActivityRequest) Reset() { - *x = ResetActivityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetActivityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetActivityRequest) ProtoMessage() {} - -func (x *ResetActivityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[134] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetActivityRequest.ProtoReflect.Descriptor instead. -func (*ResetActivityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{134} -} - -func (x *ResetActivityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ResetActivityRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *ResetActivityRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *ResetActivityRequest) GetActivity() isResetActivityRequest_Activity { - if x != nil { - return x.Activity - } - return nil -} - -func (x *ResetActivityRequest) GetId() string { - if x != nil { - if x, ok := x.Activity.(*ResetActivityRequest_Id); ok { - return x.Id - } - } - return "" -} - -func (x *ResetActivityRequest) GetType() string { - if x != nil { - if x, ok := x.Activity.(*ResetActivityRequest_Type); ok { - return x.Type - } - } - return "" -} - -func (x *ResetActivityRequest) GetMatchAll() bool { - if x != nil { - if x, ok := x.Activity.(*ResetActivityRequest_MatchAll); ok { - return x.MatchAll - } - } - return false -} - -func (x *ResetActivityRequest) GetResetHeartbeat() bool { - if x != nil { - return x.ResetHeartbeat - } - return false -} - -func (x *ResetActivityRequest) GetKeepPaused() bool { - if x != nil { - return x.KeepPaused - } - return false -} - -func (x *ResetActivityRequest) GetJitter() *durationpb.Duration { - if x != nil { - return x.Jitter - } - return nil -} - -func (x *ResetActivityRequest) GetRestoreOriginalOptions() bool { - if x != nil { - return x.RestoreOriginalOptions - } - return false -} - -type isResetActivityRequest_Activity interface { - isResetActivityRequest_Activity() -} - -type ResetActivityRequest_Id struct { - // Only activity with this ID will be reset. - Id string `protobuf:"bytes,4,opt,name=id,proto3,oneof"` -} - -type ResetActivityRequest_Type struct { - // Reset all running activities with of this type. - Type string `protobuf:"bytes,5,opt,name=type,proto3,oneof"` -} - -type ResetActivityRequest_MatchAll struct { - // Reset all running activities. - MatchAll bool `protobuf:"varint,10,opt,name=match_all,json=matchAll,proto3,oneof"` -} - -func (*ResetActivityRequest_Id) isResetActivityRequest_Activity() {} - -func (*ResetActivityRequest_Type) isResetActivityRequest_Activity() {} - -func (*ResetActivityRequest_MatchAll) isResetActivityRequest_Activity() {} - -type ResetActivityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ResetActivityResponse) Reset() { - *x = ResetActivityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[135] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ResetActivityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetActivityResponse) ProtoMessage() {} - -func (x *ResetActivityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[135] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResetActivityResponse.ProtoReflect.Descriptor instead. -func (*ResetActivityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{135} -} - -// Keep the parameters in sync with: -// - temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. -// - temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions. -type UpdateWorkflowExecutionOptionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The namespace name of the target Workflow. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The target Workflow Id and (optionally) a specific Run Id thereof. - // (-- api-linter: core::0203::optional=disabled - // - // aip.dev/not-precedent: false positive triggered by the word "optional" --) - WorkflowExecution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - // Workflow Execution options. Partial updates are accepted and controlled by update_mask. - WorkflowExecutionOptions *v17.WorkflowExecutionOptions `protobuf:"bytes,3,opt,name=workflow_execution_options,json=workflowExecutionOptions,proto3" json:"workflow_execution_options,omitempty"` - // Controls which fields from `workflow_execution_options` will be applied. - // To unset a field, set it to null and use the update mask to indicate that it should be mutated. - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkflowExecutionOptionsRequest) Reset() { - *x = UpdateWorkflowExecutionOptionsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[136] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkflowExecutionOptionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkflowExecutionOptionsRequest) ProtoMessage() {} - -func (x *UpdateWorkflowExecutionOptionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[136] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkflowExecutionOptionsRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkflowExecutionOptionsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{136} -} - -func (x *UpdateWorkflowExecutionOptionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateWorkflowExecutionOptionsRequest) GetWorkflowExecution() *v13.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *UpdateWorkflowExecutionOptionsRequest) GetWorkflowExecutionOptions() *v17.WorkflowExecutionOptions { - if x != nil { - return x.WorkflowExecutionOptions - } - return nil -} - -func (x *UpdateWorkflowExecutionOptionsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -func (x *UpdateWorkflowExecutionOptionsRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type UpdateWorkflowExecutionOptionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Workflow Execution options after update. - WorkflowExecutionOptions *v17.WorkflowExecutionOptions `protobuf:"bytes,1,opt,name=workflow_execution_options,json=workflowExecutionOptions,proto3" json:"workflow_execution_options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkflowExecutionOptionsResponse) Reset() { - *x = UpdateWorkflowExecutionOptionsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkflowExecutionOptionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkflowExecutionOptionsResponse) ProtoMessage() {} - -func (x *UpdateWorkflowExecutionOptionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[137] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkflowExecutionOptionsResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkflowExecutionOptionsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{137} -} - -func (x *UpdateWorkflowExecutionOptionsResponse) GetWorkflowExecutionOptions() *v17.WorkflowExecutionOptions { - if x != nil { - return x.WorkflowExecutionOptions - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type DescribeDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Deployment *v18.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeDeploymentRequest) Reset() { - *x = DescribeDeploymentRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[138] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeDeploymentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeDeploymentRequest) ProtoMessage() {} - -func (x *DescribeDeploymentRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[138] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeDeploymentRequest.ProtoReflect.Descriptor instead. -func (*DescribeDeploymentRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{138} -} - -func (x *DescribeDeploymentRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeDeploymentRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type DescribeDeploymentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - DeploymentInfo *v18.DeploymentInfo `protobuf:"bytes,1,opt,name=deployment_info,json=deploymentInfo,proto3" json:"deployment_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeDeploymentResponse) Reset() { - *x = DescribeDeploymentResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[139] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeDeploymentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeDeploymentResponse) ProtoMessage() {} - -func (x *DescribeDeploymentResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[139] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeDeploymentResponse.ProtoReflect.Descriptor instead. -func (*DescribeDeploymentResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{139} -} - -func (x *DescribeDeploymentResponse) GetDeploymentInfo() *v18.DeploymentInfo { - if x != nil { - return x.DeploymentInfo - } - return nil -} - -type DescribeWorkerDeploymentVersionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Required. - DeploymentVersion *v18.WorkerDeploymentVersion `protobuf:"bytes,3,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - // Report stats for task queues which have been polled by this version. - ReportTaskQueueStats bool `protobuf:"varint,4,opt,name=report_task_queue_stats,json=reportTaskQueueStats,proto3" json:"report_task_queue_stats,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerDeploymentVersionRequest) Reset() { - *x = DescribeWorkerDeploymentVersionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[140] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerDeploymentVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerDeploymentVersionRequest) ProtoMessage() {} - -func (x *DescribeWorkerDeploymentVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[140] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerDeploymentVersionRequest.ProtoReflect.Descriptor instead. -func (*DescribeWorkerDeploymentVersionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{140} -} - -func (x *DescribeWorkerDeploymentVersionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DescribeWorkerDeploymentVersionRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *DescribeWorkerDeploymentVersionRequest) GetDeploymentVersion() *v18.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *DescribeWorkerDeploymentVersionRequest) GetReportTaskQueueStats() bool { - if x != nil { - return x.ReportTaskQueueStats - } - return false -} - -type DescribeWorkerDeploymentVersionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerDeploymentVersionInfo *v18.WorkerDeploymentVersionInfo `protobuf:"bytes,1,opt,name=worker_deployment_version_info,json=workerDeploymentVersionInfo,proto3" json:"worker_deployment_version_info,omitempty"` - // All the Task Queues that have ever polled from this Deployment version. - VersionTaskQueues []*DescribeWorkerDeploymentVersionResponse_VersionTaskQueue `protobuf:"bytes,2,rep,name=version_task_queues,json=versionTaskQueues,proto3" json:"version_task_queues,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerDeploymentVersionResponse) Reset() { - *x = DescribeWorkerDeploymentVersionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[141] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerDeploymentVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerDeploymentVersionResponse) ProtoMessage() {} - -func (x *DescribeWorkerDeploymentVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[141] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerDeploymentVersionResponse.ProtoReflect.Descriptor instead. -func (*DescribeWorkerDeploymentVersionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{141} -} - -func (x *DescribeWorkerDeploymentVersionResponse) GetWorkerDeploymentVersionInfo() *v18.WorkerDeploymentVersionInfo { - if x != nil { - return x.WorkerDeploymentVersionInfo - } - return nil -} - -func (x *DescribeWorkerDeploymentVersionResponse) GetVersionTaskQueues() []*DescribeWorkerDeploymentVersionResponse_VersionTaskQueue { - if x != nil { - return x.VersionTaskQueues - } - return nil -} - -type DescribeWorkerDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerDeploymentRequest) Reset() { - *x = DescribeWorkerDeploymentRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[142] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerDeploymentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerDeploymentRequest) ProtoMessage() {} - -func (x *DescribeWorkerDeploymentRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[142] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerDeploymentRequest.ProtoReflect.Descriptor instead. -func (*DescribeWorkerDeploymentRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{142} -} - -func (x *DescribeWorkerDeploymentRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeWorkerDeploymentRequest) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -type DescribeWorkerDeploymentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // This value is returned so that it can be optionally passed to APIs - // that write to the Worker Deployment state to ensure that the state - // did not change between this read and a future write. - ConflictToken []byte `protobuf:"bytes,1,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - WorkerDeploymentInfo *v18.WorkerDeploymentInfo `protobuf:"bytes,2,opt,name=worker_deployment_info,json=workerDeploymentInfo,proto3" json:"worker_deployment_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerDeploymentResponse) Reset() { - *x = DescribeWorkerDeploymentResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[143] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerDeploymentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerDeploymentResponse) ProtoMessage() {} - -func (x *DescribeWorkerDeploymentResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[143] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerDeploymentResponse.ProtoReflect.Descriptor instead. -func (*DescribeWorkerDeploymentResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{143} -} - -func (x *DescribeWorkerDeploymentResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *DescribeWorkerDeploymentResponse) GetWorkerDeploymentInfo() *v18.WorkerDeploymentInfo { - if x != nil { - return x.WorkerDeploymentInfo - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type ListDeploymentsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Optional. Use to filter based on exact series name match. - SeriesName string `protobuf:"bytes,4,opt,name=series_name,json=seriesName,proto3" json:"series_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListDeploymentsRequest) Reset() { - *x = ListDeploymentsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[144] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListDeploymentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListDeploymentsRequest) ProtoMessage() {} - -func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[144] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead. -func (*ListDeploymentsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{144} -} - -func (x *ListDeploymentsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListDeploymentsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListDeploymentsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListDeploymentsRequest) GetSeriesName() string { - if x != nil { - return x.SeriesName - } - return "" -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type ListDeploymentsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - NextPageToken []byte `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - Deployments []*v18.DeploymentListInfo `protobuf:"bytes,2,rep,name=deployments,proto3" json:"deployments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListDeploymentsResponse) Reset() { - *x = ListDeploymentsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[145] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListDeploymentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListDeploymentsResponse) ProtoMessage() {} - -func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[145] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead. -func (*ListDeploymentsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{145} -} - -func (x *ListDeploymentsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListDeploymentsResponse) GetDeployments() []*v18.DeploymentListInfo { - if x != nil { - return x.Deployments - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type SetCurrentDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Deployment *v18.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - // Optional. Use to add or remove user-defined metadata entries. Metadata entries are exposed - // when describing a deployment. It is a good place for information such as operator name, - // links to internal deployment pipelines, etc. - UpdateMetadata *v18.UpdateDeploymentMetadata `protobuf:"bytes,4,opt,name=update_metadata,json=updateMetadata,proto3" json:"update_metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetCurrentDeploymentRequest) Reset() { - *x = SetCurrentDeploymentRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[146] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetCurrentDeploymentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetCurrentDeploymentRequest) ProtoMessage() {} - -func (x *SetCurrentDeploymentRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[146] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetCurrentDeploymentRequest.ProtoReflect.Descriptor instead. -func (*SetCurrentDeploymentRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{146} -} - -func (x *SetCurrentDeploymentRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SetCurrentDeploymentRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -func (x *SetCurrentDeploymentRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *SetCurrentDeploymentRequest) GetUpdateMetadata() *v18.UpdateDeploymentMetadata { - if x != nil { - return x.UpdateMetadata - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type SetCurrentDeploymentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - CurrentDeploymentInfo *v18.DeploymentInfo `protobuf:"bytes,1,opt,name=current_deployment_info,json=currentDeploymentInfo,proto3" json:"current_deployment_info,omitempty"` - // Info of the deployment that was current before executing this operation. - PreviousDeploymentInfo *v18.DeploymentInfo `protobuf:"bytes,2,opt,name=previous_deployment_info,json=previousDeploymentInfo,proto3" json:"previous_deployment_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetCurrentDeploymentResponse) Reset() { - *x = SetCurrentDeploymentResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[147] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetCurrentDeploymentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetCurrentDeploymentResponse) ProtoMessage() {} - -func (x *SetCurrentDeploymentResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[147] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetCurrentDeploymentResponse.ProtoReflect.Descriptor instead. -func (*SetCurrentDeploymentResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{147} -} - -func (x *SetCurrentDeploymentResponse) GetCurrentDeploymentInfo() *v18.DeploymentInfo { - if x != nil { - return x.CurrentDeploymentInfo - } - return nil -} - -func (x *SetCurrentDeploymentResponse) GetPreviousDeploymentInfo() *v18.DeploymentInfo { - if x != nil { - return x.PreviousDeploymentInfo - } - return nil -} - -// Set/unset the Current Version of a Worker Deployment. -type SetWorkerDeploymentCurrentVersionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - // Deprecated. Use `build_id`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // The build id of the Version that you want to set as Current. - // Pass an empty value to set the Current Version to nil. - // A nil Current Version represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) - BuildId string `protobuf:"bytes,7,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Optional. This can be the value of conflict_token from a Describe, or another Worker - // Deployment API. Passing a non-nil conflict token will cause this request to fail if the - // Deployment's configuration has been modified between the API call that generated the - // token and this one. - ConflictToken []byte `protobuf:"bytes,4,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // Optional. By default this request would be rejected if not all the expected Task Queues are - // being polled by the new Version, to protect against accidental removal of Task Queues, or - // worker health issues. Pass `true` here to bypass this protection. - // The set of expected Task Queues is the set of all the Task Queues that were ever poller by - // the existing Current Version of the Deployment, with the following exclusions: - // - Task Queues that are not used anymore (inferred by having empty backlog and a task - // add_rate of 0.) - // - Task Queues that are moved to another Worker Deployment (inferred by the Task Queue - // having a different Current Version than the Current Version of this deployment.) - // - // WARNING: Do not set this flag unless you are sure that the missing task queue pollers are not - // needed. If the request is unexpectedly rejected due to missing pollers, then that means the - // pollers have not reached to the server yet. Only set this if you expect those pollers to - // never arrive. - IgnoreMissingTaskQueues bool `protobuf:"varint,6,opt,name=ignore_missing_task_queues,json=ignoreMissingTaskQueues,proto3" json:"ignore_missing_task_queues,omitempty"` - // Optional. By default this request will be rejected if no pollers have been seen for the proposed - // Current Version, in order to protect users from routing tasks to pollers that do not exist, leading - // to possible timeouts. Pass `true` here to bypass this protection. - AllowNoPollers bool `protobuf:"varint,9,opt,name=allow_no_pollers,json=allowNoPollers,proto3" json:"allow_no_pollers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) Reset() { - *x = SetWorkerDeploymentCurrentVersionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[148] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentCurrentVersionRequest) ProtoMessage() {} - -func (x *SetWorkerDeploymentCurrentVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[148] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentCurrentVersionRequest.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentCurrentVersionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{148} -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SetWorkerDeploymentCurrentVersionRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetIgnoreMissingTaskQueues() bool { - if x != nil { - return x.IgnoreMissingTaskQueues - } - return false -} - -func (x *SetWorkerDeploymentCurrentVersionRequest) GetAllowNoPollers() bool { - if x != nil { - return x.AllowNoPollers - } - return false -} - -type SetWorkerDeploymentCurrentVersionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // This value is returned so that it can be optionally passed to APIs - // that write to the Worker Deployment state to ensure that the state - // did not change between this API call and a future write. - ConflictToken []byte `protobuf:"bytes,1,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Deprecated. Use `previous_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - PreviousVersion string `protobuf:"bytes,2,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"` - // The version that was current before executing this operation. - PreviousDeploymentVersion *v18.WorkerDeploymentVersion `protobuf:"bytes,3,opt,name=previous_deployment_version,json=previousDeploymentVersion,proto3" json:"previous_deployment_version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentCurrentVersionResponse) Reset() { - *x = SetWorkerDeploymentCurrentVersionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[149] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentCurrentVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentCurrentVersionResponse) ProtoMessage() {} - -func (x *SetWorkerDeploymentCurrentVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[149] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentCurrentVersionResponse.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentCurrentVersionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{149} -} - -func (x *SetWorkerDeploymentCurrentVersionResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SetWorkerDeploymentCurrentVersionResponse) GetPreviousVersion() string { - if x != nil { - return x.PreviousVersion - } - return "" -} - -func (x *SetWorkerDeploymentCurrentVersionResponse) GetPreviousDeploymentVersion() *v18.WorkerDeploymentVersion { - if x != nil { - return x.PreviousDeploymentVersion - } - return nil -} - -// Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. -type SetWorkerDeploymentRampingVersionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - // Deprecated. Use `build_id`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // The build id of the Version that you want to ramp traffic to. - // Pass an empty value to set the Ramping Version to nil. - // A nil Ramping Version represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) - BuildId string `protobuf:"bytes,8,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // Ramp percentage to set. Valid range: [0,100]. - Percentage float32 `protobuf:"fixed32,4,opt,name=percentage,proto3" json:"percentage,omitempty"` - // Optional. This can be the value of conflict_token from a Describe, or another Worker - // Deployment API. Passing a non-nil conflict token will cause this request to fail if the - // Deployment's configuration has been modified between the API call that generated the - // token and this one. - ConflictToken []byte `protobuf:"bytes,5,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - // Optional. By default this request would be rejected if not all the expected Task Queues are - // being polled by the new Version, to protect against accidental removal of Task Queues, or - // worker health issues. Pass `true` here to bypass this protection. - // The set of expected Task Queues equals to all the Task Queues ever polled from the existing - // Current Version of the Deployment, with the following exclusions: - // - Task Queues that are not used anymore (inferred by having empty backlog and a task - // add_rate of 0.) - // - Task Queues that are moved to another Worker Deployment (inferred by the Task Queue - // having a different Current Version than the Current Version of this deployment.) - // - // WARNING: Do not set this flag unless you are sure that the missing task queue poller are not - // needed. If the request is unexpectedly rejected due to missing pollers, then that means the - // pollers have not reached to the server yet. Only set this if you expect those pollers to - // never arrive. - // Note: this check only happens when the ramping version is about to change, not every time - // that the percentage changes. Also note that the check is against the deployment's Current - // Version, not the previous Ramping Version. - IgnoreMissingTaskQueues bool `protobuf:"varint,7,opt,name=ignore_missing_task_queues,json=ignoreMissingTaskQueues,proto3" json:"ignore_missing_task_queues,omitempty"` - // Optional. By default this request will be rejected if no pollers have been seen for the proposed - // Current Version, in order to protect users from routing tasks to pollers that do not exist, leading - // to possible timeouts. Pass `true` here to bypass this protection. - AllowNoPollers bool `protobuf:"varint,10,opt,name=allow_no_pollers,json=allowNoPollers,proto3" json:"allow_no_pollers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentRampingVersionRequest) Reset() { - *x = SetWorkerDeploymentRampingVersionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[150] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentRampingVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentRampingVersionRequest) ProtoMessage() {} - -func (x *SetWorkerDeploymentRampingVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[150] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentRampingVersionRequest.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentRampingVersionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{150} -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SetWorkerDeploymentRampingVersionRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetBuildId() string { - if x != nil { - return x.BuildId - } - return "" -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetPercentage() float32 { - if x != nil { - return x.Percentage - } - return 0 -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetIgnoreMissingTaskQueues() bool { - if x != nil { - return x.IgnoreMissingTaskQueues - } - return false -} - -func (x *SetWorkerDeploymentRampingVersionRequest) GetAllowNoPollers() bool { - if x != nil { - return x.AllowNoPollers - } - return false -} - -type SetWorkerDeploymentRampingVersionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // This value is returned so that it can be optionally passed to APIs - // that write to the Worker Deployment state to ensure that the state - // did not change between this API call and a future write. - ConflictToken []byte `protobuf:"bytes,1,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Deprecated. Use `previous_deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - PreviousVersion string `protobuf:"bytes,2,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"` - // The version that was ramping before executing this operation. - PreviousDeploymentVersion *v18.WorkerDeploymentVersion `protobuf:"bytes,4,opt,name=previous_deployment_version,json=previousDeploymentVersion,proto3" json:"previous_deployment_version,omitempty"` - // The ramping version percentage before executing this operation. - PreviousPercentage float32 `protobuf:"fixed32,3,opt,name=previous_percentage,json=previousPercentage,proto3" json:"previous_percentage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentRampingVersionResponse) Reset() { - *x = SetWorkerDeploymentRampingVersionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[151] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentRampingVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentRampingVersionResponse) ProtoMessage() {} - -func (x *SetWorkerDeploymentRampingVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[151] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentRampingVersionResponse.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentRampingVersionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{151} -} - -func (x *SetWorkerDeploymentRampingVersionResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *SetWorkerDeploymentRampingVersionResponse) GetPreviousVersion() string { - if x != nil { - return x.PreviousVersion - } - return "" -} - -func (x *SetWorkerDeploymentRampingVersionResponse) GetPreviousDeploymentVersion() *v18.WorkerDeploymentVersion { - if x != nil { - return x.PreviousDeploymentVersion - } - return nil -} - -func (x *SetWorkerDeploymentRampingVersionResponse) GetPreviousPercentage() float32 { - if x != nil { - return x.PreviousPercentage - } - return 0 -} - -type ListWorkerDeploymentsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkerDeploymentsRequest) Reset() { - *x = ListWorkerDeploymentsRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[152] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkerDeploymentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkerDeploymentsRequest) ProtoMessage() {} - -func (x *ListWorkerDeploymentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[152] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkerDeploymentsRequest.ProtoReflect.Descriptor instead. -func (*ListWorkerDeploymentsRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{152} -} - -func (x *ListWorkerDeploymentsRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListWorkerDeploymentsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListWorkerDeploymentsRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListWorkerDeploymentsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - NextPageToken []byte `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // The list of worker deployments. - WorkerDeployments []*ListWorkerDeploymentsResponse_WorkerDeploymentSummary `protobuf:"bytes,2,rep,name=worker_deployments,json=workerDeployments,proto3" json:"worker_deployments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkerDeploymentsResponse) Reset() { - *x = ListWorkerDeploymentsResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[153] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkerDeploymentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkerDeploymentsResponse) ProtoMessage() {} - -func (x *ListWorkerDeploymentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[153] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkerDeploymentsResponse.ProtoReflect.Descriptor instead. -func (*ListWorkerDeploymentsResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{153} -} - -func (x *ListWorkerDeploymentsResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListWorkerDeploymentsResponse) GetWorkerDeployments() []*ListWorkerDeploymentsResponse_WorkerDeploymentSummary { - if x != nil { - return x.WorkerDeployments - } - return nil -} - -// Used for manual deletion of Versions. User can delete a Version only when all the -// following conditions are met: -// - It is not the Current or Ramping Version of its Deployment. -// - It has no active pollers (none of the task queues in the Version have pollers) -// - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition -// can be skipped by passing `skip-drainage=true`. -type DeleteWorkerDeploymentVersionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Required. - DeploymentVersion *v18.WorkerDeploymentVersion `protobuf:"bytes,5,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - // Pass to force deletion even if the Version is draining. In this case the open pinned - // workflows will be stuck until manually moved to another version by UpdateWorkflowExecutionOptions. - SkipDrainage bool `protobuf:"varint,3,opt,name=skip_drainage,json=skipDrainage,proto3" json:"skip_drainage,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkerDeploymentVersionRequest) Reset() { - *x = DeleteWorkerDeploymentVersionRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkerDeploymentVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkerDeploymentVersionRequest) ProtoMessage() {} - -func (x *DeleteWorkerDeploymentVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[154] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkerDeploymentVersionRequest.ProtoReflect.Descriptor instead. -func (*DeleteWorkerDeploymentVersionRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{154} -} - -func (x *DeleteWorkerDeploymentVersionRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *DeleteWorkerDeploymentVersionRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *DeleteWorkerDeploymentVersionRequest) GetDeploymentVersion() *v18.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *DeleteWorkerDeploymentVersionRequest) GetSkipDrainage() bool { - if x != nil { - return x.SkipDrainage - } - return false -} - -func (x *DeleteWorkerDeploymentVersionRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type DeleteWorkerDeploymentVersionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkerDeploymentVersionResponse) Reset() { - *x = DeleteWorkerDeploymentVersionResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[155] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkerDeploymentVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkerDeploymentVersionResponse) ProtoMessage() {} - -func (x *DeleteWorkerDeploymentVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[155] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkerDeploymentVersionResponse.ProtoReflect.Descriptor instead. -func (*DeleteWorkerDeploymentVersionResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{155} -} - -// Deletes records of (an old) Deployment. A deployment can only be deleted if -// it has no Version in it. -type DeleteWorkerDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkerDeploymentRequest) Reset() { - *x = DeleteWorkerDeploymentRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[156] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkerDeploymentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkerDeploymentRequest) ProtoMessage() {} - -func (x *DeleteWorkerDeploymentRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[156] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkerDeploymentRequest.ProtoReflect.Descriptor instead. -func (*DeleteWorkerDeploymentRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{156} -} - -func (x *DeleteWorkerDeploymentRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeleteWorkerDeploymentRequest) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -func (x *DeleteWorkerDeploymentRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type DeleteWorkerDeploymentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkerDeploymentResponse) Reset() { - *x = DeleteWorkerDeploymentResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[157] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkerDeploymentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkerDeploymentResponse) ProtoMessage() {} - -func (x *DeleteWorkerDeploymentResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[157] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkerDeploymentResponse.ProtoReflect.Descriptor instead. -func (*DeleteWorkerDeploymentResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{157} -} - -// Used to update the user-defined metadata of a Worker Deployment Version. -type UpdateWorkerDeploymentVersionMetadataRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Deprecated. Use `deployment_version`. - // - // Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Required. - DeploymentVersion *v18.WorkerDeploymentVersion `protobuf:"bytes,5,opt,name=deployment_version,json=deploymentVersion,proto3" json:"deployment_version,omitempty"` - UpsertEntries map[string]*v13.Payload `protobuf:"bytes,3,rep,name=upsert_entries,json=upsertEntries,proto3" json:"upsert_entries,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // List of keys to remove from the metadata. - RemoveEntries []string `protobuf:"bytes,4,rep,name=remove_entries,json=removeEntries,proto3" json:"remove_entries,omitempty"` - // Optional. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) Reset() { - *x = UpdateWorkerDeploymentVersionMetadataRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[158] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerDeploymentVersionMetadataRequest) ProtoMessage() {} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[158] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerDeploymentVersionMetadataRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkerDeploymentVersionMetadataRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{158} -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -// Deprecated: Marked as deprecated in temporal/api/workflowservice/v1/request_response.proto. -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetDeploymentVersion() *v18.WorkerDeploymentVersion { - if x != nil { - return x.DeploymentVersion - } - return nil -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetUpsertEntries() map[string]*v13.Payload { - if x != nil { - return x.UpsertEntries - } - return nil -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetRemoveEntries() []string { - if x != nil { - return x.RemoveEntries - } - return nil -} - -func (x *UpdateWorkerDeploymentVersionMetadataRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type UpdateWorkerDeploymentVersionMetadataResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Full metadata after performing the update. - Metadata *v18.VersionMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerDeploymentVersionMetadataResponse) Reset() { - *x = UpdateWorkerDeploymentVersionMetadataResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[159] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerDeploymentVersionMetadataResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerDeploymentVersionMetadataResponse) ProtoMessage() {} - -func (x *UpdateWorkerDeploymentVersionMetadataResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[159] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerDeploymentVersionMetadataResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkerDeploymentVersionMetadataResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{159} -} - -func (x *UpdateWorkerDeploymentVersionMetadataResponse) GetMetadata() *v18.VersionMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -// Update the ManagerIdentity of a Worker Deployment. -type SetWorkerDeploymentManagerRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` - // Types that are valid to be assigned to NewManagerIdentity: - // - // *SetWorkerDeploymentManagerRequest_ManagerIdentity - // *SetWorkerDeploymentManagerRequest_Self - NewManagerIdentity isSetWorkerDeploymentManagerRequest_NewManagerIdentity `protobuf_oneof:"new_manager_identity"` - // Optional. This can be the value of conflict_token from a Describe, or another Worker - // Deployment API. Passing a non-nil conflict token will cause this request to fail if the - // Deployment's configuration has been modified between the API call that generated the - // token and this one. - ConflictToken []byte `protobuf:"bytes,5,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // Required. The identity of the client who initiated this request. - Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentManagerRequest) Reset() { - *x = SetWorkerDeploymentManagerRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[160] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentManagerRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentManagerRequest) ProtoMessage() {} - -func (x *SetWorkerDeploymentManagerRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[160] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentManagerRequest.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentManagerRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{160} -} - -func (x *SetWorkerDeploymentManagerRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *SetWorkerDeploymentManagerRequest) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -func (x *SetWorkerDeploymentManagerRequest) GetNewManagerIdentity() isSetWorkerDeploymentManagerRequest_NewManagerIdentity { - if x != nil { - return x.NewManagerIdentity - } - return nil -} - -func (x *SetWorkerDeploymentManagerRequest) GetManagerIdentity() string { - if x != nil { - if x, ok := x.NewManagerIdentity.(*SetWorkerDeploymentManagerRequest_ManagerIdentity); ok { - return x.ManagerIdentity - } - } - return "" -} - -func (x *SetWorkerDeploymentManagerRequest) GetSelf() bool { - if x != nil { - if x, ok := x.NewManagerIdentity.(*SetWorkerDeploymentManagerRequest_Self); ok { - return x.Self - } - } - return false -} - -func (x *SetWorkerDeploymentManagerRequest) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *SetWorkerDeploymentManagerRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type isSetWorkerDeploymentManagerRequest_NewManagerIdentity interface { - isSetWorkerDeploymentManagerRequest_NewManagerIdentity() -} - -type SetWorkerDeploymentManagerRequest_ManagerIdentity struct { - // Arbitrary value for `manager_identity`. - // Empty will unset the field. - ManagerIdentity string `protobuf:"bytes,3,opt,name=manager_identity,json=managerIdentity,proto3,oneof"` -} - -type SetWorkerDeploymentManagerRequest_Self struct { - // True will set `manager_identity` to `identity`. - Self bool `protobuf:"varint,4,opt,name=self,proto3,oneof"` -} - -func (*SetWorkerDeploymentManagerRequest_ManagerIdentity) isSetWorkerDeploymentManagerRequest_NewManagerIdentity() { -} - -func (*SetWorkerDeploymentManagerRequest_Self) isSetWorkerDeploymentManagerRequest_NewManagerIdentity() { -} - -type SetWorkerDeploymentManagerResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // This value is returned so that it can be optionally passed to APIs - // that write to the Worker Deployment state to ensure that the state - // did not change between this API call and a future write. - ConflictToken []byte `protobuf:"bytes,1,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"` - // What the `manager_identity` field was before this change. - PreviousManagerIdentity string `protobuf:"bytes,2,opt,name=previous_manager_identity,json=previousManagerIdentity,proto3" json:"previous_manager_identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetWorkerDeploymentManagerResponse) Reset() { - *x = SetWorkerDeploymentManagerResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[161] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetWorkerDeploymentManagerResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetWorkerDeploymentManagerResponse) ProtoMessage() {} - -func (x *SetWorkerDeploymentManagerResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[161] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetWorkerDeploymentManagerResponse.ProtoReflect.Descriptor instead. -func (*SetWorkerDeploymentManagerResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{161} -} - -func (x *SetWorkerDeploymentManagerResponse) GetConflictToken() []byte { - if x != nil { - return x.ConflictToken - } - return nil -} - -func (x *SetWorkerDeploymentManagerResponse) GetPreviousManagerIdentity() string { - if x != nil { - return x.PreviousManagerIdentity - } - return "" -} - -// Returns the Current Deployment of a deployment series. -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type GetCurrentDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - SeriesName string `protobuf:"bytes,2,opt,name=series_name,json=seriesName,proto3" json:"series_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentDeploymentRequest) Reset() { - *x = GetCurrentDeploymentRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[162] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentDeploymentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentDeploymentRequest) ProtoMessage() {} - -func (x *GetCurrentDeploymentRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[162] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCurrentDeploymentRequest.ProtoReflect.Descriptor instead. -func (*GetCurrentDeploymentRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{162} -} - -func (x *GetCurrentDeploymentRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetCurrentDeploymentRequest) GetSeriesName() string { - if x != nil { - return x.SeriesName - } - return "" -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type GetCurrentDeploymentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - CurrentDeploymentInfo *v18.DeploymentInfo `protobuf:"bytes,1,opt,name=current_deployment_info,json=currentDeploymentInfo,proto3" json:"current_deployment_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentDeploymentResponse) Reset() { - *x = GetCurrentDeploymentResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentDeploymentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentDeploymentResponse) ProtoMessage() {} - -func (x *GetCurrentDeploymentResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[163] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCurrentDeploymentResponse.ProtoReflect.Descriptor instead. -func (*GetCurrentDeploymentResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{163} -} - -func (x *GetCurrentDeploymentResponse) GetCurrentDeploymentInfo() *v18.DeploymentInfo { - if x != nil { - return x.CurrentDeploymentInfo - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type GetDeploymentReachabilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Deployment *v18.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetDeploymentReachabilityRequest) Reset() { - *x = GetDeploymentReachabilityRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDeploymentReachabilityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDeploymentReachabilityRequest) ProtoMessage() {} - -func (x *GetDeploymentReachabilityRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[164] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDeploymentReachabilityRequest.ProtoReflect.Descriptor instead. -func (*GetDeploymentReachabilityRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{164} -} - -func (x *GetDeploymentReachabilityRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *GetDeploymentReachabilityRequest) GetDeployment() *v18.Deployment { - if x != nil { - return x.Deployment - } - return nil -} - -// [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later -type GetDeploymentReachabilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - DeploymentInfo *v18.DeploymentInfo `protobuf:"bytes,1,opt,name=deployment_info,json=deploymentInfo,proto3" json:"deployment_info,omitempty"` - Reachability v11.DeploymentReachability `protobuf:"varint,2,opt,name=reachability,proto3,enum=temporal.api.enums.v1.DeploymentReachability" json:"reachability,omitempty"` - // Reachability level might come from server cache. This timestamp specifies when the value - // was actually calculated. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetDeploymentReachabilityResponse) Reset() { - *x = GetDeploymentReachabilityResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[165] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDeploymentReachabilityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDeploymentReachabilityResponse) ProtoMessage() {} - -func (x *GetDeploymentReachabilityResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[165] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDeploymentReachabilityResponse.ProtoReflect.Descriptor instead. -func (*GetDeploymentReachabilityResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{165} -} - -func (x *GetDeploymentReachabilityResponse) GetDeploymentInfo() *v18.DeploymentInfo { - if x != nil { - return x.DeploymentInfo - } - return nil -} - -func (x *GetDeploymentReachabilityResponse) GetReachability() v11.DeploymentReachability { - if x != nil { - return x.Reachability - } - return v11.DeploymentReachability(0) -} - -func (x *GetDeploymentReachabilityResponse) GetLastUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.LastUpdateTime - } - return nil -} - -type CreateWorkflowRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The rule specification . - Spec *v121.WorkflowRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - // If true, the rule will be applied to the currently running workflows via batch job. - // If not set , the rule will only be applied when triggering condition is satisfied. - // visibility_query in the rule will be used to select the workflows to apply the rule to. - ForceScan bool `protobuf:"varint,3,opt,name=force_scan,json=forceScan,proto3" json:"force_scan,omitempty"` - // Used to de-dupe requests. Typically should be UUID. - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Identity of the actor who created the rule. Will be stored with the rule. - Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - // Rule description.Will be stored with the rule. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateWorkflowRuleRequest) Reset() { - *x = CreateWorkflowRuleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[166] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateWorkflowRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWorkflowRuleRequest) ProtoMessage() {} - -func (x *CreateWorkflowRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[166] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateWorkflowRuleRequest.ProtoReflect.Descriptor instead. -func (*CreateWorkflowRuleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{166} -} - -func (x *CreateWorkflowRuleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *CreateWorkflowRuleRequest) GetSpec() *v121.WorkflowRuleSpec { - if x != nil { - return x.Spec - } - return nil -} - -func (x *CreateWorkflowRuleRequest) GetForceScan() bool { - if x != nil { - return x.ForceScan - } - return false -} - -func (x *CreateWorkflowRuleRequest) GetRequestId() string { - if x != nil { - return x.RequestId - } - return "" -} - -func (x *CreateWorkflowRuleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *CreateWorkflowRuleRequest) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -type CreateWorkflowRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Created rule. - Rule *v121.WorkflowRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - // Batch Job ID if force-scan flag was provided. Otherwise empty. - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateWorkflowRuleResponse) Reset() { - *x = CreateWorkflowRuleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[167] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateWorkflowRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWorkflowRuleResponse) ProtoMessage() {} - -func (x *CreateWorkflowRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[167] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateWorkflowRuleResponse.ProtoReflect.Descriptor instead. -func (*CreateWorkflowRuleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{167} -} - -func (x *CreateWorkflowRuleResponse) GetRule() *v121.WorkflowRule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *CreateWorkflowRuleResponse) GetJobId() string { - if x != nil { - return x.JobId - } - return "" -} - -type DescribeWorkflowRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // User-specified ID of the rule to read. Unique within the namespace. - RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkflowRuleRequest) Reset() { - *x = DescribeWorkflowRuleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[168] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkflowRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkflowRuleRequest) ProtoMessage() {} - -func (x *DescribeWorkflowRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[168] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkflowRuleRequest.ProtoReflect.Descriptor instead. -func (*DescribeWorkflowRuleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{168} -} - -func (x *DescribeWorkflowRuleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeWorkflowRuleRequest) GetRuleId() string { - if x != nil { - return x.RuleId - } - return "" -} - -type DescribeWorkflowRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The rule that was read. - Rule *v121.WorkflowRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkflowRuleResponse) Reset() { - *x = DescribeWorkflowRuleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[169] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkflowRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkflowRuleResponse) ProtoMessage() {} - -func (x *DescribeWorkflowRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[169] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkflowRuleResponse.ProtoReflect.Descriptor instead. -func (*DescribeWorkflowRuleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{169} -} - -func (x *DescribeWorkflowRuleResponse) GetRule() *v121.WorkflowRule { - if x != nil { - return x.Rule - } - return nil -} - -type DeleteWorkflowRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // ID of the rule to delete. Unique within the namespace. - RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkflowRuleRequest) Reset() { - *x = DeleteWorkflowRuleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[170] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkflowRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkflowRuleRequest) ProtoMessage() {} - -func (x *DeleteWorkflowRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[170] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkflowRuleRequest.ProtoReflect.Descriptor instead. -func (*DeleteWorkflowRuleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{170} -} - -func (x *DeleteWorkflowRuleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DeleteWorkflowRuleRequest) GetRuleId() string { - if x != nil { - return x.RuleId - } - return "" -} - -type DeleteWorkflowRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWorkflowRuleResponse) Reset() { - *x = DeleteWorkflowRuleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[171] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWorkflowRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWorkflowRuleResponse) ProtoMessage() {} - -func (x *DeleteWorkflowRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[171] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteWorkflowRuleResponse.ProtoReflect.Descriptor instead. -func (*DeleteWorkflowRuleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{171} -} - -type ListWorkflowRulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkflowRulesRequest) Reset() { - *x = ListWorkflowRulesRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkflowRulesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowRulesRequest) ProtoMessage() {} - -func (x *ListWorkflowRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[172] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowRulesRequest.ProtoReflect.Descriptor instead. -func (*ListWorkflowRulesRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{172} -} - -func (x *ListWorkflowRulesRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListWorkflowRulesRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type ListWorkflowRulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rules []*v121.WorkflowRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkflowRulesResponse) Reset() { - *x = ListWorkflowRulesResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[173] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkflowRulesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowRulesResponse) ProtoMessage() {} - -func (x *ListWorkflowRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[173] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowRulesResponse.ProtoReflect.Descriptor instead. -func (*ListWorkflowRulesResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{173} -} - -func (x *ListWorkflowRulesResponse) GetRules() []*v121.WorkflowRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *ListWorkflowRulesResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type TriggerWorkflowRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Execution info of the workflow which scheduled this activity - Execution *v13.WorkflowExecution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` - // Either provide id of existing rule, or rule specification - // - // Types that are valid to be assigned to Rule: - // - // *TriggerWorkflowRuleRequest_Id - // *TriggerWorkflowRuleRequest_Spec - Rule isTriggerWorkflowRuleRequest_Rule `protobuf_oneof:"rule"` - // The identity of the client who initiated this request - Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TriggerWorkflowRuleRequest) Reset() { - *x = TriggerWorkflowRuleRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[174] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TriggerWorkflowRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TriggerWorkflowRuleRequest) ProtoMessage() {} - -func (x *TriggerWorkflowRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[174] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TriggerWorkflowRuleRequest.ProtoReflect.Descriptor instead. -func (*TriggerWorkflowRuleRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{174} -} - -func (x *TriggerWorkflowRuleRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *TriggerWorkflowRuleRequest) GetExecution() *v13.WorkflowExecution { - if x != nil { - return x.Execution - } - return nil -} - -func (x *TriggerWorkflowRuleRequest) GetRule() isTriggerWorkflowRuleRequest_Rule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *TriggerWorkflowRuleRequest) GetId() string { - if x != nil { - if x, ok := x.Rule.(*TriggerWorkflowRuleRequest_Id); ok { - return x.Id - } - } - return "" -} - -func (x *TriggerWorkflowRuleRequest) GetSpec() *v121.WorkflowRuleSpec { - if x != nil { - if x, ok := x.Rule.(*TriggerWorkflowRuleRequest_Spec); ok { - return x.Spec - } - } - return nil -} - -func (x *TriggerWorkflowRuleRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -type isTriggerWorkflowRuleRequest_Rule interface { - isTriggerWorkflowRuleRequest_Rule() -} - -type TriggerWorkflowRuleRequest_Id struct { - Id string `protobuf:"bytes,4,opt,name=id,proto3,oneof"` -} - -type TriggerWorkflowRuleRequest_Spec struct { - // Note: Rule ID and expiration date are not used in the trigger request. - Spec *v121.WorkflowRuleSpec `protobuf:"bytes,5,opt,name=spec,proto3,oneof"` -} - -func (*TriggerWorkflowRuleRequest_Id) isTriggerWorkflowRuleRequest_Rule() {} - -func (*TriggerWorkflowRuleRequest_Spec) isTriggerWorkflowRuleRequest_Rule() {} - -type TriggerWorkflowRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // True is the rule was applied, based on the rule conditions (predicate/visibility_query). - Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TriggerWorkflowRuleResponse) Reset() { - *x = TriggerWorkflowRuleResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[175] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TriggerWorkflowRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TriggerWorkflowRuleResponse) ProtoMessage() {} - -func (x *TriggerWorkflowRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[175] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TriggerWorkflowRuleResponse.ProtoReflect.Descriptor instead. -func (*TriggerWorkflowRuleResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{175} -} - -func (x *TriggerWorkflowRuleResponse) GetApplied() bool { - if x != nil { - return x.Applied - } - return false -} - -type RecordWorkerHeartbeatRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace this worker belongs to. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - WorkerHeartbeat []*v114.WorkerHeartbeat `protobuf:"bytes,3,rep,name=worker_heartbeat,json=workerHeartbeat,proto3" json:"worker_heartbeat,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordWorkerHeartbeatRequest) Reset() { - *x = RecordWorkerHeartbeatRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[176] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordWorkerHeartbeatRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordWorkerHeartbeatRequest) ProtoMessage() {} - -func (x *RecordWorkerHeartbeatRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[176] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordWorkerHeartbeatRequest.ProtoReflect.Descriptor instead. -func (*RecordWorkerHeartbeatRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{176} -} - -func (x *RecordWorkerHeartbeatRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *RecordWorkerHeartbeatRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *RecordWorkerHeartbeatRequest) GetWorkerHeartbeat() []*v114.WorkerHeartbeat { - if x != nil { - return x.WorkerHeartbeat - } - return nil -} - -type RecordWorkerHeartbeatResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecordWorkerHeartbeatResponse) Reset() { - *x = RecordWorkerHeartbeatResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[177] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecordWorkerHeartbeatResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecordWorkerHeartbeatResponse) ProtoMessage() {} - -func (x *RecordWorkerHeartbeatResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[177] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecordWorkerHeartbeatResponse.ProtoReflect.Descriptor instead. -func (*RecordWorkerHeartbeatResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{177} -} - -type ListWorkersRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // `query` in ListWorkers is used to filter workers based on worker status info. - // The following worker status attributes are expected are supported as part of the query: - // * WorkerInstanceKey - // * WorkerIdentity - // * HostName - // * TaskQueue - // * DeploymentName - // * BuildId - // * SdkName - // * SdkVersion - // * StartTime - // * LastHeartbeatTime - // * Status - // Currently metrics are not supported as a part of ListWorkers query. - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkersRequest) Reset() { - *x = ListWorkersRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[178] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkersRequest) ProtoMessage() {} - -func (x *ListWorkersRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[178] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkersRequest.ProtoReflect.Descriptor instead. -func (*ListWorkersRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{178} -} - -func (x *ListWorkersRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *ListWorkersRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListWorkersRequest) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -func (x *ListWorkersRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -type ListWorkersResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkersInfo []*v114.WorkerInfo `protobuf:"bytes,1,rep,name=workers_info,json=workersInfo,proto3" json:"workers_info,omitempty"` - // Next page token - NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkersResponse) Reset() { - *x = ListWorkersResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[179] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkersResponse) ProtoMessage() {} - -func (x *ListWorkersResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[179] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkersResponse.ProtoReflect.Descriptor instead. -func (*ListWorkersResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{179} -} - -func (x *ListWorkersResponse) GetWorkersInfo() []*v114.WorkerInfo { - if x != nil { - return x.WorkersInfo - } - return nil -} - -func (x *ListWorkersResponse) GetNextPageToken() []byte { - if x != nil { - return x.NextPageToken - } - return nil -} - -type UpdateTaskQueueConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // Selects the task queue to update. - TaskQueue string `protobuf:"bytes,3,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - TaskQueueType v11.TaskQueueType `protobuf:"varint,4,opt,name=task_queue_type,json=taskQueueType,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"task_queue_type,omitempty"` - // Update to queue-wide rate limit. - // If not set, this configuration is unchanged. - // NOTE: A limit set by the worker is overriden; and restored again when reset. - // If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. - UpdateQueueRateLimit *UpdateTaskQueueConfigRequest_RateLimitUpdate `protobuf:"bytes,5,opt,name=update_queue_rate_limit,json=updateQueueRateLimit,proto3" json:"update_queue_rate_limit,omitempty"` - // Update to the default fairness key rate limit. - // If not set, this configuration is unchanged. - // If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. - UpdateFairnessKeyRateLimitDefault *UpdateTaskQueueConfigRequest_RateLimitUpdate `protobuf:"bytes,6,opt,name=update_fairness_key_rate_limit_default,json=updateFairnessKeyRateLimitDefault,proto3" json:"update_fairness_key_rate_limit_default,omitempty"` - // If set, overrides the fairness weight for each specified fairness key. - // Fairness keys not listed in this map will keep their existing overrides (if any). - SetFairnessWeightOverrides map[string]float32 `protobuf:"bytes,7,rep,name=set_fairness_weight_overrides,json=setFairnessWeightOverrides,proto3" json:"set_fairness_weight_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` - // If set, removes any existing fairness weight overrides for each specified fairness key. - // Fairness weights for corresponding keys fall back to the values set during task creation (if any), - // or to the default weight of 1.0. - UnsetFairnessWeightOverrides []string `protobuf:"bytes,8,rep,name=unset_fairness_weight_overrides,json=unsetFairnessWeightOverrides,proto3" json:"unset_fairness_weight_overrides,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateTaskQueueConfigRequest) Reset() { - *x = UpdateTaskQueueConfigRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[180] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateTaskQueueConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateTaskQueueConfigRequest) ProtoMessage() {} - -func (x *UpdateTaskQueueConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[180] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateTaskQueueConfigRequest.ProtoReflect.Descriptor instead. -func (*UpdateTaskQueueConfigRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{180} -} - -func (x *UpdateTaskQueueConfigRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateTaskQueueConfigRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *UpdateTaskQueueConfigRequest) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *UpdateTaskQueueConfigRequest) GetTaskQueueType() v11.TaskQueueType { - if x != nil { - return x.TaskQueueType - } - return v11.TaskQueueType(0) -} - -func (x *UpdateTaskQueueConfigRequest) GetUpdateQueueRateLimit() *UpdateTaskQueueConfigRequest_RateLimitUpdate { - if x != nil { - return x.UpdateQueueRateLimit - } - return nil -} - -func (x *UpdateTaskQueueConfigRequest) GetUpdateFairnessKeyRateLimitDefault() *UpdateTaskQueueConfigRequest_RateLimitUpdate { - if x != nil { - return x.UpdateFairnessKeyRateLimitDefault - } - return nil -} - -func (x *UpdateTaskQueueConfigRequest) GetSetFairnessWeightOverrides() map[string]float32 { - if x != nil { - return x.SetFairnessWeightOverrides - } - return nil -} - -func (x *UpdateTaskQueueConfigRequest) GetUnsetFairnessWeightOverrides() []string { - if x != nil { - return x.UnsetFairnessWeightOverrides - } - return nil -} - -type UpdateTaskQueueConfigResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Config *v14.TaskQueueConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateTaskQueueConfigResponse) Reset() { - *x = UpdateTaskQueueConfigResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateTaskQueueConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateTaskQueueConfigResponse) ProtoMessage() {} - -func (x *UpdateTaskQueueConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[181] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateTaskQueueConfigResponse.ProtoReflect.Descriptor instead. -func (*UpdateTaskQueueConfigResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{181} -} - -func (x *UpdateTaskQueueConfigResponse) GetConfig() *v14.TaskQueueConfig { - if x != nil { - return x.Config - } - return nil -} - -type FetchWorkerConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace this worker belongs to. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // Reason for sending worker command, can be used for audit purpose. - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - // Defines which workers should receive this command. - // only single worker is supported at this time. - Selector *v13.WorkerSelector `protobuf:"bytes,6,opt,name=selector,proto3" json:"selector,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FetchWorkerConfigRequest) Reset() { - *x = FetchWorkerConfigRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FetchWorkerConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchWorkerConfigRequest) ProtoMessage() {} - -func (x *FetchWorkerConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[182] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchWorkerConfigRequest.ProtoReflect.Descriptor instead. -func (*FetchWorkerConfigRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{182} -} - -func (x *FetchWorkerConfigRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *FetchWorkerConfigRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *FetchWorkerConfigRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *FetchWorkerConfigRequest) GetSelector() *v13.WorkerSelector { - if x != nil { - return x.Selector - } - return nil -} - -type FetchWorkerConfigResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The worker configuration. - WorkerConfig *v16.WorkerConfig `protobuf:"bytes,1,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FetchWorkerConfigResponse) Reset() { - *x = FetchWorkerConfigResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FetchWorkerConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchWorkerConfigResponse) ProtoMessage() {} - -func (x *FetchWorkerConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[183] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchWorkerConfigResponse.ProtoReflect.Descriptor instead. -func (*FetchWorkerConfigResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{183} -} - -func (x *FetchWorkerConfigResponse) GetWorkerConfig() *v16.WorkerConfig { - if x != nil { - return x.WorkerConfig - } - return nil -} - -type UpdateWorkerConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace this worker belongs to. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The identity of the client who initiated this request. - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - // Reason for sending worker command, can be used for audit purpose. - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` - // Partial updates are accepted and controlled by update_mask. - // The worker configuration to set. - WorkerConfig *v16.WorkerConfig `protobuf:"bytes,4,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - // Controls which fields from `worker_config` will be applied - UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Defines which workers should receive this command. - Selector *v13.WorkerSelector `protobuf:"bytes,6,opt,name=selector,proto3" json:"selector,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerConfigRequest) Reset() { - *x = UpdateWorkerConfigRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerConfigRequest) ProtoMessage() {} - -func (x *UpdateWorkerConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[184] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerConfigRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkerConfigRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{184} -} - -func (x *UpdateWorkerConfigRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *UpdateWorkerConfigRequest) GetIdentity() string { - if x != nil { - return x.Identity - } - return "" -} - -func (x *UpdateWorkerConfigRequest) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -func (x *UpdateWorkerConfigRequest) GetWorkerConfig() *v16.WorkerConfig { - if x != nil { - return x.WorkerConfig - } - return nil -} - -func (x *UpdateWorkerConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { - if x != nil { - return x.UpdateMask - } - return nil -} - -func (x *UpdateWorkerConfigRequest) GetSelector() *v13.WorkerSelector { - if x != nil { - return x.Selector - } - return nil -} - -type UpdateWorkerConfigResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Response: - // - // *UpdateWorkerConfigResponse_WorkerConfig - Response isUpdateWorkerConfigResponse_Response `protobuf_oneof:"response"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerConfigResponse) Reset() { - *x = UpdateWorkerConfigResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerConfigResponse) ProtoMessage() {} - -func (x *UpdateWorkerConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[185] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerConfigResponse.ProtoReflect.Descriptor instead. -func (*UpdateWorkerConfigResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{185} -} - -func (x *UpdateWorkerConfigResponse) GetResponse() isUpdateWorkerConfigResponse_Response { - if x != nil { - return x.Response - } - return nil -} - -func (x *UpdateWorkerConfigResponse) GetWorkerConfig() *v16.WorkerConfig { - if x != nil { - if x, ok := x.Response.(*UpdateWorkerConfigResponse_WorkerConfig); ok { - return x.WorkerConfig - } - } - return nil -} - -type isUpdateWorkerConfigResponse_Response interface { - isUpdateWorkerConfigResponse_Response() -} - -type UpdateWorkerConfigResponse_WorkerConfig struct { - // The worker configuration. Will be returned if the command was sent to a single worker. - WorkerConfig *v16.WorkerConfig `protobuf:"bytes,1,opt,name=worker_config,json=workerConfig,proto3,oneof"` -} - -func (*UpdateWorkerConfigResponse_WorkerConfig) isUpdateWorkerConfigResponse_Response() {} - -type DescribeWorkerRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Namespace this worker belongs to. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // Worker instance key to describe. - WorkerInstanceKey string `protobuf:"bytes,2,opt,name=worker_instance_key,json=workerInstanceKey,proto3" json:"worker_instance_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerRequest) Reset() { - *x = DescribeWorkerRequest{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[186] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerRequest) ProtoMessage() {} - -func (x *DescribeWorkerRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[186] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerRequest.ProtoReflect.Descriptor instead. -func (*DescribeWorkerRequest) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{186} -} - -func (x *DescribeWorkerRequest) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" -} - -func (x *DescribeWorkerRequest) GetWorkerInstanceKey() string { - if x != nil { - return x.WorkerInstanceKey - } - return "" -} - -type DescribeWorkerResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerInfo *v114.WorkerInfo `protobuf:"bytes,1,opt,name=worker_info,json=workerInfo,proto3" json:"worker_info,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerResponse) Reset() { - *x = DescribeWorkerResponse{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[187] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerResponse) ProtoMessage() {} - -func (x *DescribeWorkerResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[187] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerResponse.ProtoReflect.Descriptor instead. -func (*DescribeWorkerResponse) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{187} -} - -func (x *DescribeWorkerResponse) GetWorkerInfo() *v114.WorkerInfo { - if x != nil { - return x.WorkerInfo - } - return nil -} - -// SDK capability details. -type RespondWorkflowTaskCompletedRequest_Capabilities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // True if the SDK can handle speculative workflow task with command events. If true, the - // server may choose, at its discretion, to discard a speculative workflow task even if that - // speculative task included command events the SDK had not previously processed. - // - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "with" used to describe the workflow task. --) - DiscardSpeculativeWorkflowTaskWithEvents bool `protobuf:"varint,1,opt,name=discard_speculative_workflow_task_with_events,json=discardSpeculativeWorkflowTaskWithEvents,proto3" json:"discard_speculative_workflow_task_with_events,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RespondWorkflowTaskCompletedRequest_Capabilities) Reset() { - *x = RespondWorkflowTaskCompletedRequest_Capabilities{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[191] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RespondWorkflowTaskCompletedRequest_Capabilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RespondWorkflowTaskCompletedRequest_Capabilities) ProtoMessage() {} - -func (x *RespondWorkflowTaskCompletedRequest_Capabilities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[191] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RespondWorkflowTaskCompletedRequest_Capabilities.ProtoReflect.Descriptor instead. -func (*RespondWorkflowTaskCompletedRequest_Capabilities) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{18, 1} -} - -func (x *RespondWorkflowTaskCompletedRequest_Capabilities) GetDiscardSpeculativeWorkflowTaskWithEvents() bool { - if x != nil { - return x.DiscardSpeculativeWorkflowTaskWithEvents - } - return false -} - -type CountWorkflowExecutionsResponse_AggregationGroup struct { - state protoimpl.MessageState `protogen:"open.v1"` - GroupValues []*v13.Payload `protobuf:"bytes,1,rep,name=group_values,json=groupValues,proto3" json:"group_values,omitempty"` - Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CountWorkflowExecutionsResponse_AggregationGroup) Reset() { - *x = CountWorkflowExecutionsResponse_AggregationGroup{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[192] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CountWorkflowExecutionsResponse_AggregationGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountWorkflowExecutionsResponse_AggregationGroup) ProtoMessage() {} - -func (x *CountWorkflowExecutionsResponse_AggregationGroup) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[192] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountWorkflowExecutionsResponse_AggregationGroup.ProtoReflect.Descriptor instead. -func (*CountWorkflowExecutionsResponse_AggregationGroup) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{63, 0} -} - -func (x *CountWorkflowExecutionsResponse_AggregationGroup) GetGroupValues() []*v13.Payload { - if x != nil { - return x.GroupValues - } - return nil -} - -func (x *CountWorkflowExecutionsResponse_AggregationGroup) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - -type DescribeTaskQueueResponse_EffectiveRateLimit struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The effective rate limit for the task queue. - RequestsPerSecond float32 `protobuf:"fixed32,1,opt,name=requests_per_second,json=requestsPerSecond,proto3" json:"requests_per_second,omitempty"` - // Source of the RateLimit Configuration,which can be one of the following values: - // - SOURCE_API: The rate limit that is set via the TaskQueueConfig api. - // - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond. - // - SOURCE_SYSTEM: The rate limit is the default value set by the system - RateLimitSource v11.RateLimitSource `protobuf:"varint,2,opt,name=rate_limit_source,json=rateLimitSource,proto3,enum=temporal.api.enums.v1.RateLimitSource" json:"rate_limit_source,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeTaskQueueResponse_EffectiveRateLimit) Reset() { - *x = DescribeTaskQueueResponse_EffectiveRateLimit{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[195] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeTaskQueueResponse_EffectiveRateLimit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeTaskQueueResponse_EffectiveRateLimit) ProtoMessage() {} - -func (x *DescribeTaskQueueResponse_EffectiveRateLimit) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[195] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeTaskQueueResponse_EffectiveRateLimit.ProtoReflect.Descriptor instead. -func (*DescribeTaskQueueResponse_EffectiveRateLimit) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{77, 1} -} - -func (x *DescribeTaskQueueResponse_EffectiveRateLimit) GetRequestsPerSecond() float32 { - if x != nil { - return x.RequestsPerSecond - } - return 0 -} - -func (x *DescribeTaskQueueResponse_EffectiveRateLimit) GetRateLimitSource() v11.RateLimitSource { - if x != nil { - return x.RateLimitSource - } - return v11.RateLimitSource(0) -} - -// System capability details. -type GetSystemInfoResponse_Capabilities struct { - state protoimpl.MessageState `protogen:"open.v1"` - // True if signal and query headers are supported. - SignalAndQueryHeader bool `protobuf:"varint,1,opt,name=signal_and_query_header,json=signalAndQueryHeader,proto3" json:"signal_and_query_header,omitempty"` - // True if internal errors are differentiated from other types of errors for purposes of - // retrying non-internal errors. - // - // When unset/false, clients retry all failures. When true, clients should only retry - // non-internal errors. - InternalErrorDifferentiation bool `protobuf:"varint,2,opt,name=internal_error_differentiation,json=internalErrorDifferentiation,proto3" json:"internal_error_differentiation,omitempty"` - // True if RespondActivityTaskFailed API supports including heartbeat details - ActivityFailureIncludeHeartbeat bool `protobuf:"varint,3,opt,name=activity_failure_include_heartbeat,json=activityFailureIncludeHeartbeat,proto3" json:"activity_failure_include_heartbeat,omitempty"` - // Supports scheduled workflow features. - SupportsSchedules bool `protobuf:"varint,4,opt,name=supports_schedules,json=supportsSchedules,proto3" json:"supports_schedules,omitempty"` - // True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes - EncodedFailureAttributes bool `protobuf:"varint,5,opt,name=encoded_failure_attributes,json=encodedFailureAttributes,proto3" json:"encoded_failure_attributes,omitempty"` - // True if server supports dispatching Workflow and Activity tasks based on a worker's build_id - // (see: - // https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md) - BuildIdBasedVersioning bool `protobuf:"varint,6,opt,name=build_id_based_versioning,json=buildIdBasedVersioning,proto3" json:"build_id_based_versioning,omitempty"` - // True if server supports upserting workflow memo - UpsertMemo bool `protobuf:"varint,7,opt,name=upsert_memo,json=upsertMemo,proto3" json:"upsert_memo,omitempty"` - // True if server supports eager workflow task dispatching for the StartWorkflowExecution API - EagerWorkflowStart bool `protobuf:"varint,8,opt,name=eager_workflow_start,json=eagerWorkflowStart,proto3" json:"eager_workflow_start,omitempty"` - // True if the server knows about the sdk metadata field on WFT completions and will record - // it in history - SdkMetadata bool `protobuf:"varint,9,opt,name=sdk_metadata,json=sdkMetadata,proto3" json:"sdk_metadata,omitempty"` - // True if the server supports count group by execution status - // (-- api-linter: core::0140::prepositions=disabled --) - CountGroupByExecutionStatus bool `protobuf:"varint,10,opt,name=count_group_by_execution_status,json=countGroupByExecutionStatus,proto3" json:"count_group_by_execution_status,omitempty"` - // True if the server supports Nexus operations. - // This flag is dependent both on server version and for Nexus to be enabled via server configuration. - Nexus bool `protobuf:"varint,11,opt,name=nexus,proto3" json:"nexus,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSystemInfoResponse_Capabilities) Reset() { - *x = GetSystemInfoResponse_Capabilities{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[198] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSystemInfoResponse_Capabilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSystemInfoResponse_Capabilities) ProtoMessage() {} - -func (x *GetSystemInfoResponse_Capabilities) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[198] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSystemInfoResponse_Capabilities.ProtoReflect.Descriptor instead. -func (*GetSystemInfoResponse_Capabilities) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{81, 0} -} - -func (x *GetSystemInfoResponse_Capabilities) GetSignalAndQueryHeader() bool { - if x != nil { - return x.SignalAndQueryHeader - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetInternalErrorDifferentiation() bool { - if x != nil { - return x.InternalErrorDifferentiation - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetActivityFailureIncludeHeartbeat() bool { - if x != nil { - return x.ActivityFailureIncludeHeartbeat - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetSupportsSchedules() bool { - if x != nil { - return x.SupportsSchedules - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetEncodedFailureAttributes() bool { - if x != nil { - return x.EncodedFailureAttributes - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetBuildIdBasedVersioning() bool { - if x != nil { - return x.BuildIdBasedVersioning - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetUpsertMemo() bool { - if x != nil { - return x.UpsertMemo - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetEagerWorkflowStart() bool { - if x != nil { - return x.EagerWorkflowStart - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetSdkMetadata() bool { - if x != nil { - return x.SdkMetadata - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetCountGroupByExecutionStatus() bool { - if x != nil { - return x.CountGroupByExecutionStatus - } - return false -} - -func (x *GetSystemInfoResponse_Capabilities) GetNexus() bool { - if x != nil { - return x.Nexus - } - return false -} - -type UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A new id to be added to an existing compatible set. - NewBuildId string `protobuf:"bytes,1,opt,name=new_build_id,json=newBuildId,proto3" json:"new_build_id,omitempty"` - // A build id which must already exist in the version sets known by the task queue. The new - // id will be stored in the set containing this id, marking it as compatible with - // the versions within. - ExistingCompatibleBuildId string `protobuf:"bytes,2,opt,name=existing_compatible_build_id,json=existingCompatibleBuildId,proto3" json:"existing_compatible_build_id,omitempty"` - // When set, establishes the compatible set being targeted as the overall default for the - // queue. If a different set was the current default, the targeted set will replace it as - // the new default. - MakeSetDefault bool `protobuf:"varint,3,opt,name=make_set_default,json=makeSetDefault,proto3" json:"make_set_default,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) Reset() { - *x = UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[199] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) ProtoMessage() {} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[199] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion.ProtoReflect.Descriptor instead. -func (*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{98, 0} -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) GetNewBuildId() string { - if x != nil { - return x.NewBuildId - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) GetExistingCompatibleBuildId() string { - if x != nil { - return x.ExistingCompatibleBuildId - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion) GetMakeSetDefault() bool { - if x != nil { - return x.MakeSetDefault - } - return false -} - -type UpdateWorkerBuildIdCompatibilityRequest_MergeSets struct { - state protoimpl.MessageState `protogen:"open.v1"` - // A build ID in the set whose default will become the merged set default - PrimarySetBuildId string `protobuf:"bytes,1,opt,name=primary_set_build_id,json=primarySetBuildId,proto3" json:"primary_set_build_id,omitempty"` - // A build ID in the set which will be merged into the primary set - SecondarySetBuildId string `protobuf:"bytes,2,opt,name=secondary_set_build_id,json=secondarySetBuildId,proto3" json:"secondary_set_build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_MergeSets) Reset() { - *x = UpdateWorkerBuildIdCompatibilityRequest_MergeSets{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[200] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_MergeSets) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerBuildIdCompatibilityRequest_MergeSets) ProtoMessage() {} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_MergeSets) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[200] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerBuildIdCompatibilityRequest_MergeSets.ProtoReflect.Descriptor instead. -func (*UpdateWorkerBuildIdCompatibilityRequest_MergeSets) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{98, 1} -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_MergeSets) GetPrimarySetBuildId() string { - if x != nil { - return x.PrimarySetBuildId - } - return "" -} - -func (x *UpdateWorkerBuildIdCompatibilityRequest_MergeSets) GetSecondarySetBuildId() string { - if x != nil { - return x.SecondarySetBuildId - } - return "" -} - -// Inserts the rule to the list of assignment rules for this Task Queue. -// The rules are evaluated in order, starting from index 0. The first -// applicable rule will be applied and the rest will be ignored. -type UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Use this option to insert the rule in a particular index. By - // default, the new rule is inserted at the beginning of the list - // (index 0). If the given index is too larger the rule will be - // inserted at the end of the list. - RuleIndex int32 `protobuf:"varint,1,opt,name=rule_index,json=ruleIndex,proto3" json:"rule_index,omitempty"` - Rule *v14.BuildIdAssignmentRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[201] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[201] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 0} -} - -func (x *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) GetRuleIndex() int32 { - if x != nil { - return x.RuleIndex - } - return 0 -} - -func (x *UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule) GetRule() *v14.BuildIdAssignmentRule { - if x != nil { - return x.Rule - } - return nil -} - -// Replaces the assignment rule at a given index. -type UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - RuleIndex int32 `protobuf:"varint,1,opt,name=rule_index,json=ruleIndex,proto3" json:"rule_index,omitempty"` - Rule *v14.BuildIdAssignmentRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - // By default presence of one unconditional rule is enforced, otherwise - // the replace operation will be rejected. Set `force` to true to - // bypass this validation. An unconditional assignment rule: - // - Has no hint filter - // - Has no ramp - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[202] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[202] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 1} -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) GetRuleIndex() int32 { - if x != nil { - return x.RuleIndex - } - return 0 -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) GetRule() *v14.BuildIdAssignmentRule { - if x != nil { - return x.Rule - } - return nil -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -type UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - RuleIndex int32 `protobuf:"varint,1,opt,name=rule_index,json=ruleIndex,proto3" json:"rule_index,omitempty"` - // By default presence of one unconditional rule is enforced, otherwise - // the delete operation will be rejected. Set `force` to true to - // bypass this validation. An unconditional assignment rule: - // - Has no hint filter - // - Has no ramp - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[203] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[203] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 2} -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) GetRuleIndex() int32 { - if x != nil { - return x.RuleIndex - } - return 0 -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -// Adds the rule to the list of redirect rules for this Task Queue. There -// can be at most one redirect rule for each distinct Source Build ID. -type UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *v14.CompatibleBuildIdRedirectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[204] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[204] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 3} -} - -func (x *UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule) GetRule() *v14.CompatibleBuildIdRedirectRule { - if x != nil { - return x.Rule - } - return nil -} - -// Replaces the routing rule with the given source Build ID. -type UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *v14.CompatibleBuildIdRedirectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[205] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[205] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 4} -} - -func (x *UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule) GetRule() *v14.CompatibleBuildIdRedirectRule { - if x != nil { - return x.Rule - } - return nil -} - -type UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - SourceBuildId string `protobuf:"bytes,1,opt,name=source_build_id,json=sourceBuildId,proto3" json:"source_build_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) Reset() { - *x = UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[206] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[206] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 5} -} - -func (x *UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule) GetSourceBuildId() string { - if x != nil { - return x.SourceBuildId - } - return "" -} - -// This command is intended to be used to complete the rollout of a Build -// ID and cleanup unnecessary rules possibly created during a gradual -// rollout. Specifically, this command will make the following changes -// atomically: -// 1. Adds an assignment rule (with full ramp) for the target Build ID at -// the end of the list. -// 2. Removes all previously added assignment rules to the given target -// Build ID (if any). -// 3. Removes any fully-ramped assignment rule for other Build IDs. -type UpdateWorkerVersioningRulesRequest_CommitBuildId struct { - state protoimpl.MessageState `protogen:"open.v1"` - TargetBuildId string `protobuf:"bytes,1,opt,name=target_build_id,json=targetBuildId,proto3" json:"target_build_id,omitempty"` - // To prevent committing invalid Build IDs, we reject the request if no - // pollers has been seen recently for this Build ID. Use the `force` - // option to disable this validation. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateWorkerVersioningRulesRequest_CommitBuildId) Reset() { - *x = UpdateWorkerVersioningRulesRequest_CommitBuildId{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[207] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateWorkerVersioningRulesRequest_CommitBuildId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkerVersioningRulesRequest_CommitBuildId) ProtoMessage() {} - -func (x *UpdateWorkerVersioningRulesRequest_CommitBuildId) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[207] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkerVersioningRulesRequest_CommitBuildId.ProtoReflect.Descriptor instead. -func (*UpdateWorkerVersioningRulesRequest_CommitBuildId) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{102, 6} -} - -func (x *UpdateWorkerVersioningRulesRequest_CommitBuildId) GetTargetBuildId() string { - if x != nil { - return x.TargetBuildId - } - return "" -} - -func (x *UpdateWorkerVersioningRulesRequest_CommitBuildId) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -type ExecuteMultiOperationRequest_Operation struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Operation: - // - // *ExecuteMultiOperationRequest_Operation_StartWorkflow - // *ExecuteMultiOperationRequest_Operation_UpdateWorkflow - Operation isExecuteMultiOperationRequest_Operation_Operation `protobuf_oneof:"operation"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecuteMultiOperationRequest_Operation) Reset() { - *x = ExecuteMultiOperationRequest_Operation{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[208] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecuteMultiOperationRequest_Operation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecuteMultiOperationRequest_Operation) ProtoMessage() {} - -func (x *ExecuteMultiOperationRequest_Operation) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[208] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecuteMultiOperationRequest_Operation.ProtoReflect.Descriptor instead. -func (*ExecuteMultiOperationRequest_Operation) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{126, 0} -} - -func (x *ExecuteMultiOperationRequest_Operation) GetOperation() isExecuteMultiOperationRequest_Operation_Operation { - if x != nil { - return x.Operation - } - return nil -} - -func (x *ExecuteMultiOperationRequest_Operation) GetStartWorkflow() *StartWorkflowExecutionRequest { - if x != nil { - if x, ok := x.Operation.(*ExecuteMultiOperationRequest_Operation_StartWorkflow); ok { - return x.StartWorkflow - } - } - return nil -} - -func (x *ExecuteMultiOperationRequest_Operation) GetUpdateWorkflow() *UpdateWorkflowExecutionRequest { - if x != nil { - if x, ok := x.Operation.(*ExecuteMultiOperationRequest_Operation_UpdateWorkflow); ok { - return x.UpdateWorkflow - } - } - return nil -} - -type isExecuteMultiOperationRequest_Operation_Operation interface { - isExecuteMultiOperationRequest_Operation_Operation() -} - -type ExecuteMultiOperationRequest_Operation_StartWorkflow struct { - // Additional restrictions: - // - setting `cron_schedule` is invalid - // - setting `request_eager_execution` is invalid - // - setting `workflow_start_delay` is invalid - StartWorkflow *StartWorkflowExecutionRequest `protobuf:"bytes,1,opt,name=start_workflow,json=startWorkflow,proto3,oneof"` -} - -type ExecuteMultiOperationRequest_Operation_UpdateWorkflow struct { - // Additional restrictions: - // - setting `first_execution_run_id` is invalid - // - setting `workflow_execution.run_id` is invalid - UpdateWorkflow *UpdateWorkflowExecutionRequest `protobuf:"bytes,2,opt,name=update_workflow,json=updateWorkflow,proto3,oneof"` -} - -func (*ExecuteMultiOperationRequest_Operation_StartWorkflow) isExecuteMultiOperationRequest_Operation_Operation() { -} - -func (*ExecuteMultiOperationRequest_Operation_UpdateWorkflow) isExecuteMultiOperationRequest_Operation_Operation() { -} - -type ExecuteMultiOperationResponse_Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Response: - // - // *ExecuteMultiOperationResponse_Response_StartWorkflow - // *ExecuteMultiOperationResponse_Response_UpdateWorkflow - Response isExecuteMultiOperationResponse_Response_Response `protobuf_oneof:"response"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecuteMultiOperationResponse_Response) Reset() { - *x = ExecuteMultiOperationResponse_Response{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[209] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecuteMultiOperationResponse_Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecuteMultiOperationResponse_Response) ProtoMessage() {} - -func (x *ExecuteMultiOperationResponse_Response) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[209] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecuteMultiOperationResponse_Response.ProtoReflect.Descriptor instead. -func (*ExecuteMultiOperationResponse_Response) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{127, 0} -} - -func (x *ExecuteMultiOperationResponse_Response) GetResponse() isExecuteMultiOperationResponse_Response_Response { - if x != nil { - return x.Response - } - return nil -} - -func (x *ExecuteMultiOperationResponse_Response) GetStartWorkflow() *StartWorkflowExecutionResponse { - if x != nil { - if x, ok := x.Response.(*ExecuteMultiOperationResponse_Response_StartWorkflow); ok { - return x.StartWorkflow - } - } - return nil -} - -func (x *ExecuteMultiOperationResponse_Response) GetUpdateWorkflow() *UpdateWorkflowExecutionResponse { - if x != nil { - if x, ok := x.Response.(*ExecuteMultiOperationResponse_Response_UpdateWorkflow); ok { - return x.UpdateWorkflow - } - } - return nil -} - -type isExecuteMultiOperationResponse_Response_Response interface { - isExecuteMultiOperationResponse_Response_Response() -} - -type ExecuteMultiOperationResponse_Response_StartWorkflow struct { - StartWorkflow *StartWorkflowExecutionResponse `protobuf:"bytes,1,opt,name=start_workflow,json=startWorkflow,proto3,oneof"` -} - -type ExecuteMultiOperationResponse_Response_UpdateWorkflow struct { - UpdateWorkflow *UpdateWorkflowExecutionResponse `protobuf:"bytes,2,opt,name=update_workflow,json=updateWorkflow,proto3,oneof"` -} - -func (*ExecuteMultiOperationResponse_Response_StartWorkflow) isExecuteMultiOperationResponse_Response_Response() { -} - -func (*ExecuteMultiOperationResponse_Response_UpdateWorkflow) isExecuteMultiOperationResponse_Response_Response() { -} - -// (-- api-linter: core::0123::resource-annotation=disabled --) -type DescribeWorkerDeploymentVersionResponse_VersionTaskQueue struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type v11.TaskQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"type,omitempty"` - // Only set if `report_task_queue_stats` is set on the request. - Stats *v14.TaskQueueStats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"` - // Task queue stats breakdown by priority key. Only contains actively used priority keys. - // Only set if `report_task_queue_stats` is set to true in the request. - // (-- api-linter: core::0140::prepositions=disabled - // - // aip.dev/not-precedent: "by" is used to clarify the key. --) - StatsByPriorityKey map[int32]*v14.TaskQueueStats `protobuf:"bytes,4,rep,name=stats_by_priority_key,json=statsByPriorityKey,proto3" json:"stats_by_priority_key,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) Reset() { - *x = DescribeWorkerDeploymentVersionResponse_VersionTaskQueue{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[210] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) ProtoMessage() {} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[210] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DescribeWorkerDeploymentVersionResponse_VersionTaskQueue.ProtoReflect.Descriptor instead. -func (*DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{141, 0} -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) GetType() v11.TaskQueueType { - if x != nil { - return x.Type - } - return v11.TaskQueueType(0) -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) GetStats() *v14.TaskQueueStats { - if x != nil { - return x.Stats - } - return nil -} - -func (x *DescribeWorkerDeploymentVersionResponse_VersionTaskQueue) GetStatsByPriorityKey() map[int32]*v14.TaskQueueStats { - if x != nil { - return x.StatsByPriorityKey - } - return nil -} - -// (-- api-linter: core::0123::resource-annotation=disabled --) -// A subset of WorkerDeploymentInfo -type ListWorkerDeploymentsResponse_WorkerDeploymentSummary struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - RoutingConfig *v18.RoutingConfig `protobuf:"bytes,3,opt,name=routing_config,json=routingConfig,proto3" json:"routing_config,omitempty"` - // Summary of the version that was added most recently in the Worker Deployment. - LatestVersionSummary *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary `protobuf:"bytes,4,opt,name=latest_version_summary,json=latestVersionSummary,proto3" json:"latest_version_summary,omitempty"` - // Summary of the current version of the Worker Deployment. - CurrentVersionSummary *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary `protobuf:"bytes,5,opt,name=current_version_summary,json=currentVersionSummary,proto3" json:"current_version_summary,omitempty"` - // Summary of the ramping version of the Worker Deployment. - RampingVersionSummary *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary `protobuf:"bytes,6,opt,name=ramping_version_summary,json=rampingVersionSummary,proto3" json:"ramping_version_summary,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) Reset() { - *x = ListWorkerDeploymentsResponse_WorkerDeploymentSummary{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[212] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkerDeploymentsResponse_WorkerDeploymentSummary) ProtoMessage() {} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[212] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkerDeploymentsResponse_WorkerDeploymentSummary.ProtoReflect.Descriptor instead. -func (*ListWorkerDeploymentsResponse_WorkerDeploymentSummary) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{153, 0} -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetRoutingConfig() *v18.RoutingConfig { - if x != nil { - return x.RoutingConfig - } - return nil -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetLatestVersionSummary() *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary { - if x != nil { - return x.LatestVersionSummary - } - return nil -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetCurrentVersionSummary() *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary { - if x != nil { - return x.CurrentVersionSummary - } - return nil -} - -func (x *ListWorkerDeploymentsResponse_WorkerDeploymentSummary) GetRampingVersionSummary() *v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary { - if x != nil { - return x.RampingVersionSummary - } - return nil -} - -type UpdateTaskQueueConfigRequest_RateLimitUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Rate Limit to be updated - RateLimit *v14.RateLimit `protobuf:"bytes,1,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"` - // Reason for why the rate limit was set. - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateTaskQueueConfigRequest_RateLimitUpdate) Reset() { - *x = UpdateTaskQueueConfigRequest_RateLimitUpdate{} - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[214] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateTaskQueueConfigRequest_RateLimitUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateTaskQueueConfigRequest_RateLimitUpdate) ProtoMessage() {} - -func (x *UpdateTaskQueueConfigRequest_RateLimitUpdate) ProtoReflect() protoreflect.Message { - mi := &file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[214] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateTaskQueueConfigRequest_RateLimitUpdate.ProtoReflect.Descriptor instead. -func (*UpdateTaskQueueConfigRequest_RateLimitUpdate) Descriptor() ([]byte, []int) { - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP(), []int{180, 0} -} - -func (x *UpdateTaskQueueConfigRequest_RateLimitUpdate) GetRateLimit() *v14.RateLimit { - if x != nil { - return x.RateLimit - } - return nil -} - -func (x *UpdateTaskQueueConfigRequest_RateLimitUpdate) GetReason() string { - if x != nil { - return x.Reason - } - return "" -} - -var File_temporal_api_workflowservice_v1_request_response_proto protoreflect.FileDescriptor - -const file_temporal_api_workflowservice_v1_request_response_proto_rawDesc = "" + - "\n" + - "6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a0temporal/api/sdk/v1/task_complete_metadata.proto\x1a'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x06\n" + - "\x18RegisterNamespaceRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12 \n" + - "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1f\n" + - "\vowner_email\x18\x03 \x01(\tR\n" + - "ownerEmail\x12h\n" + - "#workflow_execution_retention_period\x18\x04 \x01(\v2\x19.google.protobuf.DurationR workflowExecutionRetentionPeriod\x12Q\n" + - "\bclusters\x18\x05 \x03(\v25.temporal.api.replication.v1.ClusterReplicationConfigR\bclusters\x12.\n" + - "\x13active_cluster_name\x18\x06 \x01(\tR\x11activeClusterName\x12W\n" + - "\x04data\x18\a \x03(\v2C.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntryR\x04data\x12%\n" + - "\x0esecurity_token\x18\b \x01(\tR\rsecurityToken\x12.\n" + - "\x13is_global_namespace\x18\t \x01(\bR\x11isGlobalNamespace\x12Z\n" + - "\x16history_archival_state\x18\n" + - " \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x14historyArchivalState\x120\n" + - "\x14history_archival_uri\x18\v \x01(\tR\x12historyArchivalUri\x12`\n" + - "\x19visibility_archival_state\x18\f \x01(\x0e2$.temporal.api.enums.v1.ArchivalStateR\x17visibilityArchivalState\x126\n" + - "\x17visibility_archival_uri\x18\r \x01(\tR\x15visibilityArchivalUri\x1a7\n" + - "\tDataEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x1b\n" + - "\x19RegisterNamespaceResponse\"\xb3\x01\n" + - "\x15ListNamespacesRequest\x12\x1b\n" + - "\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\x12U\n" + - "\x10namespace_filter\x18\x03 \x01(\v2*.temporal.api.namespace.v1.NamespaceFilterR\x0fnamespaceFilter\"\x9c\x01\n" + - "\x16ListNamespacesResponse\x12Z\n" + - "\n" + - "namespaces\x18\x01 \x03(\v2:.temporal.api.workflowservice.v1.DescribeNamespaceResponseR\n" + - "namespaces\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"H\n" + - "\x18DescribeNamespaceRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x0e\n" + - "\x02id\x18\x02 \x01(\tR\x02id\"\xcb\x03\n" + - "\x19DescribeNamespaceResponse\x12O\n" + - "\x0enamespace_info\x18\x01 \x01(\v2(.temporal.api.namespace.v1.NamespaceInfoR\rnamespaceInfo\x12B\n" + - "\x06config\x18\x02 \x01(\v2*.temporal.api.namespace.v1.NamespaceConfigR\x06config\x12f\n" + - "\x12replication_config\x18\x03 \x01(\v27.temporal.api.replication.v1.NamespaceReplicationConfigR\x11replicationConfig\x12)\n" + - "\x10failover_version\x18\x04 \x01(\x03R\x0ffailoverVersion\x12.\n" + - "\x13is_global_namespace\x18\x05 \x01(\bR\x11isGlobalNamespace\x12V\n" + - "\x10failover_history\x18\x06 \x03(\v2+.temporal.api.replication.v1.FailoverStatusR\x0ffailoverHistory\"\xb3\x03\n" + - "\x16UpdateNamespaceRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12O\n" + - "\vupdate_info\x18\x02 \x01(\v2..temporal.api.namespace.v1.UpdateNamespaceInfoR\n" + - "updateInfo\x12B\n" + - "\x06config\x18\x03 \x01(\v2*.temporal.api.namespace.v1.NamespaceConfigR\x06config\x12f\n" + - "\x12replication_config\x18\x04 \x01(\v27.temporal.api.replication.v1.NamespaceReplicationConfigR\x11replicationConfig\x12%\n" + - "\x0esecurity_token\x18\x05 \x01(\tR\rsecurityToken\x12*\n" + - "\x11delete_bad_binary\x18\x06 \x01(\tR\x0fdeleteBadBinary\x12+\n" + - "\x11promote_namespace\x18\a \x01(\bR\x10promoteNamespace\"\xf1\x02\n" + - "\x17UpdateNamespaceResponse\x12O\n" + - "\x0enamespace_info\x18\x01 \x01(\v2(.temporal.api.namespace.v1.NamespaceInfoR\rnamespaceInfo\x12B\n" + - "\x06config\x18\x02 \x01(\v2*.temporal.api.namespace.v1.NamespaceConfigR\x06config\x12f\n" + - "\x12replication_config\x18\x03 \x01(\v27.temporal.api.replication.v1.NamespaceReplicationConfigR\x11replicationConfig\x12)\n" + - "\x10failover_version\x18\x04 \x01(\x03R\x0ffailoverVersion\x12.\n" + - "\x13is_global_namespace\x18\x05 \x01(\bR\x11isGlobalNamespace\"`\n" + - "\x19DeprecateNamespaceRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12%\n" + - "\x0esecurity_token\x18\x02 \x01(\tR\rsecurityToken\"\x1c\n" + - "\x1aDeprecateNamespaceResponse\"\xce\x0f\n" + - "\x1dStartWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12\x1a\n" + - "\bidentity\x18\t \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\n" + - " \x01(\tR\trequestId\x12e\n" + - "\x18workflow_id_reuse_policy\x18\v \x01(\x0e2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\x15workflowIdReusePolicy\x12n\n" + - "\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e2/.temporal.api.enums.v1.WorkflowIdConflictPolicyR\x18workflowIdConflictPolicy\x12F\n" + - "\fretry_policy\x18\f \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12#\n" + - "\rcron_schedule\x18\r \x01(\tR\fcronSchedule\x120\n" + - "\x04memo\x18\x0e \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x0f \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x126\n" + - "\x06header\x18\x10 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x126\n" + - "\x17request_eager_execution\x18\x11 \x01(\bR\x15requestEagerExecution\x12M\n" + - "\x11continued_failure\x18\x12 \x01(\v2 .temporal.api.failure.v1.FailureR\x10continuedFailure\x12V\n" + - "\x16last_completion_result\x18\x13 \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastCompletionResult\x12K\n" + - "\x14workflow_start_delay\x18\x14 \x01(\v2\x19.google.protobuf.DurationR\x12workflowStartDelay\x12S\n" + - "\x14completion_callbacks\x18\x15 \x03(\v2 .temporal.api.common.v1.CallbackR\x13completionCallbacks\x12F\n" + - "\ruser_metadata\x18\x17 \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x122\n" + - "\x05links\x18\x18 \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x12]\n" + - "\x13versioning_override\x18\x19 \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12[\n" + - "\x13on_conflict_options\x18\x1a \x01(\v2+.temporal.api.workflow.v1.OnConflictOptionsR\x11onConflictOptions\x12<\n" + - "\bpriority\x18\x1b \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\x12z\n" + - "\x1feager_worker_deployment_options\x18\x1c \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x1ceagerWorkerDeploymentOptions\"\xbb\x02\n" + - "\x1eStartWorkflowExecutionResponse\x12\x15\n" + - "\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x18\n" + - "\astarted\x18\x03 \x01(\bR\astarted\x12F\n" + - "\x06status\x18\x05 \x01(\x0e2..temporal.api.enums.v1.WorkflowExecutionStatusR\x06status\x12n\n" + - "\x13eager_workflow_task\x18\x02 \x01(\v2>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponseR\x11eagerWorkflowTask\x120\n" + - "\x04link\x18\x04 \x01(\v2\x1c.temporal.api.common.v1.LinkR\x04link\"\x94\x03\n" + - "\"GetWorkflowExecutionHistoryRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12*\n" + - "\x11maximum_page_size\x18\x03 \x01(\x05R\x0fmaximumPageSize\x12&\n" + - "\x0fnext_page_token\x18\x04 \x01(\fR\rnextPageToken\x12$\n" + - "\x0ewait_new_event\x18\x05 \x01(\bR\fwaitNewEvent\x12h\n" + - "\x19history_event_filter_type\x18\x06 \x01(\x0e2-.temporal.api.enums.v1.HistoryEventFilterTypeR\x16historyEventFilterType\x12#\n" + - "\rskip_archival\x18\a \x01(\bR\fskipArchival\"\xe8\x01\n" + - "#GetWorkflowExecutionHistoryResponse\x12:\n" + - "\ahistory\x18\x01 \x01(\v2 .temporal.api.history.v1.HistoryR\ahistory\x12A\n" + - "\vraw_history\x18\x02 \x03(\v2 .temporal.api.common.v1.DataBlobR\n" + - "rawHistory\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x1a\n" + - "\barchived\x18\x04 \x01(\bR\barchived\"\xe6\x01\n" + - ")GetWorkflowExecutionHistoryReverseRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12*\n" + - "\x11maximum_page_size\x18\x03 \x01(\x05R\x0fmaximumPageSize\x12&\n" + - "\x0fnext_page_token\x18\x04 \x01(\fR\rnextPageToken\"\x90\x01\n" + - "*GetWorkflowExecutionHistoryReverseResponse\x12:\n" + - "\ahistory\x18\x01 \x01(\v2 .temporal.api.history.v1.HistoryR\ahistory\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\"\xa5\x03\n" + - "\x1cPollWorkflowTaskQueueRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12C\n" + - "\n" + - "task_queue\x18\x02 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12+\n" + - "\x0fbinary_checksum\x18\x04 \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12u\n" + - "\x1bworker_version_capabilities\x18\x05 \x01(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01R\x19workerVersionCapabilities\x12b\n" + - "\x12deployment_options\x18\x06 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"\x8d\t\n" + - "\x1dPollWorkflowTaskQueueResponse\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x129\n" + - "\x19previous_started_event_id\x18\x04 \x01(\x03R\x16previousStartedEventId\x12(\n" + - "\x10started_event_id\x18\x05 \x01(\x03R\x0estartedEventId\x12\x18\n" + - "\aattempt\x18\x06 \x01(\x05R\aattempt\x12,\n" + - "\x12backlog_count_hint\x18\a \x01(\x03R\x10backlogCountHint\x12:\n" + - "\ahistory\x18\b \x01(\v2 .temporal.api.history.v1.HistoryR\ahistory\x12&\n" + - "\x0fnext_page_token\x18\t \x01(\fR\rnextPageToken\x12:\n" + - "\x05query\x18\n" + - " \x01(\v2$.temporal.api.query.v1.WorkflowQueryR\x05query\x12g\n" + - "\x1dworkflow_execution_task_queue\x18\v \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\x1aworkflowExecutionTaskQueue\x12A\n" + - "\x0escheduled_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12=\n" + - "\fstarted_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\vstartedTime\x12e\n" + - "\aqueries\x18\x0e \x03(\v2K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntryR\aqueries\x12=\n" + - "\bmessages\x18\x0f \x03(\v2!.temporal.api.protocol.v1.MessageR\bmessages\x12h\n" + - "\x17poller_scaling_decision\x18\x10 \x01(\v20.temporal.api.taskqueue.v1.PollerScalingDecisionR\x15pollerScalingDecision\x1a`\n" + - "\fQueriesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12:\n" + - "\x05value\x18\x02 \x01(\v2$.temporal.api.query.v1.WorkflowQueryR\x05value:\x028\x01\"\xf6\v\n" + - "#RespondWorkflowTaskCompletedRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12<\n" + - "\bcommands\x18\x02 \x03(\v2 .temporal.api.command.v1.CommandR\bcommands\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12a\n" + - "\x11sticky_attributes\x18\x04 \x01(\v24.temporal.api.taskqueue.v1.StickyExecutionAttributesR\x10stickyAttributes\x127\n" + - "\x18return_new_workflow_task\x18\x05 \x01(\bR\x15returnNewWorkflowTask\x12B\n" + - "\x1eforce_create_new_workflow_task\x18\x06 \x01(\bR\x1aforceCreateNewWorkflowTask\x12+\n" + - "\x0fbinary_checksum\x18\a \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12{\n" + - "\rquery_results\x18\b \x03(\v2V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntryR\fqueryResults\x12\x1c\n" + - "\tnamespace\x18\t \x01(\tR\tnamespace\x12`\n" + - "\x14worker_version_stamp\x18\n" + - " \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\x12workerVersionStamp\x12=\n" + - "\bmessages\x18\v \x03(\v2!.temporal.api.protocol.v1.MessageR\bmessages\x12U\n" + - "\fsdk_metadata\x18\f \x01(\v22.temporal.api.sdk.v1.WorkflowTaskCompletedMetadataR\vsdkMetadata\x12U\n" + - "\x11metering_metadata\x18\r \x01(\v2(.temporal.api.common.v1.MeteringMetadataR\x10meteringMetadata\x12u\n" + - "\fcapabilities\x18\x0e \x01(\v2Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.CapabilitiesR\fcapabilities\x12J\n" + - "\n" + - "deployment\x18\x0f \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12Z\n" + - "\x13versioning_behavior\x18\x10 \x01(\x0e2).temporal.api.enums.v1.VersioningBehaviorR\x12versioningBehavior\x12b\n" + - "\x12deployment_options\x18\x11 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\x1ak\n" + - "\x11QueryResultsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12@\n" + - "\x05value\x18\x02 \x01(\v2*.temporal.api.query.v1.WorkflowQueryResultR\x05value:\x028\x01\x1ao\n" + - "\fCapabilities\x12_\n" + - "-discard_speculative_workflow_task_with_events\x18\x01 \x01(\bR(discardSpeculativeWorkflowTaskWithEvents\"\xa7\x02\n" + - "$RespondWorkflowTaskCompletedResponse\x12c\n" + - "\rworkflow_task\x18\x01 \x01(\v2>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponseR\fworkflowTask\x12e\n" + - "\x0eactivity_tasks\x18\x02 \x03(\v2>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponseR\ractivityTasks\x123\n" + - "\x16reset_history_event_id\x18\x03 \x01(\x03R\x13resetHistoryEventId\"\xf0\x04\n" + - " RespondWorkflowTaskFailedRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12D\n" + - "\x05cause\x18\x02 \x01(\x0e2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\x05cause\x12:\n" + - "\afailure\x18\x03 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\x12+\n" + - "\x0fbinary_checksum\x18\x05 \x01(\tB\x02\x18\x01R\x0ebinaryChecksum\x12\x1c\n" + - "\tnamespace\x18\x06 \x01(\tR\tnamespace\x12=\n" + - "\bmessages\x18\a \x03(\v2!.temporal.api.protocol.v1.MessageR\bmessages\x12U\n" + - "\x0eworker_version\x18\b \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12J\n" + - "\n" + - "deployment\x18\t \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12b\n" + - "\x12deployment_options\x18\n" + - " \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"#\n" + - "!RespondWorkflowTaskFailedResponse\"\xd6\x03\n" + - "\x1cPollActivityTaskQueueRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12C\n" + - "\n" + - "task_queue\x18\x02 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\\\n" + - "\x13task_queue_metadata\x18\x04 \x01(\v2,.temporal.api.taskqueue.v1.TaskQueueMetadataR\x11taskQueueMetadata\x12u\n" + - "\x1bworker_version_capabilities\x18\x05 \x01(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01R\x19workerVersionCapabilities\x12b\n" + - "\x12deployment_options\x18\x06 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"\x98\n" + - "\n" + - "\x1dPollActivityTaskQueueResponse\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12-\n" + - "\x12workflow_namespace\x18\x02 \x01(\tR\x11workflowNamespace\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12X\n" + - "\x12workflow_execution\x18\x04 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\ractivity_type\x18\x05 \x01(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\x12\x1f\n" + - "\vactivity_id\x18\x06 \x01(\tR\n" + - "activityId\x126\n" + - "\x06header\x18\a \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x126\n" + - "\x05input\x18\b \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12M\n" + - "\x11heartbeat_details\x18\t \x01(\v2 .temporal.api.common.v1.PayloadsR\x10heartbeatDetails\x12A\n" + - "\x0escheduled_time\x18\n" + - " \x01(\v2\x1a.google.protobuf.TimestampR\rscheduledTime\x12_\n" + - "\x1ecurrent_attempt_scheduled_time\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\x1bcurrentAttemptScheduledTime\x12=\n" + - "\fstarted_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\vstartedTime\x12\x18\n" + - "\aattempt\x18\r \x01(\x05R\aattempt\x12T\n" + - "\x19schedule_to_close_timeout\x18\x0e \x01(\v2\x19.google.protobuf.DurationR\x16scheduleToCloseTimeout\x12N\n" + - "\x16start_to_close_timeout\x18\x0f \x01(\v2\x19.google.protobuf.DurationR\x13startToCloseTimeout\x12F\n" + - "\x11heartbeat_timeout\x18\x10 \x01(\v2\x19.google.protobuf.DurationR\x10heartbeatTimeout\x12F\n" + - "\fretry_policy\x18\x11 \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12h\n" + - "\x17poller_scaling_decision\x18\x12 \x01(\v20.temporal.api.taskqueue.v1.PollerScalingDecisionR\x15pollerScalingDecision\x12<\n" + - "\bpriority\x18\x13 \x01(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\xb9\x01\n" + - "\"RecordActivityTaskHeartbeatRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12:\n" + - "\adetails\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x1c\n" + - "\tnamespace\x18\x04 \x01(\tR\tnamespace\"\xa0\x01\n" + - "#RecordActivityTaskHeartbeatResponse\x12)\n" + - "\x10cancel_requested\x18\x01 \x01(\bR\x0fcancelRequested\x12'\n" + - "\x0factivity_paused\x18\x02 \x01(\bR\x0eactivityPaused\x12%\n" + - "\x0eactivity_reset\x18\x03 \x01(\bR\ractivityReset\"\xf7\x01\n" + - "&RecordActivityTaskHeartbeatByIdRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x1f\n" + - "\vactivity_id\x18\x04 \x01(\tR\n" + - "activityId\x12:\n" + - "\adetails\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\"\xa4\x01\n" + - "'RecordActivityTaskHeartbeatByIdResponse\x12)\n" + - "\x10cancel_requested\x18\x01 \x01(\bR\x0fcancelRequested\x12'\n" + - "\x0factivity_paused\x18\x02 \x01(\bR\x0eactivityPaused\x12%\n" + - "\x0eactivity_reset\x18\x03 \x01(\bR\ractivityReset\"\xbf\x03\n" + - "#RespondActivityTaskCompletedRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x128\n" + - "\x06result\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x1c\n" + - "\tnamespace\x18\x04 \x01(\tR\tnamespace\x12U\n" + - "\x0eworker_version\x18\x05 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12J\n" + - "\n" + - "deployment\x18\x06 \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12b\n" + - "\x12deployment_options\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"&\n" + - "$RespondActivityTaskCompletedResponse\"\xf6\x01\n" + - "'RespondActivityTaskCompletedByIdRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x1f\n" + - "\vactivity_id\x18\x04 \x01(\tR\n" + - "activityId\x128\n" + - "\x06result\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x06result\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\"*\n" + - "(RespondActivityTaskCompletedByIdResponse\"\x96\x04\n" + - " RespondActivityTaskFailedRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12:\n" + - "\afailure\x18\x02 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x1c\n" + - "\tnamespace\x18\x04 \x01(\tR\tnamespace\x12V\n" + - "\x16last_heartbeat_details\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastHeartbeatDetails\x12U\n" + - "\x0eworker_version\x18\x06 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12J\n" + - "\n" + - "deployment\x18\a \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12b\n" + - "\x12deployment_options\x18\b \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"a\n" + - "!RespondActivityTaskFailedResponse\x12<\n" + - "\bfailures\x18\x01 \x03(\v2 .temporal.api.failure.v1.FailureR\bfailures\"\xcd\x02\n" + - "$RespondActivityTaskFailedByIdRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x1f\n" + - "\vactivity_id\x18\x04 \x01(\tR\n" + - "activityId\x12:\n" + - "\afailure\x18\x05 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\x12V\n" + - "\x16last_heartbeat_details\x18\a \x01(\v2 .temporal.api.common.v1.PayloadsR\x14lastHeartbeatDetails\"e\n" + - "%RespondActivityTaskFailedByIdResponse\x12<\n" + - "\bfailures\x18\x01 \x03(\v2 .temporal.api.failure.v1.FailureR\bfailures\"\xc0\x03\n" + - "\"RespondActivityTaskCanceledRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12:\n" + - "\adetails\x18\x02 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x1c\n" + - "\tnamespace\x18\x04 \x01(\tR\tnamespace\x12U\n" + - "\x0eworker_version\x18\x05 \x01(\v2*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01R\rworkerVersion\x12J\n" + - "\n" + - "deployment\x18\x06 \x01(\v2&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01R\n" + - "deployment\x12b\n" + - "\x12deployment_options\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\"%\n" + - "#RespondActivityTaskCanceledResponse\"\xdb\x02\n" + - "&RespondActivityTaskCanceledByIdRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12\x15\n" + - "\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x1f\n" + - "\vactivity_id\x18\x04 \x01(\tR\n" + - "activityId\x12:\n" + - "\adetails\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\x12b\n" + - "\x12deployment_options\x18\a \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\")\n" + - "'RespondActivityTaskCanceledByIdResponse\"\xdb\x02\n" + - "%RequestCancelWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x04 \x01(\tR\trequestId\x123\n" + - "\x16first_execution_run_id\x18\x05 \x01(\tR\x13firstExecutionRunId\x12\x16\n" + - "\x06reason\x18\x06 \x01(\tR\x06reason\x122\n" + - "\x05links\x18\a \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\"(\n" + - "&RequestCancelWorkflowExecutionResponse\"\xbc\x03\n" + - "\x1eSignalWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x1f\n" + - "\vsignal_name\x18\x03 \x01(\tR\n" + - "signalName\x126\n" + - "\x05input\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x06 \x01(\tR\trequestId\x12\x1c\n" + - "\acontrol\x18\a \x01(\tB\x02\x18\x01R\acontrol\x126\n" + - "\x06header\x18\b \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x122\n" + - "\x05links\x18\n" + - " \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05linksJ\x04\b\t\x10\n" + - "\"!\n" + - "\x1fSignalWorkflowExecutionResponse\"\xd5\f\n" + - "'SignalWithStartWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vworkflow_id\x18\x02 \x01(\tR\n" + - "workflowId\x12I\n" + - "\rworkflow_type\x18\x03 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12C\n" + - "\n" + - "task_queue\x18\x04 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x126\n" + - "\x05input\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\x05input\x12W\n" + - "\x1aworkflow_execution_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x18workflowExecutionTimeout\x12K\n" + - "\x14workflow_run_timeout\x18\a \x01(\v2\x19.google.protobuf.DurationR\x12workflowRunTimeout\x12M\n" + - "\x15workflow_task_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\x13workflowTaskTimeout\x12\x1a\n" + - "\bidentity\x18\t \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\n" + - " \x01(\tR\trequestId\x12e\n" + - "\x18workflow_id_reuse_policy\x18\v \x01(\x0e2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\x15workflowIdReusePolicy\x12n\n" + - "\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e2/.temporal.api.enums.v1.WorkflowIdConflictPolicyR\x18workflowIdConflictPolicy\x12\x1f\n" + - "\vsignal_name\x18\f \x01(\tR\n" + - "signalName\x12C\n" + - "\fsignal_input\x18\r \x01(\v2 .temporal.api.common.v1.PayloadsR\vsignalInput\x12\x1c\n" + - "\acontrol\x18\x0e \x01(\tB\x02\x18\x01R\acontrol\x12F\n" + - "\fretry_policy\x18\x0f \x01(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\x12#\n" + - "\rcron_schedule\x18\x10 \x01(\tR\fcronSchedule\x120\n" + - "\x04memo\x18\x11 \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x12 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x126\n" + - "\x06header\x18\x13 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12K\n" + - "\x14workflow_start_delay\x18\x14 \x01(\v2\x19.google.protobuf.DurationR\x12workflowStartDelay\x12F\n" + - "\ruser_metadata\x18\x17 \x01(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\x122\n" + - "\x05links\x18\x18 \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\x12]\n" + - "\x13versioning_override\x18\x19 \x01(\v2,.temporal.api.workflow.v1.VersioningOverrideR\x12versioningOverride\x12<\n" + - "\bpriority\x18\x1a \x01(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\x04\b\x15\x10\x16\"[\n" + - "(SignalWithStartWorkflowExecutionResponse\x12\x15\n" + - "\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x18\n" + - "\astarted\x18\x02 \x01(\bR\astarted\"\xd8\x04\n" + - "\x1dResetWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reason\x12@\n" + - "\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03R\x19workflowTaskFinishEventId\x12\x1d\n" + - "\n" + - "request_id\x18\x05 \x01(\tR\trequestId\x12Y\n" + - "\x12reset_reapply_type\x18\x06 \x01(\x0e2'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01R\x10resetReapplyType\x12m\n" + - "\x1breset_reapply_exclude_types\x18\a \x03(\x0e2..temporal.api.enums.v1.ResetReapplyExcludeTypeR\x18resetReapplyExcludeTypes\x12`\n" + - "\x15post_reset_operations\x18\b \x03(\v2,.temporal.api.workflow.v1.PostResetOperationR\x13postResetOperations\x12\x1a\n" + - "\bidentity\x18\t \x01(\tR\bidentity\"7\n" + - "\x1eResetWorkflowExecutionResponse\x12\x15\n" + - "\x06run_id\x18\x01 \x01(\tR\x05runId\"\xf4\x02\n" + - "!TerminateWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reason\x12:\n" + - "\adetails\x18\x04 \x01(\v2 .temporal.api.common.v1.PayloadsR\adetails\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x123\n" + - "\x16first_execution_run_id\x18\x06 \x01(\tR\x13firstExecutionRunId\x122\n" + - "\x05links\x18\a \x03(\v2\x1c.temporal.api.common.v1.LinkR\x05links\"$\n" + - "\"TerminateWorkflowExecutionResponse\"\x98\x01\n" + - "\x1eDeleteWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\"!\n" + - "\x1fDeleteWorkflowExecutionResponse\"\xa2\x03\n" + - "!ListOpenWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12*\n" + - "\x11maximum_page_size\x18\x02 \x01(\x05R\x0fmaximumPageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12S\n" + - "\x11start_time_filter\x18\x04 \x01(\v2'.temporal.api.filter.v1.StartTimeFilterR\x0fstartTimeFilter\x12\\\n" + - "\x10execution_filter\x18\x05 \x01(\v2/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00R\x0fexecutionFilter\x12M\n" + - "\vtype_filter\x18\x06 \x01(\v2*.temporal.api.filter.v1.WorkflowTypeFilterH\x00R\n" + - "typeFilterB\t\n" + - "\afilters\"\x9d\x01\n" + - "\"ListOpenWorkflowExecutionsResponse\x12O\n" + - "\n" + - "executions\x18\x01 \x03(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\n" + - "executions\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\xf1\x03\n" + - "#ListClosedWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12*\n" + - "\x11maximum_page_size\x18\x02 \x01(\x05R\x0fmaximumPageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12S\n" + - "\x11start_time_filter\x18\x04 \x01(\v2'.temporal.api.filter.v1.StartTimeFilterR\x0fstartTimeFilter\x12\\\n" + - "\x10execution_filter\x18\x05 \x01(\v2/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00R\x0fexecutionFilter\x12M\n" + - "\vtype_filter\x18\x06 \x01(\v2*.temporal.api.filter.v1.WorkflowTypeFilterH\x00R\n" + - "typeFilter\x12K\n" + - "\rstatus_filter\x18\a \x01(\v2$.temporal.api.filter.v1.StatusFilterH\x00R\fstatusFilterB\t\n" + - "\afilters\"\x9f\x01\n" + - "$ListClosedWorkflowExecutionsResponse\x12O\n" + - "\n" + - "executions\x18\x01 \x03(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\n" + - "executions\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\x98\x01\n" + - "\x1dListWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x14\n" + - "\x05query\x18\x04 \x01(\tR\x05query\"\x99\x01\n" + - "\x1eListWorkflowExecutionsResponse\x12O\n" + - "\n" + - "executions\x18\x01 \x03(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\n" + - "executions\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\xa0\x01\n" + - "%ListArchivedWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x14\n" + - "\x05query\x18\x04 \x01(\tR\x05query\"\xa1\x01\n" + - "&ListArchivedWorkflowExecutionsResponse\x12O\n" + - "\n" + - "executions\x18\x01 \x03(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\n" + - "executions\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\x98\x01\n" + - "\x1dScanWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x14\n" + - "\x05query\x18\x04 \x01(\tR\x05query\"\x99\x01\n" + - "\x1eScanWorkflowExecutionsResponse\x12O\n" + - "\n" + - "executions\x18\x01 \x03(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\n" + - "executions\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"T\n" + - "\x1eCountWorkflowExecutionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x14\n" + - "\x05query\x18\x02 \x01(\tR\x05query\"\x90\x02\n" + - "\x1fCountWorkflowExecutionsResponse\x12\x14\n" + - "\x05count\x18\x01 \x01(\x03R\x05count\x12i\n" + - "\x06groups\x18\x02 \x03(\v2Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroupR\x06groups\x1al\n" + - "\x10AggregationGroup\x12B\n" + - "\fgroup_values\x18\x01 \x03(\v2\x1f.temporal.api.common.v1.PayloadR\vgroupValues\x12\x14\n" + - "\x05count\x18\x02 \x01(\x03R\x05count\"\x1c\n" + - "\x1aGetSearchAttributesRequest\"\xdb\x01\n" + - "\x1bGetSearchAttributesResponse\x12Z\n" + - "\x04keys\x18\x01 \x03(\v2F.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntryR\x04keys\x1a`\n" + - "\tKeysEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12=\n" + - "\x05value\x18\x02 \x01(\x0e2'.temporal.api.enums.v1.IndexedValueTypeR\x05value:\x028\x01\"\xa0\x03\n" + - " RespondQueryTaskCompletedRequest\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x12M\n" + - "\x0ecompleted_type\x18\x02 \x01(\x0e2&.temporal.api.enums.v1.QueryResultTypeR\rcompletedType\x12C\n" + - "\fquery_result\x18\x03 \x01(\v2 .temporal.api.common.v1.PayloadsR\vqueryResult\x12#\n" + - "\rerror_message\x18\x04 \x01(\tR\ferrorMessage\x12\x1c\n" + - "\tnamespace\x18\x06 \x01(\tR\tnamespace\x12:\n" + - "\afailure\x18\a \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12D\n" + - "\x05cause\x18\b \x01(\x0e2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\x05causeJ\x04\b\x05\x10\x06\"#\n" + - "!RespondQueryTaskCompletedResponse\"\x84\x01\n" + - "\x1bResetStickyTaskQueueRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\"\x1e\n" + - "\x1cResetStickyTaskQueueResponse\"\xe9\x01\n" + - "\x15ShutdownWorkerRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12*\n" + - "\x11sticky_task_queue\x18\x02 \x01(\tR\x0fstickyTaskQueue\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\x04 \x01(\tR\x06reason\x12R\n" + - "\x10worker_heartbeat\x18\x05 \x01(\v2'.temporal.api.worker.v1.WorkerHeartbeatR\x0fworkerHeartbeat\"\x18\n" + - "\x16ShutdownWorkerResponse\"\x9c\x02\n" + - "\x14QueryWorkflowRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12:\n" + - "\x05query\x18\x03 \x01(\v2$.temporal.api.query.v1.WorkflowQueryR\x05query\x12a\n" + - "\x16query_reject_condition\x18\x04 \x01(\x0e2+.temporal.api.enums.v1.QueryRejectConditionR\x14queryRejectCondition\"\xa9\x01\n" + - "\x15QueryWorkflowResponse\x12C\n" + - "\fquery_result\x18\x01 \x01(\v2 .temporal.api.common.v1.PayloadsR\vqueryResult\x12K\n" + - "\x0equery_rejected\x18\x02 \x01(\v2$.temporal.api.query.v1.QueryRejectedR\rqueryRejected\"\x89\x01\n" + - " DescribeWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\"\xb3\x06\n" + - "!DescribeWorkflowExecutionResponse\x12\\\n" + - "\x10execution_config\x18\x01 \x01(\v21.temporal.api.workflow.v1.WorkflowExecutionConfigR\x0fexecutionConfig\x12g\n" + - "\x17workflow_execution_info\x18\x02 \x01(\v2/.temporal.api.workflow.v1.WorkflowExecutionInfoR\x15workflowExecutionInfo\x12\\\n" + - "\x12pending_activities\x18\x03 \x03(\v2-.temporal.api.workflow.v1.PendingActivityInfoR\x11pendingActivities\x12^\n" + - "\x10pending_children\x18\x04 \x03(\v23.temporal.api.workflow.v1.PendingChildExecutionInfoR\x0fpendingChildren\x12e\n" + - "\x15pending_workflow_task\x18\x05 \x01(\v21.temporal.api.workflow.v1.PendingWorkflowTaskInfoR\x13pendingWorkflowTask\x12D\n" + - "\tcallbacks\x18\x06 \x03(\v2&.temporal.api.workflow.v1.CallbackInfoR\tcallbacks\x12m\n" + - "\x18pending_nexus_operations\x18\a \x03(\v23.temporal.api.workflow.v1.PendingNexusOperationInfoR\x16pendingNexusOperations\x12m\n" + - "\x16workflow_extended_info\x18\b \x01(\v27.temporal.api.workflow.v1.WorkflowExecutionExtendedInfoR\x14workflowExtendedInfo\"\xb2\x05\n" + - "\x18DescribeTaskQueueRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12C\n" + - "\n" + - "task_queue\x18\x02 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12L\n" + - "\x0ftask_queue_type\x18\x03 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\rtaskQueueType\x12!\n" + - "\freport_stats\x18\b \x01(\bR\vreportStats\x12#\n" + - "\rreport_config\x18\v \x01(\bR\freportConfig\x12=\n" + - "\x19include_task_queue_status\x18\x04 \x01(\bB\x02\x18\x01R\x16includeTaskQueueStatus\x12K\n" + - "\bapi_mode\x18\x05 \x01(\x0e2,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01R\aapiMode\x12T\n" + - "\bversions\x18\x06 \x01(\v24.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01R\bversions\x12R\n" + - "\x10task_queue_types\x18\a \x03(\x0e2$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01R\x0etaskQueueTypes\x12)\n" + - "\x0ereport_pollers\x18\t \x01(\bB\x02\x18\x01R\rreportPollers\x12<\n" + - "\x18report_task_reachability\x18\n" + - " \x01(\bB\x02\x18\x01R\x16reportTaskReachability\"\x99\t\n" + - "\x19DescribeTaskQueueResponse\x12?\n" + - "\apollers\x18\x01 \x03(\v2%.temporal.api.taskqueue.v1.PollerInfoR\apollers\x12?\n" + - "\x05stats\x18\x05 \x01(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\x05stats\x12\x85\x01\n" + - "\x15stats_by_priority_key\x18\b \x03(\v2R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntryR\x12statsByPriorityKey\x12[\n" + - "\x0fversioning_info\x18\x04 \x01(\v22.temporal.api.taskqueue.v1.TaskQueueVersioningInfoR\x0eversioningInfo\x12B\n" + - "\x06config\x18\x06 \x01(\v2*.temporal.api.taskqueue.v1.TaskQueueConfigR\x06config\x12\x7f\n" + - "\x14effective_rate_limit\x18\a \x01(\v2M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimitR\x12effectiveRateLimit\x12Z\n" + - "\x11task_queue_status\x18\x02 \x01(\v2*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01R\x0ftaskQueueStatus\x12u\n" + - "\rversions_info\x18\x03 \x03(\v2L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01R\fversionsInfo\x1ap\n" + - "\x17StatsByPriorityKeyEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\x05R\x03key\x12?\n" + - "\x05value\x18\x02 \x01(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\x05value:\x028\x01\x1a\x98\x01\n" + - "\x12EffectiveRateLimit\x12.\n" + - "\x13requests_per_second\x18\x01 \x01(\x02R\x11requestsPerSecond\x12R\n" + - "\x11rate_limit_source\x18\x02 \x01(\x0e2&.temporal.api.enums.v1.RateLimitSourceR\x0frateLimitSource\x1ap\n" + - "\x11VersionsInfoEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12E\n" + - "\x05value\x18\x02 \x01(\v2/.temporal.api.taskqueue.v1.TaskQueueVersionInfoR\x05value:\x028\x01\"\x17\n" + - "\x15GetClusterInfoRequest\"\x8b\x05\n" + - "\x16GetClusterInfoResponse\x12z\n" + - "\x11supported_clients\x18\x01 \x03(\v2M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntryR\x10supportedClients\x12%\n" + - "\x0eserver_version\x18\x02 \x01(\tR\rserverVersion\x12\x1d\n" + - "\n" + - "cluster_id\x18\x03 \x01(\tR\tclusterId\x12G\n" + - "\fversion_info\x18\x04 \x01(\v2$.temporal.api.version.v1.VersionInfoR\vversionInfo\x12!\n" + - "\fcluster_name\x18\x05 \x01(\tR\vclusterName\x12.\n" + - "\x13history_shard_count\x18\x06 \x01(\x05R\x11historyShardCount\x12+\n" + - "\x11persistence_store\x18\a \x01(\tR\x10persistenceStore\x12)\n" + - "\x10visibility_store\x18\b \x01(\tR\x0fvisibilityStore\x128\n" + - "\x18initial_failover_version\x18\t \x01(\x03R\x16initialFailoverVersion\x12<\n" + - "\x1afailover_version_increment\x18\n" + - " \x01(\x03R\x18failoverVersionIncrement\x1aC\n" + - "\x15SupportedClientsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x16\n" + - "\x14GetSystemInfoRequest\"\xfc\x05\n" + - "\x15GetSystemInfoResponse\x12%\n" + - "\x0eserver_version\x18\x01 \x01(\tR\rserverVersion\x12g\n" + - "\fcapabilities\x18\x02 \x01(\v2C.temporal.api.workflowservice.v1.GetSystemInfoResponse.CapabilitiesR\fcapabilities\x1a\xd2\x04\n" + - "\fCapabilities\x125\n" + - "\x17signal_and_query_header\x18\x01 \x01(\bR\x14signalAndQueryHeader\x12D\n" + - "\x1einternal_error_differentiation\x18\x02 \x01(\bR\x1cinternalErrorDifferentiation\x12K\n" + - "\"activity_failure_include_heartbeat\x18\x03 \x01(\bR\x1factivityFailureIncludeHeartbeat\x12-\n" + - "\x12supports_schedules\x18\x04 \x01(\bR\x11supportsSchedules\x12<\n" + - "\x1aencoded_failure_attributes\x18\x05 \x01(\bR\x18encodedFailureAttributes\x129\n" + - "\x19build_id_based_versioning\x18\x06 \x01(\bR\x16buildIdBasedVersioning\x12\x1f\n" + - "\vupsert_memo\x18\a \x01(\bR\n" + - "upsertMemo\x120\n" + - "\x14eager_workflow_start\x18\b \x01(\bR\x12eagerWorkflowStart\x12!\n" + - "\fsdk_metadata\x18\t \x01(\bR\vsdkMetadata\x12D\n" + - "\x1fcount_group_by_execution_status\x18\n" + - " \x01(\bR\x1bcountGroupByExecutionStatus\x12\x14\n" + - "\x05nexus\x18\v \x01(\bR\x05nexus\"\x83\x01\n" + - "\x1eListTaskQueuePartitionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12C\n" + - "\n" + - "task_queue\x18\x02 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\"\x99\x02\n" + - "\x1fListTaskQueuePartitionsResponse\x12z\n" + - "\x1eactivity_task_queue_partitions\x18\x01 \x03(\v25.temporal.api.taskqueue.v1.TaskQueuePartitionMetadataR\x1bactivityTaskQueuePartitions\x12z\n" + - "\x1eworkflow_task_queue_partitions\x18\x02 \x03(\v25.temporal.api.taskqueue.v1.TaskQueuePartitionMetadataR\x1bworkflowTaskQueuePartitions\"\xa8\x03\n" + - "\x15CreateScheduleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\x12>\n" + - "\bschedule\x18\x03 \x01(\v2\".temporal.api.schedule.v1.ScheduleR\bschedule\x12L\n" + - "\rinitial_patch\x18\x04 \x01(\v2'.temporal.api.schedule.v1.SchedulePatchR\finitialPatch\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x06 \x01(\tR\trequestId\x120\n" + - "\x04memo\x18\a \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\b \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\"?\n" + - "\x16CreateScheduleResponse\x12%\n" + - "\x0econflict_token\x18\x01 \x01(\fR\rconflictToken\"X\n" + - "\x17DescribeScheduleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\"\xc6\x02\n" + - "\x18DescribeScheduleResponse\x12>\n" + - "\bschedule\x18\x01 \x01(\v2\".temporal.api.schedule.v1.ScheduleR\bschedule\x12:\n" + - "\x04info\x18\x02 \x01(\v2&.temporal.api.schedule.v1.ScheduleInfoR\x04info\x120\n" + - "\x04memo\x18\x03 \x01(\v2\x1c.temporal.api.common.v1.MemoR\x04memo\x12U\n" + - "\x11search_attributes\x18\x04 \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\x12%\n" + - "\x0econflict_token\x18\x05 \x01(\fR\rconflictToken\"\xcf\x02\n" + - "\x15UpdateScheduleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\x12>\n" + - "\bschedule\x18\x03 \x01(\v2\".temporal.api.schedule.v1.ScheduleR\bschedule\x12%\n" + - "\x0econflict_token\x18\x04 \x01(\fR\rconflictToken\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x06 \x01(\tR\trequestId\x12U\n" + - "\x11search_attributes\x18\a \x01(\v2(.temporal.api.common.v1.SearchAttributesR\x10searchAttributes\"\x18\n" + - "\x16UpdateScheduleResponse\"\xcf\x01\n" + - "\x14PatchScheduleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\x12=\n" + - "\x05patch\x18\x03 \x01(\v2'.temporal.api.schedule.v1.SchedulePatchR\x05patch\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "request_id\x18\x05 \x01(\tR\trequestId\"\x17\n" + - "\x15PatchScheduleResponse\"\xd3\x01\n" + - " ListScheduleMatchingTimesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\x129\n" + - "\n" + - "start_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" + - "\bend_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\"^\n" + - "!ListScheduleMatchingTimesResponse\x129\n" + - "\n" + - "start_time\x18\x01 \x03(\v2\x1a.google.protobuf.TimestampR\tstartTime\"r\n" + - "\x15DeleteScheduleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vschedule_id\x18\x02 \x01(\tR\n" + - "scheduleId\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\"\x18\n" + - "\x16DeleteScheduleResponse\"\x9e\x01\n" + - "\x14ListSchedulesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12*\n" + - "\x11maximum_page_size\x18\x02 \x01(\x05R\x0fmaximumPageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x14\n" + - "\x05query\x18\x04 \x01(\tR\x05query\"\x8a\x01\n" + - "\x15ListSchedulesResponse\x12I\n" + - "\tschedules\x18\x01 \x03(\v2+.temporal.api.schedule.v1.ScheduleListEntryR\tschedules\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\xec\x06\n" + - "'UpdateWorkerBuildIdCompatibilityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + - "\n" + - "task_queue\x18\x02 \x01(\tR\ttaskQueue\x12K\n" + - "#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00R\x1caddNewBuildIdInNewDefaultSet\x12\xa0\x01\n" + - "\x1badd_new_compatible_build_id\x18\x04 \x01(\v2`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00R\x17addNewCompatibleBuildId\x126\n" + - "\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00R\x13promoteSetByBuildId\x12>\n" + - "\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00R\x17promoteBuildIdWithinSet\x12s\n" + - "\n" + - "merge_sets\x18\a \x01(\v2R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00R\tmergeSets\x1a\xa6\x01\n" + - "\x17AddNewCompatibleVersion\x12 \n" + - "\fnew_build_id\x18\x01 \x01(\tR\n" + - "newBuildId\x12?\n" + - "\x1cexisting_compatible_build_id\x18\x02 \x01(\tR\x19existingCompatibleBuildId\x12(\n" + - "\x10make_set_default\x18\x03 \x01(\bR\x0emakeSetDefault\x1aq\n" + - "\tMergeSets\x12/\n" + - "\x14primary_set_build_id\x18\x01 \x01(\tR\x11primarySetBuildId\x123\n" + - "\x16secondary_set_build_id\x18\x02 \x01(\tR\x13secondarySetBuildIdB\v\n" + - "\toperation\"@\n" + - "(UpdateWorkerBuildIdCompatibilityResponseJ\x04\b\x01\x10\x02R\x0eversion_set_id\"~\n" + - "$GetWorkerBuildIdCompatibilityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + - "\n" + - "task_queue\x18\x02 \x01(\tR\ttaskQueue\x12\x19\n" + - "\bmax_sets\x18\x03 \x01(\x05R\amaxSets\"\x86\x01\n" + - "%GetWorkerBuildIdCompatibilityResponse\x12]\n" + - "\x12major_version_sets\x18\x01 \x03(\v2/.temporal.api.taskqueue.v1.CompatibleVersionSetR\x10majorVersionSets\"\xf1\x0f\n" + - "\"UpdateWorkerVersioningRulesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + - "\n" + - "task_queue\x18\x02 \x01(\tR\ttaskQueue\x12%\n" + - "\x0econflict_token\x18\x03 \x01(\fR\rconflictToken\x12\x97\x01\n" + - "\x16insert_assignment_rule\x18\x04 \x01(\v2_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00R\x14insertAssignmentRule\x12\x9a\x01\n" + - "\x17replace_assignment_rule\x18\x05 \x01(\v2`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00R\x15replaceAssignmentRule\x12\x97\x01\n" + - "\x16delete_assignment_rule\x18\x06 \x01(\v2_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00R\x14deleteAssignmentRule\x12\xa7\x01\n" + - "\x1cadd_compatible_redirect_rule\x18\a \x01(\v2d.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00R\x19addCompatibleRedirectRule\x12\xb3\x01\n" + - " replace_compatible_redirect_rule\x18\b \x01(\v2h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00R\x1dreplaceCompatibleRedirectRule\x12\xb0\x01\n" + - "\x1fdelete_compatible_redirect_rule\x18\t \x01(\v2g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00R\x1cdeleteCompatibleRedirectRule\x12{\n" + - "\x0fcommit_build_id\x18\n" + - " \x01(\v2Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00R\rcommitBuildId\x1a\x82\x01\n" + - "\x1bInsertBuildIdAssignmentRule\x12\x1d\n" + - "\n" + - "rule_index\x18\x01 \x01(\x05R\truleIndex\x12D\n" + - "\x04rule\x18\x02 \x01(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\x04rule\x1a\x99\x01\n" + - "\x1cReplaceBuildIdAssignmentRule\x12\x1d\n" + - "\n" + - "rule_index\x18\x01 \x01(\x05R\truleIndex\x12D\n" + - "\x04rule\x18\x02 \x01(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\x04rule\x12\x14\n" + - "\x05force\x18\x03 \x01(\bR\x05force\x1aR\n" + - "\x1bDeleteBuildIdAssignmentRule\x12\x1d\n" + - "\n" + - "rule_index\x18\x01 \x01(\x05R\truleIndex\x12\x14\n" + - "\x05force\x18\x02 \x01(\bR\x05force\x1ap\n" + - " AddCompatibleBuildIdRedirectRule\x12L\n" + - "\x04rule\x18\x01 \x01(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\x04rule\x1at\n" + - "$ReplaceCompatibleBuildIdRedirectRule\x12L\n" + - "\x04rule\x18\x01 \x01(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\x04rule\x1aM\n" + - "#DeleteCompatibleBuildIdRedirectRule\x12&\n" + - "\x0fsource_build_id\x18\x01 \x01(\tR\rsourceBuildId\x1aM\n" + - "\rCommitBuildId\x12&\n" + - "\x0ftarget_build_id\x18\x01 \x01(\tR\rtargetBuildId\x12\x14\n" + - "\x05force\x18\x02 \x01(\bR\x05forceB\v\n" + - "\toperation\"\xb5\x02\n" + - "#UpdateWorkerVersioningRulesResponse\x12f\n" + - "\x10assignment_rules\x18\x01 \x03(\v2;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRuleR\x0fassignmentRules\x12\x7f\n" + - "\x19compatible_redirect_rules\x18\x02 \x03(\v2C.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRuleR\x17compatibleRedirectRules\x12%\n" + - "\x0econflict_token\x18\x03 \x01(\fR\rconflictToken\"^\n" + - "\x1fGetWorkerVersioningRulesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + - "\n" + - "task_queue\x18\x02 \x01(\tR\ttaskQueue\"\xb2\x02\n" + - " GetWorkerVersioningRulesResponse\x12f\n" + - "\x10assignment_rules\x18\x01 \x03(\v2;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRuleR\x0fassignmentRules\x12\x7f\n" + - "\x19compatible_redirect_rules\x18\x02 \x03(\v2C.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRuleR\x17compatibleRedirectRules\x12%\n" + - "\x0econflict_token\x18\x03 \x01(\fR\rconflictToken\"\xcb\x01\n" + - " GetWorkerTaskReachabilityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tbuild_ids\x18\x02 \x03(\tR\bbuildIds\x12\x1f\n" + - "\vtask_queues\x18\x03 \x03(\tR\n" + - "taskQueues\x12K\n" + - "\freachability\x18\x04 \x01(\x0e2'.temporal.api.enums.v1.TaskReachabilityR\freachability\"\x87\x01\n" + - "!GetWorkerTaskReachabilityResponse\x12b\n" + - "\x15build_id_reachability\x18\x01 \x03(\v2..temporal.api.taskqueue.v1.BuildIdReachabilityR\x13buildIdReachability\"\xcd\x02\n" + - "\x1eUpdateWorkflowExecutionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x123\n" + - "\x16first_execution_run_id\x18\x03 \x01(\tR\x13firstExecutionRunId\x12C\n" + - "\vwait_policy\x18\x04 \x01(\v2\".temporal.api.update.v1.WaitPolicyR\n" + - "waitPolicy\x129\n" + - "\arequest\x18\x05 \x01(\v2\x1f.temporal.api.update.v1.RequestR\arequest\"\xf2\x01\n" + - "\x1fUpdateWorkflowExecutionResponse\x12@\n" + - "\n" + - "update_ref\x18\x01 \x01(\v2!.temporal.api.update.v1.UpdateRefR\tupdateRef\x129\n" + - "\aoutcome\x18\x02 \x01(\v2\x1f.temporal.api.update.v1.OutcomeR\aoutcome\x12R\n" + - "\x05stage\x18\x03 \x01(\x0e2<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStageR\x05stage\"\x9c\n" + - "\n" + - "\x1aStartBatchOperationRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12)\n" + - "\x10visibility_query\x18\x02 \x01(\tR\x0fvisibilityQuery\x12\x15\n" + - "\x06job_id\x18\x03 \x01(\tR\x05jobId\x12\x16\n" + - "\x06reason\x18\x04 \x01(\tR\x06reason\x12I\n" + - "\n" + - "executions\x18\x05 \x03(\v2).temporal.api.common.v1.WorkflowExecutionR\n" + - "executions\x129\n" + - "\x19max_operations_per_second\x18\x06 \x01(\x02R\x16maxOperationsPerSecond\x12g\n" + - "\x15termination_operation\x18\n" + - " \x01(\v20.temporal.api.batch.v1.BatchOperationTerminationH\x00R\x14terminationOperation\x12X\n" + - "\x10signal_operation\x18\v \x01(\v2+.temporal.api.batch.v1.BatchOperationSignalH\x00R\x0fsignalOperation\x12j\n" + - "\x16cancellation_operation\x18\f \x01(\v21.temporal.api.batch.v1.BatchOperationCancellationH\x00R\x15cancellationOperation\x12^\n" + - "\x12deletion_operation\x18\r \x01(\v2-.temporal.api.batch.v1.BatchOperationDeletionH\x00R\x11deletionOperation\x12U\n" + - "\x0freset_operation\x18\x0e \x01(\v2*.temporal.api.batch.v1.BatchOperationResetH\x00R\x0eresetOperation\x12\x90\x01\n" + - "!update_workflow_options_operation\x18\x0f \x01(\v2C.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00R\x1eupdateWorkflowOptionsOperation\x12z\n" + - "\x1cunpause_activities_operation\x18\x10 \x01(\v26.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00R\x1aunpauseActivitiesOperation\x12t\n" + - "\x1areset_activities_operation\x18\x11 \x01(\v24.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00R\x18resetActivitiesOperation\x12\x87\x01\n" + - "!update_activity_options_operation\x18\x12 \x01(\v2:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00R\x1eupdateActivityOptionsOperationB\v\n" + - "\toperation\"\x1d\n" + - "\x1bStartBatchOperationResponse\"\x84\x01\n" + - "\x19StopBatchOperationRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x15\n" + - "\x06job_id\x18\x02 \x01(\tR\x05jobId\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reason\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\"\x1c\n" + - "\x1aStopBatchOperationResponse\"T\n" + - "\x1dDescribeBatchOperationRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x15\n" + - "\x06job_id\x18\x02 \x01(\tR\x05jobId\"\x9b\x04\n" + - "\x1eDescribeBatchOperationResponse\x12P\n" + - "\x0eoperation_type\x18\x01 \x01(\x0e2).temporal.api.enums.v1.BatchOperationTypeR\roperationType\x12\x15\n" + - "\x06job_id\x18\x02 \x01(\tR\x05jobId\x12@\n" + - "\x05state\x18\x03 \x01(\x0e2*.temporal.api.enums.v1.BatchOperationStateR\x05state\x129\n" + - "\n" + - "start_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x129\n" + - "\n" + - "close_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcloseTime\x122\n" + - "\x15total_operation_count\x18\x06 \x01(\x03R\x13totalOperationCount\x128\n" + - "\x18complete_operation_count\x18\a \x01(\x03R\x16completeOperationCount\x126\n" + - "\x17failure_operation_count\x18\b \x01(\x03R\x15failureOperationCount\x12\x1a\n" + - "\bidentity\x18\t \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\n" + - " \x01(\tR\x06reason\"\x7f\n" + - "\x1aListBatchOperationsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\"\x97\x01\n" + - "\x1bListBatchOperationsResponse\x12P\n" + - "\x0eoperation_info\x18\x01 \x03(\v2).temporal.api.batch.v1.BatchOperationInfoR\roperationInfo\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\xe5\x01\n" + - "\"PollWorkflowExecutionUpdateRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12@\n" + - "\n" + - "update_ref\x18\x02 \x01(\v2!.temporal.api.update.v1.UpdateRefR\tupdateRef\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12C\n" + - "\vwait_policy\x18\x04 \x01(\v2\".temporal.api.update.v1.WaitPolicyR\n" + - "waitPolicy\"\xf6\x01\n" + - "#PollWorkflowExecutionUpdateResponse\x129\n" + - "\aoutcome\x18\x01 \x01(\v2\x1f.temporal.api.update.v1.OutcomeR\aoutcome\x12R\n" + - "\x05stage\x18\x02 \x01(\x0e2<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStageR\x05stage\x12@\n" + - "\n" + - "update_ref\x18\x03 \x01(\v2!.temporal.api.update.v1.UpdateRefR\tupdateRef\"\xc9\x03\n" + - "\x19PollNexusTaskQueueRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12C\n" + - "\n" + - "task_queue\x18\x03 \x01(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\x12u\n" + - "\x1bworker_version_capabilities\x18\x04 \x01(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01R\x19workerVersionCapabilities\x12b\n" + - "\x12deployment_options\x18\x06 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\x11deploymentOptions\x12R\n" + - "\x10worker_heartbeat\x18\a \x03(\v2'.temporal.api.worker.v1.WorkerHeartbeatR\x0fworkerHeartbeat\"\xdf\x01\n" + - "\x1aPollNexusTaskQueueResponse\x12\x1d\n" + - "\n" + - "task_token\x18\x01 \x01(\fR\ttaskToken\x128\n" + - "\arequest\x18\x02 \x01(\v2\x1e.temporal.api.nexus.v1.RequestR\arequest\x12h\n" + - "\x17poller_scaling_decision\x18\x03 \x01(\v20.temporal.api.taskqueue.v1.PollerScalingDecisionR\x15pollerScalingDecision\"\xb8\x01\n" + - " RespondNexusTaskCompletedRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "task_token\x18\x03 \x01(\fR\ttaskToken\x12;\n" + - "\bresponse\x18\x04 \x01(\v2\x1f.temporal.api.nexus.v1.ResponseR\bresponse\"#\n" + - "!RespondNexusTaskCompletedResponse\"\xb3\x01\n" + - "\x1dRespondNexusTaskFailedRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "task_token\x18\x03 \x01(\fR\ttaskToken\x129\n" + - "\x05error\x18\x04 \x01(\v2#.temporal.api.nexus.v1.HandlerErrorR\x05error\" \n" + - "\x1eRespondNexusTaskFailedResponse\"\x95\x03\n" + - "\x1cExecuteMultiOperationRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12g\n" + - "\n" + - "operations\x18\x02 \x03(\v2G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.OperationR\n" + - "operations\x1a\xed\x01\n" + - "\tOperation\x12g\n" + - "\x0estart_workflow\x18\x01 \x01(\v2>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00R\rstartWorkflow\x12j\n" + - "\x0fupdate_workflow\x18\x02 \x01(\v2?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00R\x0eupdateWorkflowB\v\n" + - "\toperation\"\xf6\x02\n" + - "\x1dExecuteMultiOperationResponse\x12e\n" + - "\tresponses\x18\x01 \x03(\v2G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.ResponseR\tresponses\x1a\xed\x01\n" + - "\bResponse\x12h\n" + - "\x0estart_workflow\x18\x01 \x01(\v2?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00R\rstartWorkflow\x12k\n" + - "\x0fupdate_workflow\x18\x02 \x01(\v2@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00R\x0eupdateWorkflowB\n" + - "\n" + - "\bresponse\"\xb2\x03\n" + - "\x1cUpdateActivityOptionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12T\n" + - "\x10activity_options\x18\x04 \x01(\v2).temporal.api.activity.v1.ActivityOptionsR\x0factivityOptions\x12;\n" + - "\vupdate_mask\x18\x05 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMask\x12\x10\n" + - "\x02id\x18\x06 \x01(\tH\x00R\x02id\x12\x14\n" + - "\x04type\x18\a \x01(\tH\x00R\x04type\x12\x1d\n" + - "\tmatch_all\x18\t \x01(\bH\x00R\bmatchAll\x12)\n" + - "\x10restore_original\x18\b \x01(\bR\x0frestoreOriginalB\n" + - "\n" + - "\bactivity\"u\n" + - "\x1dUpdateActivityOptionsResponse\x12T\n" + - "\x10activity_options\x18\x01 \x01(\v2).temporal.api.activity.v1.ActivityOptionsR\x0factivityOptions\"\xe5\x01\n" + - "\x14PauseActivityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x10\n" + - "\x02id\x18\x04 \x01(\tH\x00R\x02id\x12\x14\n" + - "\x04type\x18\x05 \x01(\tH\x00R\x04type\x12\x16\n" + - "\x06reason\x18\x06 \x01(\tR\x06reasonB\n" + - "\n" + - "\bactivity\"\x17\n" + - "\x15PauseActivityResponse\"\xf5\x02\n" + - "\x16UnpauseActivityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x10\n" + - "\x02id\x18\x04 \x01(\tH\x00R\x02id\x12\x14\n" + - "\x04type\x18\x05 \x01(\tH\x00R\x04type\x12!\n" + - "\vunpause_all\x18\x06 \x01(\bH\x00R\n" + - "unpauseAll\x12%\n" + - "\x0ereset_attempts\x18\a \x01(\bR\rresetAttempts\x12'\n" + - "\x0freset_heartbeat\x18\b \x01(\bR\x0eresetHeartbeat\x121\n" + - "\x06jitter\x18\t \x01(\v2\x19.google.protobuf.DurationR\x06jitterB\n" + - "\n" + - "\bactivity\"\x19\n" + - "\x17UnpauseActivityResponse\"\xa3\x03\n" + - "\x14ResetActivityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12\x10\n" + - "\x02id\x18\x04 \x01(\tH\x00R\x02id\x12\x14\n" + - "\x04type\x18\x05 \x01(\tH\x00R\x04type\x12\x1d\n" + - "\tmatch_all\x18\n" + - " \x01(\bH\x00R\bmatchAll\x12'\n" + - "\x0freset_heartbeat\x18\x06 \x01(\bR\x0eresetHeartbeat\x12\x1f\n" + - "\vkeep_paused\x18\a \x01(\bR\n" + - "keepPaused\x121\n" + - "\x06jitter\x18\b \x01(\v2\x19.google.protobuf.DurationR\x06jitter\x128\n" + - "\x18restore_original_options\x18\t \x01(\bR\x16restoreOriginalOptionsB\n" + - "\n" + - "\bactivity\"\x17\n" + - "\x15ResetActivityResponse\"\xea\x02\n" + - "%UpdateWorkflowExecutionOptionsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12X\n" + - "\x12workflow_execution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12p\n" + - "\x1aworkflow_execution_options\x18\x03 \x01(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\x18workflowExecutionOptions\x12;\n" + - "\vupdate_mask\x18\x04 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMask\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\"\x9a\x01\n" + - "&UpdateWorkflowExecutionOptionsResponse\x12p\n" + - "\x1aworkflow_execution_options\x18\x01 \x01(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\x18workflowExecutionOptions\"\x81\x01\n" + - "\x19DescribeDeploymentRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12F\n" + - "\n" + - "deployment\x18\x02 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\"q\n" + - "\x1aDescribeDeploymentResponse\x12S\n" + - "\x0fdeployment_info\x18\x01 \x01(\v2*.temporal.api.deployment.v1.DeploymentInfoR\x0edeploymentInfo\"\xff\x01\n" + - "&DescribeWorkerDeploymentVersionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1c\n" + - "\aversion\x18\x02 \x01(\tB\x02\x18\x01R\aversion\x12b\n" + - "\x12deployment_version\x18\x03 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x125\n" + - "\x17report_task_queue_stats\x18\x04 \x01(\bR\x14reportTaskQueueStats\"\xf0\x05\n" + - "'DescribeWorkerDeploymentVersionResponse\x12|\n" + - "\x1eworker_deployment_version_info\x18\x01 \x01(\v27.temporal.api.deployment.v1.WorkerDeploymentVersionInfoR\x1bworkerDeploymentVersionInfo\x12\x89\x01\n" + - "\x13version_task_queues\x18\x02 \x03(\v2Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueueR\x11versionTaskQueues\x1a\xba\x03\n" + - "\x10VersionTaskQueue\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x128\n" + - "\x04type\x18\x02 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\x04type\x12?\n" + - "\x05stats\x18\x03 \x01(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\x05stats\x12\xa4\x01\n" + - "\x15stats_by_priority_key\x18\x04 \x03(\v2q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntryR\x12statsByPriorityKey\x1ap\n" + - "\x17StatsByPriorityKeyEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\x05R\x03key\x12?\n" + - "\x05value\x18\x02 \x01(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\x05value:\x028\x01\"h\n" + - "\x1fDescribeWorkerDeploymentRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\"\xb1\x01\n" + - " DescribeWorkerDeploymentResponse\x12%\n" + - "\x0econflict_token\x18\x01 \x01(\fR\rconflictToken\x12f\n" + - "\x16worker_deployment_info\x18\x02 \x01(\v20.temporal.api.deployment.v1.WorkerDeploymentInfoR\x14workerDeploymentInfo\"\x9c\x01\n" + - "\x16ListDeploymentsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x1f\n" + - "\vseries_name\x18\x04 \x01(\tR\n" + - "seriesName\"\x93\x01\n" + - "\x17ListDeploymentsResponse\x12&\n" + - "\x0fnext_page_token\x18\x01 \x01(\fR\rnextPageToken\x12P\n" + - "\vdeployments\x18\x02 \x03(\v2..temporal.api.deployment.v1.DeploymentListInfoR\vdeployments\"\xfe\x01\n" + - "\x1bSetCurrentDeploymentRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12F\n" + - "\n" + - "deployment\x18\x02 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\x12]\n" + - "\x0fupdate_metadata\x18\x04 \x01(\v24.temporal.api.deployment.v1.UpdateDeploymentMetadataR\x0eupdateMetadata\"\xe8\x01\n" + - "\x1cSetCurrentDeploymentResponse\x12b\n" + - "\x17current_deployment_info\x18\x01 \x01(\v2*.temporal.api.deployment.v1.DeploymentInfoR\x15currentDeploymentInfo\x12d\n" + - "\x18previous_deployment_info\x18\x02 \x01(\v2*.temporal.api.deployment.v1.DeploymentInfoR\x16previousDeploymentInfo\"\xd4\x02\n" + - "(SetWorkerDeploymentCurrentVersionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\x12\x1c\n" + - "\aversion\x18\x03 \x01(\tB\x02\x18\x01R\aversion\x12\x19\n" + - "\bbuild_id\x18\a \x01(\tR\abuildId\x12%\n" + - "\x0econflict_token\x18\x04 \x01(\fR\rconflictToken\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12;\n" + - "\x1aignore_missing_task_queues\x18\x06 \x01(\bR\x17ignoreMissingTaskQueues\x12(\n" + - "\x10allow_no_pollers\x18\t \x01(\bR\x0eallowNoPollers\"\xf6\x01\n" + - ")SetWorkerDeploymentCurrentVersionResponse\x12%\n" + - "\x0econflict_token\x18\x01 \x01(\fR\rconflictToken\x12-\n" + - "\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01R\x0fpreviousVersion\x12s\n" + - "\x1bprevious_deployment_version\x18\x03 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x19previousDeploymentVersion\"\xf4\x02\n" + - "(SetWorkerDeploymentRampingVersionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\x12\x1c\n" + - "\aversion\x18\x03 \x01(\tB\x02\x18\x01R\aversion\x12\x19\n" + - "\bbuild_id\x18\b \x01(\tR\abuildId\x12\x1e\n" + - "\n" + - "percentage\x18\x04 \x01(\x02R\n" + - "percentage\x12%\n" + - "\x0econflict_token\x18\x05 \x01(\fR\rconflictToken\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\x12;\n" + - "\x1aignore_missing_task_queues\x18\a \x01(\bR\x17ignoreMissingTaskQueues\x12(\n" + - "\x10allow_no_pollers\x18\n" + - " \x01(\bR\x0eallowNoPollers\"\xa7\x02\n" + - ")SetWorkerDeploymentRampingVersionResponse\x12%\n" + - "\x0econflict_token\x18\x01 \x01(\fR\rconflictToken\x12-\n" + - "\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01R\x0fpreviousVersion\x12s\n" + - "\x1bprevious_deployment_version\x18\x04 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x19previousDeploymentVersion\x12/\n" + - "\x13previous_percentage\x18\x03 \x01(\x02R\x12previousPercentage\"\x81\x01\n" + - "\x1cListWorkerDeploymentsRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\"\xaa\x06\n" + - "\x1dListWorkerDeploymentsResponse\x12&\n" + - "\x0fnext_page_token\x18\x01 \x01(\fR\rnextPageToken\x12\x85\x01\n" + - "\x12worker_deployments\x18\x02 \x03(\v2V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummaryR\x11workerDeployments\x1a\xd8\x04\n" + - "\x17WorkerDeploymentSummary\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12;\n" + - "\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + - "createTime\x12P\n" + - "\x0erouting_config\x18\x03 \x01(\v2).temporal.api.deployment.v1.RoutingConfigR\rroutingConfig\x12\x85\x01\n" + - "\x16latest_version_summary\x18\x04 \x01(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\x14latestVersionSummary\x12\x87\x01\n" + - "\x17current_version_summary\x18\x05 \x01(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\x15currentVersionSummary\x12\x87\x01\n" + - "\x17ramping_version_summary\x18\x06 \x01(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\x15rampingVersionSummary\"\x87\x02\n" + - "$DeleteWorkerDeploymentVersionRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1c\n" + - "\aversion\x18\x02 \x01(\tB\x02\x18\x01R\aversion\x12b\n" + - "\x12deployment_version\x18\x05 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12#\n" + - "\rskip_drainage\x18\x03 \x01(\bR\fskipDrainage\x12\x1a\n" + - "\bidentity\x18\x04 \x01(\tR\bidentity\"'\n" + - "%DeleteWorkerDeploymentVersionResponse\"\x82\x01\n" + - "\x1dDeleteWorkerDeploymentRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentity\" \n" + - "\x1eDeleteWorkerDeploymentResponse\"\xfe\x03\n" + - ",UpdateWorkerDeploymentVersionMetadataRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1c\n" + - "\aversion\x18\x02 \x01(\tB\x02\x18\x01R\aversion\x12b\n" + - "\x12deployment_version\x18\x05 \x01(\v23.temporal.api.deployment.v1.WorkerDeploymentVersionR\x11deploymentVersion\x12\x87\x01\n" + - "\x0eupsert_entries\x18\x03 \x03(\v2`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntryR\rupsertEntries\x12%\n" + - "\x0eremove_entries\x18\x04 \x03(\tR\rremoveEntries\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentity\x1aa\n" + - "\x12UpsertEntriesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x125\n" + - "\x05value\x18\x02 \x01(\v2\x1f.temporal.api.common.v1.PayloadR\x05value:\x028\x01\"x\n" + - "-UpdateWorkerDeploymentVersionMetadataResponse\x12G\n" + - "\bmetadata\x18\x01 \x01(\v2+.temporal.api.deployment.v1.VersionMetadataR\bmetadata\"\x88\x02\n" + - "!SetWorkerDeploymentManagerRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12'\n" + - "\x0fdeployment_name\x18\x02 \x01(\tR\x0edeploymentName\x12+\n" + - "\x10manager_identity\x18\x03 \x01(\tH\x00R\x0fmanagerIdentity\x12\x14\n" + - "\x04self\x18\x04 \x01(\bH\x00R\x04self\x12%\n" + - "\x0econflict_token\x18\x05 \x01(\fR\rconflictToken\x12\x1a\n" + - "\bidentity\x18\x06 \x01(\tR\bidentityB\x16\n" + - "\x14new_manager_identity\"\x87\x01\n" + - "\"SetWorkerDeploymentManagerResponse\x12%\n" + - "\x0econflict_token\x18\x01 \x01(\fR\rconflictToken\x12:\n" + - "\x19previous_manager_identity\x18\x02 \x01(\tR\x17previousManagerIdentity\"\\\n" + - "\x1bGetCurrentDeploymentRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1f\n" + - "\vseries_name\x18\x02 \x01(\tR\n" + - "seriesName\"\x82\x01\n" + - "\x1cGetCurrentDeploymentResponse\x12b\n" + - "\x17current_deployment_info\x18\x01 \x01(\v2*.temporal.api.deployment.v1.DeploymentInfoR\x15currentDeploymentInfo\"\x88\x01\n" + - " GetDeploymentReachabilityRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12F\n" + - "\n" + - "deployment\x18\x02 \x01(\v2&.temporal.api.deployment.v1.DeploymentR\n" + - "deployment\"\x91\x02\n" + - "!GetDeploymentReachabilityResponse\x12S\n" + - "\x0fdeployment_info\x18\x01 \x01(\v2*.temporal.api.deployment.v1.DeploymentInfoR\x0edeploymentInfo\x12Q\n" + - "\freachability\x18\x02 \x01(\x0e2-.temporal.api.enums.v1.DeploymentReachabilityR\freachability\x12D\n" + - "\x10last_update_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0elastUpdateTime\"\xf2\x01\n" + - "\x19CreateWorkflowRuleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12;\n" + - "\x04spec\x18\x02 \x01(\v2'.temporal.api.rules.v1.WorkflowRuleSpecR\x04spec\x12\x1d\n" + - "\n" + - "force_scan\x18\x03 \x01(\bR\tforceScan\x12\x1d\n" + - "\n" + - "request_id\x18\x04 \x01(\tR\trequestId\x12\x1a\n" + - "\bidentity\x18\x05 \x01(\tR\bidentity\x12 \n" + - "\vdescription\x18\x06 \x01(\tR\vdescription\"l\n" + - "\x1aCreateWorkflowRuleResponse\x127\n" + - "\x04rule\x18\x01 \x01(\v2#.temporal.api.rules.v1.WorkflowRuleR\x04rule\x12\x15\n" + - "\x06job_id\x18\x02 \x01(\tR\x05jobId\"T\n" + - "\x1bDescribeWorkflowRuleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x17\n" + - "\arule_id\x18\x02 \x01(\tR\x06ruleId\"W\n" + - "\x1cDescribeWorkflowRuleResponse\x127\n" + - "\x04rule\x18\x01 \x01(\v2#.temporal.api.rules.v1.WorkflowRuleR\x04rule\"R\n" + - "\x19DeleteWorkflowRuleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x17\n" + - "\arule_id\x18\x02 \x01(\tR\x06ruleId\"\x1c\n" + - "\x1aDeleteWorkflowRuleResponse\"`\n" + - "\x18ListWorkflowRulesRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"~\n" + - "\x19ListWorkflowRulesResponse\x129\n" + - "\x05rules\x18\x01 \x03(\v2#.temporal.api.rules.v1.WorkflowRuleR\x05rules\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\xf8\x01\n" + - "\x1aTriggerWorkflowRuleRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12G\n" + - "\texecution\x18\x02 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\x12\x10\n" + - "\x02id\x18\x04 \x01(\tH\x00R\x02id\x12=\n" + - "\x04spec\x18\x05 \x01(\v2'.temporal.api.rules.v1.WorkflowRuleSpecH\x00R\x04spec\x12\x1a\n" + - "\bidentity\x18\x03 \x01(\tR\bidentityB\x06\n" + - "\x04rule\"7\n" + - "\x1bTriggerWorkflowRuleResponse\x12\x18\n" + - "\aapplied\x18\x01 \x01(\bR\aapplied\"\xac\x01\n" + - "\x1cRecordWorkerHeartbeatRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12R\n" + - "\x10worker_heartbeat\x18\x03 \x03(\v2'.temporal.api.worker.v1.WorkerHeartbeatR\x0fworkerHeartbeat\"\x1f\n" + - "\x1dRecordWorkerHeartbeatResponse\"\x8d\x01\n" + - "\x12ListWorkersRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1b\n" + - "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12&\n" + - "\x0fnext_page_token\x18\x03 \x01(\fR\rnextPageToken\x12\x14\n" + - "\x05query\x18\x04 \x01(\tR\x05query\"\x84\x01\n" + - "\x13ListWorkersResponse\x12E\n" + - "\fworkers_info\x18\x01 \x03(\v2\".temporal.api.worker.v1.WorkerInfoR\vworkersInfo\x12&\n" + - "\x0fnext_page_token\x18\x02 \x01(\fR\rnextPageToken\"\x98\a\n" + - "\x1cUpdateTaskQueueConfigRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1d\n" + - "\n" + - "task_queue\x18\x03 \x01(\tR\ttaskQueue\x12L\n" + - "\x0ftask_queue_type\x18\x04 \x01(\x0e2$.temporal.api.enums.v1.TaskQueueTypeR\rtaskQueueType\x12\x84\x01\n" + - "\x17update_queue_rate_limit\x18\x05 \x01(\v2M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdateR\x14updateQueueRateLimit\x12\xa0\x01\n" + - "&update_fairness_key_rate_limit_default\x18\x06 \x01(\v2M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdateR!updateFairnessKeyRateLimitDefault\x12\xa0\x01\n" + - "\x1dset_fairness_weight_overrides\x18\a \x03(\v2].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntryR\x1asetFairnessWeightOverrides\x12E\n" + - "\x1funset_fairness_weight_overrides\x18\b \x03(\tR\x1cunsetFairnessWeightOverrides\x1an\n" + - "\x0fRateLimitUpdate\x12C\n" + - "\n" + - "rate_limit\x18\x01 \x01(\v2$.temporal.api.taskqueue.v1.RateLimitR\trateLimit\x12\x16\n" + - "\x06reason\x18\x02 \x01(\tR\x06reason\x1aM\n" + - "\x1fSetFairnessWeightOverridesEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01\"c\n" + - "\x1dUpdateTaskQueueConfigResponse\x12B\n" + - "\x06config\x18\x01 \x01(\v2*.temporal.api.taskqueue.v1.TaskQueueConfigR\x06config\"\xb0\x01\n" + - "\x18FetchWorkerConfigRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reason\x12B\n" + - "\bselector\x18\x06 \x01(\v2&.temporal.api.common.v1.WorkerSelectorR\bselector\"c\n" + - "\x19FetchWorkerConfigResponse\x12F\n" + - "\rworker_config\x18\x01 \x01(\v2!.temporal.api.sdk.v1.WorkerConfigR\fworkerConfig\"\xb6\x02\n" + - "\x19UpdateWorkerConfigRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1a\n" + - "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" + - "\x06reason\x18\x03 \x01(\tR\x06reason\x12F\n" + - "\rworker_config\x18\x04 \x01(\v2!.temporal.api.sdk.v1.WorkerConfigR\fworkerConfig\x12;\n" + - "\vupdate_mask\x18\x05 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + - "updateMask\x12B\n" + - "\bselector\x18\x06 \x01(\v2&.temporal.api.common.v1.WorkerSelectorR\bselector\"r\n" + - "\x1aUpdateWorkerConfigResponse\x12H\n" + - "\rworker_config\x18\x01 \x01(\v2!.temporal.api.sdk.v1.WorkerConfigH\x00R\fworkerConfigB\n" + - "\n" + - "\bresponse\"e\n" + - "\x15DescribeWorkerRequest\x12\x1c\n" + - "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12.\n" + - "\x13worker_instance_key\x18\x02 \x01(\tR\x11workerInstanceKey\"]\n" + - "\x16DescribeWorkerResponse\x12C\n" + - "\vworker_info\x18\x01 \x01(\v2\".temporal.api.worker.v1.WorkerInfoR\n" + - "workerInfoB\xbe\x01\n" + - "\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" - -var ( - file_temporal_api_workflowservice_v1_request_response_proto_rawDescOnce sync.Once - file_temporal_api_workflowservice_v1_request_response_proto_rawDescData []byte -) - -func file_temporal_api_workflowservice_v1_request_response_proto_rawDescGZIP() []byte { - file_temporal_api_workflowservice_v1_request_response_proto_rawDescOnce.Do(func() { - file_temporal_api_workflowservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_api_workflowservice_v1_request_response_proto_rawDesc), len(file_temporal_api_workflowservice_v1_request_response_proto_rawDesc))) - }) - return file_temporal_api_workflowservice_v1_request_response_proto_rawDescData -} - -var file_temporal_api_workflowservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 216) -var file_temporal_api_workflowservice_v1_request_response_proto_goTypes = []any{ - (*RegisterNamespaceRequest)(nil), // 0: temporal.api.workflowservice.v1.RegisterNamespaceRequest - (*RegisterNamespaceResponse)(nil), // 1: temporal.api.workflowservice.v1.RegisterNamespaceResponse - (*ListNamespacesRequest)(nil), // 2: temporal.api.workflowservice.v1.ListNamespacesRequest - (*ListNamespacesResponse)(nil), // 3: temporal.api.workflowservice.v1.ListNamespacesResponse - (*DescribeNamespaceRequest)(nil), // 4: temporal.api.workflowservice.v1.DescribeNamespaceRequest - (*DescribeNamespaceResponse)(nil), // 5: temporal.api.workflowservice.v1.DescribeNamespaceResponse - (*UpdateNamespaceRequest)(nil), // 6: temporal.api.workflowservice.v1.UpdateNamespaceRequest - (*UpdateNamespaceResponse)(nil), // 7: temporal.api.workflowservice.v1.UpdateNamespaceResponse - (*DeprecateNamespaceRequest)(nil), // 8: temporal.api.workflowservice.v1.DeprecateNamespaceRequest - (*DeprecateNamespaceResponse)(nil), // 9: temporal.api.workflowservice.v1.DeprecateNamespaceResponse - (*StartWorkflowExecutionRequest)(nil), // 10: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest - (*StartWorkflowExecutionResponse)(nil), // 11: temporal.api.workflowservice.v1.StartWorkflowExecutionResponse - (*GetWorkflowExecutionHistoryRequest)(nil), // 12: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest - (*GetWorkflowExecutionHistoryResponse)(nil), // 13: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse - (*GetWorkflowExecutionHistoryReverseRequest)(nil), // 14: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest - (*GetWorkflowExecutionHistoryReverseResponse)(nil), // 15: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse - (*PollWorkflowTaskQueueRequest)(nil), // 16: temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest - (*PollWorkflowTaskQueueResponse)(nil), // 17: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse - (*RespondWorkflowTaskCompletedRequest)(nil), // 18: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest - (*RespondWorkflowTaskCompletedResponse)(nil), // 19: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse - (*RespondWorkflowTaskFailedRequest)(nil), // 20: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest - (*RespondWorkflowTaskFailedResponse)(nil), // 21: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse - (*PollActivityTaskQueueRequest)(nil), // 22: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest - (*PollActivityTaskQueueResponse)(nil), // 23: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse - (*RecordActivityTaskHeartbeatRequest)(nil), // 24: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest - (*RecordActivityTaskHeartbeatResponse)(nil), // 25: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse - (*RecordActivityTaskHeartbeatByIdRequest)(nil), // 26: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest - (*RecordActivityTaskHeartbeatByIdResponse)(nil), // 27: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse - (*RespondActivityTaskCompletedRequest)(nil), // 28: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest - (*RespondActivityTaskCompletedResponse)(nil), // 29: temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse - (*RespondActivityTaskCompletedByIdRequest)(nil), // 30: temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest - (*RespondActivityTaskCompletedByIdResponse)(nil), // 31: temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse - (*RespondActivityTaskFailedRequest)(nil), // 32: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest - (*RespondActivityTaskFailedResponse)(nil), // 33: temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse - (*RespondActivityTaskFailedByIdRequest)(nil), // 34: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest - (*RespondActivityTaskFailedByIdResponse)(nil), // 35: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse - (*RespondActivityTaskCanceledRequest)(nil), // 36: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest - (*RespondActivityTaskCanceledResponse)(nil), // 37: temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse - (*RespondActivityTaskCanceledByIdRequest)(nil), // 38: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest - (*RespondActivityTaskCanceledByIdResponse)(nil), // 39: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse - (*RequestCancelWorkflowExecutionRequest)(nil), // 40: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest - (*RequestCancelWorkflowExecutionResponse)(nil), // 41: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse - (*SignalWorkflowExecutionRequest)(nil), // 42: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest - (*SignalWorkflowExecutionResponse)(nil), // 43: temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse - (*SignalWithStartWorkflowExecutionRequest)(nil), // 44: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest - (*SignalWithStartWorkflowExecutionResponse)(nil), // 45: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse - (*ResetWorkflowExecutionRequest)(nil), // 46: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest - (*ResetWorkflowExecutionResponse)(nil), // 47: temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse - (*TerminateWorkflowExecutionRequest)(nil), // 48: temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest - (*TerminateWorkflowExecutionResponse)(nil), // 49: temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse - (*DeleteWorkflowExecutionRequest)(nil), // 50: temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest - (*DeleteWorkflowExecutionResponse)(nil), // 51: temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse - (*ListOpenWorkflowExecutionsRequest)(nil), // 52: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest - (*ListOpenWorkflowExecutionsResponse)(nil), // 53: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse - (*ListClosedWorkflowExecutionsRequest)(nil), // 54: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest - (*ListClosedWorkflowExecutionsResponse)(nil), // 55: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse - (*ListWorkflowExecutionsRequest)(nil), // 56: temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest - (*ListWorkflowExecutionsResponse)(nil), // 57: temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse - (*ListArchivedWorkflowExecutionsRequest)(nil), // 58: temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest - (*ListArchivedWorkflowExecutionsResponse)(nil), // 59: temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse - (*ScanWorkflowExecutionsRequest)(nil), // 60: temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest - (*ScanWorkflowExecutionsResponse)(nil), // 61: temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse - (*CountWorkflowExecutionsRequest)(nil), // 62: temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest - (*CountWorkflowExecutionsResponse)(nil), // 63: temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse - (*GetSearchAttributesRequest)(nil), // 64: temporal.api.workflowservice.v1.GetSearchAttributesRequest - (*GetSearchAttributesResponse)(nil), // 65: temporal.api.workflowservice.v1.GetSearchAttributesResponse - (*RespondQueryTaskCompletedRequest)(nil), // 66: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest - (*RespondQueryTaskCompletedResponse)(nil), // 67: temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse - (*ResetStickyTaskQueueRequest)(nil), // 68: temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest - (*ResetStickyTaskQueueResponse)(nil), // 69: temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse - (*ShutdownWorkerRequest)(nil), // 70: temporal.api.workflowservice.v1.ShutdownWorkerRequest - (*ShutdownWorkerResponse)(nil), // 71: temporal.api.workflowservice.v1.ShutdownWorkerResponse - (*QueryWorkflowRequest)(nil), // 72: temporal.api.workflowservice.v1.QueryWorkflowRequest - (*QueryWorkflowResponse)(nil), // 73: temporal.api.workflowservice.v1.QueryWorkflowResponse - (*DescribeWorkflowExecutionRequest)(nil), // 74: temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest - (*DescribeWorkflowExecutionResponse)(nil), // 75: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse - (*DescribeTaskQueueRequest)(nil), // 76: temporal.api.workflowservice.v1.DescribeTaskQueueRequest - (*DescribeTaskQueueResponse)(nil), // 77: temporal.api.workflowservice.v1.DescribeTaskQueueResponse - (*GetClusterInfoRequest)(nil), // 78: temporal.api.workflowservice.v1.GetClusterInfoRequest - (*GetClusterInfoResponse)(nil), // 79: temporal.api.workflowservice.v1.GetClusterInfoResponse - (*GetSystemInfoRequest)(nil), // 80: temporal.api.workflowservice.v1.GetSystemInfoRequest - (*GetSystemInfoResponse)(nil), // 81: temporal.api.workflowservice.v1.GetSystemInfoResponse - (*ListTaskQueuePartitionsRequest)(nil), // 82: temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest - (*ListTaskQueuePartitionsResponse)(nil), // 83: temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse - (*CreateScheduleRequest)(nil), // 84: temporal.api.workflowservice.v1.CreateScheduleRequest - (*CreateScheduleResponse)(nil), // 85: temporal.api.workflowservice.v1.CreateScheduleResponse - (*DescribeScheduleRequest)(nil), // 86: temporal.api.workflowservice.v1.DescribeScheduleRequest - (*DescribeScheduleResponse)(nil), // 87: temporal.api.workflowservice.v1.DescribeScheduleResponse - (*UpdateScheduleRequest)(nil), // 88: temporal.api.workflowservice.v1.UpdateScheduleRequest - (*UpdateScheduleResponse)(nil), // 89: temporal.api.workflowservice.v1.UpdateScheduleResponse - (*PatchScheduleRequest)(nil), // 90: temporal.api.workflowservice.v1.PatchScheduleRequest - (*PatchScheduleResponse)(nil), // 91: temporal.api.workflowservice.v1.PatchScheduleResponse - (*ListScheduleMatchingTimesRequest)(nil), // 92: temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest - (*ListScheduleMatchingTimesResponse)(nil), // 93: temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse - (*DeleteScheduleRequest)(nil), // 94: temporal.api.workflowservice.v1.DeleteScheduleRequest - (*DeleteScheduleResponse)(nil), // 95: temporal.api.workflowservice.v1.DeleteScheduleResponse - (*ListSchedulesRequest)(nil), // 96: temporal.api.workflowservice.v1.ListSchedulesRequest - (*ListSchedulesResponse)(nil), // 97: temporal.api.workflowservice.v1.ListSchedulesResponse - (*UpdateWorkerBuildIdCompatibilityRequest)(nil), // 98: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest - (*UpdateWorkerBuildIdCompatibilityResponse)(nil), // 99: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse - (*GetWorkerBuildIdCompatibilityRequest)(nil), // 100: temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest - (*GetWorkerBuildIdCompatibilityResponse)(nil), // 101: temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse - (*UpdateWorkerVersioningRulesRequest)(nil), // 102: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest - (*UpdateWorkerVersioningRulesResponse)(nil), // 103: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse - (*GetWorkerVersioningRulesRequest)(nil), // 104: temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest - (*GetWorkerVersioningRulesResponse)(nil), // 105: temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse - (*GetWorkerTaskReachabilityRequest)(nil), // 106: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest - (*GetWorkerTaskReachabilityResponse)(nil), // 107: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse - (*UpdateWorkflowExecutionRequest)(nil), // 108: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest - (*UpdateWorkflowExecutionResponse)(nil), // 109: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse - (*StartBatchOperationRequest)(nil), // 110: temporal.api.workflowservice.v1.StartBatchOperationRequest - (*StartBatchOperationResponse)(nil), // 111: temporal.api.workflowservice.v1.StartBatchOperationResponse - (*StopBatchOperationRequest)(nil), // 112: temporal.api.workflowservice.v1.StopBatchOperationRequest - (*StopBatchOperationResponse)(nil), // 113: temporal.api.workflowservice.v1.StopBatchOperationResponse - (*DescribeBatchOperationRequest)(nil), // 114: temporal.api.workflowservice.v1.DescribeBatchOperationRequest - (*DescribeBatchOperationResponse)(nil), // 115: temporal.api.workflowservice.v1.DescribeBatchOperationResponse - (*ListBatchOperationsRequest)(nil), // 116: temporal.api.workflowservice.v1.ListBatchOperationsRequest - (*ListBatchOperationsResponse)(nil), // 117: temporal.api.workflowservice.v1.ListBatchOperationsResponse - (*PollWorkflowExecutionUpdateRequest)(nil), // 118: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest - (*PollWorkflowExecutionUpdateResponse)(nil), // 119: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse - (*PollNexusTaskQueueRequest)(nil), // 120: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest - (*PollNexusTaskQueueResponse)(nil), // 121: temporal.api.workflowservice.v1.PollNexusTaskQueueResponse - (*RespondNexusTaskCompletedRequest)(nil), // 122: temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest - (*RespondNexusTaskCompletedResponse)(nil), // 123: temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse - (*RespondNexusTaskFailedRequest)(nil), // 124: temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest - (*RespondNexusTaskFailedResponse)(nil), // 125: temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse - (*ExecuteMultiOperationRequest)(nil), // 126: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest - (*ExecuteMultiOperationResponse)(nil), // 127: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse - (*UpdateActivityOptionsRequest)(nil), // 128: temporal.api.workflowservice.v1.UpdateActivityOptionsRequest - (*UpdateActivityOptionsResponse)(nil), // 129: temporal.api.workflowservice.v1.UpdateActivityOptionsResponse - (*PauseActivityRequest)(nil), // 130: temporal.api.workflowservice.v1.PauseActivityRequest - (*PauseActivityResponse)(nil), // 131: temporal.api.workflowservice.v1.PauseActivityResponse - (*UnpauseActivityRequest)(nil), // 132: temporal.api.workflowservice.v1.UnpauseActivityRequest - (*UnpauseActivityResponse)(nil), // 133: temporal.api.workflowservice.v1.UnpauseActivityResponse - (*ResetActivityRequest)(nil), // 134: temporal.api.workflowservice.v1.ResetActivityRequest - (*ResetActivityResponse)(nil), // 135: temporal.api.workflowservice.v1.ResetActivityResponse - (*UpdateWorkflowExecutionOptionsRequest)(nil), // 136: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest - (*UpdateWorkflowExecutionOptionsResponse)(nil), // 137: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse - (*DescribeDeploymentRequest)(nil), // 138: temporal.api.workflowservice.v1.DescribeDeploymentRequest - (*DescribeDeploymentResponse)(nil), // 139: temporal.api.workflowservice.v1.DescribeDeploymentResponse - (*DescribeWorkerDeploymentVersionRequest)(nil), // 140: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest - (*DescribeWorkerDeploymentVersionResponse)(nil), // 141: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse - (*DescribeWorkerDeploymentRequest)(nil), // 142: temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest - (*DescribeWorkerDeploymentResponse)(nil), // 143: temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse - (*ListDeploymentsRequest)(nil), // 144: temporal.api.workflowservice.v1.ListDeploymentsRequest - (*ListDeploymentsResponse)(nil), // 145: temporal.api.workflowservice.v1.ListDeploymentsResponse - (*SetCurrentDeploymentRequest)(nil), // 146: temporal.api.workflowservice.v1.SetCurrentDeploymentRequest - (*SetCurrentDeploymentResponse)(nil), // 147: temporal.api.workflowservice.v1.SetCurrentDeploymentResponse - (*SetWorkerDeploymentCurrentVersionRequest)(nil), // 148: temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest - (*SetWorkerDeploymentCurrentVersionResponse)(nil), // 149: temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse - (*SetWorkerDeploymentRampingVersionRequest)(nil), // 150: temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest - (*SetWorkerDeploymentRampingVersionResponse)(nil), // 151: temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse - (*ListWorkerDeploymentsRequest)(nil), // 152: temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest - (*ListWorkerDeploymentsResponse)(nil), // 153: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse - (*DeleteWorkerDeploymentVersionRequest)(nil), // 154: temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest - (*DeleteWorkerDeploymentVersionResponse)(nil), // 155: temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse - (*DeleteWorkerDeploymentRequest)(nil), // 156: temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest - (*DeleteWorkerDeploymentResponse)(nil), // 157: temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse - (*UpdateWorkerDeploymentVersionMetadataRequest)(nil), // 158: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest - (*UpdateWorkerDeploymentVersionMetadataResponse)(nil), // 159: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse - (*SetWorkerDeploymentManagerRequest)(nil), // 160: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest - (*SetWorkerDeploymentManagerResponse)(nil), // 161: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse - (*GetCurrentDeploymentRequest)(nil), // 162: temporal.api.workflowservice.v1.GetCurrentDeploymentRequest - (*GetCurrentDeploymentResponse)(nil), // 163: temporal.api.workflowservice.v1.GetCurrentDeploymentResponse - (*GetDeploymentReachabilityRequest)(nil), // 164: temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest - (*GetDeploymentReachabilityResponse)(nil), // 165: temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse - (*CreateWorkflowRuleRequest)(nil), // 166: temporal.api.workflowservice.v1.CreateWorkflowRuleRequest - (*CreateWorkflowRuleResponse)(nil), // 167: temporal.api.workflowservice.v1.CreateWorkflowRuleResponse - (*DescribeWorkflowRuleRequest)(nil), // 168: temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest - (*DescribeWorkflowRuleResponse)(nil), // 169: temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse - (*DeleteWorkflowRuleRequest)(nil), // 170: temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest - (*DeleteWorkflowRuleResponse)(nil), // 171: temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse - (*ListWorkflowRulesRequest)(nil), // 172: temporal.api.workflowservice.v1.ListWorkflowRulesRequest - (*ListWorkflowRulesResponse)(nil), // 173: temporal.api.workflowservice.v1.ListWorkflowRulesResponse - (*TriggerWorkflowRuleRequest)(nil), // 174: temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest - (*TriggerWorkflowRuleResponse)(nil), // 175: temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse - (*RecordWorkerHeartbeatRequest)(nil), // 176: temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest - (*RecordWorkerHeartbeatResponse)(nil), // 177: temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse - (*ListWorkersRequest)(nil), // 178: temporal.api.workflowservice.v1.ListWorkersRequest - (*ListWorkersResponse)(nil), // 179: temporal.api.workflowservice.v1.ListWorkersResponse - (*UpdateTaskQueueConfigRequest)(nil), // 180: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest - (*UpdateTaskQueueConfigResponse)(nil), // 181: temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse - (*FetchWorkerConfigRequest)(nil), // 182: temporal.api.workflowservice.v1.FetchWorkerConfigRequest - (*FetchWorkerConfigResponse)(nil), // 183: temporal.api.workflowservice.v1.FetchWorkerConfigResponse - (*UpdateWorkerConfigRequest)(nil), // 184: temporal.api.workflowservice.v1.UpdateWorkerConfigRequest - (*UpdateWorkerConfigResponse)(nil), // 185: temporal.api.workflowservice.v1.UpdateWorkerConfigResponse - (*DescribeWorkerRequest)(nil), // 186: temporal.api.workflowservice.v1.DescribeWorkerRequest - (*DescribeWorkerResponse)(nil), // 187: temporal.api.workflowservice.v1.DescribeWorkerResponse - nil, // 188: temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry - nil, // 189: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry - nil, // 190: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry - (*RespondWorkflowTaskCompletedRequest_Capabilities)(nil), // 191: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities - (*CountWorkflowExecutionsResponse_AggregationGroup)(nil), // 192: temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup - nil, // 193: temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry - nil, // 194: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry - (*DescribeTaskQueueResponse_EffectiveRateLimit)(nil), // 195: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit - nil, // 196: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry - nil, // 197: temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry - (*GetSystemInfoResponse_Capabilities)(nil), // 198: temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities - (*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleVersion)(nil), // 199: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion - (*UpdateWorkerBuildIdCompatibilityRequest_MergeSets)(nil), // 200: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets - (*UpdateWorkerVersioningRulesRequest_InsertBuildIdAssignmentRule)(nil), // 201: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule - (*UpdateWorkerVersioningRulesRequest_ReplaceBuildIdAssignmentRule)(nil), // 202: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule - (*UpdateWorkerVersioningRulesRequest_DeleteBuildIdAssignmentRule)(nil), // 203: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule - (*UpdateWorkerVersioningRulesRequest_AddCompatibleBuildIdRedirectRule)(nil), // 204: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule - (*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleBuildIdRedirectRule)(nil), // 205: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule - (*UpdateWorkerVersioningRulesRequest_DeleteCompatibleBuildIdRedirectRule)(nil), // 206: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule - (*UpdateWorkerVersioningRulesRequest_CommitBuildId)(nil), // 207: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId - (*ExecuteMultiOperationRequest_Operation)(nil), // 208: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation - (*ExecuteMultiOperationResponse_Response)(nil), // 209: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response - (*DescribeWorkerDeploymentVersionResponse_VersionTaskQueue)(nil), // 210: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue - nil, // 211: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry - (*ListWorkerDeploymentsResponse_WorkerDeploymentSummary)(nil), // 212: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary - nil, // 213: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry - (*UpdateTaskQueueConfigRequest_RateLimitUpdate)(nil), // 214: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate - nil, // 215: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry - (*durationpb.Duration)(nil), // 216: google.protobuf.Duration - (*v1.ClusterReplicationConfig)(nil), // 217: temporal.api.replication.v1.ClusterReplicationConfig - (v11.ArchivalState)(0), // 218: temporal.api.enums.v1.ArchivalState - (*v12.NamespaceFilter)(nil), // 219: temporal.api.namespace.v1.NamespaceFilter - (*v12.NamespaceInfo)(nil), // 220: temporal.api.namespace.v1.NamespaceInfo - (*v12.NamespaceConfig)(nil), // 221: temporal.api.namespace.v1.NamespaceConfig - (*v1.NamespaceReplicationConfig)(nil), // 222: temporal.api.replication.v1.NamespaceReplicationConfig - (*v1.FailoverStatus)(nil), // 223: temporal.api.replication.v1.FailoverStatus - (*v12.UpdateNamespaceInfo)(nil), // 224: temporal.api.namespace.v1.UpdateNamespaceInfo - (*v13.WorkflowType)(nil), // 225: temporal.api.common.v1.WorkflowType - (*v14.TaskQueue)(nil), // 226: temporal.api.taskqueue.v1.TaskQueue - (*v13.Payloads)(nil), // 227: temporal.api.common.v1.Payloads - (v11.WorkflowIdReusePolicy)(0), // 228: temporal.api.enums.v1.WorkflowIdReusePolicy - (v11.WorkflowIdConflictPolicy)(0), // 229: temporal.api.enums.v1.WorkflowIdConflictPolicy - (*v13.RetryPolicy)(nil), // 230: temporal.api.common.v1.RetryPolicy - (*v13.Memo)(nil), // 231: temporal.api.common.v1.Memo - (*v13.SearchAttributes)(nil), // 232: temporal.api.common.v1.SearchAttributes - (*v13.Header)(nil), // 233: temporal.api.common.v1.Header - (*v15.Failure)(nil), // 234: temporal.api.failure.v1.Failure - (*v13.Callback)(nil), // 235: temporal.api.common.v1.Callback - (*v16.UserMetadata)(nil), // 236: temporal.api.sdk.v1.UserMetadata - (*v13.Link)(nil), // 237: temporal.api.common.v1.Link - (*v17.VersioningOverride)(nil), // 238: temporal.api.workflow.v1.VersioningOverride - (*v17.OnConflictOptions)(nil), // 239: temporal.api.workflow.v1.OnConflictOptions - (*v13.Priority)(nil), // 240: temporal.api.common.v1.Priority - (*v18.WorkerDeploymentOptions)(nil), // 241: temporal.api.deployment.v1.WorkerDeploymentOptions - (v11.WorkflowExecutionStatus)(0), // 242: temporal.api.enums.v1.WorkflowExecutionStatus - (*v13.WorkflowExecution)(nil), // 243: temporal.api.common.v1.WorkflowExecution - (v11.HistoryEventFilterType)(0), // 244: temporal.api.enums.v1.HistoryEventFilterType - (*v19.History)(nil), // 245: temporal.api.history.v1.History - (*v13.DataBlob)(nil), // 246: temporal.api.common.v1.DataBlob - (*v13.WorkerVersionCapabilities)(nil), // 247: temporal.api.common.v1.WorkerVersionCapabilities - (*v110.WorkflowQuery)(nil), // 248: temporal.api.query.v1.WorkflowQuery - (*timestamppb.Timestamp)(nil), // 249: google.protobuf.Timestamp - (*v111.Message)(nil), // 250: temporal.api.protocol.v1.Message - (*v14.PollerScalingDecision)(nil), // 251: temporal.api.taskqueue.v1.PollerScalingDecision - (*v112.Command)(nil), // 252: temporal.api.command.v1.Command - (*v14.StickyExecutionAttributes)(nil), // 253: temporal.api.taskqueue.v1.StickyExecutionAttributes - (*v13.WorkerVersionStamp)(nil), // 254: temporal.api.common.v1.WorkerVersionStamp - (*v16.WorkflowTaskCompletedMetadata)(nil), // 255: temporal.api.sdk.v1.WorkflowTaskCompletedMetadata - (*v13.MeteringMetadata)(nil), // 256: temporal.api.common.v1.MeteringMetadata - (*v18.Deployment)(nil), // 257: temporal.api.deployment.v1.Deployment - (v11.VersioningBehavior)(0), // 258: temporal.api.enums.v1.VersioningBehavior - (v11.WorkflowTaskFailedCause)(0), // 259: temporal.api.enums.v1.WorkflowTaskFailedCause - (*v14.TaskQueueMetadata)(nil), // 260: temporal.api.taskqueue.v1.TaskQueueMetadata - (*v13.ActivityType)(nil), // 261: temporal.api.common.v1.ActivityType - (v11.ResetReapplyType)(0), // 262: temporal.api.enums.v1.ResetReapplyType - (v11.ResetReapplyExcludeType)(0), // 263: temporal.api.enums.v1.ResetReapplyExcludeType - (*v17.PostResetOperation)(nil), // 264: temporal.api.workflow.v1.PostResetOperation - (*v113.StartTimeFilter)(nil), // 265: temporal.api.filter.v1.StartTimeFilter - (*v113.WorkflowExecutionFilter)(nil), // 266: temporal.api.filter.v1.WorkflowExecutionFilter - (*v113.WorkflowTypeFilter)(nil), // 267: temporal.api.filter.v1.WorkflowTypeFilter - (*v17.WorkflowExecutionInfo)(nil), // 268: temporal.api.workflow.v1.WorkflowExecutionInfo - (*v113.StatusFilter)(nil), // 269: temporal.api.filter.v1.StatusFilter - (v11.QueryResultType)(0), // 270: temporal.api.enums.v1.QueryResultType - (*v114.WorkerHeartbeat)(nil), // 271: temporal.api.worker.v1.WorkerHeartbeat - (v11.QueryRejectCondition)(0), // 272: temporal.api.enums.v1.QueryRejectCondition - (*v110.QueryRejected)(nil), // 273: temporal.api.query.v1.QueryRejected - (*v17.WorkflowExecutionConfig)(nil), // 274: temporal.api.workflow.v1.WorkflowExecutionConfig - (*v17.PendingActivityInfo)(nil), // 275: temporal.api.workflow.v1.PendingActivityInfo - (*v17.PendingChildExecutionInfo)(nil), // 276: temporal.api.workflow.v1.PendingChildExecutionInfo - (*v17.PendingWorkflowTaskInfo)(nil), // 277: temporal.api.workflow.v1.PendingWorkflowTaskInfo - (*v17.CallbackInfo)(nil), // 278: temporal.api.workflow.v1.CallbackInfo - (*v17.PendingNexusOperationInfo)(nil), // 279: temporal.api.workflow.v1.PendingNexusOperationInfo - (*v17.WorkflowExecutionExtendedInfo)(nil), // 280: temporal.api.workflow.v1.WorkflowExecutionExtendedInfo - (v11.TaskQueueType)(0), // 281: temporal.api.enums.v1.TaskQueueType - (v11.DescribeTaskQueueMode)(0), // 282: temporal.api.enums.v1.DescribeTaskQueueMode - (*v14.TaskQueueVersionSelection)(nil), // 283: temporal.api.taskqueue.v1.TaskQueueVersionSelection - (*v14.PollerInfo)(nil), // 284: temporal.api.taskqueue.v1.PollerInfo - (*v14.TaskQueueStats)(nil), // 285: temporal.api.taskqueue.v1.TaskQueueStats - (*v14.TaskQueueVersioningInfo)(nil), // 286: temporal.api.taskqueue.v1.TaskQueueVersioningInfo - (*v14.TaskQueueConfig)(nil), // 287: temporal.api.taskqueue.v1.TaskQueueConfig - (*v14.TaskQueueStatus)(nil), // 288: temporal.api.taskqueue.v1.TaskQueueStatus - (*v115.VersionInfo)(nil), // 289: temporal.api.version.v1.VersionInfo - (*v14.TaskQueuePartitionMetadata)(nil), // 290: temporal.api.taskqueue.v1.TaskQueuePartitionMetadata - (*v116.Schedule)(nil), // 291: temporal.api.schedule.v1.Schedule - (*v116.SchedulePatch)(nil), // 292: temporal.api.schedule.v1.SchedulePatch - (*v116.ScheduleInfo)(nil), // 293: temporal.api.schedule.v1.ScheduleInfo - (*v116.ScheduleListEntry)(nil), // 294: temporal.api.schedule.v1.ScheduleListEntry - (*v14.CompatibleVersionSet)(nil), // 295: temporal.api.taskqueue.v1.CompatibleVersionSet - (*v14.TimestampedBuildIdAssignmentRule)(nil), // 296: temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule - (*v14.TimestampedCompatibleBuildIdRedirectRule)(nil), // 297: temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule - (v11.TaskReachability)(0), // 298: temporal.api.enums.v1.TaskReachability - (*v14.BuildIdReachability)(nil), // 299: temporal.api.taskqueue.v1.BuildIdReachability - (*v117.WaitPolicy)(nil), // 300: temporal.api.update.v1.WaitPolicy - (*v117.Request)(nil), // 301: temporal.api.update.v1.Request - (*v117.UpdateRef)(nil), // 302: temporal.api.update.v1.UpdateRef - (*v117.Outcome)(nil), // 303: temporal.api.update.v1.Outcome - (v11.UpdateWorkflowExecutionLifecycleStage)(0), // 304: temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage - (*v118.BatchOperationTermination)(nil), // 305: temporal.api.batch.v1.BatchOperationTermination - (*v118.BatchOperationSignal)(nil), // 306: temporal.api.batch.v1.BatchOperationSignal - (*v118.BatchOperationCancellation)(nil), // 307: temporal.api.batch.v1.BatchOperationCancellation - (*v118.BatchOperationDeletion)(nil), // 308: temporal.api.batch.v1.BatchOperationDeletion - (*v118.BatchOperationReset)(nil), // 309: temporal.api.batch.v1.BatchOperationReset - (*v118.BatchOperationUpdateWorkflowExecutionOptions)(nil), // 310: temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions - (*v118.BatchOperationUnpauseActivities)(nil), // 311: temporal.api.batch.v1.BatchOperationUnpauseActivities - (*v118.BatchOperationResetActivities)(nil), // 312: temporal.api.batch.v1.BatchOperationResetActivities - (*v118.BatchOperationUpdateActivityOptions)(nil), // 313: temporal.api.batch.v1.BatchOperationUpdateActivityOptions - (v11.BatchOperationType)(0), // 314: temporal.api.enums.v1.BatchOperationType - (v11.BatchOperationState)(0), // 315: temporal.api.enums.v1.BatchOperationState - (*v118.BatchOperationInfo)(nil), // 316: temporal.api.batch.v1.BatchOperationInfo - (*v119.Request)(nil), // 317: temporal.api.nexus.v1.Request - (*v119.Response)(nil), // 318: temporal.api.nexus.v1.Response - (*v119.HandlerError)(nil), // 319: temporal.api.nexus.v1.HandlerError - (*v120.ActivityOptions)(nil), // 320: temporal.api.activity.v1.ActivityOptions - (*fieldmaskpb.FieldMask)(nil), // 321: google.protobuf.FieldMask - (*v17.WorkflowExecutionOptions)(nil), // 322: temporal.api.workflow.v1.WorkflowExecutionOptions - (*v18.DeploymentInfo)(nil), // 323: temporal.api.deployment.v1.DeploymentInfo - (*v18.WorkerDeploymentVersion)(nil), // 324: temporal.api.deployment.v1.WorkerDeploymentVersion - (*v18.WorkerDeploymentVersionInfo)(nil), // 325: temporal.api.deployment.v1.WorkerDeploymentVersionInfo - (*v18.WorkerDeploymentInfo)(nil), // 326: temporal.api.deployment.v1.WorkerDeploymentInfo - (*v18.DeploymentListInfo)(nil), // 327: temporal.api.deployment.v1.DeploymentListInfo - (*v18.UpdateDeploymentMetadata)(nil), // 328: temporal.api.deployment.v1.UpdateDeploymentMetadata - (*v18.VersionMetadata)(nil), // 329: temporal.api.deployment.v1.VersionMetadata - (v11.DeploymentReachability)(0), // 330: temporal.api.enums.v1.DeploymentReachability - (*v121.WorkflowRuleSpec)(nil), // 331: temporal.api.rules.v1.WorkflowRuleSpec - (*v121.WorkflowRule)(nil), // 332: temporal.api.rules.v1.WorkflowRule - (*v114.WorkerInfo)(nil), // 333: temporal.api.worker.v1.WorkerInfo - (*v13.WorkerSelector)(nil), // 334: temporal.api.common.v1.WorkerSelector - (*v16.WorkerConfig)(nil), // 335: temporal.api.sdk.v1.WorkerConfig - (*v110.WorkflowQueryResult)(nil), // 336: temporal.api.query.v1.WorkflowQueryResult - (*v13.Payload)(nil), // 337: temporal.api.common.v1.Payload - (v11.IndexedValueType)(0), // 338: temporal.api.enums.v1.IndexedValueType - (v11.RateLimitSource)(0), // 339: temporal.api.enums.v1.RateLimitSource - (*v14.TaskQueueVersionInfo)(nil), // 340: temporal.api.taskqueue.v1.TaskQueueVersionInfo - (*v14.BuildIdAssignmentRule)(nil), // 341: temporal.api.taskqueue.v1.BuildIdAssignmentRule - (*v14.CompatibleBuildIdRedirectRule)(nil), // 342: temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule - (*v18.RoutingConfig)(nil), // 343: temporal.api.deployment.v1.RoutingConfig - (*v18.WorkerDeploymentInfo_WorkerDeploymentVersionSummary)(nil), // 344: temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - (*v14.RateLimit)(nil), // 345: temporal.api.taskqueue.v1.RateLimit -} -var file_temporal_api_workflowservice_v1_request_response_proto_depIdxs = []int32{ - 216, // 0: temporal.api.workflowservice.v1.RegisterNamespaceRequest.workflow_execution_retention_period:type_name -> google.protobuf.Duration - 217, // 1: temporal.api.workflowservice.v1.RegisterNamespaceRequest.clusters:type_name -> temporal.api.replication.v1.ClusterReplicationConfig - 188, // 2: temporal.api.workflowservice.v1.RegisterNamespaceRequest.data:type_name -> temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry - 218, // 3: temporal.api.workflowservice.v1.RegisterNamespaceRequest.history_archival_state:type_name -> temporal.api.enums.v1.ArchivalState - 218, // 4: temporal.api.workflowservice.v1.RegisterNamespaceRequest.visibility_archival_state:type_name -> temporal.api.enums.v1.ArchivalState - 219, // 5: temporal.api.workflowservice.v1.ListNamespacesRequest.namespace_filter:type_name -> temporal.api.namespace.v1.NamespaceFilter - 5, // 6: temporal.api.workflowservice.v1.ListNamespacesResponse.namespaces:type_name -> temporal.api.workflowservice.v1.DescribeNamespaceResponse - 220, // 7: temporal.api.workflowservice.v1.DescribeNamespaceResponse.namespace_info:type_name -> temporal.api.namespace.v1.NamespaceInfo - 221, // 8: temporal.api.workflowservice.v1.DescribeNamespaceResponse.config:type_name -> temporal.api.namespace.v1.NamespaceConfig - 222, // 9: temporal.api.workflowservice.v1.DescribeNamespaceResponse.replication_config:type_name -> temporal.api.replication.v1.NamespaceReplicationConfig - 223, // 10: temporal.api.workflowservice.v1.DescribeNamespaceResponse.failover_history:type_name -> temporal.api.replication.v1.FailoverStatus - 224, // 11: temporal.api.workflowservice.v1.UpdateNamespaceRequest.update_info:type_name -> temporal.api.namespace.v1.UpdateNamespaceInfo - 221, // 12: temporal.api.workflowservice.v1.UpdateNamespaceRequest.config:type_name -> temporal.api.namespace.v1.NamespaceConfig - 222, // 13: temporal.api.workflowservice.v1.UpdateNamespaceRequest.replication_config:type_name -> temporal.api.replication.v1.NamespaceReplicationConfig - 220, // 14: temporal.api.workflowservice.v1.UpdateNamespaceResponse.namespace_info:type_name -> temporal.api.namespace.v1.NamespaceInfo - 221, // 15: temporal.api.workflowservice.v1.UpdateNamespaceResponse.config:type_name -> temporal.api.namespace.v1.NamespaceConfig - 222, // 16: temporal.api.workflowservice.v1.UpdateNamespaceResponse.replication_config:type_name -> temporal.api.replication.v1.NamespaceReplicationConfig - 225, // 17: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 226, // 18: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 227, // 19: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.input:type_name -> temporal.api.common.v1.Payloads - 216, // 20: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_execution_timeout:type_name -> google.protobuf.Duration - 216, // 21: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_run_timeout:type_name -> google.protobuf.Duration - 216, // 22: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_task_timeout:type_name -> google.protobuf.Duration - 228, // 23: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_id_reuse_policy:type_name -> temporal.api.enums.v1.WorkflowIdReusePolicy - 229, // 24: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_id_conflict_policy:type_name -> temporal.api.enums.v1.WorkflowIdConflictPolicy - 230, // 25: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 231, // 26: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.memo:type_name -> temporal.api.common.v1.Memo - 232, // 27: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 233, // 28: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.header:type_name -> temporal.api.common.v1.Header - 234, // 29: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.continued_failure:type_name -> temporal.api.failure.v1.Failure - 227, // 30: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.last_completion_result:type_name -> temporal.api.common.v1.Payloads - 216, // 31: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.workflow_start_delay:type_name -> google.protobuf.Duration - 235, // 32: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.completion_callbacks:type_name -> temporal.api.common.v1.Callback - 236, // 33: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 237, // 34: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.links:type_name -> temporal.api.common.v1.Link - 238, // 35: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 239, // 36: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.on_conflict_options:type_name -> temporal.api.workflow.v1.OnConflictOptions - 240, // 37: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.priority:type_name -> temporal.api.common.v1.Priority - 241, // 38: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.eager_worker_deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 242, // 39: temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.status:type_name -> temporal.api.enums.v1.WorkflowExecutionStatus - 17, // 40: temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.eager_workflow_task:type_name -> temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse - 237, // 41: temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.link:type_name -> temporal.api.common.v1.Link - 243, // 42: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 244, // 43: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.history_event_filter_type:type_name -> temporal.api.enums.v1.HistoryEventFilterType - 245, // 44: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.history:type_name -> temporal.api.history.v1.History - 246, // 45: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.raw_history:type_name -> temporal.api.common.v1.DataBlob - 243, // 46: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 245, // 47: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse.history:type_name -> temporal.api.history.v1.History - 226, // 48: temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 247, // 49: temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities:type_name -> temporal.api.common.v1.WorkerVersionCapabilities - 241, // 50: temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 243, // 51: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 225, // 52: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 245, // 53: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.history:type_name -> temporal.api.history.v1.History - 248, // 54: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.query:type_name -> temporal.api.query.v1.WorkflowQuery - 226, // 55: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.workflow_execution_task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 249, // 56: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.scheduled_time:type_name -> google.protobuf.Timestamp - 249, // 57: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.started_time:type_name -> google.protobuf.Timestamp - 189, // 58: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.queries:type_name -> temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry - 250, // 59: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.messages:type_name -> temporal.api.protocol.v1.Message - 251, // 60: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.poller_scaling_decision:type_name -> temporal.api.taskqueue.v1.PollerScalingDecision - 252, // 61: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.commands:type_name -> temporal.api.command.v1.Command - 253, // 62: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.sticky_attributes:type_name -> temporal.api.taskqueue.v1.StickyExecutionAttributes - 190, // 63: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.query_results:type_name -> temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry - 254, // 64: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.worker_version_stamp:type_name -> temporal.api.common.v1.WorkerVersionStamp - 250, // 65: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.messages:type_name -> temporal.api.protocol.v1.Message - 255, // 66: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.sdk_metadata:type_name -> temporal.api.sdk.v1.WorkflowTaskCompletedMetadata - 256, // 67: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.metering_metadata:type_name -> temporal.api.common.v1.MeteringMetadata - 191, // 68: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.capabilities:type_name -> temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities - 257, // 69: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 258, // 70: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.versioning_behavior:type_name -> temporal.api.enums.v1.VersioningBehavior - 241, // 71: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 17, // 72: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse.workflow_task:type_name -> temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse - 23, // 73: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse.activity_tasks:type_name -> temporal.api.workflowservice.v1.PollActivityTaskQueueResponse - 259, // 74: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.cause:type_name -> temporal.api.enums.v1.WorkflowTaskFailedCause - 234, // 75: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.failure:type_name -> temporal.api.failure.v1.Failure - 250, // 76: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.messages:type_name -> temporal.api.protocol.v1.Message - 254, // 77: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 257, // 78: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 241, // 79: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 226, // 80: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 260, // 81: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.task_queue_metadata:type_name -> temporal.api.taskqueue.v1.TaskQueueMetadata - 247, // 82: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.worker_version_capabilities:type_name -> temporal.api.common.v1.WorkerVersionCapabilities - 241, // 83: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 225, // 84: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 243, // 85: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 261, // 86: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.activity_type:type_name -> temporal.api.common.v1.ActivityType - 233, // 87: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.header:type_name -> temporal.api.common.v1.Header - 227, // 88: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.input:type_name -> temporal.api.common.v1.Payloads - 227, // 89: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 249, // 90: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.scheduled_time:type_name -> google.protobuf.Timestamp - 249, // 91: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.current_attempt_scheduled_time:type_name -> google.protobuf.Timestamp - 249, // 92: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.started_time:type_name -> google.protobuf.Timestamp - 216, // 93: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.schedule_to_close_timeout:type_name -> google.protobuf.Duration - 216, // 94: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.start_to_close_timeout:type_name -> google.protobuf.Duration - 216, // 95: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.heartbeat_timeout:type_name -> google.protobuf.Duration - 230, // 96: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 251, // 97: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.poller_scaling_decision:type_name -> temporal.api.taskqueue.v1.PollerScalingDecision - 240, // 98: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.priority:type_name -> temporal.api.common.v1.Priority - 227, // 99: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest.details:type_name -> temporal.api.common.v1.Payloads - 227, // 100: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest.details:type_name -> temporal.api.common.v1.Payloads - 227, // 101: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.result:type_name -> temporal.api.common.v1.Payloads - 254, // 102: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 257, // 103: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 241, // 104: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 227, // 105: temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest.result:type_name -> temporal.api.common.v1.Payloads - 234, // 106: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.failure:type_name -> temporal.api.failure.v1.Failure - 227, // 107: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.last_heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 254, // 108: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 257, // 109: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 241, // 110: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 234, // 111: temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse.failures:type_name -> temporal.api.failure.v1.Failure - 234, // 112: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest.failure:type_name -> temporal.api.failure.v1.Failure - 227, // 113: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest.last_heartbeat_details:type_name -> temporal.api.common.v1.Payloads - 234, // 114: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse.failures:type_name -> temporal.api.failure.v1.Failure - 227, // 115: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.details:type_name -> temporal.api.common.v1.Payloads - 254, // 116: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.worker_version:type_name -> temporal.api.common.v1.WorkerVersionStamp - 257, // 117: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 241, // 118: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 227, // 119: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest.details:type_name -> temporal.api.common.v1.Payloads - 241, // 120: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 243, // 121: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 237, // 122: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.links:type_name -> temporal.api.common.v1.Link - 243, // 123: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 227, // 124: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.input:type_name -> temporal.api.common.v1.Payloads - 233, // 125: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.header:type_name -> temporal.api.common.v1.Header - 237, // 126: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.links:type_name -> temporal.api.common.v1.Link - 225, // 127: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 226, // 128: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 227, // 129: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.input:type_name -> temporal.api.common.v1.Payloads - 216, // 130: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_execution_timeout:type_name -> google.protobuf.Duration - 216, // 131: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_run_timeout:type_name -> google.protobuf.Duration - 216, // 132: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_task_timeout:type_name -> google.protobuf.Duration - 228, // 133: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_id_reuse_policy:type_name -> temporal.api.enums.v1.WorkflowIdReusePolicy - 229, // 134: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_id_conflict_policy:type_name -> temporal.api.enums.v1.WorkflowIdConflictPolicy - 227, // 135: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.signal_input:type_name -> temporal.api.common.v1.Payloads - 230, // 136: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.retry_policy:type_name -> temporal.api.common.v1.RetryPolicy - 231, // 137: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.memo:type_name -> temporal.api.common.v1.Memo - 232, // 138: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 233, // 139: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.header:type_name -> temporal.api.common.v1.Header - 216, // 140: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.workflow_start_delay:type_name -> google.protobuf.Duration - 236, // 141: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.user_metadata:type_name -> temporal.api.sdk.v1.UserMetadata - 237, // 142: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.links:type_name -> temporal.api.common.v1.Link - 238, // 143: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.versioning_override:type_name -> temporal.api.workflow.v1.VersioningOverride - 240, // 144: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.priority:type_name -> temporal.api.common.v1.Priority - 243, // 145: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 262, // 146: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_type:type_name -> temporal.api.enums.v1.ResetReapplyType - 263, // 147: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.reset_reapply_exclude_types:type_name -> temporal.api.enums.v1.ResetReapplyExcludeType - 264, // 148: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.post_reset_operations:type_name -> temporal.api.workflow.v1.PostResetOperation - 243, // 149: temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 227, // 150: temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.details:type_name -> temporal.api.common.v1.Payloads - 237, // 151: temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.links:type_name -> temporal.api.common.v1.Link - 243, // 152: temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 265, // 153: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest.start_time_filter:type_name -> temporal.api.filter.v1.StartTimeFilter - 266, // 154: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest.execution_filter:type_name -> temporal.api.filter.v1.WorkflowExecutionFilter - 267, // 155: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest.type_filter:type_name -> temporal.api.filter.v1.WorkflowTypeFilter - 268, // 156: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse.executions:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 265, // 157: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.start_time_filter:type_name -> temporal.api.filter.v1.StartTimeFilter - 266, // 158: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.execution_filter:type_name -> temporal.api.filter.v1.WorkflowExecutionFilter - 267, // 159: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.type_filter:type_name -> temporal.api.filter.v1.WorkflowTypeFilter - 269, // 160: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.status_filter:type_name -> temporal.api.filter.v1.StatusFilter - 268, // 161: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse.executions:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 268, // 162: temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse.executions:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 268, // 163: temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse.executions:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 268, // 164: temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse.executions:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 192, // 165: temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.groups:type_name -> temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup - 193, // 166: temporal.api.workflowservice.v1.GetSearchAttributesResponse.keys:type_name -> temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry - 270, // 167: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.completed_type:type_name -> temporal.api.enums.v1.QueryResultType - 227, // 168: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.query_result:type_name -> temporal.api.common.v1.Payloads - 234, // 169: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.failure:type_name -> temporal.api.failure.v1.Failure - 259, // 170: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.cause:type_name -> temporal.api.enums.v1.WorkflowTaskFailedCause - 243, // 171: temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 271, // 172: temporal.api.workflowservice.v1.ShutdownWorkerRequest.worker_heartbeat:type_name -> temporal.api.worker.v1.WorkerHeartbeat - 243, // 173: temporal.api.workflowservice.v1.QueryWorkflowRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 248, // 174: temporal.api.workflowservice.v1.QueryWorkflowRequest.query:type_name -> temporal.api.query.v1.WorkflowQuery - 272, // 175: temporal.api.workflowservice.v1.QueryWorkflowRequest.query_reject_condition:type_name -> temporal.api.enums.v1.QueryRejectCondition - 227, // 176: temporal.api.workflowservice.v1.QueryWorkflowResponse.query_result:type_name -> temporal.api.common.v1.Payloads - 273, // 177: temporal.api.workflowservice.v1.QueryWorkflowResponse.query_rejected:type_name -> temporal.api.query.v1.QueryRejected - 243, // 178: temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 274, // 179: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.execution_config:type_name -> temporal.api.workflow.v1.WorkflowExecutionConfig - 268, // 180: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.workflow_execution_info:type_name -> temporal.api.workflow.v1.WorkflowExecutionInfo - 275, // 181: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.pending_activities:type_name -> temporal.api.workflow.v1.PendingActivityInfo - 276, // 182: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.pending_children:type_name -> temporal.api.workflow.v1.PendingChildExecutionInfo - 277, // 183: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.pending_workflow_task:type_name -> temporal.api.workflow.v1.PendingWorkflowTaskInfo - 278, // 184: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.callbacks:type_name -> temporal.api.workflow.v1.CallbackInfo - 279, // 185: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.pending_nexus_operations:type_name -> temporal.api.workflow.v1.PendingNexusOperationInfo - 280, // 186: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.workflow_extended_info:type_name -> temporal.api.workflow.v1.WorkflowExecutionExtendedInfo - 226, // 187: temporal.api.workflowservice.v1.DescribeTaskQueueRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 281, // 188: temporal.api.workflowservice.v1.DescribeTaskQueueRequest.task_queue_type:type_name -> temporal.api.enums.v1.TaskQueueType - 282, // 189: temporal.api.workflowservice.v1.DescribeTaskQueueRequest.api_mode:type_name -> temporal.api.enums.v1.DescribeTaskQueueMode - 283, // 190: temporal.api.workflowservice.v1.DescribeTaskQueueRequest.versions:type_name -> temporal.api.taskqueue.v1.TaskQueueVersionSelection - 281, // 191: temporal.api.workflowservice.v1.DescribeTaskQueueRequest.task_queue_types:type_name -> temporal.api.enums.v1.TaskQueueType - 284, // 192: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.pollers:type_name -> temporal.api.taskqueue.v1.PollerInfo - 285, // 193: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.stats:type_name -> temporal.api.taskqueue.v1.TaskQueueStats - 194, // 194: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.stats_by_priority_key:type_name -> temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry - 286, // 195: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.versioning_info:type_name -> temporal.api.taskqueue.v1.TaskQueueVersioningInfo - 287, // 196: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.config:type_name -> temporal.api.taskqueue.v1.TaskQueueConfig - 195, // 197: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.effective_rate_limit:type_name -> temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit - 288, // 198: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.task_queue_status:type_name -> temporal.api.taskqueue.v1.TaskQueueStatus - 196, // 199: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.versions_info:type_name -> temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry - 197, // 200: temporal.api.workflowservice.v1.GetClusterInfoResponse.supported_clients:type_name -> temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry - 289, // 201: temporal.api.workflowservice.v1.GetClusterInfoResponse.version_info:type_name -> temporal.api.version.v1.VersionInfo - 198, // 202: temporal.api.workflowservice.v1.GetSystemInfoResponse.capabilities:type_name -> temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities - 226, // 203: temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 290, // 204: temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse.activity_task_queue_partitions:type_name -> temporal.api.taskqueue.v1.TaskQueuePartitionMetadata - 290, // 205: temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse.workflow_task_queue_partitions:type_name -> temporal.api.taskqueue.v1.TaskQueuePartitionMetadata - 291, // 206: temporal.api.workflowservice.v1.CreateScheduleRequest.schedule:type_name -> temporal.api.schedule.v1.Schedule - 292, // 207: temporal.api.workflowservice.v1.CreateScheduleRequest.initial_patch:type_name -> temporal.api.schedule.v1.SchedulePatch - 231, // 208: temporal.api.workflowservice.v1.CreateScheduleRequest.memo:type_name -> temporal.api.common.v1.Memo - 232, // 209: temporal.api.workflowservice.v1.CreateScheduleRequest.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 291, // 210: temporal.api.workflowservice.v1.DescribeScheduleResponse.schedule:type_name -> temporal.api.schedule.v1.Schedule - 293, // 211: temporal.api.workflowservice.v1.DescribeScheduleResponse.info:type_name -> temporal.api.schedule.v1.ScheduleInfo - 231, // 212: temporal.api.workflowservice.v1.DescribeScheduleResponse.memo:type_name -> temporal.api.common.v1.Memo - 232, // 213: temporal.api.workflowservice.v1.DescribeScheduleResponse.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 291, // 214: temporal.api.workflowservice.v1.UpdateScheduleRequest.schedule:type_name -> temporal.api.schedule.v1.Schedule - 232, // 215: temporal.api.workflowservice.v1.UpdateScheduleRequest.search_attributes:type_name -> temporal.api.common.v1.SearchAttributes - 292, // 216: temporal.api.workflowservice.v1.PatchScheduleRequest.patch:type_name -> temporal.api.schedule.v1.SchedulePatch - 249, // 217: temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest.start_time:type_name -> google.protobuf.Timestamp - 249, // 218: temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest.end_time:type_name -> google.protobuf.Timestamp - 249, // 219: temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse.start_time:type_name -> google.protobuf.Timestamp - 294, // 220: temporal.api.workflowservice.v1.ListSchedulesResponse.schedules:type_name -> temporal.api.schedule.v1.ScheduleListEntry - 199, // 221: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.add_new_compatible_build_id:type_name -> temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion - 200, // 222: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.merge_sets:type_name -> temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets - 295, // 223: temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.major_version_sets:type_name -> temporal.api.taskqueue.v1.CompatibleVersionSet - 201, // 224: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.insert_assignment_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule - 202, // 225: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.replace_assignment_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule - 203, // 226: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.delete_assignment_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule - 204, // 227: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.add_compatible_redirect_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule - 205, // 228: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.replace_compatible_redirect_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule - 206, // 229: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.delete_compatible_redirect_rule:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule - 207, // 230: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.commit_build_id:type_name -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId - 296, // 231: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse.assignment_rules:type_name -> temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule - 297, // 232: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse.compatible_redirect_rules:type_name -> temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule - 296, // 233: temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse.assignment_rules:type_name -> temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule - 297, // 234: temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse.compatible_redirect_rules:type_name -> temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule - 298, // 235: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest.reachability:type_name -> temporal.api.enums.v1.TaskReachability - 299, // 236: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse.build_id_reachability:type_name -> temporal.api.taskqueue.v1.BuildIdReachability - 243, // 237: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 300, // 238: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.wait_policy:type_name -> temporal.api.update.v1.WaitPolicy - 301, // 239: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.request:type_name -> temporal.api.update.v1.Request - 302, // 240: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.update_ref:type_name -> temporal.api.update.v1.UpdateRef - 303, // 241: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.outcome:type_name -> temporal.api.update.v1.Outcome - 304, // 242: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.stage:type_name -> temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage - 243, // 243: temporal.api.workflowservice.v1.StartBatchOperationRequest.executions:type_name -> temporal.api.common.v1.WorkflowExecution - 305, // 244: temporal.api.workflowservice.v1.StartBatchOperationRequest.termination_operation:type_name -> temporal.api.batch.v1.BatchOperationTermination - 306, // 245: temporal.api.workflowservice.v1.StartBatchOperationRequest.signal_operation:type_name -> temporal.api.batch.v1.BatchOperationSignal - 307, // 246: temporal.api.workflowservice.v1.StartBatchOperationRequest.cancellation_operation:type_name -> temporal.api.batch.v1.BatchOperationCancellation - 308, // 247: temporal.api.workflowservice.v1.StartBatchOperationRequest.deletion_operation:type_name -> temporal.api.batch.v1.BatchOperationDeletion - 309, // 248: temporal.api.workflowservice.v1.StartBatchOperationRequest.reset_operation:type_name -> temporal.api.batch.v1.BatchOperationReset - 310, // 249: temporal.api.workflowservice.v1.StartBatchOperationRequest.update_workflow_options_operation:type_name -> temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions - 311, // 250: temporal.api.workflowservice.v1.StartBatchOperationRequest.unpause_activities_operation:type_name -> temporal.api.batch.v1.BatchOperationUnpauseActivities - 312, // 251: temporal.api.workflowservice.v1.StartBatchOperationRequest.reset_activities_operation:type_name -> temporal.api.batch.v1.BatchOperationResetActivities - 313, // 252: temporal.api.workflowservice.v1.StartBatchOperationRequest.update_activity_options_operation:type_name -> temporal.api.batch.v1.BatchOperationUpdateActivityOptions - 314, // 253: temporal.api.workflowservice.v1.DescribeBatchOperationResponse.operation_type:type_name -> temporal.api.enums.v1.BatchOperationType - 315, // 254: temporal.api.workflowservice.v1.DescribeBatchOperationResponse.state:type_name -> temporal.api.enums.v1.BatchOperationState - 249, // 255: temporal.api.workflowservice.v1.DescribeBatchOperationResponse.start_time:type_name -> google.protobuf.Timestamp - 249, // 256: temporal.api.workflowservice.v1.DescribeBatchOperationResponse.close_time:type_name -> google.protobuf.Timestamp - 316, // 257: temporal.api.workflowservice.v1.ListBatchOperationsResponse.operation_info:type_name -> temporal.api.batch.v1.BatchOperationInfo - 302, // 258: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest.update_ref:type_name -> temporal.api.update.v1.UpdateRef - 300, // 259: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest.wait_policy:type_name -> temporal.api.update.v1.WaitPolicy - 303, // 260: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.outcome:type_name -> temporal.api.update.v1.Outcome - 304, // 261: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.stage:type_name -> temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage - 302, // 262: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.update_ref:type_name -> temporal.api.update.v1.UpdateRef - 226, // 263: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.task_queue:type_name -> temporal.api.taskqueue.v1.TaskQueue - 247, // 264: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.worker_version_capabilities:type_name -> temporal.api.common.v1.WorkerVersionCapabilities - 241, // 265: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.deployment_options:type_name -> temporal.api.deployment.v1.WorkerDeploymentOptions - 271, // 266: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.worker_heartbeat:type_name -> temporal.api.worker.v1.WorkerHeartbeat - 317, // 267: temporal.api.workflowservice.v1.PollNexusTaskQueueResponse.request:type_name -> temporal.api.nexus.v1.Request - 251, // 268: temporal.api.workflowservice.v1.PollNexusTaskQueueResponse.poller_scaling_decision:type_name -> temporal.api.taskqueue.v1.PollerScalingDecision - 318, // 269: temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest.response:type_name -> temporal.api.nexus.v1.Response - 319, // 270: temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error:type_name -> temporal.api.nexus.v1.HandlerError - 208, // 271: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.operations:type_name -> temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation - 209, // 272: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.responses:type_name -> temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response - 243, // 273: temporal.api.workflowservice.v1.UpdateActivityOptionsRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 320, // 274: temporal.api.workflowservice.v1.UpdateActivityOptionsRequest.activity_options:type_name -> temporal.api.activity.v1.ActivityOptions - 321, // 275: temporal.api.workflowservice.v1.UpdateActivityOptionsRequest.update_mask:type_name -> google.protobuf.FieldMask - 320, // 276: temporal.api.workflowservice.v1.UpdateActivityOptionsResponse.activity_options:type_name -> temporal.api.activity.v1.ActivityOptions - 243, // 277: temporal.api.workflowservice.v1.PauseActivityRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 243, // 278: temporal.api.workflowservice.v1.UnpauseActivityRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 216, // 279: temporal.api.workflowservice.v1.UnpauseActivityRequest.jitter:type_name -> google.protobuf.Duration - 243, // 280: temporal.api.workflowservice.v1.ResetActivityRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 216, // 281: temporal.api.workflowservice.v1.ResetActivityRequest.jitter:type_name -> google.protobuf.Duration - 243, // 282: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 322, // 283: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.workflow_execution_options:type_name -> temporal.api.workflow.v1.WorkflowExecutionOptions - 321, // 284: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.update_mask:type_name -> google.protobuf.FieldMask - 322, // 285: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse.workflow_execution_options:type_name -> temporal.api.workflow.v1.WorkflowExecutionOptions - 257, // 286: temporal.api.workflowservice.v1.DescribeDeploymentRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 323, // 287: temporal.api.workflowservice.v1.DescribeDeploymentResponse.deployment_info:type_name -> temporal.api.deployment.v1.DeploymentInfo - 324, // 288: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 325, // 289: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.worker_deployment_version_info:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersionInfo - 210, // 290: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.version_task_queues:type_name -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue - 326, // 291: temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse.worker_deployment_info:type_name -> temporal.api.deployment.v1.WorkerDeploymentInfo - 327, // 292: temporal.api.workflowservice.v1.ListDeploymentsResponse.deployments:type_name -> temporal.api.deployment.v1.DeploymentListInfo - 257, // 293: temporal.api.workflowservice.v1.SetCurrentDeploymentRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 328, // 294: temporal.api.workflowservice.v1.SetCurrentDeploymentRequest.update_metadata:type_name -> temporal.api.deployment.v1.UpdateDeploymentMetadata - 323, // 295: temporal.api.workflowservice.v1.SetCurrentDeploymentResponse.current_deployment_info:type_name -> temporal.api.deployment.v1.DeploymentInfo - 323, // 296: temporal.api.workflowservice.v1.SetCurrentDeploymentResponse.previous_deployment_info:type_name -> temporal.api.deployment.v1.DeploymentInfo - 324, // 297: temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 324, // 298: temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 212, // 299: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.worker_deployments:type_name -> temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary - 324, // 300: temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 324, // 301: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.deployment_version:type_name -> temporal.api.deployment.v1.WorkerDeploymentVersion - 213, // 302: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.upsert_entries:type_name -> temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry - 329, // 303: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse.metadata:type_name -> temporal.api.deployment.v1.VersionMetadata - 323, // 304: temporal.api.workflowservice.v1.GetCurrentDeploymentResponse.current_deployment_info:type_name -> temporal.api.deployment.v1.DeploymentInfo - 257, // 305: temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest.deployment:type_name -> temporal.api.deployment.v1.Deployment - 323, // 306: temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse.deployment_info:type_name -> temporal.api.deployment.v1.DeploymentInfo - 330, // 307: temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse.reachability:type_name -> temporal.api.enums.v1.DeploymentReachability - 249, // 308: temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse.last_update_time:type_name -> google.protobuf.Timestamp - 331, // 309: temporal.api.workflowservice.v1.CreateWorkflowRuleRequest.spec:type_name -> temporal.api.rules.v1.WorkflowRuleSpec - 332, // 310: temporal.api.workflowservice.v1.CreateWorkflowRuleResponse.rule:type_name -> temporal.api.rules.v1.WorkflowRule - 332, // 311: temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse.rule:type_name -> temporal.api.rules.v1.WorkflowRule - 332, // 312: temporal.api.workflowservice.v1.ListWorkflowRulesResponse.rules:type_name -> temporal.api.rules.v1.WorkflowRule - 243, // 313: temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest.execution:type_name -> temporal.api.common.v1.WorkflowExecution - 331, // 314: temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest.spec:type_name -> temporal.api.rules.v1.WorkflowRuleSpec - 271, // 315: temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest.worker_heartbeat:type_name -> temporal.api.worker.v1.WorkerHeartbeat - 333, // 316: temporal.api.workflowservice.v1.ListWorkersResponse.workers_info:type_name -> temporal.api.worker.v1.WorkerInfo - 281, // 317: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.task_queue_type:type_name -> temporal.api.enums.v1.TaskQueueType - 214, // 318: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.update_queue_rate_limit:type_name -> temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate - 214, // 319: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.update_fairness_key_rate_limit_default:type_name -> temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate - 215, // 320: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.set_fairness_weight_overrides:type_name -> temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry - 287, // 321: temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse.config:type_name -> temporal.api.taskqueue.v1.TaskQueueConfig - 334, // 322: temporal.api.workflowservice.v1.FetchWorkerConfigRequest.selector:type_name -> temporal.api.common.v1.WorkerSelector - 335, // 323: temporal.api.workflowservice.v1.FetchWorkerConfigResponse.worker_config:type_name -> temporal.api.sdk.v1.WorkerConfig - 335, // 324: temporal.api.workflowservice.v1.UpdateWorkerConfigRequest.worker_config:type_name -> temporal.api.sdk.v1.WorkerConfig - 321, // 325: temporal.api.workflowservice.v1.UpdateWorkerConfigRequest.update_mask:type_name -> google.protobuf.FieldMask - 334, // 326: temporal.api.workflowservice.v1.UpdateWorkerConfigRequest.selector:type_name -> temporal.api.common.v1.WorkerSelector - 335, // 327: temporal.api.workflowservice.v1.UpdateWorkerConfigResponse.worker_config:type_name -> temporal.api.sdk.v1.WorkerConfig - 333, // 328: temporal.api.workflowservice.v1.DescribeWorkerResponse.worker_info:type_name -> temporal.api.worker.v1.WorkerInfo - 248, // 329: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry.value:type_name -> temporal.api.query.v1.WorkflowQuery - 336, // 330: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry.value:type_name -> temporal.api.query.v1.WorkflowQueryResult - 337, // 331: temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup.group_values:type_name -> temporal.api.common.v1.Payload - 338, // 332: temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry.value:type_name -> temporal.api.enums.v1.IndexedValueType - 285, // 333: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry.value:type_name -> temporal.api.taskqueue.v1.TaskQueueStats - 339, // 334: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit.rate_limit_source:type_name -> temporal.api.enums.v1.RateLimitSource - 340, // 335: temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry.value:type_name -> temporal.api.taskqueue.v1.TaskQueueVersionInfo - 341, // 336: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule.rule:type_name -> temporal.api.taskqueue.v1.BuildIdAssignmentRule - 341, // 337: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule.rule:type_name -> temporal.api.taskqueue.v1.BuildIdAssignmentRule - 342, // 338: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule.rule:type_name -> temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule - 342, // 339: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule.rule:type_name -> temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule - 10, // 340: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation.start_workflow:type_name -> temporal.api.workflowservice.v1.StartWorkflowExecutionRequest - 108, // 341: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation.update_workflow:type_name -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest - 11, // 342: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response.start_workflow:type_name -> temporal.api.workflowservice.v1.StartWorkflowExecutionResponse - 109, // 343: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response.update_workflow:type_name -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse - 281, // 344: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.type:type_name -> temporal.api.enums.v1.TaskQueueType - 285, // 345: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.stats:type_name -> temporal.api.taskqueue.v1.TaskQueueStats - 211, // 346: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.stats_by_priority_key:type_name -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry - 285, // 347: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry.value:type_name -> temporal.api.taskqueue.v1.TaskQueueStats - 249, // 348: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.create_time:type_name -> google.protobuf.Timestamp - 343, // 349: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.routing_config:type_name -> temporal.api.deployment.v1.RoutingConfig - 344, // 350: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.latest_version_summary:type_name -> temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - 344, // 351: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.current_version_summary:type_name -> temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - 344, // 352: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.ramping_version_summary:type_name -> temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary - 337, // 353: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry.value:type_name -> temporal.api.common.v1.Payload - 345, // 354: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate.rate_limit:type_name -> temporal.api.taskqueue.v1.RateLimit - 355, // [355:355] is the sub-list for method output_type - 355, // [355:355] is the sub-list for method input_type - 355, // [355:355] is the sub-list for extension type_name - 355, // [355:355] is the sub-list for extension extendee - 0, // [0:355] is the sub-list for field type_name -} - -func init() { file_temporal_api_workflowservice_v1_request_response_proto_init() } -func file_temporal_api_workflowservice_v1_request_response_proto_init() { - if File_temporal_api_workflowservice_v1_request_response_proto != nil { - return - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[52].OneofWrappers = []any{ - (*ListOpenWorkflowExecutionsRequest_ExecutionFilter)(nil), - (*ListOpenWorkflowExecutionsRequest_TypeFilter)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[54].OneofWrappers = []any{ - (*ListClosedWorkflowExecutionsRequest_ExecutionFilter)(nil), - (*ListClosedWorkflowExecutionsRequest_TypeFilter)(nil), - (*ListClosedWorkflowExecutionsRequest_StatusFilter)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[98].OneofWrappers = []any{ - (*UpdateWorkerBuildIdCompatibilityRequest_AddNewBuildIdInNewDefaultSet)(nil), - (*UpdateWorkerBuildIdCompatibilityRequest_AddNewCompatibleBuildId)(nil), - (*UpdateWorkerBuildIdCompatibilityRequest_PromoteSetByBuildId)(nil), - (*UpdateWorkerBuildIdCompatibilityRequest_PromoteBuildIdWithinSet)(nil), - (*UpdateWorkerBuildIdCompatibilityRequest_MergeSets_)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[102].OneofWrappers = []any{ - (*UpdateWorkerVersioningRulesRequest_InsertAssignmentRule)(nil), - (*UpdateWorkerVersioningRulesRequest_ReplaceAssignmentRule)(nil), - (*UpdateWorkerVersioningRulesRequest_DeleteAssignmentRule)(nil), - (*UpdateWorkerVersioningRulesRequest_AddCompatibleRedirectRule)(nil), - (*UpdateWorkerVersioningRulesRequest_ReplaceCompatibleRedirectRule)(nil), - (*UpdateWorkerVersioningRulesRequest_DeleteCompatibleRedirectRule)(nil), - (*UpdateWorkerVersioningRulesRequest_CommitBuildId_)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[110].OneofWrappers = []any{ - (*StartBatchOperationRequest_TerminationOperation)(nil), - (*StartBatchOperationRequest_SignalOperation)(nil), - (*StartBatchOperationRequest_CancellationOperation)(nil), - (*StartBatchOperationRequest_DeletionOperation)(nil), - (*StartBatchOperationRequest_ResetOperation)(nil), - (*StartBatchOperationRequest_UpdateWorkflowOptionsOperation)(nil), - (*StartBatchOperationRequest_UnpauseActivitiesOperation)(nil), - (*StartBatchOperationRequest_ResetActivitiesOperation)(nil), - (*StartBatchOperationRequest_UpdateActivityOptionsOperation)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[128].OneofWrappers = []any{ - (*UpdateActivityOptionsRequest_Id)(nil), - (*UpdateActivityOptionsRequest_Type)(nil), - (*UpdateActivityOptionsRequest_MatchAll)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[130].OneofWrappers = []any{ - (*PauseActivityRequest_Id)(nil), - (*PauseActivityRequest_Type)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[132].OneofWrappers = []any{ - (*UnpauseActivityRequest_Id)(nil), - (*UnpauseActivityRequest_Type)(nil), - (*UnpauseActivityRequest_UnpauseAll)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[134].OneofWrappers = []any{ - (*ResetActivityRequest_Id)(nil), - (*ResetActivityRequest_Type)(nil), - (*ResetActivityRequest_MatchAll)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[160].OneofWrappers = []any{ - (*SetWorkerDeploymentManagerRequest_ManagerIdentity)(nil), - (*SetWorkerDeploymentManagerRequest_Self)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[174].OneofWrappers = []any{ - (*TriggerWorkflowRuleRequest_Id)(nil), - (*TriggerWorkflowRuleRequest_Spec)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[185].OneofWrappers = []any{ - (*UpdateWorkerConfigResponse_WorkerConfig)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[208].OneofWrappers = []any{ - (*ExecuteMultiOperationRequest_Operation_StartWorkflow)(nil), - (*ExecuteMultiOperationRequest_Operation_UpdateWorkflow)(nil), - } - file_temporal_api_workflowservice_v1_request_response_proto_msgTypes[209].OneofWrappers = []any{ - (*ExecuteMultiOperationResponse_Response_StartWorkflow)(nil), - (*ExecuteMultiOperationResponse_Response_UpdateWorkflow)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_workflowservice_v1_request_response_proto_rawDesc), len(file_temporal_api_workflowservice_v1_request_response_proto_rawDesc)), - NumEnums: 0, - NumMessages: 216, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_api_workflowservice_v1_request_response_proto_goTypes, - DependencyIndexes: file_temporal_api_workflowservice_v1_request_response_proto_depIdxs, - MessageInfos: file_temporal_api_workflowservice_v1_request_response_proto_msgTypes, - }.Build() - File_temporal_api_workflowservice_v1_request_response_proto = out.File - file_temporal_api_workflowservice_v1_request_response_proto_goTypes = nil - file_temporal_api_workflowservice_v1_request_response_proto_depIdxs = nil -} diff --git a/build/temporal/api/workflowservice/v1/service.pb.go b/build/temporal/api/workflowservice/v1/service.pb.go deleted file mode 100644 index 7359897..0000000 --- a/build/temporal/api/workflowservice/v1/service.pb.go +++ /dev/null @@ -1,534 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/api/workflowservice/v1/service.proto - -package workflowservice - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var File_temporal_api_workflowservice_v1_service_proto protoreflect.FileDescriptor - -const file_temporal_api_workflowservice_v1_service_proto_rawDesc = "" + - "\n" + - "-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a6temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xfb\xc1\x01\n" + - "\x0fWorkflowService\x12\xc3\x01\n" + - "\x11RegisterNamespace\x129.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x021:\x01*Z\x17:\x01*\"\x12/api/v1/namespaces\"\x13/cluster/namespaces\x12\xd5\x01\n" + - "\x11DescribeNamespace\x129.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02CZ \x12\x1e/api/v1/namespaces/{namespace}\x12\x1f/cluster/namespaces/{namespace}\x12\xb4\x01\n" + - "\x0eListNamespaces\x126.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a7.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+Z\x14\x12\x12/api/v1/namespaces\x12\x13/cluster/namespaces\x12\xe3\x01\n" + - "\x0fUpdateNamespace\x127.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a8.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W:\x01*Z*:\x01*\"%/api/v1/namespaces/{namespace}/update\"&/cluster/namespaces/{namespace}/update\x12\x8f\x01\n" + - "\x12DeprecateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x92\x02\n" + - "\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q:\x01*Z;:\x01*\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}\"//namespaces/{namespace}/workflows/{workflow_id}\x12\xa5\x02\n" + - "\x15ExecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01:\x01*ZE:\x01*\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation\"9/namespaces/{namespace}/workflows/execute-multi-operation\x12\xc1\x02\n" + - "\x1bGetWorkflowExecutionHistory\x12C.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1aD.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01ZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12A/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xe6\x02\n" + - "\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01ZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n" + - "\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n" + - "\x1cRespondWorkflowTaskCompleted\x12D.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1aE.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n" + - "\x19RespondWorkflowTaskFailed\x12A.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1aB.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n" + - "\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n" + - "\x1bRecordActivityTaskHeartbeat\x12C.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1aD.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k:\x01*Z8:\x01*\"3/api/v1/namespaces/{namespace}/activities/heartbeat\",/namespaces/{namespace}/activities/heartbeat\x12\xb3\x02\n" + - "\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w:\x01*Z>:\x01*\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id\"2/namespaces/{namespace}/activities/heartbeat-by-id\x12\x9c\x02\n" + - "\x1cRespondActivityTaskCompleted\x12D.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1aE.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i:\x01*Z7:\x01*\"2/api/v1/namespaces/{namespace}/activities/complete\"+/namespaces/{namespace}/activities/complete\x12\xb4\x02\n" + - " RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u:\x01*Z=:\x01*\"8/api/v1/namespaces/{namespace}/activities/complete-by-id\"1/namespaces/{namespace}/activities/complete-by-id\x12\x8b\x02\n" + - "\x19RespondActivityTaskFailed\x12A.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1aB.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02a:\x01*Z3:\x01*\"./api/v1/namespaces/{namespace}/activities/fail\"'/namespaces/{namespace}/activities/fail\x12\xa3\x02\n" + - "\x1dRespondActivityTaskFailedById\x12E.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1aF.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m:\x01*Z9:\x01*\"4/api/v1/namespaces/{namespace}/activities/fail-by-id\"-/namespaces/{namespace}/activities/fail-by-id\x12\x95\x02\n" + - "\x1bRespondActivityTaskCanceled\x12C.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1aD.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02e:\x01*Z5:\x01*\"0/api/v1/namespaces/{namespace}/activities/cancel\")/namespaces/{namespace}/activities/cancel\x12\xad\x02\n" + - "\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q:\x01*Z;:\x01*\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id\"//namespaces/{namespace}/activities/cancel-by-id\x12\xe0\x02\n" + - "\x1eRequestCancelWorkflowExecution\x12F.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01:\x01*ZU:\x01*\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel\x12\xe7\x02\n" + - "\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01:\x01*Zc:\x01*\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}\x12\xf2\x02\n" + - " SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01:\x01*Z[:\x01*\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}\x12\xc6\x02\n" + - "\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01:\x01*ZT:\x01*\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset\x12\xda\x02\n" + - "\x1aTerminateWorkflowExecution\x12B.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1aC.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01:\x01*ZX:\x01*\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate\x12\x9e\x01\n" + - "\x17DeleteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n" + - "\x1aListOpenWorkflowExecutions\x12B.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1aC.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n" + - "\x1cListClosedWorkflowExecutions\x12D.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1aE.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n" + - "\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02OZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12!/namespaces/{namespace}/workflows\x12\x9a\x02\n" + - "\x1eListArchivedWorkflowExecutions\x12F.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02aZ3\x121/api/v1/namespaces/{namespace}/archived-workflows\x12*/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n" + - "\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n" + - "\x17CountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02YZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12&/namespaces/{namespace}/workflow-count\x12\x92\x01\n" + - "\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n" + - "\x19RespondQueryTaskCompleted\x12A.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1aB.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n" + - "\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n" + - "\x0eShutdownWorker\x126.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a7.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n" + - "\rQueryWorkflow\x125.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a6.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\x01\x82\xd3\xe4\x93\x02\xb7\x01:\x01*Z^:\x01*\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}\x12\xaa\x02\n" + - "\x19DescribeWorkflowExecution\x12A.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1aB.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7fZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x129/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\x89\x02\n" + - "\x11DescribeTaskQueue\x129.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\x82\xd3\xe4\x93\x02wZ>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n" + - "\x0eDeleteSchedule\x126.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a7.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\x82\xd3\xe4\x93\x02kZ8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}*//namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n" + - "\rListSchedules\x125.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a6.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02OZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12!/namespaces/{namespace}/schedules\x12\xb9\x01\n" + - " UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n" + - "\x1dGetWorkerBuildIdCompatibility\x12E.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1aF.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01ZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n" + - "\x1bUpdateWorkerVersioningRules\x12C.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1aD.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n" + - "\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1aA.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01ZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n" + - "\x19GetWorkerTaskReachability\x12A.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1aB.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02mZ9\x127/api/v1/namespaces/{namespace}/worker-task-reachability\x120/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n" + - "\x12DescribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\xb5\x03\n" + - "\x1fDescribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n" + - "\x0fListDeployments\x127.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a8.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02SZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12#/namespaces/{namespace}/deployments\x12\xf7\x02\n" + - "\x19GetDeploymentReachability\x12A.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1aB.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01Zh\x12f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n" + - "\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x128/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n" + - "\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01:\x01*ZO:\x01*\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}\x12\xf7\x02\n" + - "!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01:\x01*Z\\:\x01*\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version\x12\xae\x02\n" + - "\x18DescribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1aA.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01ZE\x12C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01ZE*C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02aZ3\x121/api/v1/namespaces/{namespace}/worker-deployments\x12*/namespaces/{namespace}/worker-deployments\x12\xf0\x03\n" + - "%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02:\x01*Z\x92\x01:\x01*\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata\x12\xd2\x02\n" + - "\x1aSetWorkerDeploymentManager\x12B.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest\x1aC.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01:\x01*ZT:\x01*\"O/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager\"H/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager\x12\xf5\x02\n" + - "\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01:\x01*Zj:\x01*\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}\x12\xaa\x01\n" + - "\x1bPollWorkflowExecutionUpdate\x12C.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1aD.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n" + - "\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u:\x01*Z=:\x01*\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}\"1/namespaces/{namespace}/batch-operations/{job_id}\x12\x95\x02\n" + - "\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f:\x01*ZB:\x01*\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop\"6/namespaces/{namespace}/batch-operations/{job_id}/stop\x12\x90\x02\n" + - "\x16DescribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\x82\xd3\xe4\x93\x02oZ:\x128/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x121/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n" + - "\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]Z1\x12//api/v1/namespaces/{namespace}/batch-operations\x12(/namespaces/{namespace}/batch-operations\x12\x8f\x01\n" + - "\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n" + - "\x19RespondNexusTaskCompleted\x12A.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1aB.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n" + - "\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\x93\x02\n" + - "\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u:\x01*Z=:\x01*\"8/api/v1/namespaces/{namespace}/activities/update-options\"1/namespaces/{namespace}/activities/update-options\x12\xf0\x02\n" + - "\x1eUpdateWorkflowExecutionOptions\x12F.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01:\x01*Z]:\x01*\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options\x12\xe9\x01\n" + - "\rPauseActivity\x125.temporal.api.workflowservice.v1.PauseActivityRequest\x1a6.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02c:\x01*Z4:\x01*\"//api/v1/namespaces/{namespace}/activities/pause\"(/namespaces/{namespace}/activities/pause\x12\xf3\x01\n" + - "\x0fUnpauseActivity\x127.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a8.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g:\x01*Z6:\x01*\"1/api/v1/namespaces/{namespace}/activities/unpause\"*/namespaces/{namespace}/activities/unpause\x12\xe9\x01\n" + - "\rResetActivity\x125.temporal.api.workflowservice.v1.ResetActivityRequest\x1a6.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02c:\x01*Z4:\x01*\"//api/v1/namespaces/{namespace}/activities/reset\"(/namespaces/{namespace}/activities/reset\x12\xf4\x01\n" + - "\x12CreateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_:\x01*Z2:\x01*\"-/api/v1/namespaces/{namespace}/workflow-rules\"&/namespaces/{namespace}/workflow-rules\x12\x88\x02\n" + - "\x14DescribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02mZ9\x127/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x120/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n" + - "\x12DeleteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02mZ9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}*0/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n" + - "\x11ListWorkflowRules\x129.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02YZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12&/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n" + - "\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01:\x01*ZR:\x01*\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule\x12\x83\x02\n" + - "\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"k\x82\xd3\xe4\x93\x02e:\x01*Z5:\x01*\"0/api/v1/namespaces/{namespace}/workers/heartbeat\")/namespaces/{namespace}/workers/heartbeat\x12\xcb\x01\n" + - "\vListWorkers\x123.temporal.api.workflowservice.v1.ListWorkersRequest\x1a4.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02KZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\x1f/namespaces/{namespace}/workers\x12\xaf\x02\n" + - "\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01:\x01*ZJ:\x01*\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config\">/namespaces/{namespace}/task-queues/{task_queue}/update-config\x12\xfd\x01\n" + - "\x11FetchWorkerConfig\x129.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"q\x82\xd3\xe4\x93\x02k:\x01*Z8:\x01*\"3/api/v1/namespaces/{namespace}/workers/fetch-config\",/namespaces/{namespace}/workers/fetch-config\x12\x82\x02\n" + - "\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"s\x82\xd3\xe4\x93\x02m:\x01*Z9:\x01*\"4/api/v1/namespaces/{namespace}/workers/update-config\"-/namespaces/{namespace}/workers/update-config\x12\x94\x02\n" + - "\x0eDescribeWorker\x126.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a7.temporal.api.workflowservice.v1.DescribeWorkerResponse\"\x90\x01\x82\xd3\xe4\x93\x02\x89\x01ZG\x12E/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}B\xb6\x01\n" + - "\"io.temporal.api.workflowservice.v1B\fServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" - -var file_temporal_api_workflowservice_v1_service_proto_goTypes = []any{ - (*RegisterNamespaceRequest)(nil), // 0: temporal.api.workflowservice.v1.RegisterNamespaceRequest - (*DescribeNamespaceRequest)(nil), // 1: temporal.api.workflowservice.v1.DescribeNamespaceRequest - (*ListNamespacesRequest)(nil), // 2: temporal.api.workflowservice.v1.ListNamespacesRequest - (*UpdateNamespaceRequest)(nil), // 3: temporal.api.workflowservice.v1.UpdateNamespaceRequest - (*DeprecateNamespaceRequest)(nil), // 4: temporal.api.workflowservice.v1.DeprecateNamespaceRequest - (*StartWorkflowExecutionRequest)(nil), // 5: temporal.api.workflowservice.v1.StartWorkflowExecutionRequest - (*ExecuteMultiOperationRequest)(nil), // 6: temporal.api.workflowservice.v1.ExecuteMultiOperationRequest - (*GetWorkflowExecutionHistoryRequest)(nil), // 7: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest - (*GetWorkflowExecutionHistoryReverseRequest)(nil), // 8: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest - (*PollWorkflowTaskQueueRequest)(nil), // 9: temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest - (*RespondWorkflowTaskCompletedRequest)(nil), // 10: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest - (*RespondWorkflowTaskFailedRequest)(nil), // 11: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest - (*PollActivityTaskQueueRequest)(nil), // 12: temporal.api.workflowservice.v1.PollActivityTaskQueueRequest - (*RecordActivityTaskHeartbeatRequest)(nil), // 13: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest - (*RecordActivityTaskHeartbeatByIdRequest)(nil), // 14: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest - (*RespondActivityTaskCompletedRequest)(nil), // 15: temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest - (*RespondActivityTaskCompletedByIdRequest)(nil), // 16: temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest - (*RespondActivityTaskFailedRequest)(nil), // 17: temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest - (*RespondActivityTaskFailedByIdRequest)(nil), // 18: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest - (*RespondActivityTaskCanceledRequest)(nil), // 19: temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest - (*RespondActivityTaskCanceledByIdRequest)(nil), // 20: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest - (*RequestCancelWorkflowExecutionRequest)(nil), // 21: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest - (*SignalWorkflowExecutionRequest)(nil), // 22: temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest - (*SignalWithStartWorkflowExecutionRequest)(nil), // 23: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest - (*ResetWorkflowExecutionRequest)(nil), // 24: temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest - (*TerminateWorkflowExecutionRequest)(nil), // 25: temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest - (*DeleteWorkflowExecutionRequest)(nil), // 26: temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest - (*ListOpenWorkflowExecutionsRequest)(nil), // 27: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest - (*ListClosedWorkflowExecutionsRequest)(nil), // 28: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest - (*ListWorkflowExecutionsRequest)(nil), // 29: temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest - (*ListArchivedWorkflowExecutionsRequest)(nil), // 30: temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest - (*ScanWorkflowExecutionsRequest)(nil), // 31: temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest - (*CountWorkflowExecutionsRequest)(nil), // 32: temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest - (*GetSearchAttributesRequest)(nil), // 33: temporal.api.workflowservice.v1.GetSearchAttributesRequest - (*RespondQueryTaskCompletedRequest)(nil), // 34: temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest - (*ResetStickyTaskQueueRequest)(nil), // 35: temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest - (*ShutdownWorkerRequest)(nil), // 36: temporal.api.workflowservice.v1.ShutdownWorkerRequest - (*QueryWorkflowRequest)(nil), // 37: temporal.api.workflowservice.v1.QueryWorkflowRequest - (*DescribeWorkflowExecutionRequest)(nil), // 38: temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest - (*DescribeTaskQueueRequest)(nil), // 39: temporal.api.workflowservice.v1.DescribeTaskQueueRequest - (*GetClusterInfoRequest)(nil), // 40: temporal.api.workflowservice.v1.GetClusterInfoRequest - (*GetSystemInfoRequest)(nil), // 41: temporal.api.workflowservice.v1.GetSystemInfoRequest - (*ListTaskQueuePartitionsRequest)(nil), // 42: temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest - (*CreateScheduleRequest)(nil), // 43: temporal.api.workflowservice.v1.CreateScheduleRequest - (*DescribeScheduleRequest)(nil), // 44: temporal.api.workflowservice.v1.DescribeScheduleRequest - (*UpdateScheduleRequest)(nil), // 45: temporal.api.workflowservice.v1.UpdateScheduleRequest - (*PatchScheduleRequest)(nil), // 46: temporal.api.workflowservice.v1.PatchScheduleRequest - (*ListScheduleMatchingTimesRequest)(nil), // 47: temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest - (*DeleteScheduleRequest)(nil), // 48: temporal.api.workflowservice.v1.DeleteScheduleRequest - (*ListSchedulesRequest)(nil), // 49: temporal.api.workflowservice.v1.ListSchedulesRequest - (*UpdateWorkerBuildIdCompatibilityRequest)(nil), // 50: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest - (*GetWorkerBuildIdCompatibilityRequest)(nil), // 51: temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest - (*UpdateWorkerVersioningRulesRequest)(nil), // 52: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest - (*GetWorkerVersioningRulesRequest)(nil), // 53: temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest - (*GetWorkerTaskReachabilityRequest)(nil), // 54: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest - (*DescribeDeploymentRequest)(nil), // 55: temporal.api.workflowservice.v1.DescribeDeploymentRequest - (*DescribeWorkerDeploymentVersionRequest)(nil), // 56: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest - (*ListDeploymentsRequest)(nil), // 57: temporal.api.workflowservice.v1.ListDeploymentsRequest - (*GetDeploymentReachabilityRequest)(nil), // 58: temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest - (*GetCurrentDeploymentRequest)(nil), // 59: temporal.api.workflowservice.v1.GetCurrentDeploymentRequest - (*SetCurrentDeploymentRequest)(nil), // 60: temporal.api.workflowservice.v1.SetCurrentDeploymentRequest - (*SetWorkerDeploymentCurrentVersionRequest)(nil), // 61: temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest - (*DescribeWorkerDeploymentRequest)(nil), // 62: temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest - (*DeleteWorkerDeploymentRequest)(nil), // 63: temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest - (*DeleteWorkerDeploymentVersionRequest)(nil), // 64: temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest - (*SetWorkerDeploymentRampingVersionRequest)(nil), // 65: temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest - (*ListWorkerDeploymentsRequest)(nil), // 66: temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest - (*UpdateWorkerDeploymentVersionMetadataRequest)(nil), // 67: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest - (*SetWorkerDeploymentManagerRequest)(nil), // 68: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest - (*UpdateWorkflowExecutionRequest)(nil), // 69: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest - (*PollWorkflowExecutionUpdateRequest)(nil), // 70: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest - (*StartBatchOperationRequest)(nil), // 71: temporal.api.workflowservice.v1.StartBatchOperationRequest - (*StopBatchOperationRequest)(nil), // 72: temporal.api.workflowservice.v1.StopBatchOperationRequest - (*DescribeBatchOperationRequest)(nil), // 73: temporal.api.workflowservice.v1.DescribeBatchOperationRequest - (*ListBatchOperationsRequest)(nil), // 74: temporal.api.workflowservice.v1.ListBatchOperationsRequest - (*PollNexusTaskQueueRequest)(nil), // 75: temporal.api.workflowservice.v1.PollNexusTaskQueueRequest - (*RespondNexusTaskCompletedRequest)(nil), // 76: temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest - (*RespondNexusTaskFailedRequest)(nil), // 77: temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest - (*UpdateActivityOptionsRequest)(nil), // 78: temporal.api.workflowservice.v1.UpdateActivityOptionsRequest - (*UpdateWorkflowExecutionOptionsRequest)(nil), // 79: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest - (*PauseActivityRequest)(nil), // 80: temporal.api.workflowservice.v1.PauseActivityRequest - (*UnpauseActivityRequest)(nil), // 81: temporal.api.workflowservice.v1.UnpauseActivityRequest - (*ResetActivityRequest)(nil), // 82: temporal.api.workflowservice.v1.ResetActivityRequest - (*CreateWorkflowRuleRequest)(nil), // 83: temporal.api.workflowservice.v1.CreateWorkflowRuleRequest - (*DescribeWorkflowRuleRequest)(nil), // 84: temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest - (*DeleteWorkflowRuleRequest)(nil), // 85: temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest - (*ListWorkflowRulesRequest)(nil), // 86: temporal.api.workflowservice.v1.ListWorkflowRulesRequest - (*TriggerWorkflowRuleRequest)(nil), // 87: temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest - (*RecordWorkerHeartbeatRequest)(nil), // 88: temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest - (*ListWorkersRequest)(nil), // 89: temporal.api.workflowservice.v1.ListWorkersRequest - (*UpdateTaskQueueConfigRequest)(nil), // 90: temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest - (*FetchWorkerConfigRequest)(nil), // 91: temporal.api.workflowservice.v1.FetchWorkerConfigRequest - (*UpdateWorkerConfigRequest)(nil), // 92: temporal.api.workflowservice.v1.UpdateWorkerConfigRequest - (*DescribeWorkerRequest)(nil), // 93: temporal.api.workflowservice.v1.DescribeWorkerRequest - (*RegisterNamespaceResponse)(nil), // 94: temporal.api.workflowservice.v1.RegisterNamespaceResponse - (*DescribeNamespaceResponse)(nil), // 95: temporal.api.workflowservice.v1.DescribeNamespaceResponse - (*ListNamespacesResponse)(nil), // 96: temporal.api.workflowservice.v1.ListNamespacesResponse - (*UpdateNamespaceResponse)(nil), // 97: temporal.api.workflowservice.v1.UpdateNamespaceResponse - (*DeprecateNamespaceResponse)(nil), // 98: temporal.api.workflowservice.v1.DeprecateNamespaceResponse - (*StartWorkflowExecutionResponse)(nil), // 99: temporal.api.workflowservice.v1.StartWorkflowExecutionResponse - (*ExecuteMultiOperationResponse)(nil), // 100: temporal.api.workflowservice.v1.ExecuteMultiOperationResponse - (*GetWorkflowExecutionHistoryResponse)(nil), // 101: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse - (*GetWorkflowExecutionHistoryReverseResponse)(nil), // 102: temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse - (*PollWorkflowTaskQueueResponse)(nil), // 103: temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse - (*RespondWorkflowTaskCompletedResponse)(nil), // 104: temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse - (*RespondWorkflowTaskFailedResponse)(nil), // 105: temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse - (*PollActivityTaskQueueResponse)(nil), // 106: temporal.api.workflowservice.v1.PollActivityTaskQueueResponse - (*RecordActivityTaskHeartbeatResponse)(nil), // 107: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse - (*RecordActivityTaskHeartbeatByIdResponse)(nil), // 108: temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse - (*RespondActivityTaskCompletedResponse)(nil), // 109: temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse - (*RespondActivityTaskCompletedByIdResponse)(nil), // 110: temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse - (*RespondActivityTaskFailedResponse)(nil), // 111: temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse - (*RespondActivityTaskFailedByIdResponse)(nil), // 112: temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse - (*RespondActivityTaskCanceledResponse)(nil), // 113: temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse - (*RespondActivityTaskCanceledByIdResponse)(nil), // 114: temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse - (*RequestCancelWorkflowExecutionResponse)(nil), // 115: temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse - (*SignalWorkflowExecutionResponse)(nil), // 116: temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse - (*SignalWithStartWorkflowExecutionResponse)(nil), // 117: temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse - (*ResetWorkflowExecutionResponse)(nil), // 118: temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse - (*TerminateWorkflowExecutionResponse)(nil), // 119: temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse - (*DeleteWorkflowExecutionResponse)(nil), // 120: temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse - (*ListOpenWorkflowExecutionsResponse)(nil), // 121: temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse - (*ListClosedWorkflowExecutionsResponse)(nil), // 122: temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse - (*ListWorkflowExecutionsResponse)(nil), // 123: temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse - (*ListArchivedWorkflowExecutionsResponse)(nil), // 124: temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse - (*ScanWorkflowExecutionsResponse)(nil), // 125: temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse - (*CountWorkflowExecutionsResponse)(nil), // 126: temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse - (*GetSearchAttributesResponse)(nil), // 127: temporal.api.workflowservice.v1.GetSearchAttributesResponse - (*RespondQueryTaskCompletedResponse)(nil), // 128: temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse - (*ResetStickyTaskQueueResponse)(nil), // 129: temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse - (*ShutdownWorkerResponse)(nil), // 130: temporal.api.workflowservice.v1.ShutdownWorkerResponse - (*QueryWorkflowResponse)(nil), // 131: temporal.api.workflowservice.v1.QueryWorkflowResponse - (*DescribeWorkflowExecutionResponse)(nil), // 132: temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse - (*DescribeTaskQueueResponse)(nil), // 133: temporal.api.workflowservice.v1.DescribeTaskQueueResponse - (*GetClusterInfoResponse)(nil), // 134: temporal.api.workflowservice.v1.GetClusterInfoResponse - (*GetSystemInfoResponse)(nil), // 135: temporal.api.workflowservice.v1.GetSystemInfoResponse - (*ListTaskQueuePartitionsResponse)(nil), // 136: temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse - (*CreateScheduleResponse)(nil), // 137: temporal.api.workflowservice.v1.CreateScheduleResponse - (*DescribeScheduleResponse)(nil), // 138: temporal.api.workflowservice.v1.DescribeScheduleResponse - (*UpdateScheduleResponse)(nil), // 139: temporal.api.workflowservice.v1.UpdateScheduleResponse - (*PatchScheduleResponse)(nil), // 140: temporal.api.workflowservice.v1.PatchScheduleResponse - (*ListScheduleMatchingTimesResponse)(nil), // 141: temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse - (*DeleteScheduleResponse)(nil), // 142: temporal.api.workflowservice.v1.DeleteScheduleResponse - (*ListSchedulesResponse)(nil), // 143: temporal.api.workflowservice.v1.ListSchedulesResponse - (*UpdateWorkerBuildIdCompatibilityResponse)(nil), // 144: temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse - (*GetWorkerBuildIdCompatibilityResponse)(nil), // 145: temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse - (*UpdateWorkerVersioningRulesResponse)(nil), // 146: temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse - (*GetWorkerVersioningRulesResponse)(nil), // 147: temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse - (*GetWorkerTaskReachabilityResponse)(nil), // 148: temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse - (*DescribeDeploymentResponse)(nil), // 149: temporal.api.workflowservice.v1.DescribeDeploymentResponse - (*DescribeWorkerDeploymentVersionResponse)(nil), // 150: temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse - (*ListDeploymentsResponse)(nil), // 151: temporal.api.workflowservice.v1.ListDeploymentsResponse - (*GetDeploymentReachabilityResponse)(nil), // 152: temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse - (*GetCurrentDeploymentResponse)(nil), // 153: temporal.api.workflowservice.v1.GetCurrentDeploymentResponse - (*SetCurrentDeploymentResponse)(nil), // 154: temporal.api.workflowservice.v1.SetCurrentDeploymentResponse - (*SetWorkerDeploymentCurrentVersionResponse)(nil), // 155: temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse - (*DescribeWorkerDeploymentResponse)(nil), // 156: temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse - (*DeleteWorkerDeploymentResponse)(nil), // 157: temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse - (*DeleteWorkerDeploymentVersionResponse)(nil), // 158: temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse - (*SetWorkerDeploymentRampingVersionResponse)(nil), // 159: temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse - (*ListWorkerDeploymentsResponse)(nil), // 160: temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse - (*UpdateWorkerDeploymentVersionMetadataResponse)(nil), // 161: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse - (*SetWorkerDeploymentManagerResponse)(nil), // 162: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse - (*UpdateWorkflowExecutionResponse)(nil), // 163: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse - (*PollWorkflowExecutionUpdateResponse)(nil), // 164: temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse - (*StartBatchOperationResponse)(nil), // 165: temporal.api.workflowservice.v1.StartBatchOperationResponse - (*StopBatchOperationResponse)(nil), // 166: temporal.api.workflowservice.v1.StopBatchOperationResponse - (*DescribeBatchOperationResponse)(nil), // 167: temporal.api.workflowservice.v1.DescribeBatchOperationResponse - (*ListBatchOperationsResponse)(nil), // 168: temporal.api.workflowservice.v1.ListBatchOperationsResponse - (*PollNexusTaskQueueResponse)(nil), // 169: temporal.api.workflowservice.v1.PollNexusTaskQueueResponse - (*RespondNexusTaskCompletedResponse)(nil), // 170: temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse - (*RespondNexusTaskFailedResponse)(nil), // 171: temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse - (*UpdateActivityOptionsResponse)(nil), // 172: temporal.api.workflowservice.v1.UpdateActivityOptionsResponse - (*UpdateWorkflowExecutionOptionsResponse)(nil), // 173: temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse - (*PauseActivityResponse)(nil), // 174: temporal.api.workflowservice.v1.PauseActivityResponse - (*UnpauseActivityResponse)(nil), // 175: temporal.api.workflowservice.v1.UnpauseActivityResponse - (*ResetActivityResponse)(nil), // 176: temporal.api.workflowservice.v1.ResetActivityResponse - (*CreateWorkflowRuleResponse)(nil), // 177: temporal.api.workflowservice.v1.CreateWorkflowRuleResponse - (*DescribeWorkflowRuleResponse)(nil), // 178: temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse - (*DeleteWorkflowRuleResponse)(nil), // 179: temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse - (*ListWorkflowRulesResponse)(nil), // 180: temporal.api.workflowservice.v1.ListWorkflowRulesResponse - (*TriggerWorkflowRuleResponse)(nil), // 181: temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse - (*RecordWorkerHeartbeatResponse)(nil), // 182: temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse - (*ListWorkersResponse)(nil), // 183: temporal.api.workflowservice.v1.ListWorkersResponse - (*UpdateTaskQueueConfigResponse)(nil), // 184: temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse - (*FetchWorkerConfigResponse)(nil), // 185: temporal.api.workflowservice.v1.FetchWorkerConfigResponse - (*UpdateWorkerConfigResponse)(nil), // 186: temporal.api.workflowservice.v1.UpdateWorkerConfigResponse - (*DescribeWorkerResponse)(nil), // 187: temporal.api.workflowservice.v1.DescribeWorkerResponse -} -var file_temporal_api_workflowservice_v1_service_proto_depIdxs = []int32{ - 0, // 0: temporal.api.workflowservice.v1.WorkflowService.RegisterNamespace:input_type -> temporal.api.workflowservice.v1.RegisterNamespaceRequest - 1, // 1: temporal.api.workflowservice.v1.WorkflowService.DescribeNamespace:input_type -> temporal.api.workflowservice.v1.DescribeNamespaceRequest - 2, // 2: temporal.api.workflowservice.v1.WorkflowService.ListNamespaces:input_type -> temporal.api.workflowservice.v1.ListNamespacesRequest - 3, // 3: temporal.api.workflowservice.v1.WorkflowService.UpdateNamespace:input_type -> temporal.api.workflowservice.v1.UpdateNamespaceRequest - 4, // 4: temporal.api.workflowservice.v1.WorkflowService.DeprecateNamespace:input_type -> temporal.api.workflowservice.v1.DeprecateNamespaceRequest - 5, // 5: temporal.api.workflowservice.v1.WorkflowService.StartWorkflowExecution:input_type -> temporal.api.workflowservice.v1.StartWorkflowExecutionRequest - 6, // 6: temporal.api.workflowservice.v1.WorkflowService.ExecuteMultiOperation:input_type -> temporal.api.workflowservice.v1.ExecuteMultiOperationRequest - 7, // 7: temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistory:input_type -> temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest - 8, // 8: temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistoryReverse:input_type -> temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest - 9, // 9: temporal.api.workflowservice.v1.WorkflowService.PollWorkflowTaskQueue:input_type -> temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest - 10, // 10: temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskCompleted:input_type -> temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest - 11, // 11: temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskFailed:input_type -> temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest - 12, // 12: temporal.api.workflowservice.v1.WorkflowService.PollActivityTaskQueue:input_type -> temporal.api.workflowservice.v1.PollActivityTaskQueueRequest - 13, // 13: temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeat:input_type -> temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest - 14, // 14: temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeatById:input_type -> temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest - 15, // 15: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompleted:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest - 16, // 16: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompletedById:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest - 17, // 17: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailed:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest - 18, // 18: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailedById:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest - 19, // 19: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceled:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest - 20, // 20: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceledById:input_type -> temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest - 21, // 21: temporal.api.workflowservice.v1.WorkflowService.RequestCancelWorkflowExecution:input_type -> temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest - 22, // 22: temporal.api.workflowservice.v1.WorkflowService.SignalWorkflowExecution:input_type -> temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest - 23, // 23: temporal.api.workflowservice.v1.WorkflowService.SignalWithStartWorkflowExecution:input_type -> temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest - 24, // 24: temporal.api.workflowservice.v1.WorkflowService.ResetWorkflowExecution:input_type -> temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest - 25, // 25: temporal.api.workflowservice.v1.WorkflowService.TerminateWorkflowExecution:input_type -> temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest - 26, // 26: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowExecution:input_type -> temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest - 27, // 27: temporal.api.workflowservice.v1.WorkflowService.ListOpenWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest - 28, // 28: temporal.api.workflowservice.v1.WorkflowService.ListClosedWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest - 29, // 29: temporal.api.workflowservice.v1.WorkflowService.ListWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest - 30, // 30: temporal.api.workflowservice.v1.WorkflowService.ListArchivedWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest - 31, // 31: temporal.api.workflowservice.v1.WorkflowService.ScanWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest - 32, // 32: temporal.api.workflowservice.v1.WorkflowService.CountWorkflowExecutions:input_type -> temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest - 33, // 33: temporal.api.workflowservice.v1.WorkflowService.GetSearchAttributes:input_type -> temporal.api.workflowservice.v1.GetSearchAttributesRequest - 34, // 34: temporal.api.workflowservice.v1.WorkflowService.RespondQueryTaskCompleted:input_type -> temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest - 35, // 35: temporal.api.workflowservice.v1.WorkflowService.ResetStickyTaskQueue:input_type -> temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest - 36, // 36: temporal.api.workflowservice.v1.WorkflowService.ShutdownWorker:input_type -> temporal.api.workflowservice.v1.ShutdownWorkerRequest - 37, // 37: temporal.api.workflowservice.v1.WorkflowService.QueryWorkflow:input_type -> temporal.api.workflowservice.v1.QueryWorkflowRequest - 38, // 38: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowExecution:input_type -> temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest - 39, // 39: temporal.api.workflowservice.v1.WorkflowService.DescribeTaskQueue:input_type -> temporal.api.workflowservice.v1.DescribeTaskQueueRequest - 40, // 40: temporal.api.workflowservice.v1.WorkflowService.GetClusterInfo:input_type -> temporal.api.workflowservice.v1.GetClusterInfoRequest - 41, // 41: temporal.api.workflowservice.v1.WorkflowService.GetSystemInfo:input_type -> temporal.api.workflowservice.v1.GetSystemInfoRequest - 42, // 42: temporal.api.workflowservice.v1.WorkflowService.ListTaskQueuePartitions:input_type -> temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest - 43, // 43: temporal.api.workflowservice.v1.WorkflowService.CreateSchedule:input_type -> temporal.api.workflowservice.v1.CreateScheduleRequest - 44, // 44: temporal.api.workflowservice.v1.WorkflowService.DescribeSchedule:input_type -> temporal.api.workflowservice.v1.DescribeScheduleRequest - 45, // 45: temporal.api.workflowservice.v1.WorkflowService.UpdateSchedule:input_type -> temporal.api.workflowservice.v1.UpdateScheduleRequest - 46, // 46: temporal.api.workflowservice.v1.WorkflowService.PatchSchedule:input_type -> temporal.api.workflowservice.v1.PatchScheduleRequest - 47, // 47: temporal.api.workflowservice.v1.WorkflowService.ListScheduleMatchingTimes:input_type -> temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest - 48, // 48: temporal.api.workflowservice.v1.WorkflowService.DeleteSchedule:input_type -> temporal.api.workflowservice.v1.DeleteScheduleRequest - 49, // 49: temporal.api.workflowservice.v1.WorkflowService.ListSchedules:input_type -> temporal.api.workflowservice.v1.ListSchedulesRequest - 50, // 50: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerBuildIdCompatibility:input_type -> temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest - 51, // 51: temporal.api.workflowservice.v1.WorkflowService.GetWorkerBuildIdCompatibility:input_type -> temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest - 52, // 52: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerVersioningRules:input_type -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest - 53, // 53: temporal.api.workflowservice.v1.WorkflowService.GetWorkerVersioningRules:input_type -> temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest - 54, // 54: temporal.api.workflowservice.v1.WorkflowService.GetWorkerTaskReachability:input_type -> temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest - 55, // 55: temporal.api.workflowservice.v1.WorkflowService.DescribeDeployment:input_type -> temporal.api.workflowservice.v1.DescribeDeploymentRequest - 56, // 56: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeploymentVersion:input_type -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest - 57, // 57: temporal.api.workflowservice.v1.WorkflowService.ListDeployments:input_type -> temporal.api.workflowservice.v1.ListDeploymentsRequest - 58, // 58: temporal.api.workflowservice.v1.WorkflowService.GetDeploymentReachability:input_type -> temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest - 59, // 59: temporal.api.workflowservice.v1.WorkflowService.GetCurrentDeployment:input_type -> temporal.api.workflowservice.v1.GetCurrentDeploymentRequest - 60, // 60: temporal.api.workflowservice.v1.WorkflowService.SetCurrentDeployment:input_type -> temporal.api.workflowservice.v1.SetCurrentDeploymentRequest - 61, // 61: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentCurrentVersion:input_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest - 62, // 62: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeployment:input_type -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest - 63, // 63: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeployment:input_type -> temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest - 64, // 64: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeploymentVersion:input_type -> temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest - 65, // 65: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentRampingVersion:input_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest - 66, // 66: temporal.api.workflowservice.v1.WorkflowService.ListWorkerDeployments:input_type -> temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest - 67, // 67: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerDeploymentVersionMetadata:input_type -> temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest - 68, // 68: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentManager:input_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest - 69, // 69: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecution:input_type -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest - 70, // 70: temporal.api.workflowservice.v1.WorkflowService.PollWorkflowExecutionUpdate:input_type -> temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest - 71, // 71: temporal.api.workflowservice.v1.WorkflowService.StartBatchOperation:input_type -> temporal.api.workflowservice.v1.StartBatchOperationRequest - 72, // 72: temporal.api.workflowservice.v1.WorkflowService.StopBatchOperation:input_type -> temporal.api.workflowservice.v1.StopBatchOperationRequest - 73, // 73: temporal.api.workflowservice.v1.WorkflowService.DescribeBatchOperation:input_type -> temporal.api.workflowservice.v1.DescribeBatchOperationRequest - 74, // 74: temporal.api.workflowservice.v1.WorkflowService.ListBatchOperations:input_type -> temporal.api.workflowservice.v1.ListBatchOperationsRequest - 75, // 75: temporal.api.workflowservice.v1.WorkflowService.PollNexusTaskQueue:input_type -> temporal.api.workflowservice.v1.PollNexusTaskQueueRequest - 76, // 76: temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskCompleted:input_type -> temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest - 77, // 77: temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskFailed:input_type -> temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest - 78, // 78: temporal.api.workflowservice.v1.WorkflowService.UpdateActivityOptions:input_type -> temporal.api.workflowservice.v1.UpdateActivityOptionsRequest - 79, // 79: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecutionOptions:input_type -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest - 80, // 80: temporal.api.workflowservice.v1.WorkflowService.PauseActivity:input_type -> temporal.api.workflowservice.v1.PauseActivityRequest - 81, // 81: temporal.api.workflowservice.v1.WorkflowService.UnpauseActivity:input_type -> temporal.api.workflowservice.v1.UnpauseActivityRequest - 82, // 82: temporal.api.workflowservice.v1.WorkflowService.ResetActivity:input_type -> temporal.api.workflowservice.v1.ResetActivityRequest - 83, // 83: temporal.api.workflowservice.v1.WorkflowService.CreateWorkflowRule:input_type -> temporal.api.workflowservice.v1.CreateWorkflowRuleRequest - 84, // 84: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowRule:input_type -> temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest - 85, // 85: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowRule:input_type -> temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest - 86, // 86: temporal.api.workflowservice.v1.WorkflowService.ListWorkflowRules:input_type -> temporal.api.workflowservice.v1.ListWorkflowRulesRequest - 87, // 87: temporal.api.workflowservice.v1.WorkflowService.TriggerWorkflowRule:input_type -> temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest - 88, // 88: temporal.api.workflowservice.v1.WorkflowService.RecordWorkerHeartbeat:input_type -> temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest - 89, // 89: temporal.api.workflowservice.v1.WorkflowService.ListWorkers:input_type -> temporal.api.workflowservice.v1.ListWorkersRequest - 90, // 90: temporal.api.workflowservice.v1.WorkflowService.UpdateTaskQueueConfig:input_type -> temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest - 91, // 91: temporal.api.workflowservice.v1.WorkflowService.FetchWorkerConfig:input_type -> temporal.api.workflowservice.v1.FetchWorkerConfigRequest - 92, // 92: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerConfig:input_type -> temporal.api.workflowservice.v1.UpdateWorkerConfigRequest - 93, // 93: temporal.api.workflowservice.v1.WorkflowService.DescribeWorker:input_type -> temporal.api.workflowservice.v1.DescribeWorkerRequest - 94, // 94: temporal.api.workflowservice.v1.WorkflowService.RegisterNamespace:output_type -> temporal.api.workflowservice.v1.RegisterNamespaceResponse - 95, // 95: temporal.api.workflowservice.v1.WorkflowService.DescribeNamespace:output_type -> temporal.api.workflowservice.v1.DescribeNamespaceResponse - 96, // 96: temporal.api.workflowservice.v1.WorkflowService.ListNamespaces:output_type -> temporal.api.workflowservice.v1.ListNamespacesResponse - 97, // 97: temporal.api.workflowservice.v1.WorkflowService.UpdateNamespace:output_type -> temporal.api.workflowservice.v1.UpdateNamespaceResponse - 98, // 98: temporal.api.workflowservice.v1.WorkflowService.DeprecateNamespace:output_type -> temporal.api.workflowservice.v1.DeprecateNamespaceResponse - 99, // 99: temporal.api.workflowservice.v1.WorkflowService.StartWorkflowExecution:output_type -> temporal.api.workflowservice.v1.StartWorkflowExecutionResponse - 100, // 100: temporal.api.workflowservice.v1.WorkflowService.ExecuteMultiOperation:output_type -> temporal.api.workflowservice.v1.ExecuteMultiOperationResponse - 101, // 101: temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistory:output_type -> temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse - 102, // 102: temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistoryReverse:output_type -> temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse - 103, // 103: temporal.api.workflowservice.v1.WorkflowService.PollWorkflowTaskQueue:output_type -> temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse - 104, // 104: temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskCompleted:output_type -> temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse - 105, // 105: temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskFailed:output_type -> temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse - 106, // 106: temporal.api.workflowservice.v1.WorkflowService.PollActivityTaskQueue:output_type -> temporal.api.workflowservice.v1.PollActivityTaskQueueResponse - 107, // 107: temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeat:output_type -> temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse - 108, // 108: temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeatById:output_type -> temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse - 109, // 109: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompleted:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse - 110, // 110: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompletedById:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse - 111, // 111: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailed:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse - 112, // 112: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailedById:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse - 113, // 113: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceled:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse - 114, // 114: temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceledById:output_type -> temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse - 115, // 115: temporal.api.workflowservice.v1.WorkflowService.RequestCancelWorkflowExecution:output_type -> temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse - 116, // 116: temporal.api.workflowservice.v1.WorkflowService.SignalWorkflowExecution:output_type -> temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse - 117, // 117: temporal.api.workflowservice.v1.WorkflowService.SignalWithStartWorkflowExecution:output_type -> temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse - 118, // 118: temporal.api.workflowservice.v1.WorkflowService.ResetWorkflowExecution:output_type -> temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse - 119, // 119: temporal.api.workflowservice.v1.WorkflowService.TerminateWorkflowExecution:output_type -> temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse - 120, // 120: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowExecution:output_type -> temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse - 121, // 121: temporal.api.workflowservice.v1.WorkflowService.ListOpenWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse - 122, // 122: temporal.api.workflowservice.v1.WorkflowService.ListClosedWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse - 123, // 123: temporal.api.workflowservice.v1.WorkflowService.ListWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse - 124, // 124: temporal.api.workflowservice.v1.WorkflowService.ListArchivedWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse - 125, // 125: temporal.api.workflowservice.v1.WorkflowService.ScanWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse - 126, // 126: temporal.api.workflowservice.v1.WorkflowService.CountWorkflowExecutions:output_type -> temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse - 127, // 127: temporal.api.workflowservice.v1.WorkflowService.GetSearchAttributes:output_type -> temporal.api.workflowservice.v1.GetSearchAttributesResponse - 128, // 128: temporal.api.workflowservice.v1.WorkflowService.RespondQueryTaskCompleted:output_type -> temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse - 129, // 129: temporal.api.workflowservice.v1.WorkflowService.ResetStickyTaskQueue:output_type -> temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse - 130, // 130: temporal.api.workflowservice.v1.WorkflowService.ShutdownWorker:output_type -> temporal.api.workflowservice.v1.ShutdownWorkerResponse - 131, // 131: temporal.api.workflowservice.v1.WorkflowService.QueryWorkflow:output_type -> temporal.api.workflowservice.v1.QueryWorkflowResponse - 132, // 132: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowExecution:output_type -> temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse - 133, // 133: temporal.api.workflowservice.v1.WorkflowService.DescribeTaskQueue:output_type -> temporal.api.workflowservice.v1.DescribeTaskQueueResponse - 134, // 134: temporal.api.workflowservice.v1.WorkflowService.GetClusterInfo:output_type -> temporal.api.workflowservice.v1.GetClusterInfoResponse - 135, // 135: temporal.api.workflowservice.v1.WorkflowService.GetSystemInfo:output_type -> temporal.api.workflowservice.v1.GetSystemInfoResponse - 136, // 136: temporal.api.workflowservice.v1.WorkflowService.ListTaskQueuePartitions:output_type -> temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse - 137, // 137: temporal.api.workflowservice.v1.WorkflowService.CreateSchedule:output_type -> temporal.api.workflowservice.v1.CreateScheduleResponse - 138, // 138: temporal.api.workflowservice.v1.WorkflowService.DescribeSchedule:output_type -> temporal.api.workflowservice.v1.DescribeScheduleResponse - 139, // 139: temporal.api.workflowservice.v1.WorkflowService.UpdateSchedule:output_type -> temporal.api.workflowservice.v1.UpdateScheduleResponse - 140, // 140: temporal.api.workflowservice.v1.WorkflowService.PatchSchedule:output_type -> temporal.api.workflowservice.v1.PatchScheduleResponse - 141, // 141: temporal.api.workflowservice.v1.WorkflowService.ListScheduleMatchingTimes:output_type -> temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse - 142, // 142: temporal.api.workflowservice.v1.WorkflowService.DeleteSchedule:output_type -> temporal.api.workflowservice.v1.DeleteScheduleResponse - 143, // 143: temporal.api.workflowservice.v1.WorkflowService.ListSchedules:output_type -> temporal.api.workflowservice.v1.ListSchedulesResponse - 144, // 144: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerBuildIdCompatibility:output_type -> temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse - 145, // 145: temporal.api.workflowservice.v1.WorkflowService.GetWorkerBuildIdCompatibility:output_type -> temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse - 146, // 146: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerVersioningRules:output_type -> temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse - 147, // 147: temporal.api.workflowservice.v1.WorkflowService.GetWorkerVersioningRules:output_type -> temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse - 148, // 148: temporal.api.workflowservice.v1.WorkflowService.GetWorkerTaskReachability:output_type -> temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse - 149, // 149: temporal.api.workflowservice.v1.WorkflowService.DescribeDeployment:output_type -> temporal.api.workflowservice.v1.DescribeDeploymentResponse - 150, // 150: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeploymentVersion:output_type -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse - 151, // 151: temporal.api.workflowservice.v1.WorkflowService.ListDeployments:output_type -> temporal.api.workflowservice.v1.ListDeploymentsResponse - 152, // 152: temporal.api.workflowservice.v1.WorkflowService.GetDeploymentReachability:output_type -> temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse - 153, // 153: temporal.api.workflowservice.v1.WorkflowService.GetCurrentDeployment:output_type -> temporal.api.workflowservice.v1.GetCurrentDeploymentResponse - 154, // 154: temporal.api.workflowservice.v1.WorkflowService.SetCurrentDeployment:output_type -> temporal.api.workflowservice.v1.SetCurrentDeploymentResponse - 155, // 155: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentCurrentVersion:output_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse - 156, // 156: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeployment:output_type -> temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse - 157, // 157: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeployment:output_type -> temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse - 158, // 158: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeploymentVersion:output_type -> temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse - 159, // 159: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentRampingVersion:output_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse - 160, // 160: temporal.api.workflowservice.v1.WorkflowService.ListWorkerDeployments:output_type -> temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse - 161, // 161: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerDeploymentVersionMetadata:output_type -> temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse - 162, // 162: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentManager:output_type -> temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse - 163, // 163: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecution:output_type -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse - 164, // 164: temporal.api.workflowservice.v1.WorkflowService.PollWorkflowExecutionUpdate:output_type -> temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse - 165, // 165: temporal.api.workflowservice.v1.WorkflowService.StartBatchOperation:output_type -> temporal.api.workflowservice.v1.StartBatchOperationResponse - 166, // 166: temporal.api.workflowservice.v1.WorkflowService.StopBatchOperation:output_type -> temporal.api.workflowservice.v1.StopBatchOperationResponse - 167, // 167: temporal.api.workflowservice.v1.WorkflowService.DescribeBatchOperation:output_type -> temporal.api.workflowservice.v1.DescribeBatchOperationResponse - 168, // 168: temporal.api.workflowservice.v1.WorkflowService.ListBatchOperations:output_type -> temporal.api.workflowservice.v1.ListBatchOperationsResponse - 169, // 169: temporal.api.workflowservice.v1.WorkflowService.PollNexusTaskQueue:output_type -> temporal.api.workflowservice.v1.PollNexusTaskQueueResponse - 170, // 170: temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskCompleted:output_type -> temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse - 171, // 171: temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskFailed:output_type -> temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse - 172, // 172: temporal.api.workflowservice.v1.WorkflowService.UpdateActivityOptions:output_type -> temporal.api.workflowservice.v1.UpdateActivityOptionsResponse - 173, // 173: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecutionOptions:output_type -> temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse - 174, // 174: temporal.api.workflowservice.v1.WorkflowService.PauseActivity:output_type -> temporal.api.workflowservice.v1.PauseActivityResponse - 175, // 175: temporal.api.workflowservice.v1.WorkflowService.UnpauseActivity:output_type -> temporal.api.workflowservice.v1.UnpauseActivityResponse - 176, // 176: temporal.api.workflowservice.v1.WorkflowService.ResetActivity:output_type -> temporal.api.workflowservice.v1.ResetActivityResponse - 177, // 177: temporal.api.workflowservice.v1.WorkflowService.CreateWorkflowRule:output_type -> temporal.api.workflowservice.v1.CreateWorkflowRuleResponse - 178, // 178: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowRule:output_type -> temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse - 179, // 179: temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowRule:output_type -> temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse - 180, // 180: temporal.api.workflowservice.v1.WorkflowService.ListWorkflowRules:output_type -> temporal.api.workflowservice.v1.ListWorkflowRulesResponse - 181, // 181: temporal.api.workflowservice.v1.WorkflowService.TriggerWorkflowRule:output_type -> temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse - 182, // 182: temporal.api.workflowservice.v1.WorkflowService.RecordWorkerHeartbeat:output_type -> temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse - 183, // 183: temporal.api.workflowservice.v1.WorkflowService.ListWorkers:output_type -> temporal.api.workflowservice.v1.ListWorkersResponse - 184, // 184: temporal.api.workflowservice.v1.WorkflowService.UpdateTaskQueueConfig:output_type -> temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse - 185, // 185: temporal.api.workflowservice.v1.WorkflowService.FetchWorkerConfig:output_type -> temporal.api.workflowservice.v1.FetchWorkerConfigResponse - 186, // 186: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerConfig:output_type -> temporal.api.workflowservice.v1.UpdateWorkerConfigResponse - 187, // 187: temporal.api.workflowservice.v1.WorkflowService.DescribeWorker:output_type -> temporal.api.workflowservice.v1.DescribeWorkerResponse - 94, // [94:188] is the sub-list for method output_type - 0, // [0:94] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_temporal_api_workflowservice_v1_service_proto_init() } -func file_temporal_api_workflowservice_v1_service_proto_init() { - if File_temporal_api_workflowservice_v1_service_proto != nil { - return - } - file_temporal_api_workflowservice_v1_request_response_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_api_workflowservice_v1_service_proto_rawDesc), len(file_temporal_api_workflowservice_v1_service_proto_rawDesc)), - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_temporal_api_workflowservice_v1_service_proto_goTypes, - DependencyIndexes: file_temporal_api_workflowservice_v1_service_proto_depIdxs, - }.Build() - File_temporal_api_workflowservice_v1_service_proto = out.File - file_temporal_api_workflowservice_v1_service_proto_goTypes = nil - file_temporal_api_workflowservice_v1_service_proto_depIdxs = nil -} diff --git a/build/temporal/api/workflowservice/v1/service_grpc.pb.go b/build/temporal/api/workflowservice/v1/service_grpc.pb.go deleted file mode 100644 index c92df32..0000000 --- a/build/temporal/api/workflowservice/v1/service_grpc.pb.go +++ /dev/null @@ -1,4601 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: temporal/api/workflowservice/v1/service.proto - -package workflowservice - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - WorkflowService_RegisterNamespace_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace" - WorkflowService_DescribeNamespace_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace" - WorkflowService_ListNamespaces_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces" - WorkflowService_UpdateNamespace_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace" - WorkflowService_DeprecateNamespace_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace" - WorkflowService_StartWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution" - WorkflowService_ExecuteMultiOperation_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation" - WorkflowService_GetWorkflowExecutionHistory_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory" - WorkflowService_GetWorkflowExecutionHistoryReverse_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse" - WorkflowService_PollWorkflowTaskQueue_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue" - WorkflowService_RespondWorkflowTaskCompleted_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted" - WorkflowService_RespondWorkflowTaskFailed_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed" - WorkflowService_PollActivityTaskQueue_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue" - WorkflowService_RecordActivityTaskHeartbeat_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat" - WorkflowService_RecordActivityTaskHeartbeatById_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById" - WorkflowService_RespondActivityTaskCompleted_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted" - WorkflowService_RespondActivityTaskCompletedById_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById" - WorkflowService_RespondActivityTaskFailed_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed" - WorkflowService_RespondActivityTaskFailedById_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById" - WorkflowService_RespondActivityTaskCanceled_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled" - WorkflowService_RespondActivityTaskCanceledById_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById" - WorkflowService_RequestCancelWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution" - WorkflowService_SignalWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution" - WorkflowService_SignalWithStartWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution" - WorkflowService_ResetWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution" - WorkflowService_TerminateWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution" - WorkflowService_DeleteWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution" - WorkflowService_ListOpenWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions" - WorkflowService_ListClosedWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions" - WorkflowService_ListWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions" - WorkflowService_ListArchivedWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions" - WorkflowService_ScanWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions" - WorkflowService_CountWorkflowExecutions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions" - WorkflowService_GetSearchAttributes_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes" - WorkflowService_RespondQueryTaskCompleted_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted" - WorkflowService_ResetStickyTaskQueue_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue" - WorkflowService_ShutdownWorker_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker" - WorkflowService_QueryWorkflow_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow" - WorkflowService_DescribeWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution" - WorkflowService_DescribeTaskQueue_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue" - WorkflowService_GetClusterInfo_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo" - WorkflowService_GetSystemInfo_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo" - WorkflowService_ListTaskQueuePartitions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions" - WorkflowService_CreateSchedule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule" - WorkflowService_DescribeSchedule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule" - WorkflowService_UpdateSchedule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule" - WorkflowService_PatchSchedule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule" - WorkflowService_ListScheduleMatchingTimes_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes" - WorkflowService_DeleteSchedule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule" - WorkflowService_ListSchedules_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules" - WorkflowService_UpdateWorkerBuildIdCompatibility_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility" - WorkflowService_GetWorkerBuildIdCompatibility_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility" - WorkflowService_UpdateWorkerVersioningRules_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules" - WorkflowService_GetWorkerVersioningRules_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules" - WorkflowService_GetWorkerTaskReachability_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability" - WorkflowService_DescribeDeployment_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment" - WorkflowService_DescribeWorkerDeploymentVersion_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion" - WorkflowService_ListDeployments_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments" - WorkflowService_GetDeploymentReachability_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability" - WorkflowService_GetCurrentDeployment_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment" - WorkflowService_SetCurrentDeployment_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment" - WorkflowService_SetWorkerDeploymentCurrentVersion_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion" - WorkflowService_DescribeWorkerDeployment_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment" - WorkflowService_DeleteWorkerDeployment_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment" - WorkflowService_DeleteWorkerDeploymentVersion_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion" - WorkflowService_SetWorkerDeploymentRampingVersion_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion" - WorkflowService_ListWorkerDeployments_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments" - WorkflowService_UpdateWorkerDeploymentVersionMetadata_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata" - WorkflowService_SetWorkerDeploymentManager_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentManager" - WorkflowService_UpdateWorkflowExecution_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution" - WorkflowService_PollWorkflowExecutionUpdate_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate" - WorkflowService_StartBatchOperation_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation" - WorkflowService_StopBatchOperation_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation" - WorkflowService_DescribeBatchOperation_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation" - WorkflowService_ListBatchOperations_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations" - WorkflowService_PollNexusTaskQueue_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue" - WorkflowService_RespondNexusTaskCompleted_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted" - WorkflowService_RespondNexusTaskFailed_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed" - WorkflowService_UpdateActivityOptions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions" - WorkflowService_UpdateWorkflowExecutionOptions_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions" - WorkflowService_PauseActivity_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity" - WorkflowService_UnpauseActivity_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity" - WorkflowService_ResetActivity_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity" - WorkflowService_CreateWorkflowRule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule" - WorkflowService_DescribeWorkflowRule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule" - WorkflowService_DeleteWorkflowRule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule" - WorkflowService_ListWorkflowRules_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules" - WorkflowService_TriggerWorkflowRule_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule" - WorkflowService_RecordWorkerHeartbeat_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat" - WorkflowService_ListWorkers_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers" - WorkflowService_UpdateTaskQueueConfig_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig" - WorkflowService_FetchWorkerConfig_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig" - WorkflowService_UpdateWorkerConfig_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig" - WorkflowService_DescribeWorker_FullMethodName = "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorker" -) - -// WorkflowServiceClient is the client API for WorkflowService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -// -// WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server -// to create and interact with workflows and activities. -// -// Users are expected to call `StartWorkflowExecution` to create a new workflow execution. -// -// To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow -// and activity tasks from the service. For each workflow task, the sdk must process the -// (incremental or complete) event history and respond back with any newly generated commands. -// -// For each activity task, the worker is expected to execute the user's code which implements that -// activity, responding with completion or failure. -type WorkflowServiceClient interface { - // RegisterNamespace creates a new namespace which can be used as a container for all resources. - // - // A Namespace is a top level entity within Temporal, and is used as a container for resources - // like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides - // isolation for all resources within the namespace. All resources belongs to exactly one - // namespace. - RegisterNamespace(ctx context.Context, in *RegisterNamespaceRequest, opts ...grpc.CallOption) (*RegisterNamespaceResponse, error) - // DescribeNamespace returns the information and configuration for a registered namespace. - DescribeNamespace(ctx context.Context, in *DescribeNamespaceRequest, opts ...grpc.CallOption) (*DescribeNamespaceResponse, error) - // ListNamespaces returns the information and configuration for all namespaces. - ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) - // UpdateNamespace is used to update the information and configuration of a registered - // namespace. - UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) - // DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. - // - // Once the namespace is deprecated it cannot be used to start new workflow executions. Existing - // workflow executions will continue to run on deprecated namespaces. - // Deprecated. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: Deprecated --) - DeprecateNamespace(ctx context.Context, in *DeprecateNamespaceRequest, opts ...grpc.CallOption) (*DeprecateNamespaceResponse, error) - // StartWorkflowExecution starts a new workflow execution. - // - // It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and - // also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an - // instance already exists with same workflow id. - StartWorkflowExecution(ctx context.Context, in *StartWorkflowExecutionRequest, opts ...grpc.CallOption) (*StartWorkflowExecutionResponse, error) - // ExecuteMultiOperation executes multiple operations within a single workflow. - // - // Operations are started atomically, meaning if *any* operation fails to be started, none are, - // and the request fails. Upon start, the API returns only when *all* operations have a response. - // - // Upon failure, it returns `MultiOperationExecutionFailure` where the status code - // equals the status code of the *first* operation that failed to be started. - // - // NOTE: Experimental API. - ExecuteMultiOperation(ctx context.Context, in *ExecuteMultiOperationRequest, opts ...grpc.CallOption) (*ExecuteMultiOperationResponse, error) - // GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with - // `NotFound` if the specified workflow execution is unknown to the service. - GetWorkflowExecutionHistory(ctx context.Context, in *GetWorkflowExecutionHistoryRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionHistoryResponse, error) - // GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - // order (starting from last event). Fails with`NotFound` if the specified workflow execution is - // unknown to the service. - GetWorkflowExecutionHistoryReverse(ctx context.Context, in *GetWorkflowExecutionHistoryReverseRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionHistoryReverseResponse, error) - // PollWorkflowTaskQueue is called by workers to make progress on workflows. - // - // A WorkflowTask is dispatched to callers for active workflow executions with pending workflow - // tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done - // processing the task. The service will create a `WorkflowTaskStarted` event in the history for - // this task before handing it to the worker. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollWorkflowTaskQueue(ctx context.Context, in *PollWorkflowTaskQueueRequest, opts ...grpc.CallOption) (*PollWorkflowTaskQueueResponse, error) - // RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks - // they received from `PollWorkflowTaskQueue`. - // - // Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's - // history, along with events corresponding to whatever commands the SDK generated while - // executing the task (ex timer started, activity task scheduled, etc). - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondWorkflowTaskCompleted(ctx context.Context, in *RespondWorkflowTaskCompletedRequest, opts ...grpc.CallOption) (*RespondWorkflowTaskCompletedResponse, error) - // RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task - // failed. - // - // This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow - // task will be scheduled. This API can be used to report unhandled failures resulting from - // applying the workflow task. - // - // Temporal will only append first WorkflowTaskFailed event to the history of workflow execution - // for consecutive failures. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondWorkflowTaskFailed(ctx context.Context, in *RespondWorkflowTaskFailedRequest, opts ...grpc.CallOption) (*RespondWorkflowTaskFailedResponse, error) - // PollActivityTaskQueue is called by workers to process activity tasks from a specific task - // queue. - // - // The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done - // processing the task. - // - // An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during - // workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state - // before the task is dispatched to the worker. The started event, and the final event - // (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be - // written permanently to Workflow execution history when Activity is finished. This is done to - // avoid writing many events in the case of a failure/retry loop. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollActivityTaskQueue(ctx context.Context, in *PollActivityTaskQueueRequest, opts ...grpc.CallOption) (*PollActivityTaskQueueResponse, error) - // RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. - // - // If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, - // then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to - // the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in - // such situations, in that event, the SDK should request cancellation of the activity. - RecordActivityTaskHeartbeat(ctx context.Context, in *RecordActivityTaskHeartbeatRequest, opts ...grpc.CallOption) (*RecordActivityTaskHeartbeatResponse, error) - // See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RecordActivityTaskHeartbeatById(ctx context.Context, in *RecordActivityTaskHeartbeatByIdRequest, opts ...grpc.CallOption) (*RecordActivityTaskHeartbeatByIdResponse, error) - // RespondActivityTaskCompleted is called by workers when they successfully complete an activity - // task. - // - // This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history - // and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - // no longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskCompleted(ctx context.Context, in *RespondActivityTaskCompletedRequest, opts ...grpc.CallOption) (*RespondActivityTaskCompletedResponse, error) - // See `RecordActivityTaskCompleted`. This version allows clients to record completions by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskCompletedById(ctx context.Context, in *RespondActivityTaskCompletedByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskCompletedByIdResponse, error) - // RespondActivityTaskFailed is called by workers when processing an activity task fails. - // - // This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and - // a new workflow task created for the workflow. Fails with `NotFound` if the task token is no - // longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskFailed(ctx context.Context, in *RespondActivityTaskFailedRequest, opts ...grpc.CallOption) (*RespondActivityTaskFailedResponse, error) - // See `RecordActivityTaskFailed`. This version allows clients to record failures by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskFailedById(ctx context.Context, in *RespondActivityTaskFailedByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskFailedByIdResponse, error) - // RespondActivityTaskFailed is called by workers when processing an activity task fails. - // - // This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history - // and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - // no longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskCanceled(ctx context.Context, in *RespondActivityTaskCanceledRequest, opts ...grpc.CallOption) (*RespondActivityTaskCanceledResponse, error) - // See `RecordActivityTaskCanceled`. This version allows clients to record failures by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskCanceledById(ctx context.Context, in *RespondActivityTaskCanceledByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskCanceledByIdResponse, error) - // RequestCancelWorkflowExecution is called by workers when they want to request cancellation of - // a workflow execution. - // - // This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the - // workflow history and a new workflow task created for the workflow. It returns success if the requested - // workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. - RequestCancelWorkflowExecution(ctx context.Context, in *RequestCancelWorkflowExecutionRequest, opts ...grpc.CallOption) (*RequestCancelWorkflowExecutionResponse, error) - // SignalWorkflowExecution is used to send a signal to a running workflow execution. - // - // This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow - // task being created for the execution. - SignalWorkflowExecution(ctx context.Context, in *SignalWorkflowExecutionRequest, opts ...grpc.CallOption) (*SignalWorkflowExecutionResponse, error) - // SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if - // it isn't yet started. - // - // If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history - // and a workflow task is generated. - // - // If the workflow is not running or not found, then the workflow is created with - // `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a - // workflow task is generated. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "With" is used to indicate combined operation. --) - SignalWithStartWorkflowExecution(ctx context.Context, in *SignalWithStartWorkflowExecutionRequest, opts ...grpc.CallOption) (*SignalWithStartWorkflowExecutionResponse, error) - // ResetWorkflowExecution will reset an existing workflow execution to a specified - // `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current - // execution instance. - // TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out? - ResetWorkflowExecution(ctx context.Context, in *ResetWorkflowExecutionRequest, opts ...grpc.CallOption) (*ResetWorkflowExecutionResponse, error) - // TerminateWorkflowExecution terminates an existing workflow execution by recording a - // `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the - // execution instance. - TerminateWorkflowExecution(ctx context.Context, in *TerminateWorkflowExecutionRequest, opts ...grpc.CallOption) (*TerminateWorkflowExecutionResponse, error) - // DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when - // WorkflowExecution.run_id is provided) or the latest Workflow Execution (when - // WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be - // terminated before deletion. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) - DeleteWorkflowExecution(ctx context.Context, in *DeleteWorkflowExecutionRequest, opts ...grpc.CallOption) (*DeleteWorkflowExecutionResponse, error) - // ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ListOpenWorkflowExecutions(ctx context.Context, in *ListOpenWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListOpenWorkflowExecutionsResponse, error) - // ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ListClosedWorkflowExecutions(ctx context.Context, in *ListClosedWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListClosedWorkflowExecutionsResponse, error) - // ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace. - ListWorkflowExecutions(ctx context.Context, in *ListWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListWorkflowExecutionsResponse, error) - // ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace. - ListArchivedWorkflowExecutions(ctx context.Context, in *ListArchivedWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListArchivedWorkflowExecutionsResponse, error) - // ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. - // It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. - // - // Deprecated: Replaced with `ListWorkflowExecutions`. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ScanWorkflowExecutions(ctx context.Context, in *ScanWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ScanWorkflowExecutionsResponse, error) - // CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace. - CountWorkflowExecutions(ctx context.Context, in *CountWorkflowExecutionsRequest, opts ...grpc.CallOption) (*CountWorkflowExecutionsResponse, error) - // GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) - GetSearchAttributes(ctx context.Context, in *GetSearchAttributesRequest, opts ...grpc.CallOption) (*GetSearchAttributesResponse, error) - // RespondQueryTaskCompleted is called by workers to complete queries which were delivered on - // the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. - // - // Completing the query will unblock the corresponding client call to `QueryWorkflow` and return - // the query result a response. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondQueryTaskCompleted(ctx context.Context, in *RespondQueryTaskCompletedRequest, opts ...grpc.CallOption) (*RespondQueryTaskCompletedResponse, error) - // ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of - // a given workflow. This is prudent for workers to perform if a workflow has been paged out of - // their cache. - // - // Things cleared are: - // 1. StickyTaskQueue - // 2. StickyScheduleToStartTimeout - // - // When possible, ShutdownWorker should be preferred over - // ResetStickyTaskQueue (particularly when a worker is shutting down or - // cycling). - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - ResetStickyTaskQueue(ctx context.Context, in *ResetStickyTaskQueueRequest, opts ...grpc.CallOption) (*ResetStickyTaskQueueResponse, error) - // ShutdownWorker is used to indicate that the given sticky task - // queue is no longer being polled by its worker. Following the completion of - // ShutdownWorker, newly-added workflow tasks will instead be placed - // in the normal task queue, eligible for any worker to pick up. - // - // ShutdownWorker should be called by workers while shutting down, - // after they've shut down their pollers. If another sticky poll - // request is issued, the sticky task queue will be revived. - // - // As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - ShutdownWorker(ctx context.Context, in *ShutdownWorkerRequest, opts ...grpc.CallOption) (*ShutdownWorkerResponse, error) - // QueryWorkflow requests a query be executed for a specified workflow execution. - QueryWorkflow(ctx context.Context, in *QueryWorkflowRequest, opts ...grpc.CallOption) (*QueryWorkflowResponse, error) - // DescribeWorkflowExecution returns information about the specified workflow execution. - DescribeWorkflowExecution(ctx context.Context, in *DescribeWorkflowExecutionRequest, opts ...grpc.CallOption) (*DescribeWorkflowExecutionResponse, error) - // DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - // - List of pollers - // - Workflow Reachability status - // - Backlog info for Workflow and/or Activity tasks - DescribeTaskQueue(ctx context.Context, in *DescribeTaskQueueRequest, opts ...grpc.CallOption) (*DescribeTaskQueueResponse, error) - // GetClusterInfo returns information about temporal cluster - GetClusterInfo(ctx context.Context, in *GetClusterInfoRequest, opts ...grpc.CallOption) (*GetClusterInfoResponse, error) - // GetSystemInfo returns information about the system. - GetSystemInfo(ctx context.Context, in *GetSystemInfoRequest, opts ...grpc.CallOption) (*GetSystemInfoResponse, error) - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) - ListTaskQueuePartitions(ctx context.Context, in *ListTaskQueuePartitionsRequest, opts ...grpc.CallOption) (*ListTaskQueuePartitionsResponse, error) - // Creates a new schedule. - CreateSchedule(ctx context.Context, in *CreateScheduleRequest, opts ...grpc.CallOption) (*CreateScheduleResponse, error) - // Returns the schedule description and current state of an existing schedule. - DescribeSchedule(ctx context.Context, in *DescribeScheduleRequest, opts ...grpc.CallOption) (*DescribeScheduleResponse, error) - // Changes the configuration or state of an existing schedule. - UpdateSchedule(ctx context.Context, in *UpdateScheduleRequest, opts ...grpc.CallOption) (*UpdateScheduleResponse, error) - // Makes a specific change to a schedule or triggers an immediate action. - PatchSchedule(ctx context.Context, in *PatchScheduleRequest, opts ...grpc.CallOption) (*PatchScheduleResponse, error) - // Lists matching times within a range. - ListScheduleMatchingTimes(ctx context.Context, in *ListScheduleMatchingTimesRequest, opts ...grpc.CallOption) (*ListScheduleMatchingTimesResponse, error) - // Deletes a schedule, removing it from the system. - DeleteSchedule(ctx context.Context, in *DeleteScheduleRequest, opts ...grpc.CallOption) (*DeleteScheduleResponse, error) - // List all schedules in a namespace. - ListSchedules(ctx context.Context, in *ListSchedulesRequest, opts ...grpc.CallOption) (*ListSchedulesResponse, error) - // Deprecated. Use `UpdateWorkerVersioningRules`. - // - // Allows users to specify sets of worker build id versions on a per task queue basis. Versions - // are ordered, and may be either compatible with some extant version, or a new incompatible - // version, forming sets of ids which are incompatible with each other, but whose contained - // members are compatible with one another. - // - // A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - // multiple workers. - // - // To query which workers can be retired, use the `GetWorkerTaskReachability` API. - // - // NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` - // (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - UpdateWorkerBuildIdCompatibility(ctx context.Context, in *UpdateWorkerBuildIdCompatibilityRequest, opts ...grpc.CallOption) (*UpdateWorkerBuildIdCompatibilityResponse, error) - // Deprecated. Use `GetWorkerVersioningRules`. - // Fetches the worker build id versioning sets for a task queue. - GetWorkerBuildIdCompatibility(ctx context.Context, in *GetWorkerBuildIdCompatibilityRequest, opts ...grpc.CallOption) (*GetWorkerBuildIdCompatibilityResponse, error) - // Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of - // rules: Build ID Assignment rules and Compatible Build ID Redirect rules. - // - // Assignment rules determine how to assign new executions to a Build IDs. Their primary - // use case is to specify the latest Build ID but they have powerful features for gradual rollout - // of a new Build ID. - // - // Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, - // the workflow stays on the assigned Build ID regardless of changes in assignment rules. This - // eliminates the need for compatibility between versions when you only care about using the new - // version for new workflows and let existing workflows finish in their own version. - // - // Activities, Child Workflows and Continue-as-New executions have the option to inherit the - // Build ID of their parent/previous workflow or use the latest assignment rules to independently - // select a Build ID. - // - // Redirect rules should only be used when you want to move workflows and activities assigned to - // one Build ID (source) to another compatible Build ID (target). You are responsible to make sure - // the target Build ID of a redirect rule is able to process event histories made by the source - // Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. - // - // WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - UpdateWorkerVersioningRules(ctx context.Context, in *UpdateWorkerVersioningRulesRequest, opts ...grpc.CallOption) (*UpdateWorkerVersioningRulesResponse, error) - // Fetches the Build ID assignment and redirect rules for a Task Queue. - // WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. - GetWorkerVersioningRules(ctx context.Context, in *GetWorkerVersioningRulesRequest, opts ...grpc.CallOption) (*GetWorkerVersioningRulesResponse, error) - // Deprecated. Use `DescribeTaskQueue`. - // - // Fetches task reachability to determine whether a worker may be retired. - // The request may specify task queues to query for or let the server fetch all task queues mapped to the given - // build IDs. - // - // When requesting a large number of task queues or all task queues associated with the given build ids in a - // namespace, all task queues will be listed in the response but some of them may not contain reachability - // information due to a server enforced limit. When reaching the limit, task queues that reachability information - // could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue - // another call to get the reachability for those task queues. - // - // Open source users can adjust this limit by setting the server's dynamic config value for - // `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. - GetWorkerTaskReachability(ctx context.Context, in *GetWorkerTaskReachabilityRequest, opts ...grpc.CallOption) (*GetWorkerTaskReachabilityResponse, error) - // Describes a worker deployment. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. - DescribeDeployment(ctx context.Context, in *DescribeDeploymentRequest, opts ...grpc.CallOption) (*DescribeDeploymentResponse, error) - // Describes a worker deployment version. - // Experimental. This API might significantly change or be removed in a future release. - DescribeWorkerDeploymentVersion(ctx context.Context, in *DescribeWorkerDeploymentVersionRequest, opts ...grpc.CallOption) (*DescribeWorkerDeploymentVersionResponse, error) - // Lists worker deployments in the namespace. Optionally can filter based on deployment series - // name. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `ListWorkerDeployments`. - ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error) - // Returns the reachability level of a worker deployment to help users decide when it is time - // to decommission a deployment. Reachability level is calculated based on the deployment's - // `status` and existing workflows that depend on the given deployment for their execution. - // Calculating reachability is relatively expensive. Therefore, server might return a recently - // cached value. In such a case, the `last_update_time` will inform you about the actual - // reachability calculation time. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. - GetDeploymentReachability(ctx context.Context, in *GetDeploymentReachabilityRequest, opts ...grpc.CallOption) (*GetDeploymentReachabilityResponse, error) - // Returns the current deployment (and its info) for a given deployment series. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. - GetCurrentDeployment(ctx context.Context, in *GetCurrentDeploymentRequest, opts ...grpc.CallOption) (*GetCurrentDeploymentResponse, error) - // Sets a deployment as the current deployment for its deployment series. Can optionally update - // the metadata of the deployment as well. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. - SetCurrentDeployment(ctx context.Context, in *SetCurrentDeploymentRequest, opts ...grpc.CallOption) (*SetCurrentDeploymentResponse, error) - // Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping - // Version if it is the Version being set as Current. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentCurrentVersion(ctx context.Context, in *SetWorkerDeploymentCurrentVersionRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentCurrentVersionResponse, error) - // Describes a Worker Deployment. - // Experimental. This API might significantly change or be removed in a future release. - DescribeWorkerDeployment(ctx context.Context, in *DescribeWorkerDeploymentRequest, opts ...grpc.CallOption) (*DescribeWorkerDeploymentResponse, error) - // Deletes records of (an old) Deployment. A deployment can only be deleted if - // it has no Version in it. - // Experimental. This API might significantly change or be removed in a future release. - DeleteWorkerDeployment(ctx context.Context, in *DeleteWorkerDeploymentRequest, opts ...grpc.CallOption) (*DeleteWorkerDeploymentResponse, error) - // Used for manual deletion of Versions. User can delete a Version only when all the - // following conditions are met: - // - It is not the Current or Ramping Version of its Deployment. - // - It has no active pollers (none of the task queues in the Version have pollers) - // - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition - // can be skipped by passing `skip-drainage=true`. - // - // Experimental. This API might significantly change or be removed in a future release. - DeleteWorkerDeploymentVersion(ctx context.Context, in *DeleteWorkerDeploymentVersionRequest, opts ...grpc.CallOption) (*DeleteWorkerDeploymentVersionResponse, error) - // Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for - // gradual ramp to unversioned workers too. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentRampingVersion(ctx context.Context, in *SetWorkerDeploymentRampingVersionRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentRampingVersionResponse, error) - // Lists all Worker Deployments that are tracked in the Namespace. - // Experimental. This API might significantly change or be removed in a future release. - ListWorkerDeployments(ctx context.Context, in *ListWorkerDeploymentsRequest, opts ...grpc.CallOption) (*ListWorkerDeploymentsResponse, error) - // Updates the user-given metadata attached to a Worker Deployment Version. - // Experimental. This API might significantly change or be removed in a future release. - UpdateWorkerDeploymentVersionMetadata(ctx context.Context, in *UpdateWorkerDeploymentVersionMetadataRequest, opts ...grpc.CallOption) (*UpdateWorkerDeploymentVersionMetadataResponse, error) - // Set/unset the ManagerIdentity of a Worker Deployment. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentManager(ctx context.Context, in *SetWorkerDeploymentManagerRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentManagerResponse, error) - // Invokes the specified Update function on user Workflow code. - UpdateWorkflowExecution(ctx context.Context, in *UpdateWorkflowExecutionRequest, opts ...grpc.CallOption) (*UpdateWorkflowExecutionResponse, error) - // Polls a Workflow Execution for the outcome of a Workflow Update - // previously issued through the UpdateWorkflowExecution RPC. The effective - // timeout on this call will be shorter of the the caller-supplied gRPC - // timeout and the server's configured long-poll timeout. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) - PollWorkflowExecutionUpdate(ctx context.Context, in *PollWorkflowExecutionUpdateRequest, opts ...grpc.CallOption) (*PollWorkflowExecutionUpdateResponse, error) - // StartBatchOperation starts a new batch operation - StartBatchOperation(ctx context.Context, in *StartBatchOperationRequest, opts ...grpc.CallOption) (*StartBatchOperationResponse, error) - // StopBatchOperation stops a batch operation - StopBatchOperation(ctx context.Context, in *StopBatchOperationRequest, opts ...grpc.CallOption) (*StopBatchOperationResponse, error) - // DescribeBatchOperation returns the information about a batch operation - DescribeBatchOperation(ctx context.Context, in *DescribeBatchOperationRequest, opts ...grpc.CallOption) (*DescribeBatchOperationResponse, error) - // ListBatchOperations returns a list of batch operations - ListBatchOperations(ctx context.Context, in *ListBatchOperationsRequest, opts ...grpc.CallOption) (*ListBatchOperationsResponse, error) - // PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollNexusTaskQueue(ctx context.Context, in *PollNexusTaskQueueRequest, opts ...grpc.CallOption) (*PollNexusTaskQueueResponse, error) - // RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondNexusTaskCompleted(ctx context.Context, in *RespondNexusTaskCompletedRequest, opts ...grpc.CallOption) (*RespondNexusTaskCompletedResponse, error) - // RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondNexusTaskFailed(ctx context.Context, in *RespondNexusTaskFailedRequest, opts ...grpc.CallOption) (*RespondNexusTaskFailedResponse, error) - // UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be updated. - UpdateActivityOptions(ctx context.Context, in *UpdateActivityOptionsRequest, opts ...grpc.CallOption) (*UpdateActivityOptionsResponse, error) - // UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution. - UpdateWorkflowExecutionOptions(ctx context.Context, in *UpdateWorkflowExecutionOptionsRequest, opts ...grpc.CallOption) (*UpdateWorkflowExecutionOptionsResponse, error) - // PauseActivity pauses the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be paused - // - // Pausing an activity means: - // - If the activity is currently waiting for a retry or is running and subsequently fails, - // it will not be rescheduled until it is unpaused. - // - If the activity is already paused, calling this method will have no effect. - // - If the activity is running and finishes successfully, the activity will be completed. - // - If the activity is running and finishes with failure: - // - if there is no retry left - the activity will be completed. - // - if there are more retries left - the activity will be paused. - // - // For long-running activities: - // - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - // - The activity should respond to the cancellation accordingly. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type - PauseActivity(ctx context.Context, in *PauseActivityRequest, opts ...grpc.CallOption) (*PauseActivityResponse, error) - // UnpauseActivity unpauses the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be unpaused. - // - // If activity is not paused, this call will have no effect. - // If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - // Once the activity is unpaused, all timeout timers will be regenerated. - // - // Flags: - // 'jitter': the activity will be scheduled at a random time within the jitter duration. - // 'reset_attempts': the number of attempts will be reset. - // 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type - UnpauseActivity(ctx context.Context, in *UnpauseActivityRequest, opts ...grpc.CallOption) (*UnpauseActivityResponse, error) - // ResetActivity resets the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be reset. - // - // Resetting an activity means: - // - number of attempts will be reset to 0. - // - activity timeouts will be reset. - // - if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - // it will be scheduled immediately (* see 'jitter' flag), - // - // Flags: - // - // 'jitter': the activity will be scheduled at a random time within the jitter duration. - // If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. - // 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. - // 'keep_paused': if the activity is paused, it will remain paused. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type. - ResetActivity(ctx context.Context, in *ResetActivityRequest, opts ...grpc.CallOption) (*ResetActivityResponse, error) - // Create a new workflow rule. The rules are used to control the workflow execution. - // The rule will be applied to all running and new workflows in the namespace. - // If the rule with such ID already exist this call will fail - // Note: the rules are part of namespace configuration and will be stored in the namespace config. - // Namespace config is eventually consistent. - CreateWorkflowRule(ctx context.Context, in *CreateWorkflowRuleRequest, opts ...grpc.CallOption) (*CreateWorkflowRuleResponse, error) - // DescribeWorkflowRule return the rule specification for existing rule id. - // If there is no rule with such id - NOT FOUND error will be returned. - DescribeWorkflowRule(ctx context.Context, in *DescribeWorkflowRuleRequest, opts ...grpc.CallOption) (*DescribeWorkflowRuleResponse, error) - // Delete rule by rule id - DeleteWorkflowRule(ctx context.Context, in *DeleteWorkflowRuleRequest, opts ...grpc.CallOption) (*DeleteWorkflowRuleResponse, error) - // Return all namespace workflow rules - ListWorkflowRules(ctx context.Context, in *ListWorkflowRulesRequest, opts ...grpc.CallOption) (*ListWorkflowRulesResponse, error) - // TriggerWorkflowRule allows to: - // - trigger existing rule for a specific workflow execution; - // - trigger rule for a specific workflow execution without creating a rule; - // - // This is useful for one-off operations. - TriggerWorkflowRule(ctx context.Context, in *TriggerWorkflowRuleRequest, opts ...grpc.CallOption) (*TriggerWorkflowRuleResponse, error) - // WorkerHeartbeat receive heartbeat request from the worker. - RecordWorkerHeartbeat(ctx context.Context, in *RecordWorkerHeartbeatRequest, opts ...grpc.CallOption) (*RecordWorkerHeartbeatResponse, error) - // ListWorkers is a visibility API to list worker status information in a specific namespace. - ListWorkers(ctx context.Context, in *ListWorkersRequest, opts ...grpc.CallOption) (*ListWorkersResponse, error) - // Updates task queue configuration. - // For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, - // which uncouples the rate limit from the worker lifecycle. - // If the overall queue rate limit is unset, the worker-set rate limit takes effect. - UpdateTaskQueueConfig(ctx context.Context, in *UpdateTaskQueueConfigRequest, opts ...grpc.CallOption) (*UpdateTaskQueueConfigResponse, error) - // FetchWorkerConfig returns the worker configuration for a specific worker. - FetchWorkerConfig(ctx context.Context, in *FetchWorkerConfigRequest, opts ...grpc.CallOption) (*FetchWorkerConfigResponse, error) - // UpdateWorkerConfig updates the worker configuration of one or more workers. - // Can be used to partially update the worker configuration. - // Can be used to update the configuration of multiple workers. - UpdateWorkerConfig(ctx context.Context, in *UpdateWorkerConfigRequest, opts ...grpc.CallOption) (*UpdateWorkerConfigResponse, error) - // DescribeWorker returns information about the specified worker. - DescribeWorker(ctx context.Context, in *DescribeWorkerRequest, opts ...grpc.CallOption) (*DescribeWorkerResponse, error) -} - -type workflowServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewWorkflowServiceClient(cc grpc.ClientConnInterface) WorkflowServiceClient { - return &workflowServiceClient{cc} -} - -func (c *workflowServiceClient) RegisterNamespace(ctx context.Context, in *RegisterNamespaceRequest, opts ...grpc.CallOption) (*RegisterNamespaceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RegisterNamespaceResponse) - err := c.cc.Invoke(ctx, WorkflowService_RegisterNamespace_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeNamespace(ctx context.Context, in *DescribeNamespaceRequest, opts ...grpc.CallOption) (*DescribeNamespaceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeNamespaceResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeNamespace_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListNamespacesResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListNamespaces_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateNamespaceResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateNamespace_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeprecateNamespace(ctx context.Context, in *DeprecateNamespaceRequest, opts ...grpc.CallOption) (*DeprecateNamespaceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeprecateNamespaceResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeprecateNamespace_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) StartWorkflowExecution(ctx context.Context, in *StartWorkflowExecutionRequest, opts ...grpc.CallOption) (*StartWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(StartWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_StartWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ExecuteMultiOperation(ctx context.Context, in *ExecuteMultiOperationRequest, opts ...grpc.CallOption) (*ExecuteMultiOperationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ExecuteMultiOperationResponse) - err := c.cc.Invoke(ctx, WorkflowService_ExecuteMultiOperation_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetWorkflowExecutionHistory(ctx context.Context, in *GetWorkflowExecutionHistoryRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionHistoryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetWorkflowExecutionHistoryResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetWorkflowExecutionHistory_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetWorkflowExecutionHistoryReverse(ctx context.Context, in *GetWorkflowExecutionHistoryReverseRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionHistoryReverseResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetWorkflowExecutionHistoryReverseResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetWorkflowExecutionHistoryReverse_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PollWorkflowTaskQueue(ctx context.Context, in *PollWorkflowTaskQueueRequest, opts ...grpc.CallOption) (*PollWorkflowTaskQueueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PollWorkflowTaskQueueResponse) - err := c.cc.Invoke(ctx, WorkflowService_PollWorkflowTaskQueue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondWorkflowTaskCompleted(ctx context.Context, in *RespondWorkflowTaskCompletedRequest, opts ...grpc.CallOption) (*RespondWorkflowTaskCompletedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondWorkflowTaskCompletedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondWorkflowTaskCompleted_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondWorkflowTaskFailed(ctx context.Context, in *RespondWorkflowTaskFailedRequest, opts ...grpc.CallOption) (*RespondWorkflowTaskFailedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondWorkflowTaskFailedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondWorkflowTaskFailed_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PollActivityTaskQueue(ctx context.Context, in *PollActivityTaskQueueRequest, opts ...grpc.CallOption) (*PollActivityTaskQueueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PollActivityTaskQueueResponse) - err := c.cc.Invoke(ctx, WorkflowService_PollActivityTaskQueue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RecordActivityTaskHeartbeat(ctx context.Context, in *RecordActivityTaskHeartbeatRequest, opts ...grpc.CallOption) (*RecordActivityTaskHeartbeatResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RecordActivityTaskHeartbeatResponse) - err := c.cc.Invoke(ctx, WorkflowService_RecordActivityTaskHeartbeat_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RecordActivityTaskHeartbeatById(ctx context.Context, in *RecordActivityTaskHeartbeatByIdRequest, opts ...grpc.CallOption) (*RecordActivityTaskHeartbeatByIdResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RecordActivityTaskHeartbeatByIdResponse) - err := c.cc.Invoke(ctx, WorkflowService_RecordActivityTaskHeartbeatById_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskCompleted(ctx context.Context, in *RespondActivityTaskCompletedRequest, opts ...grpc.CallOption) (*RespondActivityTaskCompletedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskCompletedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskCompleted_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskCompletedById(ctx context.Context, in *RespondActivityTaskCompletedByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskCompletedByIdResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskCompletedByIdResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskCompletedById_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskFailed(ctx context.Context, in *RespondActivityTaskFailedRequest, opts ...grpc.CallOption) (*RespondActivityTaskFailedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskFailedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskFailed_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskFailedById(ctx context.Context, in *RespondActivityTaskFailedByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskFailedByIdResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskFailedByIdResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskFailedById_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskCanceled(ctx context.Context, in *RespondActivityTaskCanceledRequest, opts ...grpc.CallOption) (*RespondActivityTaskCanceledResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskCanceledResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskCanceled_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondActivityTaskCanceledById(ctx context.Context, in *RespondActivityTaskCanceledByIdRequest, opts ...grpc.CallOption) (*RespondActivityTaskCanceledByIdResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondActivityTaskCanceledByIdResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondActivityTaskCanceledById_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RequestCancelWorkflowExecution(ctx context.Context, in *RequestCancelWorkflowExecutionRequest, opts ...grpc.CallOption) (*RequestCancelWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RequestCancelWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_RequestCancelWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SignalWorkflowExecution(ctx context.Context, in *SignalWorkflowExecutionRequest, opts ...grpc.CallOption) (*SignalWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SignalWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_SignalWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SignalWithStartWorkflowExecution(ctx context.Context, in *SignalWithStartWorkflowExecutionRequest, opts ...grpc.CallOption) (*SignalWithStartWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SignalWithStartWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_SignalWithStartWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ResetWorkflowExecution(ctx context.Context, in *ResetWorkflowExecutionRequest, opts ...grpc.CallOption) (*ResetWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ResetWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_ResetWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) TerminateWorkflowExecution(ctx context.Context, in *TerminateWorkflowExecutionRequest, opts ...grpc.CallOption) (*TerminateWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(TerminateWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_TerminateWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeleteWorkflowExecution(ctx context.Context, in *DeleteWorkflowExecutionRequest, opts ...grpc.CallOption) (*DeleteWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeleteWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListOpenWorkflowExecutions(ctx context.Context, in *ListOpenWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListOpenWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListOpenWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListOpenWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListClosedWorkflowExecutions(ctx context.Context, in *ListClosedWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListClosedWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListClosedWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListClosedWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListWorkflowExecutions(ctx context.Context, in *ListWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListArchivedWorkflowExecutions(ctx context.Context, in *ListArchivedWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListArchivedWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListArchivedWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListArchivedWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ScanWorkflowExecutions(ctx context.Context, in *ScanWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ScanWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ScanWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ScanWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) CountWorkflowExecutions(ctx context.Context, in *CountWorkflowExecutionsRequest, opts ...grpc.CallOption) (*CountWorkflowExecutionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CountWorkflowExecutionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_CountWorkflowExecutions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetSearchAttributes(ctx context.Context, in *GetSearchAttributesRequest, opts ...grpc.CallOption) (*GetSearchAttributesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetSearchAttributesResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetSearchAttributes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondQueryTaskCompleted(ctx context.Context, in *RespondQueryTaskCompletedRequest, opts ...grpc.CallOption) (*RespondQueryTaskCompletedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondQueryTaskCompletedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondQueryTaskCompleted_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ResetStickyTaskQueue(ctx context.Context, in *ResetStickyTaskQueueRequest, opts ...grpc.CallOption) (*ResetStickyTaskQueueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ResetStickyTaskQueueResponse) - err := c.cc.Invoke(ctx, WorkflowService_ResetStickyTaskQueue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ShutdownWorker(ctx context.Context, in *ShutdownWorkerRequest, opts ...grpc.CallOption) (*ShutdownWorkerResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ShutdownWorkerResponse) - err := c.cc.Invoke(ctx, WorkflowService_ShutdownWorker_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) QueryWorkflow(ctx context.Context, in *QueryWorkflowRequest, opts ...grpc.CallOption) (*QueryWorkflowResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(QueryWorkflowResponse) - err := c.cc.Invoke(ctx, WorkflowService_QueryWorkflow_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeWorkflowExecution(ctx context.Context, in *DescribeWorkflowExecutionRequest, opts ...grpc.CallOption) (*DescribeWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeTaskQueue(ctx context.Context, in *DescribeTaskQueueRequest, opts ...grpc.CallOption) (*DescribeTaskQueueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeTaskQueueResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeTaskQueue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetClusterInfo(ctx context.Context, in *GetClusterInfoRequest, opts ...grpc.CallOption) (*GetClusterInfoResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetClusterInfoResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetClusterInfo_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetSystemInfo(ctx context.Context, in *GetSystemInfoRequest, opts ...grpc.CallOption) (*GetSystemInfoResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetSystemInfoResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetSystemInfo_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListTaskQueuePartitions(ctx context.Context, in *ListTaskQueuePartitionsRequest, opts ...grpc.CallOption) (*ListTaskQueuePartitionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListTaskQueuePartitionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListTaskQueuePartitions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) CreateSchedule(ctx context.Context, in *CreateScheduleRequest, opts ...grpc.CallOption) (*CreateScheduleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateScheduleResponse) - err := c.cc.Invoke(ctx, WorkflowService_CreateSchedule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeSchedule(ctx context.Context, in *DescribeScheduleRequest, opts ...grpc.CallOption) (*DescribeScheduleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeScheduleResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeSchedule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateSchedule(ctx context.Context, in *UpdateScheduleRequest, opts ...grpc.CallOption) (*UpdateScheduleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateScheduleResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateSchedule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PatchSchedule(ctx context.Context, in *PatchScheduleRequest, opts ...grpc.CallOption) (*PatchScheduleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PatchScheduleResponse) - err := c.cc.Invoke(ctx, WorkflowService_PatchSchedule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListScheduleMatchingTimes(ctx context.Context, in *ListScheduleMatchingTimesRequest, opts ...grpc.CallOption) (*ListScheduleMatchingTimesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListScheduleMatchingTimesResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListScheduleMatchingTimes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeleteSchedule(ctx context.Context, in *DeleteScheduleRequest, opts ...grpc.CallOption) (*DeleteScheduleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteScheduleResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeleteSchedule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListSchedules(ctx context.Context, in *ListSchedulesRequest, opts ...grpc.CallOption) (*ListSchedulesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListSchedulesResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListSchedules_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkerBuildIdCompatibility(ctx context.Context, in *UpdateWorkerBuildIdCompatibilityRequest, opts ...grpc.CallOption) (*UpdateWorkerBuildIdCompatibilityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkerBuildIdCompatibilityResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkerBuildIdCompatibility_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetWorkerBuildIdCompatibility(ctx context.Context, in *GetWorkerBuildIdCompatibilityRequest, opts ...grpc.CallOption) (*GetWorkerBuildIdCompatibilityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetWorkerBuildIdCompatibilityResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetWorkerBuildIdCompatibility_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkerVersioningRules(ctx context.Context, in *UpdateWorkerVersioningRulesRequest, opts ...grpc.CallOption) (*UpdateWorkerVersioningRulesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkerVersioningRulesResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkerVersioningRules_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetWorkerVersioningRules(ctx context.Context, in *GetWorkerVersioningRulesRequest, opts ...grpc.CallOption) (*GetWorkerVersioningRulesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetWorkerVersioningRulesResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetWorkerVersioningRules_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetWorkerTaskReachability(ctx context.Context, in *GetWorkerTaskReachabilityRequest, opts ...grpc.CallOption) (*GetWorkerTaskReachabilityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetWorkerTaskReachabilityResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetWorkerTaskReachability_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeDeployment(ctx context.Context, in *DescribeDeploymentRequest, opts ...grpc.CallOption) (*DescribeDeploymentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeDeploymentResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeDeployment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeWorkerDeploymentVersion(ctx context.Context, in *DescribeWorkerDeploymentVersionRequest, opts ...grpc.CallOption) (*DescribeWorkerDeploymentVersionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeWorkerDeploymentVersionResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeWorkerDeploymentVersion_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListDeploymentsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListDeployments_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetDeploymentReachability(ctx context.Context, in *GetDeploymentReachabilityRequest, opts ...grpc.CallOption) (*GetDeploymentReachabilityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDeploymentReachabilityResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetDeploymentReachability_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) GetCurrentDeployment(ctx context.Context, in *GetCurrentDeploymentRequest, opts ...grpc.CallOption) (*GetCurrentDeploymentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetCurrentDeploymentResponse) - err := c.cc.Invoke(ctx, WorkflowService_GetCurrentDeployment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SetCurrentDeployment(ctx context.Context, in *SetCurrentDeploymentRequest, opts ...grpc.CallOption) (*SetCurrentDeploymentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetCurrentDeploymentResponse) - err := c.cc.Invoke(ctx, WorkflowService_SetCurrentDeployment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SetWorkerDeploymentCurrentVersion(ctx context.Context, in *SetWorkerDeploymentCurrentVersionRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentCurrentVersionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetWorkerDeploymentCurrentVersionResponse) - err := c.cc.Invoke(ctx, WorkflowService_SetWorkerDeploymentCurrentVersion_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeWorkerDeployment(ctx context.Context, in *DescribeWorkerDeploymentRequest, opts ...grpc.CallOption) (*DescribeWorkerDeploymentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeWorkerDeploymentResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeWorkerDeployment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeleteWorkerDeployment(ctx context.Context, in *DeleteWorkerDeploymentRequest, opts ...grpc.CallOption) (*DeleteWorkerDeploymentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteWorkerDeploymentResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeleteWorkerDeployment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeleteWorkerDeploymentVersion(ctx context.Context, in *DeleteWorkerDeploymentVersionRequest, opts ...grpc.CallOption) (*DeleteWorkerDeploymentVersionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteWorkerDeploymentVersionResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeleteWorkerDeploymentVersion_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SetWorkerDeploymentRampingVersion(ctx context.Context, in *SetWorkerDeploymentRampingVersionRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentRampingVersionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetWorkerDeploymentRampingVersionResponse) - err := c.cc.Invoke(ctx, WorkflowService_SetWorkerDeploymentRampingVersion_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListWorkerDeployments(ctx context.Context, in *ListWorkerDeploymentsRequest, opts ...grpc.CallOption) (*ListWorkerDeploymentsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListWorkerDeploymentsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListWorkerDeployments_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkerDeploymentVersionMetadata(ctx context.Context, in *UpdateWorkerDeploymentVersionMetadataRequest, opts ...grpc.CallOption) (*UpdateWorkerDeploymentVersionMetadataResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkerDeploymentVersionMetadataResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkerDeploymentVersionMetadata_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) SetWorkerDeploymentManager(ctx context.Context, in *SetWorkerDeploymentManagerRequest, opts ...grpc.CallOption) (*SetWorkerDeploymentManagerResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetWorkerDeploymentManagerResponse) - err := c.cc.Invoke(ctx, WorkflowService_SetWorkerDeploymentManager_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkflowExecution(ctx context.Context, in *UpdateWorkflowExecutionRequest, opts ...grpc.CallOption) (*UpdateWorkflowExecutionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkflowExecutionResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkflowExecution_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PollWorkflowExecutionUpdate(ctx context.Context, in *PollWorkflowExecutionUpdateRequest, opts ...grpc.CallOption) (*PollWorkflowExecutionUpdateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PollWorkflowExecutionUpdateResponse) - err := c.cc.Invoke(ctx, WorkflowService_PollWorkflowExecutionUpdate_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) StartBatchOperation(ctx context.Context, in *StartBatchOperationRequest, opts ...grpc.CallOption) (*StartBatchOperationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(StartBatchOperationResponse) - err := c.cc.Invoke(ctx, WorkflowService_StartBatchOperation_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) StopBatchOperation(ctx context.Context, in *StopBatchOperationRequest, opts ...grpc.CallOption) (*StopBatchOperationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(StopBatchOperationResponse) - err := c.cc.Invoke(ctx, WorkflowService_StopBatchOperation_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeBatchOperation(ctx context.Context, in *DescribeBatchOperationRequest, opts ...grpc.CallOption) (*DescribeBatchOperationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeBatchOperationResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeBatchOperation_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListBatchOperations(ctx context.Context, in *ListBatchOperationsRequest, opts ...grpc.CallOption) (*ListBatchOperationsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListBatchOperationsResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListBatchOperations_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PollNexusTaskQueue(ctx context.Context, in *PollNexusTaskQueueRequest, opts ...grpc.CallOption) (*PollNexusTaskQueueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PollNexusTaskQueueResponse) - err := c.cc.Invoke(ctx, WorkflowService_PollNexusTaskQueue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondNexusTaskCompleted(ctx context.Context, in *RespondNexusTaskCompletedRequest, opts ...grpc.CallOption) (*RespondNexusTaskCompletedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondNexusTaskCompletedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondNexusTaskCompleted_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RespondNexusTaskFailed(ctx context.Context, in *RespondNexusTaskFailedRequest, opts ...grpc.CallOption) (*RespondNexusTaskFailedResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RespondNexusTaskFailedResponse) - err := c.cc.Invoke(ctx, WorkflowService_RespondNexusTaskFailed_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateActivityOptions(ctx context.Context, in *UpdateActivityOptionsRequest, opts ...grpc.CallOption) (*UpdateActivityOptionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateActivityOptionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateActivityOptions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkflowExecutionOptions(ctx context.Context, in *UpdateWorkflowExecutionOptionsRequest, opts ...grpc.CallOption) (*UpdateWorkflowExecutionOptionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkflowExecutionOptionsResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkflowExecutionOptions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) PauseActivity(ctx context.Context, in *PauseActivityRequest, opts ...grpc.CallOption) (*PauseActivityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PauseActivityResponse) - err := c.cc.Invoke(ctx, WorkflowService_PauseActivity_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UnpauseActivity(ctx context.Context, in *UnpauseActivityRequest, opts ...grpc.CallOption) (*UnpauseActivityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UnpauseActivityResponse) - err := c.cc.Invoke(ctx, WorkflowService_UnpauseActivity_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ResetActivity(ctx context.Context, in *ResetActivityRequest, opts ...grpc.CallOption) (*ResetActivityResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ResetActivityResponse) - err := c.cc.Invoke(ctx, WorkflowService_ResetActivity_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) CreateWorkflowRule(ctx context.Context, in *CreateWorkflowRuleRequest, opts ...grpc.CallOption) (*CreateWorkflowRuleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateWorkflowRuleResponse) - err := c.cc.Invoke(ctx, WorkflowService_CreateWorkflowRule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeWorkflowRule(ctx context.Context, in *DescribeWorkflowRuleRequest, opts ...grpc.CallOption) (*DescribeWorkflowRuleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeWorkflowRuleResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeWorkflowRule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DeleteWorkflowRule(ctx context.Context, in *DeleteWorkflowRuleRequest, opts ...grpc.CallOption) (*DeleteWorkflowRuleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteWorkflowRuleResponse) - err := c.cc.Invoke(ctx, WorkflowService_DeleteWorkflowRule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListWorkflowRules(ctx context.Context, in *ListWorkflowRulesRequest, opts ...grpc.CallOption) (*ListWorkflowRulesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListWorkflowRulesResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListWorkflowRules_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) TriggerWorkflowRule(ctx context.Context, in *TriggerWorkflowRuleRequest, opts ...grpc.CallOption) (*TriggerWorkflowRuleResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(TriggerWorkflowRuleResponse) - err := c.cc.Invoke(ctx, WorkflowService_TriggerWorkflowRule_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) RecordWorkerHeartbeat(ctx context.Context, in *RecordWorkerHeartbeatRequest, opts ...grpc.CallOption) (*RecordWorkerHeartbeatResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RecordWorkerHeartbeatResponse) - err := c.cc.Invoke(ctx, WorkflowService_RecordWorkerHeartbeat_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) ListWorkers(ctx context.Context, in *ListWorkersRequest, opts ...grpc.CallOption) (*ListWorkersResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListWorkersResponse) - err := c.cc.Invoke(ctx, WorkflowService_ListWorkers_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateTaskQueueConfig(ctx context.Context, in *UpdateTaskQueueConfigRequest, opts ...grpc.CallOption) (*UpdateTaskQueueConfigResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateTaskQueueConfigResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateTaskQueueConfig_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) FetchWorkerConfig(ctx context.Context, in *FetchWorkerConfigRequest, opts ...grpc.CallOption) (*FetchWorkerConfigResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(FetchWorkerConfigResponse) - err := c.cc.Invoke(ctx, WorkflowService_FetchWorkerConfig_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) UpdateWorkerConfig(ctx context.Context, in *UpdateWorkerConfigRequest, opts ...grpc.CallOption) (*UpdateWorkerConfigResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateWorkerConfigResponse) - err := c.cc.Invoke(ctx, WorkflowService_UpdateWorkerConfig_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workflowServiceClient) DescribeWorker(ctx context.Context, in *DescribeWorkerRequest, opts ...grpc.CallOption) (*DescribeWorkerResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DescribeWorkerResponse) - err := c.cc.Invoke(ctx, WorkflowService_DescribeWorker_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WorkflowServiceServer is the server API for WorkflowService service. -// All implementations should embed UnimplementedWorkflowServiceServer -// for forward compatibility. -// -// WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server -// to create and interact with workflows and activities. -// -// Users are expected to call `StartWorkflowExecution` to create a new workflow execution. -// -// To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow -// and activity tasks from the service. For each workflow task, the sdk must process the -// (incremental or complete) event history and respond back with any newly generated commands. -// -// For each activity task, the worker is expected to execute the user's code which implements that -// activity, responding with completion or failure. -type WorkflowServiceServer interface { - // RegisterNamespace creates a new namespace which can be used as a container for all resources. - // - // A Namespace is a top level entity within Temporal, and is used as a container for resources - // like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides - // isolation for all resources within the namespace. All resources belongs to exactly one - // namespace. - RegisterNamespace(context.Context, *RegisterNamespaceRequest) (*RegisterNamespaceResponse, error) - // DescribeNamespace returns the information and configuration for a registered namespace. - DescribeNamespace(context.Context, *DescribeNamespaceRequest) (*DescribeNamespaceResponse, error) - // ListNamespaces returns the information and configuration for all namespaces. - ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) - // UpdateNamespace is used to update the information and configuration of a registered - // namespace. - UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) - // DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. - // - // Once the namespace is deprecated it cannot be used to start new workflow executions. Existing - // workflow executions will continue to run on deprecated namespaces. - // Deprecated. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: Deprecated --) - DeprecateNamespace(context.Context, *DeprecateNamespaceRequest) (*DeprecateNamespaceResponse, error) - // StartWorkflowExecution starts a new workflow execution. - // - // It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and - // also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an - // instance already exists with same workflow id. - StartWorkflowExecution(context.Context, *StartWorkflowExecutionRequest) (*StartWorkflowExecutionResponse, error) - // ExecuteMultiOperation executes multiple operations within a single workflow. - // - // Operations are started atomically, meaning if *any* operation fails to be started, none are, - // and the request fails. Upon start, the API returns only when *all* operations have a response. - // - // Upon failure, it returns `MultiOperationExecutionFailure` where the status code - // equals the status code of the *first* operation that failed to be started. - // - // NOTE: Experimental API. - ExecuteMultiOperation(context.Context, *ExecuteMultiOperationRequest) (*ExecuteMultiOperationResponse, error) - // GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with - // `NotFound` if the specified workflow execution is unknown to the service. - GetWorkflowExecutionHistory(context.Context, *GetWorkflowExecutionHistoryRequest) (*GetWorkflowExecutionHistoryResponse, error) - // GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - // order (starting from last event). Fails with`NotFound` if the specified workflow execution is - // unknown to the service. - GetWorkflowExecutionHistoryReverse(context.Context, *GetWorkflowExecutionHistoryReverseRequest) (*GetWorkflowExecutionHistoryReverseResponse, error) - // PollWorkflowTaskQueue is called by workers to make progress on workflows. - // - // A WorkflowTask is dispatched to callers for active workflow executions with pending workflow - // tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done - // processing the task. The service will create a `WorkflowTaskStarted` event in the history for - // this task before handing it to the worker. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollWorkflowTaskQueue(context.Context, *PollWorkflowTaskQueueRequest) (*PollWorkflowTaskQueueResponse, error) - // RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks - // they received from `PollWorkflowTaskQueue`. - // - // Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's - // history, along with events corresponding to whatever commands the SDK generated while - // executing the task (ex timer started, activity task scheduled, etc). - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondWorkflowTaskCompleted(context.Context, *RespondWorkflowTaskCompletedRequest) (*RespondWorkflowTaskCompletedResponse, error) - // RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task - // failed. - // - // This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow - // task will be scheduled. This API can be used to report unhandled failures resulting from - // applying the workflow task. - // - // Temporal will only append first WorkflowTaskFailed event to the history of workflow execution - // for consecutive failures. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondWorkflowTaskFailed(context.Context, *RespondWorkflowTaskFailedRequest) (*RespondWorkflowTaskFailedResponse, error) - // PollActivityTaskQueue is called by workers to process activity tasks from a specific task - // queue. - // - // The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done - // processing the task. - // - // An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during - // workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state - // before the task is dispatched to the worker. The started event, and the final event - // (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be - // written permanently to Workflow execution history when Activity is finished. This is done to - // avoid writing many events in the case of a failure/retry loop. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollActivityTaskQueue(context.Context, *PollActivityTaskQueueRequest) (*PollActivityTaskQueueResponse, error) - // RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. - // - // If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, - // then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to - // the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in - // such situations, in that event, the SDK should request cancellation of the activity. - RecordActivityTaskHeartbeat(context.Context, *RecordActivityTaskHeartbeatRequest) (*RecordActivityTaskHeartbeatResponse, error) - // See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RecordActivityTaskHeartbeatById(context.Context, *RecordActivityTaskHeartbeatByIdRequest) (*RecordActivityTaskHeartbeatByIdResponse, error) - // RespondActivityTaskCompleted is called by workers when they successfully complete an activity - // task. - // - // This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history - // and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - // no longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskCompleted(context.Context, *RespondActivityTaskCompletedRequest) (*RespondActivityTaskCompletedResponse, error) - // See `RecordActivityTaskCompleted`. This version allows clients to record completions by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskCompletedById(context.Context, *RespondActivityTaskCompletedByIdRequest) (*RespondActivityTaskCompletedByIdResponse, error) - // RespondActivityTaskFailed is called by workers when processing an activity task fails. - // - // This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and - // a new workflow task created for the workflow. Fails with `NotFound` if the task token is no - // longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskFailed(context.Context, *RespondActivityTaskFailedRequest) (*RespondActivityTaskFailedResponse, error) - // See `RecordActivityTaskFailed`. This version allows clients to record failures by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskFailedById(context.Context, *RespondActivityTaskFailedByIdRequest) (*RespondActivityTaskFailedByIdResponse, error) - // RespondActivityTaskFailed is called by workers when processing an activity task fails. - // - // This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history - // and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - // no longer valid due to activity timeout, already being completed, or never having existed. - RespondActivityTaskCanceled(context.Context, *RespondActivityTaskCanceledRequest) (*RespondActivityTaskCanceledResponse, error) - // See `RecordActivityTaskCanceled`. This version allows clients to record failures by - // namespace/workflow id/activity id instead of task token. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "By" is used to indicate request type. --) - RespondActivityTaskCanceledById(context.Context, *RespondActivityTaskCanceledByIdRequest) (*RespondActivityTaskCanceledByIdResponse, error) - // RequestCancelWorkflowExecution is called by workers when they want to request cancellation of - // a workflow execution. - // - // This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the - // workflow history and a new workflow task created for the workflow. It returns success if the requested - // workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. - RequestCancelWorkflowExecution(context.Context, *RequestCancelWorkflowExecutionRequest) (*RequestCancelWorkflowExecutionResponse, error) - // SignalWorkflowExecution is used to send a signal to a running workflow execution. - // - // This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow - // task being created for the execution. - SignalWorkflowExecution(context.Context, *SignalWorkflowExecutionRequest) (*SignalWorkflowExecutionResponse, error) - // SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if - // it isn't yet started. - // - // If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history - // and a workflow task is generated. - // - // If the workflow is not running or not found, then the workflow is created with - // `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a - // workflow task is generated. - // - // (-- api-linter: core::0136::prepositions=disabled - // - // aip.dev/not-precedent: "With" is used to indicate combined operation. --) - SignalWithStartWorkflowExecution(context.Context, *SignalWithStartWorkflowExecutionRequest) (*SignalWithStartWorkflowExecutionResponse, error) - // ResetWorkflowExecution will reset an existing workflow execution to a specified - // `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current - // execution instance. - // TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out? - ResetWorkflowExecution(context.Context, *ResetWorkflowExecutionRequest) (*ResetWorkflowExecutionResponse, error) - // TerminateWorkflowExecution terminates an existing workflow execution by recording a - // `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the - // execution instance. - TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest) (*TerminateWorkflowExecutionResponse, error) - // DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when - // WorkflowExecution.run_id is provided) or the latest Workflow Execution (when - // WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be - // terminated before deletion. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) - DeleteWorkflowExecution(context.Context, *DeleteWorkflowExecutionRequest) (*DeleteWorkflowExecutionResponse, error) - // ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ListOpenWorkflowExecutions(context.Context, *ListOpenWorkflowExecutionsRequest) (*ListOpenWorkflowExecutionsResponse, error) - // ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ListClosedWorkflowExecutions(context.Context, *ListClosedWorkflowExecutionsRequest) (*ListClosedWorkflowExecutionsResponse, error) - // ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace. - ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) - // ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace. - ListArchivedWorkflowExecutions(context.Context, *ListArchivedWorkflowExecutionsRequest) (*ListArchivedWorkflowExecutionsResponse, error) - // ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. - // It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. - // - // Deprecated: Replaced with `ListWorkflowExecutions`. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - ScanWorkflowExecutions(context.Context, *ScanWorkflowExecutionsRequest) (*ScanWorkflowExecutionsResponse, error) - // CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace. - CountWorkflowExecutions(context.Context, *CountWorkflowExecutionsRequest) (*CountWorkflowExecutionsResponse, error) - // GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) - GetSearchAttributes(context.Context, *GetSearchAttributesRequest) (*GetSearchAttributesResponse, error) - // RespondQueryTaskCompleted is called by workers to complete queries which were delivered on - // the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. - // - // Completing the query will unblock the corresponding client call to `QueryWorkflow` and return - // the query result a response. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondQueryTaskCompleted(context.Context, *RespondQueryTaskCompletedRequest) (*RespondQueryTaskCompletedResponse, error) - // ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of - // a given workflow. This is prudent for workers to perform if a workflow has been paged out of - // their cache. - // - // Things cleared are: - // 1. StickyTaskQueue - // 2. StickyScheduleToStartTimeout - // - // When possible, ShutdownWorker should be preferred over - // ResetStickyTaskQueue (particularly when a worker is shutting down or - // cycling). - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - ResetStickyTaskQueue(context.Context, *ResetStickyTaskQueueRequest) (*ResetStickyTaskQueueResponse, error) - // ShutdownWorker is used to indicate that the given sticky task - // queue is no longer being polled by its worker. Following the completion of - // ShutdownWorker, newly-added workflow tasks will instead be placed - // in the normal task queue, eligible for any worker to pick up. - // - // ShutdownWorker should be called by workers while shutting down, - // after they've shut down their pollers. If another sticky poll - // request is issued, the sticky task queue will be revived. - // - // As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - ShutdownWorker(context.Context, *ShutdownWorkerRequest) (*ShutdownWorkerResponse, error) - // QueryWorkflow requests a query be executed for a specified workflow execution. - QueryWorkflow(context.Context, *QueryWorkflowRequest) (*QueryWorkflowResponse, error) - // DescribeWorkflowExecution returns information about the specified workflow execution. - DescribeWorkflowExecution(context.Context, *DescribeWorkflowExecutionRequest) (*DescribeWorkflowExecutionResponse, error) - // DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - // - List of pollers - // - Workflow Reachability status - // - Backlog info for Workflow and/or Activity tasks - DescribeTaskQueue(context.Context, *DescribeTaskQueueRequest) (*DescribeTaskQueueResponse, error) - // GetClusterInfo returns information about temporal cluster - GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error) - // GetSystemInfo returns information about the system. - GetSystemInfo(context.Context, *GetSystemInfoRequest) (*GetSystemInfoResponse, error) - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) - ListTaskQueuePartitions(context.Context, *ListTaskQueuePartitionsRequest) (*ListTaskQueuePartitionsResponse, error) - // Creates a new schedule. - CreateSchedule(context.Context, *CreateScheduleRequest) (*CreateScheduleResponse, error) - // Returns the schedule description and current state of an existing schedule. - DescribeSchedule(context.Context, *DescribeScheduleRequest) (*DescribeScheduleResponse, error) - // Changes the configuration or state of an existing schedule. - UpdateSchedule(context.Context, *UpdateScheduleRequest) (*UpdateScheduleResponse, error) - // Makes a specific change to a schedule or triggers an immediate action. - PatchSchedule(context.Context, *PatchScheduleRequest) (*PatchScheduleResponse, error) - // Lists matching times within a range. - ListScheduleMatchingTimes(context.Context, *ListScheduleMatchingTimesRequest) (*ListScheduleMatchingTimesResponse, error) - // Deletes a schedule, removing it from the system. - DeleteSchedule(context.Context, *DeleteScheduleRequest) (*DeleteScheduleResponse, error) - // List all schedules in a namespace. - ListSchedules(context.Context, *ListSchedulesRequest) (*ListSchedulesResponse, error) - // Deprecated. Use `UpdateWorkerVersioningRules`. - // - // Allows users to specify sets of worker build id versions on a per task queue basis. Versions - // are ordered, and may be either compatible with some extant version, or a new incompatible - // version, forming sets of ids which are incompatible with each other, but whose contained - // members are compatible with one another. - // - // A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - // multiple workers. - // - // To query which workers can be retired, use the `GetWorkerTaskReachability` API. - // - // NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` - // (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - UpdateWorkerBuildIdCompatibility(context.Context, *UpdateWorkerBuildIdCompatibilityRequest) (*UpdateWorkerBuildIdCompatibilityResponse, error) - // Deprecated. Use `GetWorkerVersioningRules`. - // Fetches the worker build id versioning sets for a task queue. - GetWorkerBuildIdCompatibility(context.Context, *GetWorkerBuildIdCompatibilityRequest) (*GetWorkerBuildIdCompatibilityResponse, error) - // Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of - // rules: Build ID Assignment rules and Compatible Build ID Redirect rules. - // - // Assignment rules determine how to assign new executions to a Build IDs. Their primary - // use case is to specify the latest Build ID but they have powerful features for gradual rollout - // of a new Build ID. - // - // Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, - // the workflow stays on the assigned Build ID regardless of changes in assignment rules. This - // eliminates the need for compatibility between versions when you only care about using the new - // version for new workflows and let existing workflows finish in their own version. - // - // Activities, Child Workflows and Continue-as-New executions have the option to inherit the - // Build ID of their parent/previous workflow or use the latest assignment rules to independently - // select a Build ID. - // - // Redirect rules should only be used when you want to move workflows and activities assigned to - // one Build ID (source) to another compatible Build ID (target). You are responsible to make sure - // the target Build ID of a redirect rule is able to process event histories made by the source - // Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. - // - // WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - UpdateWorkerVersioningRules(context.Context, *UpdateWorkerVersioningRulesRequest) (*UpdateWorkerVersioningRulesResponse, error) - // Fetches the Build ID assignment and redirect rules for a Task Queue. - // WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. - GetWorkerVersioningRules(context.Context, *GetWorkerVersioningRulesRequest) (*GetWorkerVersioningRulesResponse, error) - // Deprecated. Use `DescribeTaskQueue`. - // - // Fetches task reachability to determine whether a worker may be retired. - // The request may specify task queues to query for or let the server fetch all task queues mapped to the given - // build IDs. - // - // When requesting a large number of task queues or all task queues associated with the given build ids in a - // namespace, all task queues will be listed in the response but some of them may not contain reachability - // information due to a server enforced limit. When reaching the limit, task queues that reachability information - // could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue - // another call to get the reachability for those task queues. - // - // Open source users can adjust this limit by setting the server's dynamic config value for - // `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. - GetWorkerTaskReachability(context.Context, *GetWorkerTaskReachabilityRequest) (*GetWorkerTaskReachabilityResponse, error) - // Describes a worker deployment. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. - DescribeDeployment(context.Context, *DescribeDeploymentRequest) (*DescribeDeploymentResponse, error) - // Describes a worker deployment version. - // Experimental. This API might significantly change or be removed in a future release. - DescribeWorkerDeploymentVersion(context.Context, *DescribeWorkerDeploymentVersionRequest) (*DescribeWorkerDeploymentVersionResponse, error) - // Lists worker deployments in the namespace. Optionally can filter based on deployment series - // name. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `ListWorkerDeployments`. - ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error) - // Returns the reachability level of a worker deployment to help users decide when it is time - // to decommission a deployment. Reachability level is calculated based on the deployment's - // `status` and existing workflows that depend on the given deployment for their execution. - // Calculating reachability is relatively expensive. Therefore, server might return a recently - // cached value. In such a case, the `last_update_time` will inform you about the actual - // reachability calculation time. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. - GetDeploymentReachability(context.Context, *GetDeploymentReachabilityRequest) (*GetDeploymentReachabilityResponse, error) - // Returns the current deployment (and its info) for a given deployment series. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. - GetCurrentDeployment(context.Context, *GetCurrentDeploymentRequest) (*GetCurrentDeploymentResponse, error) - // Sets a deployment as the current deployment for its deployment series. Can optionally update - // the metadata of the deployment as well. - // Experimental. This API might significantly change or be removed in a future release. - // Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. - SetCurrentDeployment(context.Context, *SetCurrentDeploymentRequest) (*SetCurrentDeploymentResponse, error) - // Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping - // Version if it is the Version being set as Current. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentCurrentVersion(context.Context, *SetWorkerDeploymentCurrentVersionRequest) (*SetWorkerDeploymentCurrentVersionResponse, error) - // Describes a Worker Deployment. - // Experimental. This API might significantly change or be removed in a future release. - DescribeWorkerDeployment(context.Context, *DescribeWorkerDeploymentRequest) (*DescribeWorkerDeploymentResponse, error) - // Deletes records of (an old) Deployment. A deployment can only be deleted if - // it has no Version in it. - // Experimental. This API might significantly change or be removed in a future release. - DeleteWorkerDeployment(context.Context, *DeleteWorkerDeploymentRequest) (*DeleteWorkerDeploymentResponse, error) - // Used for manual deletion of Versions. User can delete a Version only when all the - // following conditions are met: - // - It is not the Current or Ramping Version of its Deployment. - // - It has no active pollers (none of the task queues in the Version have pollers) - // - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition - // can be skipped by passing `skip-drainage=true`. - // - // Experimental. This API might significantly change or be removed in a future release. - DeleteWorkerDeploymentVersion(context.Context, *DeleteWorkerDeploymentVersionRequest) (*DeleteWorkerDeploymentVersionResponse, error) - // Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for - // gradual ramp to unversioned workers too. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentRampingVersion(context.Context, *SetWorkerDeploymentRampingVersionRequest) (*SetWorkerDeploymentRampingVersionResponse, error) - // Lists all Worker Deployments that are tracked in the Namespace. - // Experimental. This API might significantly change or be removed in a future release. - ListWorkerDeployments(context.Context, *ListWorkerDeploymentsRequest) (*ListWorkerDeploymentsResponse, error) - // Updates the user-given metadata attached to a Worker Deployment Version. - // Experimental. This API might significantly change or be removed in a future release. - UpdateWorkerDeploymentVersionMetadata(context.Context, *UpdateWorkerDeploymentVersionMetadataRequest) (*UpdateWorkerDeploymentVersionMetadataResponse, error) - // Set/unset the ManagerIdentity of a Worker Deployment. - // Experimental. This API might significantly change or be removed in a future release. - SetWorkerDeploymentManager(context.Context, *SetWorkerDeploymentManagerRequest) (*SetWorkerDeploymentManagerResponse, error) - // Invokes the specified Update function on user Workflow code. - UpdateWorkflowExecution(context.Context, *UpdateWorkflowExecutionRequest) (*UpdateWorkflowExecutionResponse, error) - // Polls a Workflow Execution for the outcome of a Workflow Update - // previously issued through the UpdateWorkflowExecution RPC. The effective - // timeout on this call will be shorter of the the caller-supplied gRPC - // timeout and the server's configured long-poll timeout. - // - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) - PollWorkflowExecutionUpdate(context.Context, *PollWorkflowExecutionUpdateRequest) (*PollWorkflowExecutionUpdateResponse, error) - // StartBatchOperation starts a new batch operation - StartBatchOperation(context.Context, *StartBatchOperationRequest) (*StartBatchOperationResponse, error) - // StopBatchOperation stops a batch operation - StopBatchOperation(context.Context, *StopBatchOperationRequest) (*StopBatchOperationResponse, error) - // DescribeBatchOperation returns the information about a batch operation - DescribeBatchOperation(context.Context, *DescribeBatchOperationRequest) (*DescribeBatchOperationResponse, error) - // ListBatchOperations returns a list of batch operations - ListBatchOperations(context.Context, *ListBatchOperationsRequest) (*ListBatchOperationsResponse, error) - // PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - PollNexusTaskQueue(context.Context, *PollNexusTaskQueueRequest) (*PollNexusTaskQueueResponse, error) - // RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondNexusTaskCompleted(context.Context, *RespondNexusTaskCompletedRequest) (*RespondNexusTaskCompletedResponse, error) - // RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. - // (-- api-linter: core::0127::http-annotation=disabled - // - // aip.dev/not-precedent: We do not expose worker API to HTTP. --) - RespondNexusTaskFailed(context.Context, *RespondNexusTaskFailedRequest) (*RespondNexusTaskFailedResponse, error) - // UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be updated. - UpdateActivityOptions(context.Context, *UpdateActivityOptionsRequest) (*UpdateActivityOptionsResponse, error) - // UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution. - UpdateWorkflowExecutionOptions(context.Context, *UpdateWorkflowExecutionOptionsRequest) (*UpdateWorkflowExecutionOptionsResponse, error) - // PauseActivity pauses the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be paused - // - // Pausing an activity means: - // - If the activity is currently waiting for a retry or is running and subsequently fails, - // it will not be rescheduled until it is unpaused. - // - If the activity is already paused, calling this method will have no effect. - // - If the activity is running and finishes successfully, the activity will be completed. - // - If the activity is running and finishes with failure: - // - if there is no retry left - the activity will be completed. - // - if there are more retries left - the activity will be paused. - // - // For long-running activities: - // - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - // - The activity should respond to the cancellation accordingly. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type - PauseActivity(context.Context, *PauseActivityRequest) (*PauseActivityResponse, error) - // UnpauseActivity unpauses the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be unpaused. - // - // If activity is not paused, this call will have no effect. - // If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - // Once the activity is unpaused, all timeout timers will be regenerated. - // - // Flags: - // 'jitter': the activity will be scheduled at a random time within the jitter duration. - // 'reset_attempts': the number of attempts will be reset. - // 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type - UnpauseActivity(context.Context, *UnpauseActivityRequest) (*UnpauseActivityResponse, error) - // ResetActivity resets the execution of an activity specified by its ID or type. - // If there are multiple pending activities of the provided type - all of them will be reset. - // - // Resetting an activity means: - // - number of attempts will be reset to 0. - // - activity timeouts will be reset. - // - if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - // it will be scheduled immediately (* see 'jitter' flag), - // - // Flags: - // - // 'jitter': the activity will be scheduled at a random time within the jitter duration. - // If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. - // 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. - // 'keep_paused': if the activity is paused, it will remain paused. - // - // Returns a `NotFound` error if there is no pending activity with the provided ID or type. - ResetActivity(context.Context, *ResetActivityRequest) (*ResetActivityResponse, error) - // Create a new workflow rule. The rules are used to control the workflow execution. - // The rule will be applied to all running and new workflows in the namespace. - // If the rule with such ID already exist this call will fail - // Note: the rules are part of namespace configuration and will be stored in the namespace config. - // Namespace config is eventually consistent. - CreateWorkflowRule(context.Context, *CreateWorkflowRuleRequest) (*CreateWorkflowRuleResponse, error) - // DescribeWorkflowRule return the rule specification for existing rule id. - // If there is no rule with such id - NOT FOUND error will be returned. - DescribeWorkflowRule(context.Context, *DescribeWorkflowRuleRequest) (*DescribeWorkflowRuleResponse, error) - // Delete rule by rule id - DeleteWorkflowRule(context.Context, *DeleteWorkflowRuleRequest) (*DeleteWorkflowRuleResponse, error) - // Return all namespace workflow rules - ListWorkflowRules(context.Context, *ListWorkflowRulesRequest) (*ListWorkflowRulesResponse, error) - // TriggerWorkflowRule allows to: - // - trigger existing rule for a specific workflow execution; - // - trigger rule for a specific workflow execution without creating a rule; - // - // This is useful for one-off operations. - TriggerWorkflowRule(context.Context, *TriggerWorkflowRuleRequest) (*TriggerWorkflowRuleResponse, error) - // WorkerHeartbeat receive heartbeat request from the worker. - RecordWorkerHeartbeat(context.Context, *RecordWorkerHeartbeatRequest) (*RecordWorkerHeartbeatResponse, error) - // ListWorkers is a visibility API to list worker status information in a specific namespace. - ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error) - // Updates task queue configuration. - // For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, - // which uncouples the rate limit from the worker lifecycle. - // If the overall queue rate limit is unset, the worker-set rate limit takes effect. - UpdateTaskQueueConfig(context.Context, *UpdateTaskQueueConfigRequest) (*UpdateTaskQueueConfigResponse, error) - // FetchWorkerConfig returns the worker configuration for a specific worker. - FetchWorkerConfig(context.Context, *FetchWorkerConfigRequest) (*FetchWorkerConfigResponse, error) - // UpdateWorkerConfig updates the worker configuration of one or more workers. - // Can be used to partially update the worker configuration. - // Can be used to update the configuration of multiple workers. - UpdateWorkerConfig(context.Context, *UpdateWorkerConfigRequest) (*UpdateWorkerConfigResponse, error) - // DescribeWorker returns information about the specified worker. - DescribeWorker(context.Context, *DescribeWorkerRequest) (*DescribeWorkerResponse, error) -} - -// UnimplementedWorkflowServiceServer should be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedWorkflowServiceServer struct{} - -func (UnimplementedWorkflowServiceServer) RegisterNamespace(context.Context, *RegisterNamespaceRequest) (*RegisterNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RegisterNamespace not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeNamespace(context.Context, *DescribeNamespaceRequest) (*DescribeNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeNamespace not implemented") -} -func (UnimplementedWorkflowServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") -} -func (UnimplementedWorkflowServiceServer) DeprecateNamespace(context.Context, *DeprecateNamespaceRequest) (*DeprecateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeprecateNamespace not implemented") -} -func (UnimplementedWorkflowServiceServer) StartWorkflowExecution(context.Context, *StartWorkflowExecutionRequest) (*StartWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) ExecuteMultiOperation(context.Context, *ExecuteMultiOperationRequest) (*ExecuteMultiOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteMultiOperation not implemented") -} -func (UnimplementedWorkflowServiceServer) GetWorkflowExecutionHistory(context.Context, *GetWorkflowExecutionHistoryRequest) (*GetWorkflowExecutionHistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionHistory not implemented") -} -func (UnimplementedWorkflowServiceServer) GetWorkflowExecutionHistoryReverse(context.Context, *GetWorkflowExecutionHistoryReverseRequest) (*GetWorkflowExecutionHistoryReverseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionHistoryReverse not implemented") -} -func (UnimplementedWorkflowServiceServer) PollWorkflowTaskQueue(context.Context, *PollWorkflowTaskQueueRequest) (*PollWorkflowTaskQueueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PollWorkflowTaskQueue not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondWorkflowTaskCompleted(context.Context, *RespondWorkflowTaskCompletedRequest) (*RespondWorkflowTaskCompletedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondWorkflowTaskCompleted not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondWorkflowTaskFailed(context.Context, *RespondWorkflowTaskFailedRequest) (*RespondWorkflowTaskFailedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondWorkflowTaskFailed not implemented") -} -func (UnimplementedWorkflowServiceServer) PollActivityTaskQueue(context.Context, *PollActivityTaskQueueRequest) (*PollActivityTaskQueueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PollActivityTaskQueue not implemented") -} -func (UnimplementedWorkflowServiceServer) RecordActivityTaskHeartbeat(context.Context, *RecordActivityTaskHeartbeatRequest) (*RecordActivityTaskHeartbeatResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecordActivityTaskHeartbeat not implemented") -} -func (UnimplementedWorkflowServiceServer) RecordActivityTaskHeartbeatById(context.Context, *RecordActivityTaskHeartbeatByIdRequest) (*RecordActivityTaskHeartbeatByIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecordActivityTaskHeartbeatById not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskCompleted(context.Context, *RespondActivityTaskCompletedRequest) (*RespondActivityTaskCompletedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskCompleted not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskCompletedById(context.Context, *RespondActivityTaskCompletedByIdRequest) (*RespondActivityTaskCompletedByIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskCompletedById not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskFailed(context.Context, *RespondActivityTaskFailedRequest) (*RespondActivityTaskFailedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskFailed not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskFailedById(context.Context, *RespondActivityTaskFailedByIdRequest) (*RespondActivityTaskFailedByIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskFailedById not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskCanceled(context.Context, *RespondActivityTaskCanceledRequest) (*RespondActivityTaskCanceledResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskCanceled not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondActivityTaskCanceledById(context.Context, *RespondActivityTaskCanceledByIdRequest) (*RespondActivityTaskCanceledByIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondActivityTaskCanceledById not implemented") -} -func (UnimplementedWorkflowServiceServer) RequestCancelWorkflowExecution(context.Context, *RequestCancelWorkflowExecutionRequest) (*RequestCancelWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RequestCancelWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) SignalWorkflowExecution(context.Context, *SignalWorkflowExecutionRequest) (*SignalWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignalWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) SignalWithStartWorkflowExecution(context.Context, *SignalWithStartWorkflowExecutionRequest) (*SignalWithStartWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignalWithStartWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) ResetWorkflowExecution(context.Context, *ResetWorkflowExecutionRequest) (*ResetWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResetWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest) (*TerminateWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TerminateWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) DeleteWorkflowExecution(context.Context, *DeleteWorkflowExecutionRequest) (*DeleteWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) ListOpenWorkflowExecutions(context.Context, *ListOpenWorkflowExecutionsRequest) (*ListOpenWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOpenWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) ListClosedWorkflowExecutions(context.Context, *ListClosedWorkflowExecutionsRequest) (*ListClosedWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClosedWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) ListArchivedWorkflowExecutions(context.Context, *ListArchivedWorkflowExecutionsRequest) (*ListArchivedWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListArchivedWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) ScanWorkflowExecutions(context.Context, *ScanWorkflowExecutionsRequest) (*ScanWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) CountWorkflowExecutions(context.Context, *CountWorkflowExecutionsRequest) (*CountWorkflowExecutionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CountWorkflowExecutions not implemented") -} -func (UnimplementedWorkflowServiceServer) GetSearchAttributes(context.Context, *GetSearchAttributesRequest) (*GetSearchAttributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSearchAttributes not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondQueryTaskCompleted(context.Context, *RespondQueryTaskCompletedRequest) (*RespondQueryTaskCompletedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondQueryTaskCompleted not implemented") -} -func (UnimplementedWorkflowServiceServer) ResetStickyTaskQueue(context.Context, *ResetStickyTaskQueueRequest) (*ResetStickyTaskQueueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResetStickyTaskQueue not implemented") -} -func (UnimplementedWorkflowServiceServer) ShutdownWorker(context.Context, *ShutdownWorkerRequest) (*ShutdownWorkerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShutdownWorker not implemented") -} -func (UnimplementedWorkflowServiceServer) QueryWorkflow(context.Context, *QueryWorkflowRequest) (*QueryWorkflowResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryWorkflow not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeWorkflowExecution(context.Context, *DescribeWorkflowExecutionRequest) (*DescribeWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeTaskQueue(context.Context, *DescribeTaskQueueRequest) (*DescribeTaskQueueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeTaskQueue not implemented") -} -func (UnimplementedWorkflowServiceServer) GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetClusterInfo not implemented") -} -func (UnimplementedWorkflowServiceServer) GetSystemInfo(context.Context, *GetSystemInfoRequest) (*GetSystemInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSystemInfo not implemented") -} -func (UnimplementedWorkflowServiceServer) ListTaskQueuePartitions(context.Context, *ListTaskQueuePartitionsRequest) (*ListTaskQueuePartitionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTaskQueuePartitions not implemented") -} -func (UnimplementedWorkflowServiceServer) CreateSchedule(context.Context, *CreateScheduleRequest) (*CreateScheduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSchedule not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeSchedule(context.Context, *DescribeScheduleRequest) (*DescribeScheduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeSchedule not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateSchedule(context.Context, *UpdateScheduleRequest) (*UpdateScheduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSchedule not implemented") -} -func (UnimplementedWorkflowServiceServer) PatchSchedule(context.Context, *PatchScheduleRequest) (*PatchScheduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchSchedule not implemented") -} -func (UnimplementedWorkflowServiceServer) ListScheduleMatchingTimes(context.Context, *ListScheduleMatchingTimesRequest) (*ListScheduleMatchingTimesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScheduleMatchingTimes not implemented") -} -func (UnimplementedWorkflowServiceServer) DeleteSchedule(context.Context, *DeleteScheduleRequest) (*DeleteScheduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSchedule not implemented") -} -func (UnimplementedWorkflowServiceServer) ListSchedules(context.Context, *ListSchedulesRequest) (*ListSchedulesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSchedules not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkerBuildIdCompatibility(context.Context, *UpdateWorkerBuildIdCompatibilityRequest) (*UpdateWorkerBuildIdCompatibilityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerBuildIdCompatibility not implemented") -} -func (UnimplementedWorkflowServiceServer) GetWorkerBuildIdCompatibility(context.Context, *GetWorkerBuildIdCompatibilityRequest) (*GetWorkerBuildIdCompatibilityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkerBuildIdCompatibility not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkerVersioningRules(context.Context, *UpdateWorkerVersioningRulesRequest) (*UpdateWorkerVersioningRulesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerVersioningRules not implemented") -} -func (UnimplementedWorkflowServiceServer) GetWorkerVersioningRules(context.Context, *GetWorkerVersioningRulesRequest) (*GetWorkerVersioningRulesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkerVersioningRules not implemented") -} -func (UnimplementedWorkflowServiceServer) GetWorkerTaskReachability(context.Context, *GetWorkerTaskReachabilityRequest) (*GetWorkerTaskReachabilityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkerTaskReachability not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeDeployment(context.Context, *DescribeDeploymentRequest) (*DescribeDeploymentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeDeployment not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeWorkerDeploymentVersion(context.Context, *DescribeWorkerDeploymentVersionRequest) (*DescribeWorkerDeploymentVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeWorkerDeploymentVersion not implemented") -} -func (UnimplementedWorkflowServiceServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDeployments not implemented") -} -func (UnimplementedWorkflowServiceServer) GetDeploymentReachability(context.Context, *GetDeploymentReachabilityRequest) (*GetDeploymentReachabilityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDeploymentReachability not implemented") -} -func (UnimplementedWorkflowServiceServer) GetCurrentDeployment(context.Context, *GetCurrentDeploymentRequest) (*GetCurrentDeploymentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCurrentDeployment not implemented") -} -func (UnimplementedWorkflowServiceServer) SetCurrentDeployment(context.Context, *SetCurrentDeploymentRequest) (*SetCurrentDeploymentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCurrentDeployment not implemented") -} -func (UnimplementedWorkflowServiceServer) SetWorkerDeploymentCurrentVersion(context.Context, *SetWorkerDeploymentCurrentVersionRequest) (*SetWorkerDeploymentCurrentVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetWorkerDeploymentCurrentVersion not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeWorkerDeployment(context.Context, *DescribeWorkerDeploymentRequest) (*DescribeWorkerDeploymentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeWorkerDeployment not implemented") -} -func (UnimplementedWorkflowServiceServer) DeleteWorkerDeployment(context.Context, *DeleteWorkerDeploymentRequest) (*DeleteWorkerDeploymentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkerDeployment not implemented") -} -func (UnimplementedWorkflowServiceServer) DeleteWorkerDeploymentVersion(context.Context, *DeleteWorkerDeploymentVersionRequest) (*DeleteWorkerDeploymentVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkerDeploymentVersion not implemented") -} -func (UnimplementedWorkflowServiceServer) SetWorkerDeploymentRampingVersion(context.Context, *SetWorkerDeploymentRampingVersionRequest) (*SetWorkerDeploymentRampingVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetWorkerDeploymentRampingVersion not implemented") -} -func (UnimplementedWorkflowServiceServer) ListWorkerDeployments(context.Context, *ListWorkerDeploymentsRequest) (*ListWorkerDeploymentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkerDeployments not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkerDeploymentVersionMetadata(context.Context, *UpdateWorkerDeploymentVersionMetadataRequest) (*UpdateWorkerDeploymentVersionMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerDeploymentVersionMetadata not implemented") -} -func (UnimplementedWorkflowServiceServer) SetWorkerDeploymentManager(context.Context, *SetWorkerDeploymentManagerRequest) (*SetWorkerDeploymentManagerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetWorkerDeploymentManager not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkflowExecution(context.Context, *UpdateWorkflowExecutionRequest) (*UpdateWorkflowExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowExecution not implemented") -} -func (UnimplementedWorkflowServiceServer) PollWorkflowExecutionUpdate(context.Context, *PollWorkflowExecutionUpdateRequest) (*PollWorkflowExecutionUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PollWorkflowExecutionUpdate not implemented") -} -func (UnimplementedWorkflowServiceServer) StartBatchOperation(context.Context, *StartBatchOperationRequest) (*StartBatchOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartBatchOperation not implemented") -} -func (UnimplementedWorkflowServiceServer) StopBatchOperation(context.Context, *StopBatchOperationRequest) (*StopBatchOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopBatchOperation not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeBatchOperation(context.Context, *DescribeBatchOperationRequest) (*DescribeBatchOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeBatchOperation not implemented") -} -func (UnimplementedWorkflowServiceServer) ListBatchOperations(context.Context, *ListBatchOperationsRequest) (*ListBatchOperationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBatchOperations not implemented") -} -func (UnimplementedWorkflowServiceServer) PollNexusTaskQueue(context.Context, *PollNexusTaskQueueRequest) (*PollNexusTaskQueueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PollNexusTaskQueue not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondNexusTaskCompleted(context.Context, *RespondNexusTaskCompletedRequest) (*RespondNexusTaskCompletedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondNexusTaskCompleted not implemented") -} -func (UnimplementedWorkflowServiceServer) RespondNexusTaskFailed(context.Context, *RespondNexusTaskFailedRequest) (*RespondNexusTaskFailedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RespondNexusTaskFailed not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateActivityOptions(context.Context, *UpdateActivityOptionsRequest) (*UpdateActivityOptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateActivityOptions not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkflowExecutionOptions(context.Context, *UpdateWorkflowExecutionOptionsRequest) (*UpdateWorkflowExecutionOptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowExecutionOptions not implemented") -} -func (UnimplementedWorkflowServiceServer) PauseActivity(context.Context, *PauseActivityRequest) (*PauseActivityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseActivity not implemented") -} -func (UnimplementedWorkflowServiceServer) UnpauseActivity(context.Context, *UnpauseActivityRequest) (*UnpauseActivityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnpauseActivity not implemented") -} -func (UnimplementedWorkflowServiceServer) ResetActivity(context.Context, *ResetActivityRequest) (*ResetActivityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResetActivity not implemented") -} -func (UnimplementedWorkflowServiceServer) CreateWorkflowRule(context.Context, *CreateWorkflowRuleRequest) (*CreateWorkflowRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowRule not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeWorkflowRule(context.Context, *DescribeWorkflowRuleRequest) (*DescribeWorkflowRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeWorkflowRule not implemented") -} -func (UnimplementedWorkflowServiceServer) DeleteWorkflowRule(context.Context, *DeleteWorkflowRuleRequest) (*DeleteWorkflowRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowRule not implemented") -} -func (UnimplementedWorkflowServiceServer) ListWorkflowRules(context.Context, *ListWorkflowRulesRequest) (*ListWorkflowRulesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowRules not implemented") -} -func (UnimplementedWorkflowServiceServer) TriggerWorkflowRule(context.Context, *TriggerWorkflowRuleRequest) (*TriggerWorkflowRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TriggerWorkflowRule not implemented") -} -func (UnimplementedWorkflowServiceServer) RecordWorkerHeartbeat(context.Context, *RecordWorkerHeartbeatRequest) (*RecordWorkerHeartbeatResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecordWorkerHeartbeat not implemented") -} -func (UnimplementedWorkflowServiceServer) ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkers not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateTaskQueueConfig(context.Context, *UpdateTaskQueueConfigRequest) (*UpdateTaskQueueConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTaskQueueConfig not implemented") -} -func (UnimplementedWorkflowServiceServer) FetchWorkerConfig(context.Context, *FetchWorkerConfigRequest) (*FetchWorkerConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FetchWorkerConfig not implemented") -} -func (UnimplementedWorkflowServiceServer) UpdateWorkerConfig(context.Context, *UpdateWorkerConfigRequest) (*UpdateWorkerConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerConfig not implemented") -} -func (UnimplementedWorkflowServiceServer) DescribeWorker(context.Context, *DescribeWorkerRequest) (*DescribeWorkerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeWorker not implemented") -} -func (UnimplementedWorkflowServiceServer) testEmbeddedByValue() {} - -// UnsafeWorkflowServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to WorkflowServiceServer will -// result in compilation errors. -type UnsafeWorkflowServiceServer interface { - mustEmbedUnimplementedWorkflowServiceServer() -} - -func RegisterWorkflowServiceServer(s grpc.ServiceRegistrar, srv WorkflowServiceServer) { - // If the following call pancis, it indicates UnimplementedWorkflowServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&WorkflowService_ServiceDesc, srv) -} - -func _WorkflowService_RegisterNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RegisterNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RegisterNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RegisterNamespace_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RegisterNamespace(ctx, req.(*RegisterNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeNamespace_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeNamespace(ctx, req.(*DescribeNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNamespacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListNamespaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListNamespaces_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListNamespaces(ctx, req.(*ListNamespacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateNamespace_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateNamespace(ctx, req.(*UpdateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeprecateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeprecateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeprecateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeprecateNamespace_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeprecateNamespace(ctx, req.(*DeprecateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_StartWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).StartWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_StartWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).StartWorkflowExecution(ctx, req.(*StartWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ExecuteMultiOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecuteMultiOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ExecuteMultiOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ExecuteMultiOperation_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ExecuteMultiOperation(ctx, req.(*ExecuteMultiOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetWorkflowExecutionHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkflowExecutionHistoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetWorkflowExecutionHistory(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetWorkflowExecutionHistory_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetWorkflowExecutionHistory(ctx, req.(*GetWorkflowExecutionHistoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetWorkflowExecutionHistoryReverse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkflowExecutionHistoryReverseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetWorkflowExecutionHistoryReverse(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetWorkflowExecutionHistoryReverse_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetWorkflowExecutionHistoryReverse(ctx, req.(*GetWorkflowExecutionHistoryReverseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PollWorkflowTaskQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PollWorkflowTaskQueueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PollWorkflowTaskQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PollWorkflowTaskQueue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PollWorkflowTaskQueue(ctx, req.(*PollWorkflowTaskQueueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondWorkflowTaskCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondWorkflowTaskCompletedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondWorkflowTaskCompleted(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondWorkflowTaskCompleted_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondWorkflowTaskCompleted(ctx, req.(*RespondWorkflowTaskCompletedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondWorkflowTaskFailed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondWorkflowTaskFailedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondWorkflowTaskFailed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondWorkflowTaskFailed_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondWorkflowTaskFailed(ctx, req.(*RespondWorkflowTaskFailedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PollActivityTaskQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PollActivityTaskQueueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PollActivityTaskQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PollActivityTaskQueue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PollActivityTaskQueue(ctx, req.(*PollActivityTaskQueueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RecordActivityTaskHeartbeat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecordActivityTaskHeartbeatRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RecordActivityTaskHeartbeat(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RecordActivityTaskHeartbeat_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RecordActivityTaskHeartbeat(ctx, req.(*RecordActivityTaskHeartbeatRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RecordActivityTaskHeartbeatById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecordActivityTaskHeartbeatByIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RecordActivityTaskHeartbeatById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RecordActivityTaskHeartbeatById_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RecordActivityTaskHeartbeatById(ctx, req.(*RecordActivityTaskHeartbeatByIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskCompletedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskCompleted(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskCompleted_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskCompleted(ctx, req.(*RespondActivityTaskCompletedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskCompletedById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskCompletedByIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskCompletedById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskCompletedById_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskCompletedById(ctx, req.(*RespondActivityTaskCompletedByIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskFailed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskFailedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskFailed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskFailed_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskFailed(ctx, req.(*RespondActivityTaskFailedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskFailedById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskFailedByIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskFailedById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskFailedById_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskFailedById(ctx, req.(*RespondActivityTaskFailedByIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskCanceled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskCanceledRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskCanceled(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskCanceled_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskCanceled(ctx, req.(*RespondActivityTaskCanceledRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondActivityTaskCanceledById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondActivityTaskCanceledByIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondActivityTaskCanceledById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondActivityTaskCanceledById_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondActivityTaskCanceledById(ctx, req.(*RespondActivityTaskCanceledByIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RequestCancelWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RequestCancelWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RequestCancelWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RequestCancelWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RequestCancelWorkflowExecution(ctx, req.(*RequestCancelWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SignalWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignalWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SignalWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SignalWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SignalWorkflowExecution(ctx, req.(*SignalWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SignalWithStartWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignalWithStartWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SignalWithStartWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SignalWithStartWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SignalWithStartWorkflowExecution(ctx, req.(*SignalWithStartWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ResetWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ResetWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ResetWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ResetWorkflowExecution(ctx, req.(*ResetWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_TerminateWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TerminateWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).TerminateWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_TerminateWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).TerminateWorkflowExecution(ctx, req.(*TerminateWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeleteWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeleteWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeleteWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeleteWorkflowExecution(ctx, req.(*DeleteWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListOpenWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOpenWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListOpenWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListOpenWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListOpenWorkflowExecutions(ctx, req.(*ListOpenWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListClosedWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClosedWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListClosedWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListClosedWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListClosedWorkflowExecutions(ctx, req.(*ListClosedWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListWorkflowExecutions(ctx, req.(*ListWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListArchivedWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListArchivedWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListArchivedWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListArchivedWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListArchivedWorkflowExecutions(ctx, req.(*ListArchivedWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ScanWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ScanWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ScanWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ScanWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ScanWorkflowExecutions(ctx, req.(*ScanWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_CountWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CountWorkflowExecutionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).CountWorkflowExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_CountWorkflowExecutions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).CountWorkflowExecutions(ctx, req.(*CountWorkflowExecutionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetSearchAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSearchAttributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetSearchAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetSearchAttributes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetSearchAttributes(ctx, req.(*GetSearchAttributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondQueryTaskCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondQueryTaskCompletedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondQueryTaskCompleted(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondQueryTaskCompleted_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondQueryTaskCompleted(ctx, req.(*RespondQueryTaskCompletedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ResetStickyTaskQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetStickyTaskQueueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ResetStickyTaskQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ResetStickyTaskQueue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ResetStickyTaskQueue(ctx, req.(*ResetStickyTaskQueueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ShutdownWorker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShutdownWorkerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ShutdownWorker(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ShutdownWorker_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ShutdownWorker(ctx, req.(*ShutdownWorkerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_QueryWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryWorkflowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).QueryWorkflow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_QueryWorkflow_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).QueryWorkflow(ctx, req.(*QueryWorkflowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeWorkflowExecution(ctx, req.(*DescribeWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeTaskQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeTaskQueueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeTaskQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeTaskQueue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeTaskQueue(ctx, req.(*DescribeTaskQueueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetClusterInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetClusterInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetClusterInfo_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetClusterInfo(ctx, req.(*GetClusterInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetSystemInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSystemInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetSystemInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetSystemInfo_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetSystemInfo(ctx, req.(*GetSystemInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListTaskQueuePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTaskQueuePartitionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListTaskQueuePartitions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListTaskQueuePartitions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListTaskQueuePartitions(ctx, req.(*ListTaskQueuePartitionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_CreateSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateScheduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).CreateSchedule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_CreateSchedule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).CreateSchedule(ctx, req.(*CreateScheduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeScheduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeSchedule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeSchedule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeSchedule(ctx, req.(*DescribeScheduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateScheduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateSchedule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateSchedule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateSchedule(ctx, req.(*UpdateScheduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PatchSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchScheduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PatchSchedule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PatchSchedule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PatchSchedule(ctx, req.(*PatchScheduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListScheduleMatchingTimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListScheduleMatchingTimesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListScheduleMatchingTimes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListScheduleMatchingTimes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListScheduleMatchingTimes(ctx, req.(*ListScheduleMatchingTimesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeleteSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteScheduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeleteSchedule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeleteSchedule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeleteSchedule(ctx, req.(*DeleteScheduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListSchedules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSchedulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListSchedules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListSchedules_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListSchedules(ctx, req.(*ListSchedulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkerBuildIdCompatibility_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkerBuildIdCompatibilityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkerBuildIdCompatibility(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkerBuildIdCompatibility_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkerBuildIdCompatibility(ctx, req.(*UpdateWorkerBuildIdCompatibilityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetWorkerBuildIdCompatibility_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkerBuildIdCompatibilityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetWorkerBuildIdCompatibility(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetWorkerBuildIdCompatibility_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetWorkerBuildIdCompatibility(ctx, req.(*GetWorkerBuildIdCompatibilityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkerVersioningRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkerVersioningRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkerVersioningRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkerVersioningRules_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkerVersioningRules(ctx, req.(*UpdateWorkerVersioningRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetWorkerVersioningRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkerVersioningRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetWorkerVersioningRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetWorkerVersioningRules_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetWorkerVersioningRules(ctx, req.(*GetWorkerVersioningRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetWorkerTaskReachability_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkerTaskReachabilityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetWorkerTaskReachability(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetWorkerTaskReachability_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetWorkerTaskReachability(ctx, req.(*GetWorkerTaskReachabilityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeDeployment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeDeploymentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeDeployment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeDeployment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeDeployment(ctx, req.(*DescribeDeploymentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeWorkerDeploymentVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeWorkerDeploymentVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeWorkerDeploymentVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeWorkerDeploymentVersion_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeWorkerDeploymentVersion(ctx, req.(*DescribeWorkerDeploymentVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListDeployments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDeploymentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListDeployments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListDeployments_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListDeployments(ctx, req.(*ListDeploymentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetDeploymentReachability_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDeploymentReachabilityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetDeploymentReachability(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetDeploymentReachability_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetDeploymentReachability(ctx, req.(*GetDeploymentReachabilityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_GetCurrentDeployment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCurrentDeploymentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).GetCurrentDeployment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_GetCurrentDeployment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).GetCurrentDeployment(ctx, req.(*GetCurrentDeploymentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SetCurrentDeployment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetCurrentDeploymentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SetCurrentDeployment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SetCurrentDeployment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SetCurrentDeployment(ctx, req.(*SetCurrentDeploymentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SetWorkerDeploymentCurrentVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetWorkerDeploymentCurrentVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SetWorkerDeploymentCurrentVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SetWorkerDeploymentCurrentVersion_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SetWorkerDeploymentCurrentVersion(ctx, req.(*SetWorkerDeploymentCurrentVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeWorkerDeployment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeWorkerDeploymentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeWorkerDeployment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeWorkerDeployment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeWorkerDeployment(ctx, req.(*DescribeWorkerDeploymentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeleteWorkerDeployment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWorkerDeploymentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeleteWorkerDeployment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeleteWorkerDeployment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeleteWorkerDeployment(ctx, req.(*DeleteWorkerDeploymentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeleteWorkerDeploymentVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWorkerDeploymentVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeleteWorkerDeploymentVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeleteWorkerDeploymentVersion_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeleteWorkerDeploymentVersion(ctx, req.(*DeleteWorkerDeploymentVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SetWorkerDeploymentRampingVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetWorkerDeploymentRampingVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SetWorkerDeploymentRampingVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SetWorkerDeploymentRampingVersion_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SetWorkerDeploymentRampingVersion(ctx, req.(*SetWorkerDeploymentRampingVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListWorkerDeployments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWorkerDeploymentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListWorkerDeployments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListWorkerDeployments_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListWorkerDeployments(ctx, req.(*ListWorkerDeploymentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkerDeploymentVersionMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkerDeploymentVersionMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkerDeploymentVersionMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkerDeploymentVersionMetadata_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkerDeploymentVersionMetadata(ctx, req.(*UpdateWorkerDeploymentVersionMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_SetWorkerDeploymentManager_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetWorkerDeploymentManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).SetWorkerDeploymentManager(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_SetWorkerDeploymentManager_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).SetWorkerDeploymentManager(ctx, req.(*SetWorkerDeploymentManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkflowExecutionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkflowExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkflowExecution_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkflowExecution(ctx, req.(*UpdateWorkflowExecutionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PollWorkflowExecutionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PollWorkflowExecutionUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PollWorkflowExecutionUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PollWorkflowExecutionUpdate_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PollWorkflowExecutionUpdate(ctx, req.(*PollWorkflowExecutionUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_StartBatchOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartBatchOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).StartBatchOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_StartBatchOperation_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).StartBatchOperation(ctx, req.(*StartBatchOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_StopBatchOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopBatchOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).StopBatchOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_StopBatchOperation_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).StopBatchOperation(ctx, req.(*StopBatchOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeBatchOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeBatchOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeBatchOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeBatchOperation_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeBatchOperation(ctx, req.(*DescribeBatchOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListBatchOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBatchOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListBatchOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListBatchOperations_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListBatchOperations(ctx, req.(*ListBatchOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PollNexusTaskQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PollNexusTaskQueueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PollNexusTaskQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PollNexusTaskQueue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PollNexusTaskQueue(ctx, req.(*PollNexusTaskQueueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondNexusTaskCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondNexusTaskCompletedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondNexusTaskCompleted(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondNexusTaskCompleted_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondNexusTaskCompleted(ctx, req.(*RespondNexusTaskCompletedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RespondNexusTaskFailed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RespondNexusTaskFailedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RespondNexusTaskFailed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RespondNexusTaskFailed_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RespondNexusTaskFailed(ctx, req.(*RespondNexusTaskFailedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateActivityOptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateActivityOptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateActivityOptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateActivityOptions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateActivityOptions(ctx, req.(*UpdateActivityOptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkflowExecutionOptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkflowExecutionOptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkflowExecutionOptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkflowExecutionOptions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkflowExecutionOptions(ctx, req.(*UpdateWorkflowExecutionOptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_PauseActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PauseActivityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).PauseActivity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_PauseActivity_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).PauseActivity(ctx, req.(*PauseActivityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UnpauseActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnpauseActivityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UnpauseActivity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UnpauseActivity_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UnpauseActivity(ctx, req.(*UnpauseActivityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ResetActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetActivityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ResetActivity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ResetActivity_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ResetActivity(ctx, req.(*ResetActivityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_CreateWorkflowRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateWorkflowRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).CreateWorkflowRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_CreateWorkflowRule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).CreateWorkflowRule(ctx, req.(*CreateWorkflowRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeWorkflowRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeWorkflowRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeWorkflowRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeWorkflowRule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeWorkflowRule(ctx, req.(*DescribeWorkflowRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DeleteWorkflowRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWorkflowRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DeleteWorkflowRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DeleteWorkflowRule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DeleteWorkflowRule(ctx, req.(*DeleteWorkflowRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListWorkflowRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWorkflowRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListWorkflowRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListWorkflowRules_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListWorkflowRules(ctx, req.(*ListWorkflowRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_TriggerWorkflowRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TriggerWorkflowRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).TriggerWorkflowRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_TriggerWorkflowRule_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).TriggerWorkflowRule(ctx, req.(*TriggerWorkflowRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_RecordWorkerHeartbeat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecordWorkerHeartbeatRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).RecordWorkerHeartbeat(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_RecordWorkerHeartbeat_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).RecordWorkerHeartbeat(ctx, req.(*RecordWorkerHeartbeatRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_ListWorkers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWorkersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).ListWorkers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_ListWorkers_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).ListWorkers(ctx, req.(*ListWorkersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateTaskQueueConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTaskQueueConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateTaskQueueConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateTaskQueueConfig_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateTaskQueueConfig(ctx, req.(*UpdateTaskQueueConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_FetchWorkerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchWorkerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).FetchWorkerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_FetchWorkerConfig_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).FetchWorkerConfig(ctx, req.(*FetchWorkerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_UpdateWorkerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).UpdateWorkerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_UpdateWorkerConfig_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).UpdateWorkerConfig(ctx, req.(*UpdateWorkerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkflowService_DescribeWorker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeWorkerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkflowServiceServer).DescribeWorker(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: WorkflowService_DescribeWorker_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkflowServiceServer).DescribeWorker(ctx, req.(*DescribeWorkerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// WorkflowService_ServiceDesc is the grpc.ServiceDesc for WorkflowService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var WorkflowService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "temporal.api.workflowservice.v1.WorkflowService", - HandlerType: (*WorkflowServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RegisterNamespace", - Handler: _WorkflowService_RegisterNamespace_Handler, - }, - { - MethodName: "DescribeNamespace", - Handler: _WorkflowService_DescribeNamespace_Handler, - }, - { - MethodName: "ListNamespaces", - Handler: _WorkflowService_ListNamespaces_Handler, - }, - { - MethodName: "UpdateNamespace", - Handler: _WorkflowService_UpdateNamespace_Handler, - }, - { - MethodName: "DeprecateNamespace", - Handler: _WorkflowService_DeprecateNamespace_Handler, - }, - { - MethodName: "StartWorkflowExecution", - Handler: _WorkflowService_StartWorkflowExecution_Handler, - }, - { - MethodName: "ExecuteMultiOperation", - Handler: _WorkflowService_ExecuteMultiOperation_Handler, - }, - { - MethodName: "GetWorkflowExecutionHistory", - Handler: _WorkflowService_GetWorkflowExecutionHistory_Handler, - }, - { - MethodName: "GetWorkflowExecutionHistoryReverse", - Handler: _WorkflowService_GetWorkflowExecutionHistoryReverse_Handler, - }, - { - MethodName: "PollWorkflowTaskQueue", - Handler: _WorkflowService_PollWorkflowTaskQueue_Handler, - }, - { - MethodName: "RespondWorkflowTaskCompleted", - Handler: _WorkflowService_RespondWorkflowTaskCompleted_Handler, - }, - { - MethodName: "RespondWorkflowTaskFailed", - Handler: _WorkflowService_RespondWorkflowTaskFailed_Handler, - }, - { - MethodName: "PollActivityTaskQueue", - Handler: _WorkflowService_PollActivityTaskQueue_Handler, - }, - { - MethodName: "RecordActivityTaskHeartbeat", - Handler: _WorkflowService_RecordActivityTaskHeartbeat_Handler, - }, - { - MethodName: "RecordActivityTaskHeartbeatById", - Handler: _WorkflowService_RecordActivityTaskHeartbeatById_Handler, - }, - { - MethodName: "RespondActivityTaskCompleted", - Handler: _WorkflowService_RespondActivityTaskCompleted_Handler, - }, - { - MethodName: "RespondActivityTaskCompletedById", - Handler: _WorkflowService_RespondActivityTaskCompletedById_Handler, - }, - { - MethodName: "RespondActivityTaskFailed", - Handler: _WorkflowService_RespondActivityTaskFailed_Handler, - }, - { - MethodName: "RespondActivityTaskFailedById", - Handler: _WorkflowService_RespondActivityTaskFailedById_Handler, - }, - { - MethodName: "RespondActivityTaskCanceled", - Handler: _WorkflowService_RespondActivityTaskCanceled_Handler, - }, - { - MethodName: "RespondActivityTaskCanceledById", - Handler: _WorkflowService_RespondActivityTaskCanceledById_Handler, - }, - { - MethodName: "RequestCancelWorkflowExecution", - Handler: _WorkflowService_RequestCancelWorkflowExecution_Handler, - }, - { - MethodName: "SignalWorkflowExecution", - Handler: _WorkflowService_SignalWorkflowExecution_Handler, - }, - { - MethodName: "SignalWithStartWorkflowExecution", - Handler: _WorkflowService_SignalWithStartWorkflowExecution_Handler, - }, - { - MethodName: "ResetWorkflowExecution", - Handler: _WorkflowService_ResetWorkflowExecution_Handler, - }, - { - MethodName: "TerminateWorkflowExecution", - Handler: _WorkflowService_TerminateWorkflowExecution_Handler, - }, - { - MethodName: "DeleteWorkflowExecution", - Handler: _WorkflowService_DeleteWorkflowExecution_Handler, - }, - { - MethodName: "ListOpenWorkflowExecutions", - Handler: _WorkflowService_ListOpenWorkflowExecutions_Handler, - }, - { - MethodName: "ListClosedWorkflowExecutions", - Handler: _WorkflowService_ListClosedWorkflowExecutions_Handler, - }, - { - MethodName: "ListWorkflowExecutions", - Handler: _WorkflowService_ListWorkflowExecutions_Handler, - }, - { - MethodName: "ListArchivedWorkflowExecutions", - Handler: _WorkflowService_ListArchivedWorkflowExecutions_Handler, - }, - { - MethodName: "ScanWorkflowExecutions", - Handler: _WorkflowService_ScanWorkflowExecutions_Handler, - }, - { - MethodName: "CountWorkflowExecutions", - Handler: _WorkflowService_CountWorkflowExecutions_Handler, - }, - { - MethodName: "GetSearchAttributes", - Handler: _WorkflowService_GetSearchAttributes_Handler, - }, - { - MethodName: "RespondQueryTaskCompleted", - Handler: _WorkflowService_RespondQueryTaskCompleted_Handler, - }, - { - MethodName: "ResetStickyTaskQueue", - Handler: _WorkflowService_ResetStickyTaskQueue_Handler, - }, - { - MethodName: "ShutdownWorker", - Handler: _WorkflowService_ShutdownWorker_Handler, - }, - { - MethodName: "QueryWorkflow", - Handler: _WorkflowService_QueryWorkflow_Handler, - }, - { - MethodName: "DescribeWorkflowExecution", - Handler: _WorkflowService_DescribeWorkflowExecution_Handler, - }, - { - MethodName: "DescribeTaskQueue", - Handler: _WorkflowService_DescribeTaskQueue_Handler, - }, - { - MethodName: "GetClusterInfo", - Handler: _WorkflowService_GetClusterInfo_Handler, - }, - { - MethodName: "GetSystemInfo", - Handler: _WorkflowService_GetSystemInfo_Handler, - }, - { - MethodName: "ListTaskQueuePartitions", - Handler: _WorkflowService_ListTaskQueuePartitions_Handler, - }, - { - MethodName: "CreateSchedule", - Handler: _WorkflowService_CreateSchedule_Handler, - }, - { - MethodName: "DescribeSchedule", - Handler: _WorkflowService_DescribeSchedule_Handler, - }, - { - MethodName: "UpdateSchedule", - Handler: _WorkflowService_UpdateSchedule_Handler, - }, - { - MethodName: "PatchSchedule", - Handler: _WorkflowService_PatchSchedule_Handler, - }, - { - MethodName: "ListScheduleMatchingTimes", - Handler: _WorkflowService_ListScheduleMatchingTimes_Handler, - }, - { - MethodName: "DeleteSchedule", - Handler: _WorkflowService_DeleteSchedule_Handler, - }, - { - MethodName: "ListSchedules", - Handler: _WorkflowService_ListSchedules_Handler, - }, - { - MethodName: "UpdateWorkerBuildIdCompatibility", - Handler: _WorkflowService_UpdateWorkerBuildIdCompatibility_Handler, - }, - { - MethodName: "GetWorkerBuildIdCompatibility", - Handler: _WorkflowService_GetWorkerBuildIdCompatibility_Handler, - }, - { - MethodName: "UpdateWorkerVersioningRules", - Handler: _WorkflowService_UpdateWorkerVersioningRules_Handler, - }, - { - MethodName: "GetWorkerVersioningRules", - Handler: _WorkflowService_GetWorkerVersioningRules_Handler, - }, - { - MethodName: "GetWorkerTaskReachability", - Handler: _WorkflowService_GetWorkerTaskReachability_Handler, - }, - { - MethodName: "DescribeDeployment", - Handler: _WorkflowService_DescribeDeployment_Handler, - }, - { - MethodName: "DescribeWorkerDeploymentVersion", - Handler: _WorkflowService_DescribeWorkerDeploymentVersion_Handler, - }, - { - MethodName: "ListDeployments", - Handler: _WorkflowService_ListDeployments_Handler, - }, - { - MethodName: "GetDeploymentReachability", - Handler: _WorkflowService_GetDeploymentReachability_Handler, - }, - { - MethodName: "GetCurrentDeployment", - Handler: _WorkflowService_GetCurrentDeployment_Handler, - }, - { - MethodName: "SetCurrentDeployment", - Handler: _WorkflowService_SetCurrentDeployment_Handler, - }, - { - MethodName: "SetWorkerDeploymentCurrentVersion", - Handler: _WorkflowService_SetWorkerDeploymentCurrentVersion_Handler, - }, - { - MethodName: "DescribeWorkerDeployment", - Handler: _WorkflowService_DescribeWorkerDeployment_Handler, - }, - { - MethodName: "DeleteWorkerDeployment", - Handler: _WorkflowService_DeleteWorkerDeployment_Handler, - }, - { - MethodName: "DeleteWorkerDeploymentVersion", - Handler: _WorkflowService_DeleteWorkerDeploymentVersion_Handler, - }, - { - MethodName: "SetWorkerDeploymentRampingVersion", - Handler: _WorkflowService_SetWorkerDeploymentRampingVersion_Handler, - }, - { - MethodName: "ListWorkerDeployments", - Handler: _WorkflowService_ListWorkerDeployments_Handler, - }, - { - MethodName: "UpdateWorkerDeploymentVersionMetadata", - Handler: _WorkflowService_UpdateWorkerDeploymentVersionMetadata_Handler, - }, - { - MethodName: "SetWorkerDeploymentManager", - Handler: _WorkflowService_SetWorkerDeploymentManager_Handler, - }, - { - MethodName: "UpdateWorkflowExecution", - Handler: _WorkflowService_UpdateWorkflowExecution_Handler, - }, - { - MethodName: "PollWorkflowExecutionUpdate", - Handler: _WorkflowService_PollWorkflowExecutionUpdate_Handler, - }, - { - MethodName: "StartBatchOperation", - Handler: _WorkflowService_StartBatchOperation_Handler, - }, - { - MethodName: "StopBatchOperation", - Handler: _WorkflowService_StopBatchOperation_Handler, - }, - { - MethodName: "DescribeBatchOperation", - Handler: _WorkflowService_DescribeBatchOperation_Handler, - }, - { - MethodName: "ListBatchOperations", - Handler: _WorkflowService_ListBatchOperations_Handler, - }, - { - MethodName: "PollNexusTaskQueue", - Handler: _WorkflowService_PollNexusTaskQueue_Handler, - }, - { - MethodName: "RespondNexusTaskCompleted", - Handler: _WorkflowService_RespondNexusTaskCompleted_Handler, - }, - { - MethodName: "RespondNexusTaskFailed", - Handler: _WorkflowService_RespondNexusTaskFailed_Handler, - }, - { - MethodName: "UpdateActivityOptions", - Handler: _WorkflowService_UpdateActivityOptions_Handler, - }, - { - MethodName: "UpdateWorkflowExecutionOptions", - Handler: _WorkflowService_UpdateWorkflowExecutionOptions_Handler, - }, - { - MethodName: "PauseActivity", - Handler: _WorkflowService_PauseActivity_Handler, - }, - { - MethodName: "UnpauseActivity", - Handler: _WorkflowService_UnpauseActivity_Handler, - }, - { - MethodName: "ResetActivity", - Handler: _WorkflowService_ResetActivity_Handler, - }, - { - MethodName: "CreateWorkflowRule", - Handler: _WorkflowService_CreateWorkflowRule_Handler, - }, - { - MethodName: "DescribeWorkflowRule", - Handler: _WorkflowService_DescribeWorkflowRule_Handler, - }, - { - MethodName: "DeleteWorkflowRule", - Handler: _WorkflowService_DeleteWorkflowRule_Handler, - }, - { - MethodName: "ListWorkflowRules", - Handler: _WorkflowService_ListWorkflowRules_Handler, - }, - { - MethodName: "TriggerWorkflowRule", - Handler: _WorkflowService_TriggerWorkflowRule_Handler, - }, - { - MethodName: "RecordWorkerHeartbeat", - Handler: _WorkflowService_RecordWorkerHeartbeat_Handler, - }, - { - MethodName: "ListWorkers", - Handler: _WorkflowService_ListWorkers_Handler, - }, - { - MethodName: "UpdateTaskQueueConfig", - Handler: _WorkflowService_UpdateTaskQueueConfig_Handler, - }, - { - MethodName: "FetchWorkerConfig", - Handler: _WorkflowService_FetchWorkerConfig_Handler, - }, - { - MethodName: "UpdateWorkerConfig", - Handler: _WorkflowService_UpdateWorkerConfig_Handler, - }, - { - MethodName: "DescribeWorker", - Handler: _WorkflowService_DescribeWorker_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "temporal/api/workflowservice/v1/service.proto", -} diff --git a/build/temporal/v1/temporal.pb.go b/build/temporal/v1/temporal.pb.go deleted file mode 100644 index 6b5a95e..0000000 --- a/build/temporal/v1/temporal.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: temporal/v1/temporal.proto - -package temporalV1 - -import ( - v12 "github.com/roadrunner-server/api/v4/build/common/v1" - v11 "go.temporal.io/api/common/v1" - v1 "go.temporal.io/api/failure/v1" - v13 "go.temporal.io/api/history/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Frame struct { - state protoimpl.MessageState `protogen:"open.v1"` - Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Frame) Reset() { - *x = Frame{} - mi := &file_temporal_v1_temporal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Frame) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Frame) ProtoMessage() {} - -func (x *Frame) ProtoReflect() protoreflect.Message { - mi := &file_temporal_v1_temporal_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Frame.ProtoReflect.Descriptor instead. -func (*Frame) Descriptor() ([]byte, []int) { - return file_temporal_v1_temporal_proto_rawDescGZIP(), []int{0} -} - -func (x *Frame) GetMessages() []*Message { - if x != nil { - return x.Messages - } - return nil -} - -// Single communication message. -type Message struct { - state protoimpl.MessageState `protogen:"open.v1"` - // unique ID of the message (counter) - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - // command name (if any) - Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` - // command options in json format. - Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` - // error response. - Failure *v1.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` - // invocation or result payloads. - Payloads *v11.Payloads `protobuf:"bytes,5,opt,name=payloads,proto3" json:"payloads,omitempty"` - // invocation or result payloads. - Header *v11.Header `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` - // workflow history length - HistoryLength int64 `protobuf:"varint,7,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"` - // rr_run id - RunId string `protobuf:"bytes,8,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - // task queue name - TaskQueue string `protobuf:"bytes,9,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` - // tick time - TickTime string `protobuf:"bytes,10,opt,name=tick_time,json=tickTime,proto3" json:"tick_time,omitempty"` - // replay flag - Replay bool `protobuf:"varint,11,opt,name=replay,proto3" json:"replay,omitempty"` - // continue as new flag - ContinueAsNewSuggested bool `protobuf:"varint,12,opt,name=continue_as_new_suggested,json=continueAsNewSuggested,proto3" json:"continue_as_new_suggested,omitempty"` - // returns the current length of history when called. - // This value may change throughout the life of the workflow. - HistorySize int64 `protobuf:"varint,13,opt,name=history_size,json=historySize,proto3" json:"history_size,omitempty"` - // workflow worker pid - Wwpid uint64 `protobuf:"varint,14,opt,name=wwpid,proto3" json:"wwpid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Message) Reset() { - *x = Message{} - mi := &file_temporal_v1_temporal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_temporal_v1_temporal_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_temporal_v1_temporal_proto_rawDescGZIP(), []int{1} -} - -func (x *Message) GetId() uint64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Message) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *Message) GetOptions() []byte { - if x != nil { - return x.Options - } - return nil -} - -func (x *Message) GetFailure() *v1.Failure { - if x != nil { - return x.Failure - } - return nil -} - -func (x *Message) GetPayloads() *v11.Payloads { - if x != nil { - return x.Payloads - } - return nil -} - -func (x *Message) GetHeader() *v11.Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *Message) GetHistoryLength() int64 { - if x != nil { - return x.HistoryLength - } - return 0 -} - -func (x *Message) GetRunId() string { - if x != nil { - return x.RunId - } - return "" -} - -func (x *Message) GetTaskQueue() string { - if x != nil { - return x.TaskQueue - } - return "" -} - -func (x *Message) GetTickTime() string { - if x != nil { - return x.TickTime - } - return "" -} - -func (x *Message) GetReplay() bool { - if x != nil { - return x.Replay - } - return false -} - -func (x *Message) GetContinueAsNewSuggested() bool { - if x != nil { - return x.ContinueAsNewSuggested - } - return false -} - -func (x *Message) GetHistorySize() int64 { - if x != nil { - return x.HistorySize - } - return 0 -} - -func (x *Message) GetWwpid() uint64 { - if x != nil { - return x.Wwpid - } - return 0 -} - -type ReplayRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` - WorkflowType *v11.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - SavePath string `protobuf:"bytes,3,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` - LastEventId int64 `protobuf:"varint,4,opt,name=last_event_id,json=lastEventId,proto3" json:"last_event_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReplayRequest) Reset() { - *x = ReplayRequest{} - mi := &file_temporal_v1_temporal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplayRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplayRequest) ProtoMessage() {} - -func (x *ReplayRequest) ProtoReflect() protoreflect.Message { - mi := &file_temporal_v1_temporal_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplayRequest.ProtoReflect.Descriptor instead. -func (*ReplayRequest) Descriptor() ([]byte, []int) { - return file_temporal_v1_temporal_proto_rawDescGZIP(), []int{2} -} - -func (x *ReplayRequest) GetWorkflowExecution() *v11.WorkflowExecution { - if x != nil { - return x.WorkflowExecution - } - return nil -} - -func (x *ReplayRequest) GetWorkflowType() *v11.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -func (x *ReplayRequest) GetSavePath() string { - if x != nil { - return x.SavePath - } - return "" -} - -func (x *ReplayRequest) GetLastEventId() int64 { - if x != nil { - return x.LastEventId - } - return 0 -} - -// https://cloud.google.com/apis/design/errors -type ReplayResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status *v12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReplayResponse) Reset() { - *x = ReplayResponse{} - mi := &file_temporal_v1_temporal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplayResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplayResponse) ProtoMessage() {} - -func (x *ReplayResponse) ProtoReflect() protoreflect.Message { - mi := &file_temporal_v1_temporal_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplayResponse.ProtoReflect.Descriptor instead. -func (*ReplayResponse) Descriptor() ([]byte, []int) { - return file_temporal_v1_temporal_proto_rawDescGZIP(), []int{3} -} - -func (x *ReplayResponse) GetStatus() *v12.Status { - if x != nil { - return x.Status - } - return nil -} - -type History struct { - state protoimpl.MessageState `protogen:"open.v1"` - History *v13.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` - WorkflowType *v11.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *History) Reset() { - *x = History{} - mi := &file_temporal_v1_temporal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *History) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*History) ProtoMessage() {} - -func (x *History) ProtoReflect() protoreflect.Message { - mi := &file_temporal_v1_temporal_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use History.ProtoReflect.Descriptor instead. -func (*History) Descriptor() ([]byte, []int) { - return file_temporal_v1_temporal_proto_rawDescGZIP(), []int{4} -} - -func (x *History) GetHistory() *v13.History { - if x != nil { - return x.History - } - return nil -} - -func (x *History) GetWorkflowType() *v11.WorkflowType { - if x != nil { - return x.WorkflowType - } - return nil -} - -var File_temporal_v1_temporal_proto protoreflect.FileDescriptor - -const file_temporal_v1_temporal_proto_rawDesc = "" + - "\n" + - "\x1atemporal/v1/temporal.proto\x12\vtemporal.v1\x1a\x1bcommon/v1/grpc_status.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/api/history/v1/message.proto\"9\n" + - "\x05Frame\x120\n" + - "\bmessages\x18\x01 \x03(\v2\x14.temporal.v1.MessageR\bmessages\"\x85\x04\n" + - "\aMessage\x12\x0e\n" + - "\x02id\x18\x01 \x01(\x04R\x02id\x12\x18\n" + - "\acommand\x18\x02 \x01(\tR\acommand\x12\x18\n" + - "\aoptions\x18\x03 \x01(\fR\aoptions\x12:\n" + - "\afailure\x18\x04 \x01(\v2 .temporal.api.failure.v1.FailureR\afailure\x12<\n" + - "\bpayloads\x18\x05 \x01(\v2 .temporal.api.common.v1.PayloadsR\bpayloads\x126\n" + - "\x06header\x18\x06 \x01(\v2\x1e.temporal.api.common.v1.HeaderR\x06header\x12%\n" + - "\x0ehistory_length\x18\a \x01(\x03R\rhistoryLength\x12\x15\n" + - "\x06run_id\x18\b \x01(\tR\x05runId\x12\x1d\n" + - "\n" + - "task_queue\x18\t \x01(\tR\ttaskQueue\x12\x1b\n" + - "\ttick_time\x18\n" + - " \x01(\tR\btickTime\x12\x16\n" + - "\x06replay\x18\v \x01(\bR\x06replay\x129\n" + - "\x19continue_as_new_suggested\x18\f \x01(\bR\x16continueAsNewSuggested\x12!\n" + - "\fhistory_size\x18\r \x01(\x03R\vhistorySize\x12\x14\n" + - "\x05wwpid\x18\x0e \x01(\x04R\x05wwpid\"\xf5\x01\n" + - "\rReplayRequest\x12X\n" + - "\x12workflow_execution\x18\x01 \x01(\v2).temporal.api.common.v1.WorkflowExecutionR\x11workflowExecution\x12I\n" + - "\rworkflow_type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\x12\x1b\n" + - "\tsave_path\x18\x03 \x01(\tR\bsavePath\x12\"\n" + - "\rlast_event_id\x18\x04 \x01(\x03R\vlastEventId\";\n" + - "\x0eReplayResponse\x12)\n" + - "\x06status\x18\x01 \x01(\v2\x11.common.v1.StatusR\x06status\"\x90\x01\n" + - "\aHistory\x12:\n" + - "\ahistory\x18\x01 \x01(\v2 .temporal.api.history.v1.HistoryR\ahistory\x12I\n" + - "\rworkflow_type\x18\x02 \x01(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowTypeB\x88\x01Z@github.com/roadrunner-server/api/v4/build/temporal/v1;temporalV1\xca\x02\x1aRoadRunner\\Temporal\\DTO\\V1\xe2\x02&RoadRunner\\Temporal\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_temporal_v1_temporal_proto_rawDescOnce sync.Once - file_temporal_v1_temporal_proto_rawDescData []byte -) - -func file_temporal_v1_temporal_proto_rawDescGZIP() []byte { - file_temporal_v1_temporal_proto_rawDescOnce.Do(func() { - file_temporal_v1_temporal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_v1_temporal_proto_rawDesc), len(file_temporal_v1_temporal_proto_rawDesc))) - }) - return file_temporal_v1_temporal_proto_rawDescData -} - -var file_temporal_v1_temporal_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_temporal_v1_temporal_proto_goTypes = []any{ - (*Frame)(nil), // 0: temporal.v1.Frame - (*Message)(nil), // 1: temporal.v1.Message - (*ReplayRequest)(nil), // 2: temporal.v1.ReplayRequest - (*ReplayResponse)(nil), // 3: temporal.v1.ReplayResponse - (*History)(nil), // 4: temporal.v1.History - (*v1.Failure)(nil), // 5: temporal.api.failure.v1.Failure - (*v11.Payloads)(nil), // 6: temporal.api.common.v1.Payloads - (*v11.Header)(nil), // 7: temporal.api.common.v1.Header - (*v11.WorkflowExecution)(nil), // 8: temporal.api.common.v1.WorkflowExecution - (*v11.WorkflowType)(nil), // 9: temporal.api.common.v1.WorkflowType - (*v12.Status)(nil), // 10: common.v1.Status - (*v13.History)(nil), // 11: temporal.api.history.v1.History -} -var file_temporal_v1_temporal_proto_depIdxs = []int32{ - 1, // 0: temporal.v1.Frame.messages:type_name -> temporal.v1.Message - 5, // 1: temporal.v1.Message.failure:type_name -> temporal.api.failure.v1.Failure - 6, // 2: temporal.v1.Message.payloads:type_name -> temporal.api.common.v1.Payloads - 7, // 3: temporal.v1.Message.header:type_name -> temporal.api.common.v1.Header - 8, // 4: temporal.v1.ReplayRequest.workflow_execution:type_name -> temporal.api.common.v1.WorkflowExecution - 9, // 5: temporal.v1.ReplayRequest.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 10, // 6: temporal.v1.ReplayResponse.status:type_name -> common.v1.Status - 11, // 7: temporal.v1.History.history:type_name -> temporal.api.history.v1.History - 9, // 8: temporal.v1.History.workflow_type:type_name -> temporal.api.common.v1.WorkflowType - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name -} - -func init() { file_temporal_v1_temporal_proto_init() } -func file_temporal_v1_temporal_proto_init() { - if File_temporal_v1_temporal_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_v1_temporal_proto_rawDesc), len(file_temporal_v1_temporal_proto_rawDesc)), - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_temporal_v1_temporal_proto_goTypes, - DependencyIndexes: file_temporal_v1_temporal_proto_depIdxs, - MessageInfos: file_temporal_v1_temporal_proto_msgTypes, - }.Build() - File_temporal_v1_temporal_proto = out.File - file_temporal_v1_temporal_proto_goTypes = nil - file_temporal_v1_temporal_proto_depIdxs = nil -} diff --git a/build/websockets/v1/websockets.pb.go b/build/websockets/v1/websockets.pb.go deleted file mode 100644 index 76a596b..0000000 --- a/build/websockets/v1/websockets.pb.go +++ /dev/null @@ -1,237 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.6 -// protoc (unknown) -// source: websockets/v1/websockets.proto - -package websocketsV1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Message struct { - state protoimpl.MessageState `protogen:"open.v1"` - Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` - Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Message) Reset() { - *x = Message{} - mi := &file_websockets_v1_websockets_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_websockets_v1_websockets_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_websockets_v1_websockets_proto_rawDescGZIP(), []int{0} -} - -func (x *Message) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *Message) GetTopics() []string { - if x != nil { - return x.Topics - } - return nil -} - -func (x *Message) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -// RPC request with messages -type Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Request) Reset() { - *x = Request{} - mi := &file_websockets_v1_websockets_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Request) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Request) ProtoMessage() {} - -func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_websockets_v1_websockets_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Request.ProtoReflect.Descriptor instead. -func (*Request) Descriptor() ([]byte, []int) { - return file_websockets_v1_websockets_proto_rawDescGZIP(), []int{1} -} - -func (x *Request) GetMessages() []*Message { - if x != nil { - return x.Messages - } - return nil -} - -// RPC response (false in case of error) -type Response struct { - state protoimpl.MessageState `protogen:"open.v1"` - Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Response) Reset() { - *x = Response{} - mi := &file_websockets_v1_websockets_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_websockets_v1_websockets_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. -func (*Response) Descriptor() ([]byte, []int) { - return file_websockets_v1_websockets_proto_rawDescGZIP(), []int{2} -} - -func (x *Response) GetOk() bool { - if x != nil { - return x.Ok - } - return false -} - -var File_websockets_v1_websockets_proto protoreflect.FileDescriptor - -const file_websockets_v1_websockets_proto_rawDesc = "" + - "\n" + - "\x1ewebsockets/v1/websockets.proto\x12\rwebsockets.v1\"U\n" + - "\aMessage\x12\x18\n" + - "\acommand\x18\x01 \x01(\tR\acommand\x12\x16\n" + - "\x06topics\x18\x02 \x03(\tR\x06topics\x12\x18\n" + - "\apayload\x18\x03 \x01(\fR\apayload\"=\n" + - "\aRequest\x122\n" + - "\bmessages\x18\x01 \x03(\v2\x16.websockets.v1.MessageR\bmessages\"\x1a\n" + - "\bResponse\x12\x0e\n" + - "\x02ok\x18\x01 \x01(\bR\x02okB\x90\x01ZDgithub.com/roadrunner-server/api/v4/build/websockets/v1;websocketsV1\xca\x02\x1cRoadRunner\\Websockets\\DTO\\V1\xe2\x02(RoadRunner\\Websockets\\DTO\\V1\\GPBMetadatab\x06proto3" - -var ( - file_websockets_v1_websockets_proto_rawDescOnce sync.Once - file_websockets_v1_websockets_proto_rawDescData []byte -) - -func file_websockets_v1_websockets_proto_rawDescGZIP() []byte { - file_websockets_v1_websockets_proto_rawDescOnce.Do(func() { - file_websockets_v1_websockets_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_websockets_v1_websockets_proto_rawDesc), len(file_websockets_v1_websockets_proto_rawDesc))) - }) - return file_websockets_v1_websockets_proto_rawDescData -} - -var file_websockets_v1_websockets_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_websockets_v1_websockets_proto_goTypes = []any{ - (*Message)(nil), // 0: websockets.v1.Message - (*Request)(nil), // 1: websockets.v1.Request - (*Response)(nil), // 2: websockets.v1.Response -} -var file_websockets_v1_websockets_proto_depIdxs = []int32{ - 0, // 0: websockets.v1.Request.messages:type_name -> websockets.v1.Message - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_websockets_v1_websockets_proto_init() } -func file_websockets_v1_websockets_proto_init() { - if File_websockets_v1_websockets_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_websockets_v1_websockets_proto_rawDesc), len(file_websockets_v1_websockets_proto_rawDesc)), - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_websockets_v1_websockets_proto_goTypes, - DependencyIndexes: file_websockets_v1_websockets_proto_depIdxs, - MessageInfos: file_websockets_v1_websockets_proto_msgTypes, - }.Build() - File_websockets_v1_websockets_proto = out.File - file_websockets_v1_websockets_proto_goTypes = nil - file_websockets_v1_websockets_proto_depIdxs = nil -} diff --git a/go.mod b/go.mod deleted file mode 100644 index 796d01f..0000000 --- a/go.mod +++ /dev/null @@ -1,24 +0,0 @@ -module github.com/roadrunner-server/api/v4 - -go 1.24.0 - -toolchain go1.24.2 - -// Removed cmder API -retract v4.13.0 - -require ( - go.temporal.io/api v1.57.0 - go.uber.org/zap v1.27.0 - google.golang.org/genproto/googleapis/api v0.0.0-20251103181224-f26f9409b101 - google.golang.org/grpc v1.76.0 - google.golang.org/protobuf v1.36.10 -) - -require ( - go.uber.org/multierr v1.11.0 // indirect - golang.org/x/net v0.46.0 // indirect - golang.org/x/sys v0.37.0 // indirect - golang.org/x/text v0.30.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20251103181224-f26f9409b101 // indirect -) diff --git a/go.sum b/go.sum deleted file mode 100644 index 6b1a458..0000000 --- a/go.sum +++ /dev/null @@ -1,54 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= -github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= -go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= -go.opentelemetry.io/otel v1.37.0 h1:9zhNfelUvx0KBfu/gb+ZgeAfAgtWrfHJZcAqFC228wQ= -go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I= -go.opentelemetry.io/otel/metric v1.37.0 h1:mvwbQS5m0tbmqML4NqK+e3aDiO02vsf/WgbsdpcPoZE= -go.opentelemetry.io/otel/metric v1.37.0/go.mod h1:04wGrZurHYKOc+RKeye86GwKiTb9FKm1WHtO+4EVr2E= -go.opentelemetry.io/otel/sdk v1.37.0 h1:ItB0QUqnjesGRvNcmAcU0LyvkVyGJ2xftD29bWdDvKI= -go.opentelemetry.io/otel/sdk v1.37.0/go.mod h1:VredYzxUvuo2q3WRcDnKDjbdvmO0sCzOvVAiY+yUkAg= -go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFhbjxHHspCPc= -go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps= -go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4= -go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0= -go.temporal.io/api v1.57.0 h1:vJGbU6RqMqCAXP03Jq4KEL61sCxAdJx4Yj7PxtbsrF0= -go.temporal.io/api v1.57.0/go.mod h1:iaxoP/9OXMJcQkETTECfwYq4cw/bj4nwov8b3ZLVnXM= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= -go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= -go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= -golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4= -golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= -golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ= -golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k= -golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= -gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= -gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= -google.golang.org/genproto/googleapis/api v0.0.0-20251103181224-f26f9409b101 h1:vk5TfqZHNn0obhPIYeS+cxIFKFQgser/M2jnI+9c6MM= -google.golang.org/genproto/googleapis/api v0.0.0-20251103181224-f26f9409b101/go.mod h1:E17fc4PDhkr22dE3RgnH2hEubUaky6ZwW4VhANxyspg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251103181224-f26f9409b101 h1:tRPGkdGHuewF4UisLzzHHr1spKw92qLM98nIzxbC0wY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251103181224-f26f9409b101/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= -google.golang.org/grpc v1.76.0 h1:UnVkv1+uMLYXoIz6o7chp59WfQUYA2ex/BXQ9rHZu7A= -google.golang.org/grpc v1.76.0/go.mod h1:Ju12QI8M6iQJtbcsV+awF5a4hfJMLi4X0JLo94ULZ6c= -google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE= -google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/plugins/v1/jobs/interface.go b/plugins/v1/jobs/interface.go deleted file mode 100644 index 6acb6b3..0000000 --- a/plugins/v1/jobs/interface.go +++ /dev/null @@ -1,152 +0,0 @@ -package jobs - -import ( - "context" - - pq "github.com/roadrunner-server/api/v4/plugins/v1/priority_queue" -) - -// constant keys to pack/unpack messages from different drivers -const ( - RRID string = "rr_id" - RRJob string = "rr_job" - RRHeaders string = "rr_headers" - RRPipeline string = "rr_pipeline" - RRDelay string = "rr_delay" - RRPriority string = "rr_priority" - RRAutoAck string = "rr_auto_ack" -) - -type Command string - -const ( - Stop Command = "stop" -) - -// State represents job's state -type State struct { - // Pipeline name - Pipeline string - // Driver name - Driver string - // Queue name (tube for the beanstalk) - Queue string - // Active jobs which are consumed from the driver but not handled by the PHP worker yet - Active int64 - // Delayed jobs - Delayed int64 - // Reserved jobs which are in the driver but not consumed yet - Reserved int64 - // Status - 1 Ready, 0 - Paused - Ready bool - // New in 2.10.5, pipeline priority - Priority uint64 - // ErrorMessage New in 2023.1 - ErrorMessage string -} - -// Job represents the unit of work that a user may push to the Jobs plugin -type Job interface { - // Name returns the name of the Job - Name() string - // ID returns a unique identifier for the Job (e.g. UUID) - ID() string - // Payload returns the data associated with the job - Payload() string - // Headers returns the headers in the format of map[string][]string - Headers() map[string][]string - - // Pipeline returns the pipeline associated with the job - Pipeline() string - // Priority returns the priority level of the Job - Priority() int64 - // Delay returns the delay time for the Job (not supported by all drivers) - Delay() int64 - // AutoAck returns the autocommit status for the Job - AutoAck() bool - - // --KAFKA options (leave them empty for other drivers) - - // Offset returns the offset associated with the Job - Offset() int64 - // Partition returns the partition associated with the Job - Partition() int32 - // Topic returns the topic associated with the Job - Topic() string - // Metadata returns the metadata associated with the Job - Metadata() string - - // UpdatePriority sets the priority of the Job. Priority is optional but cannot be set to 0. - // The default priority is 10 - UpdatePriority(int64) -} - -type Pipeline interface { - // With sets a pipeline value - With(name string, value interface{}) - // Name returns the pipeline name. - Name() string - // Driver returns the driver associated with the pipeline. - Driver() string - // Has checks if a value is present in the pipeline. - Has(name string) bool - // String returns the value of an option as a string or the default value. - String(name string, d string) string - // Int returns the value of an option as an int or the default value. - Int(name string, d int) int - // Bool returns the value of an option as a bool or the default value. - Bool(name string, d bool) bool - // Map returns the nested map value or an empty config. - // This might be used for SQS attributes or tags, for example - Map(name string, out map[string]string) error - // Priority returns the default pipeline priority - Priority() int64 - // Get is used to retrieve the data associated with a key - Get(key string) interface{} -} - -// Driver represents the interface for a single jobs driver -type Driver interface { - // Push pushes the job to the underlying driver - Push(ctx context.Context, job Job) error - // Run starts consuming the pipeline - Run(ctx context.Context, pipeline Pipeline) error - // Stop stops the consumer and closes the underlying connection - Stop(ctx context.Context) error - // Pause pauses the jobs consuming (while still allowing job pushing) - Pause(ctx context.Context, pipeline string) error - // Resume resumes the consumer - Resume(ctx context.Context, pipeline string) error - // State returns information about the driver state - State(ctx context.Context) (*State, error) -} - -// Acknowledger provides queue-specific item management -type Acknowledger interface { - // Ack acknowledges the item after processing - Ack() error - // Nack discards the item - Nack() error - // Requeue puts the message back to the queue with an optional delay - Requeue(headers map[string][]string, delay int64) error - // Respond sends a response to the queue - Respond(payload []byte, queue string) error -} - -// Commander provides the ability to send a command to the Jobs plugin -type Commander interface { - // Command returns the command name - Command() Command - // Pipeline returns the associated command pipeline - Pipeline() string -} - -// Constructor constructs Consumer interface. Endure abstraction. -type Constructor interface { - // Name returns the name of the driver - Name() string - // DriverFromConfig constructs a driver (e.g. kafka, amqp) from the configuration using the provided configKey - DriverFromConfig(configKey string, queue pq.Queue, pipeline Pipeline, cmder chan<- Commander) (Driver, error) - // DriverFromPipeline constructs a driver (e.g. kafka, amqp) from the pipeline. All configuration is provided by the pipeline - DriverFromPipeline(pipe Pipeline, queue pq.Queue, cmder chan<- Commander) (Driver, error) -} diff --git a/plugins/v1/kv/interface.go b/plugins/v1/kv/interface.go deleted file mode 100644 index 636ad7b..0000000 --- a/plugins/v1/kv/interface.go +++ /dev/null @@ -1,55 +0,0 @@ -package kv - -/* - string key = 1; - bytes value = 2; - // RFC 3339 - string timeout = 3; -*/ - -// Item represents a single KV entry -type Item interface { - Key() string - Value() []byte - Timeout() string -} - -// Storage represents single abstract storage. -type Storage interface { - // Has checks if value exists. - Has(keys ...string) (map[string]bool, error) - - // Get loads value content into a byte slice. - Get(key string) ([]byte, error) - - // MGet loads content of multiple values - // Returns the map with existing keys and associated values - MGet(keys ...string) (map[string][]byte, error) - - // Set used to upload item to KV with TTL - // 0 value in TTL means no TTL - Set(items ...Item) error - - // MExpire sets the TTL for multiply keys - MExpire(items ...Item) error - - // TTL return the rest time to live for provided keys - // Not supported for the memcached - TTL(keys ...string) (map[string]string, error) - - // Clear clean the entire storage - Clear() error - - // Delete one or multiple keys. - Delete(keys ...string) error - - // Stop the storage driver - Stop() -} - -// Constructor provides storage based on the config -type Constructor interface { - // KvFromConfig provides Storage based on the config key - KvFromConfig(key string) (Storage, error) - Name() string -} diff --git a/plugins/v1/lock/lock.go b/plugins/v1/lock/lock.go deleted file mode 100644 index 09319a8..0000000 --- a/plugins/v1/lock/lock.go +++ /dev/null @@ -1,15 +0,0 @@ -package lock - -import pq "github.com/roadrunner-server/api/v4/plugins/v2/priority_queue" - -// Queue represents Lock plugin queue with it's elements types inside -type Queue interface { - // Remove removes element with provided ID (if exists) and returns that elements - Remove(id string) []pq.Item - // Insert adds an item to the queue - Insert(item pq.Item) - // ExtractMin returns the item with the highest priority (less value is the highest priority) - ExtractMin() pq.Item - // Len returns the number of items in the queue - Len() uint64 -} diff --git a/plugins/v1/logger/interface.go b/plugins/v1/logger/interface.go deleted file mode 100644 index 423f77e..0000000 --- a/plugins/v1/logger/interface.go +++ /dev/null @@ -1,29 +0,0 @@ -package logger - -import ( - "go.uber.org/zap" -) - -// Named interface provides methods for named logger -type Named interface { - // NamedLogger returns a named logger with the specified name - NamedLogger(name string) *zap.Logger -} - -// Log interface provides methods for logging -type Log interface { - // Debug logs a message with debug level - Debug(msg string, fields ...zap.Field) - // Warn logs a message with warning level - Warn(msg string, fields ...zap.Field) - // Error logs a message with error level - Error(msg string, fields ...zap.Field) - // Info logs a message with info level - Info(msg string, fields ...zap.Field) - // DPanic logs a message with panic level and calls panic() - DPanic(msg string, fields ...zap.Field) - // Panic logs a message with panic level - Panic(msg string, fields ...zap.Field) - // Fatal logs a message with fatal level and calls os.Exit(1) - Fatal(msg string, fields ...zap.Field) -} diff --git a/plugins/v1/priority_queue/interface.go b/plugins/v1/priority_queue/interface.go deleted file mode 100644 index f8a8751..0000000 --- a/plugins/v1/priority_queue/interface.go +++ /dev/null @@ -1,29 +0,0 @@ -package priorityqueue - -// Queue is a binary heap interface -type Queue interface { - // Remove removes element with provided ID (if exists) and returns that elements - Remove(id string) []Item - // PeekPriority returns the highest priority - PeekPriority() int64 - // Insert adds an item to the queue - Insert(item Item) - // ExtractMin returns the item with the highest priority (less value is the highest priority) - ExtractMin() Item - // Len returns the number of items in the queue - Len() uint64 -} - -// Item represents a binary heap item -type Item interface { - // ID returns a unique identifier for the item - ID() string - // Priority returns the priority level used to sort the item - Priority() int64 - // Metadata returns the metadata for the item - Metadata() map[string][]string - // Body returns the payload associated with the item - Body() []byte - // Context returns any meta-information associated with the item - Context() ([]byte, error) -} diff --git a/plugins/v1/status/interface.go b/plugins/v1/status/interface.go deleted file mode 100644 index e3e0c47..0000000 --- a/plugins/v1/status/interface.go +++ /dev/null @@ -1,6 +0,0 @@ -package status - -// Status consists of status code from the service -type Status struct { - Code int -} diff --git a/plugins/v2/jobs/driver.go b/plugins/v2/jobs/driver.go deleted file mode 100644 index d2dff24..0000000 --- a/plugins/v2/jobs/driver.go +++ /dev/null @@ -1,39 +0,0 @@ -package jobs - -import ( - "context" -) - -// Driver represents the interface for a single jobs driver -type Driver interface { - // Push pushes the job to the underlying driver - Push(ctx context.Context, msg Message) error - // Run starts consuming the pipeline - Run(ctx context.Context, pipeline Pipeline) error - // Stop stops the consumer and closes the underlying connection - Stop(ctx context.Context) error - // Pause pauses the jobs consuming (while still allowing job pushing) - Pause(ctx context.Context, pipeline string) error - // Resume resumes the consumer - Resume(ctx context.Context, pipeline string) error - // State returns information about the driver state - State(ctx context.Context) (*State, error) -} - -// Commander provides the ability to send a command to the Jobs plugin -type Commander interface { - // Command returns the command name - Command() Command - // Pipeline returns the associated command pipeline - Pipeline() string -} - -// Constructor constructs Consumer interface. Endure abstraction. -type Constructor interface { - // Name returns the name of the driver - Name() string - // DriverFromConfig constructs a driver (e.g. kafka, amqp) from the configuration using the provided configKey - DriverFromConfig(configKey string, queue Queue, pipeline Pipeline, cmder chan<- Commander) (Driver, error) - // DriverFromPipeline constructs a driver (e.g. kafka, amqp) from the pipeline. All configuration is provided by the pipeline - DriverFromPipeline(pipe Pipeline, queue Queue, cmder chan<- Commander) (Driver, error) -} diff --git a/plugins/v2/jobs/job.go b/plugins/v2/jobs/job.go deleted file mode 100644 index c49b6cb..0000000 --- a/plugins/v2/jobs/job.go +++ /dev/null @@ -1,89 +0,0 @@ -package jobs - -import ( - pq "github.com/roadrunner-server/api/v4/plugins/v2/priority_queue" -) - -// Queue represents JOBS plugin queue with it's elements types inside -type Queue interface { - // Remove removes element with provided ID (if exists) and returns that elements - Remove(id string) []Job - // Insert adds an item to the queue - Insert(item Job) - // ExtractMin returns the item with the highest priority (less value is the highest priority) - ExtractMin() Job - // Len returns the number of items in the queue - Len() uint64 -} - -// Job represents a binary heap item -type Job interface { - pq.Item - // Ack acknowledges the item after processing - Ack() error - // Nack discards the item - Nack() error - // Requeue puts the message back to the queue with an optional delay - Requeue(headers map[string][]string, delay int64) error - // Body returns the payload associated with the item - Body() []byte - // Context returns any meta-information associated with the item - Context() ([]byte, error) - // Headers returns the metadata for the item - Headers() map[string][]string -} - -// Message represents the protobuf message received from the RPC call -type Message interface { - pq.Item - KafkaOptions - // Name returns the name of the Job - Name() string - // Payload returns the data associated with the job - Payload() string - // Delay returns the delay time for the Job (not supported by all drivers) - Delay() int64 - // AutoAck returns the autocommit status for the Job - AutoAck() bool - // UpdatePriority sets the priority of the Job. Priority is optional but cannot be set to 0. - // The default priority is 10 - UpdatePriority(int64) - // Headers returns the metadata for the item - Headers() map[string][]string -} - -// KAFKA options (leave them empty for other drivers) -type KafkaOptions interface { - // Offset returns the offset associated with the Job - Offset() int64 - // Partition returns the partition associated with the Job - Partition() int32 - // Topic returns the topic associated with the Job - Topic() string - // Metadata returns the metadata associated with the Job - Metadata() string -} - -type Pipeline interface { - // With sets a pipeline value - With(name string, value interface{}) - // Name returns the pipeline name. - Name() string - // Driver returns the driver associated with the pipeline. - Driver() string - // Has checks if a value is present in the pipeline. - Has(name string) bool - // String returns the value of an option as a string or the default value. - String(name string, d string) string - // Int returns the value of an option as an int or the default value. - Int(name string, d int) int - // Bool returns the value of an option as a bool or the default value. - Bool(name string, d bool) bool - // Map returns the nested map value or an empty config. - // This might be used for SQS attributes or tags, for example - Map(name string, out map[string]string) error - // Priority returns the default pipeline priority - Priority() int64 - // Get is used to retrieve the data associated with a key - Get(key string) interface{} -} diff --git a/plugins/v2/jobs/state.go b/plugins/v2/jobs/state.go deleted file mode 100644 index 1da72ef..0000000 --- a/plugins/v2/jobs/state.go +++ /dev/null @@ -1,40 +0,0 @@ -package jobs - -// constant keys to pack/unpack messages from different drivers -const ( - RRID string = "rr_id" - RRJob string = "rr_job" - RRHeaders string = "rr_headers" - RRPipeline string = "rr_pipeline" - RRDelay string = "rr_delay" - RRPriority string = "rr_priority" - RRAutoAck string = "rr_auto_ack" -) - -type Command string - -const ( - Stop Command = "stop" -) - -// State represents job's state -type State struct { - // Pipeline name - Pipeline string - // Driver name - Driver string - // Queue name (tube for the beanstalk) - Queue string - // Active jobs which are consumed from the driver but not handled by the PHP worker yet - Active int64 - // Delayed jobs - Delayed int64 - // Reserved jobs which are in the driver but not consumed yet - Reserved int64 - // Status - 1 Ready, 0 - Paused - Ready bool - // New in 2.10.5, pipeline priority - Priority uint64 - // ErrorMessage New in 2023.1 - ErrorMessage string -} diff --git a/plugins/v2/priority_queue/priority_queue.go b/plugins/v2/priority_queue/priority_queue.go deleted file mode 100644 index 20532a8..0000000 --- a/plugins/v2/priority_queue/priority_queue.go +++ /dev/null @@ -1,11 +0,0 @@ -package priority_queue - -// Item interface represents the base meta-information which any priority queue message must have -type Item interface { - // ID returns a unique identifier for the item - ID() string - // GroupID returns the group associated with the item, used to remove all items with the same groupID - GroupID() string - // Priority returns the priority level used to sort the item - Priority() int64 -} diff --git a/plugins/v3/jobs/driver.go b/plugins/v3/jobs/driver.go deleted file mode 100644 index d2dff24..0000000 --- a/plugins/v3/jobs/driver.go +++ /dev/null @@ -1,39 +0,0 @@ -package jobs - -import ( - "context" -) - -// Driver represents the interface for a single jobs driver -type Driver interface { - // Push pushes the job to the underlying driver - Push(ctx context.Context, msg Message) error - // Run starts consuming the pipeline - Run(ctx context.Context, pipeline Pipeline) error - // Stop stops the consumer and closes the underlying connection - Stop(ctx context.Context) error - // Pause pauses the jobs consuming (while still allowing job pushing) - Pause(ctx context.Context, pipeline string) error - // Resume resumes the consumer - Resume(ctx context.Context, pipeline string) error - // State returns information about the driver state - State(ctx context.Context) (*State, error) -} - -// Commander provides the ability to send a command to the Jobs plugin -type Commander interface { - // Command returns the command name - Command() Command - // Pipeline returns the associated command pipeline - Pipeline() string -} - -// Constructor constructs Consumer interface. Endure abstraction. -type Constructor interface { - // Name returns the name of the driver - Name() string - // DriverFromConfig constructs a driver (e.g. kafka, amqp) from the configuration using the provided configKey - DriverFromConfig(configKey string, queue Queue, pipeline Pipeline, cmder chan<- Commander) (Driver, error) - // DriverFromPipeline constructs a driver (e.g. kafka, amqp) from the pipeline. All configuration is provided by the pipeline - DriverFromPipeline(pipe Pipeline, queue Queue, cmder chan<- Commander) (Driver, error) -} diff --git a/plugins/v3/jobs/job.go b/plugins/v3/jobs/job.go deleted file mode 100644 index 65c5868..0000000 --- a/plugins/v3/jobs/job.go +++ /dev/null @@ -1,89 +0,0 @@ -package jobs - -import ( - pq "github.com/roadrunner-server/api/v4/plugins/v3/priority_queue" -) - -// Queue represents JOBS plugin queue with it's elements types inside -type Queue interface { - // Remove removes element with provided ID (if exists) and returns that elements - Remove(id string) []Job - // Insert adds an item to the queue - Insert(item Job) - // ExtractMin returns the item with the highest priority (less value is the highest priority) - ExtractMin() Job - // Len returns the number of items in the queue - Len() uint64 -} - -// Job represents a binary heap item -type Job interface { - pq.Item - // Ack acknowledges the item after processing - Ack() error - // Nack discards the item - Nack() error - // Requeue puts the message back to the queue with an optional delay - Requeue(headers map[string][]string, delay int64) error - // Body returns the payload associated with the item - Body() []byte - // Context returns any meta-information associated with the item - Context() ([]byte, error) - // Headers returns the metadata for the item - Headers() map[string][]string -} - -// Message represents the protobuf message received from the RPC call -type Message interface { - pq.Item - KafkaOptions - // Name returns the name of the Job - Name() string - // Payload returns the data associated with the job - Payload() []byte - // Delay returns the delay time for the Job (not supported by all drivers) - Delay() int64 - // AutoAck returns the autocommit status for the Job - AutoAck() bool - // UpdatePriority sets the priority of the Job. Priority is optional but cannot be set to 0. - // The default priority is 10 - UpdatePriority(int64) - // Headers returns the metadata for the item - Headers() map[string][]string -} - -// KAFKA options (leave them empty for other drivers) -type KafkaOptions interface { - // Offset returns the offset associated with the Job - Offset() int64 - // Partition returns the partition associated with the Job - Partition() int32 - // Topic returns the topic associated with the Job - Topic() string - // Metadata returns the metadata associated with the Job - Metadata() string -} - -type Pipeline interface { - // With sets a pipeline value - With(name string, value interface{}) - // Name returns the pipeline name. - Name() string - // Driver returns the driver associated with the pipeline. - Driver() string - // Has checks if a value is present in the pipeline. - Has(name string) bool - // String returns the value of an option as a string or the default value. - String(name string, d string) string - // Int returns the value of an option as an int or the default value. - Int(name string, d int) int - // Bool returns the value of an option as a bool or the default value. - Bool(name string, d bool) bool - // Map returns the nested map value or an empty config. - // This might be used for SQS attributes or tags, for example - Map(name string, out map[string]string) error - // Priority returns the default pipeline priority - Priority() int64 - // Get is used to retrieve the data associated with a key - Get(key string) interface{} -} diff --git a/plugins/v3/jobs/state.go b/plugins/v3/jobs/state.go deleted file mode 100644 index 1da72ef..0000000 --- a/plugins/v3/jobs/state.go +++ /dev/null @@ -1,40 +0,0 @@ -package jobs - -// constant keys to pack/unpack messages from different drivers -const ( - RRID string = "rr_id" - RRJob string = "rr_job" - RRHeaders string = "rr_headers" - RRPipeline string = "rr_pipeline" - RRDelay string = "rr_delay" - RRPriority string = "rr_priority" - RRAutoAck string = "rr_auto_ack" -) - -type Command string - -const ( - Stop Command = "stop" -) - -// State represents job's state -type State struct { - // Pipeline name - Pipeline string - // Driver name - Driver string - // Queue name (tube for the beanstalk) - Queue string - // Active jobs which are consumed from the driver but not handled by the PHP worker yet - Active int64 - // Delayed jobs - Delayed int64 - // Reserved jobs which are in the driver but not consumed yet - Reserved int64 - // Status - 1 Ready, 0 - Paused - Ready bool - // New in 2.10.5, pipeline priority - Priority uint64 - // ErrorMessage New in 2023.1 - ErrorMessage string -} diff --git a/plugins/v3/priority_queue/priority_queue.go b/plugins/v3/priority_queue/priority_queue.go deleted file mode 100644 index 20532a8..0000000 --- a/plugins/v3/priority_queue/priority_queue.go +++ /dev/null @@ -1,11 +0,0 @@ -package priority_queue - -// Item interface represents the base meta-information which any priority queue message must have -type Item interface { - // ID returns a unique identifier for the item - ID() string - // GroupID returns the group associated with the item, used to remove all items with the same groupID - GroupID() string - // Priority returns the priority level used to sort the item - Priority() int64 -} diff --git a/plugins/v4/jobs/driver.go b/plugins/v4/jobs/driver.go deleted file mode 100644 index bef0b1b..0000000 --- a/plugins/v4/jobs/driver.go +++ /dev/null @@ -1,31 +0,0 @@ -package jobs - -import ( - "context" -) - -// Driver represents the interface for a single jobs driver -type Driver interface { - // Push pushes the job to the underlying driver - Push(ctx context.Context, msg Message) error - // Run starts consuming the pipeline - Run(ctx context.Context, pipeline Pipeline) error - // Stop stops the consumer and closes the underlying connection - Stop(ctx context.Context) error - // Pause pauses the jobs consuming (while still allowing job pushing) - Pause(ctx context.Context, pipeline string) error - // Resume resumes the consumer - Resume(ctx context.Context, pipeline string) error - // State returns information about the driver state - State(ctx context.Context) (*State, error) -} - -// Constructor constructs Consumer interface. Endure abstraction. -type Constructor interface { - // Name returns the name of the driver - Name() string - // DriverFromConfig constructs a driver (e.g. kafka, amqp) from the configuration using the provided configKey - DriverFromConfig(configKey string, queue Queue, pipeline Pipeline) (Driver, error) - // DriverFromPipeline constructs a driver (e.g. kafka, amqp) from the pipeline. All configuration is provided by the pipeline - DriverFromPipeline(pipe Pipeline, queue Queue) (Driver, error) -} diff --git a/plugins/v4/jobs/job.go b/plugins/v4/jobs/job.go deleted file mode 100644 index 36ba29d..0000000 --- a/plugins/v4/jobs/job.go +++ /dev/null @@ -1,91 +0,0 @@ -package jobs - -import ( - pq "github.com/roadrunner-server/api/v4/plugins/v4/priority_queue" -) - -// Queue represents JOBS plugin queue with it's elements types inside -type Queue interface { - // Remove removes an element with provided ID (if exists) and returns that element - Remove(id string) []Job - // Insert adds an item to the queue - Insert(item Job) - // ExtractMin returns the item with the highest priority (less value is the highest priority) - ExtractMin() Job - // Len returns the number of items in the queue - Len() uint64 -} - -// Job represents a binary heap item -type Job interface { - pq.Item - // Ack acknowledges the item after processing - Ack() error - // Nack discards the item - Nack() error - // NackWithOptions discards the item with an optional requeue flag - NackWithOptions(requeue bool, delay int) error - // Requeue puts the message back to the queue with an optional delay - Requeue(headers map[string][]string, delay int) error - // Body returns the payload associated with the item - Body() []byte - // Context returns any meta-information associated with the item - Context() ([]byte, error) - // Headers return the metadata for the item - Headers() map[string][]string -} - -// Message represents the protobuf message received from the RPC call -type Message interface { - pq.Item - KafkaOptions - // Name returns the name of the Job - Name() string - // Payload returns the data associated with the job - Payload() []byte - // Delay returns the delay time for the Job (not supported by all drivers) - Delay() int64 - // AutoAck returns the autocommit status for the Job - AutoAck() bool - // UpdatePriority sets the priority of the Job. Priority is optional but cannot be set to 0. - // The default priority is 10 - UpdatePriority(int64) - // Headers return the metadata for the item - Headers() map[string][]string -} - -// KafkaOptions - options (leave them empty for other drivers) -type KafkaOptions interface { - // Offset returns the offset associated with the Job - Offset() int64 - // Partition returns the partition associated with the Job - Partition() int32 - // Topic returns the topic associated with the Job - Topic() string - // Metadata returns the metadata associated with the Job - Metadata() string -} - -type Pipeline interface { - // With sets a pipeline value - With(name string, value interface{}) - // Name returns the pipeline name. - Name() string - // Driver returns the driver associated with the pipeline. - Driver() string - // Has checks if a value is present in the pipeline. - Has(name string) bool - // String returns the value of an option as a string or the default value. - String(name string, d string) string - // Int returns the value of an option as an int or the default value. - Int(name string, d int) int - // Bool returns the value of an option as a bool or the default value. - Bool(name string, d bool) bool - // Map returns the nested map value or an empty config. - // This might be used for SQS attributes or tags, for example - Map(name string, out map[string]string) error - // Priority returns the default pipeline priority - Priority() int64 - // Get is used to retrieve the data associated with a key - Get(key string) interface{} -} diff --git a/plugins/v4/jobs/state.go b/plugins/v4/jobs/state.go deleted file mode 100644 index 536a886..0000000 --- a/plugins/v4/jobs/state.go +++ /dev/null @@ -1,34 +0,0 @@ -package jobs - -// constant keys to pack/unpack messages from different drivers -const ( - RRID string = "rr_id" - RRJob string = "rr_job" - RRHeaders string = "rr_headers" - RRPipeline string = "rr_pipeline" - RRDelay string = "rr_delay" - RRPriority string = "rr_priority" - RRAutoAck string = "rr_auto_ack" -) - -// State represents job's state -type State struct { - // Pipeline name - Pipeline string - // Driver name - Driver string - // Queue name (tube for the beanstalk) - Queue string - // Active jobs which are consumed by the driver but not handled by the PHP worker yet - Active int64 - // Delayed jobs - Delayed int64 - // Reserved jobs which are in the driver but not consumed yet - Reserved int64 - // Status - 1 Ready, 0 - Paused - Ready bool - // New in 2.10.5, pipeline priority - Priority uint64 - // ErrorMessage New in 2023.1 - ErrorMessage string -} diff --git a/plugins/v4/priority_queue/priority_queue.go b/plugins/v4/priority_queue/priority_queue.go deleted file mode 100644 index 20532a8..0000000 --- a/plugins/v4/priority_queue/priority_queue.go +++ /dev/null @@ -1,11 +0,0 @@ -package priority_queue - -// Item interface represents the base meta-information which any priority queue message must have -type Item interface { - // ID returns a unique identifier for the item - ID() string - // GroupID returns the group associated with the item, used to remove all items with the same groupID - GroupID() string - // Priority returns the priority level used to sort the item - Priority() int64 -} diff --git a/proto/centrifugo/api/v1/api.proto b/proto/centrifugo/api/v1/api.proto deleted file mode 100644 index 24c5423..0000000 --- a/proto/centrifugo/api/v1/api.proto +++ /dev/null @@ -1,881 +0,0 @@ -syntax = "proto3"; - -package centrifugal.centrifugo.api; - -option go_package = "centrifugo/api/v1"; -option php_metadata_namespace = "RoadRunner\\Centrifugal\\API\\DTO\\V1\\GPBMetadata"; -option php_namespace = "RoadRunner\\Centrifugal\\API\\DTO\\V1"; - -service CentrifugoApi { - rpc Batch(BatchRequest) returns (BatchResponse) {} - rpc Publish (PublishRequest) returns (PublishResponse) {} - rpc Broadcast (BroadcastRequest) returns (BroadcastResponse) {} - rpc Subscribe (SubscribeRequest) returns (SubscribeResponse) {} - rpc Unsubscribe (UnsubscribeRequest) returns (UnsubscribeResponse) {} - rpc Disconnect (DisconnectRequest) returns (DisconnectResponse) {} - rpc Presence (PresenceRequest) returns (PresenceResponse) {} - rpc PresenceStats (PresenceStatsRequest) returns (PresenceStatsResponse) {} - rpc History (HistoryRequest) returns (HistoryResponse) {} - rpc HistoryRemove (HistoryRemoveRequest) returns (HistoryRemoveResponse) {} - rpc Info (InfoRequest) returns (InfoResponse) {} - rpc RPC (RPCRequest) returns (RPCResponse) {} - rpc Refresh (RefreshRequest) returns (RefreshResponse) {} - rpc Channels (ChannelsRequest) returns (ChannelsResponse) {} - rpc Connections (ConnectionsRequest) returns (ConnectionsResponse) {} - rpc UpdateUserStatus (UpdateUserStatusRequest) returns (UpdateUserStatusResponse) {} - rpc GetUserStatus (GetUserStatusRequest) returns (GetUserStatusResponse) {} - rpc DeleteUserStatus (DeleteUserStatusRequest) returns (DeleteUserStatusResponse) {} - rpc BlockUser (BlockUserRequest) returns (BlockUserResponse) {} - rpc UnblockUser (UnblockUserRequest) returns (UnblockUserResponse) {} - rpc RevokeToken (RevokeTokenRequest) returns (RevokeTokenResponse) {} - rpc InvalidateUserTokens (InvalidateUserTokensRequest) returns (InvalidateUserTokensResponse) {} - rpc DeviceRegister (DeviceRegisterRequest) returns (DeviceRegisterResponse) {} - rpc DeviceUpdate (DeviceUpdateRequest) returns (DeviceUpdateResponse) {} - rpc DeviceRemove (DeviceRemoveRequest) returns (DeviceRemoveResponse) {} - rpc DeviceList (DeviceListRequest) returns (DeviceListResponse) {} - rpc DeviceTopicList (DeviceTopicListRequest) returns (DeviceTopicListResponse) {} - rpc DeviceTopicUpdate (DeviceTopicUpdateRequest) returns (DeviceTopicUpdateResponse) {} - rpc UserTopicList (UserTopicListRequest) returns (UserTopicListResponse) {} - rpc UserTopicUpdate (UserTopicUpdateRequest) returns (UserTopicUpdateResponse) {} - rpc SendPushNotification (SendPushNotificationRequest) returns (SendPushNotificationResponse) {} - rpc UpdatePushStatus (UpdatePushStatusRequest) returns (UpdatePushStatusResponse) {} - rpc CancelPush (CancelPushRequest) returns (CancelPushResponse) {} - rpc RateLimit(RateLimitRequest) returns (RateLimitResponse) {} -} - -message Command { - enum MethodType { - PUBLISH = 0; - BROADCAST = 1; - UNSUBSCRIBE = 2; - DISCONNECT = 3; - PRESENCE = 4; - PRESENCE_STATS = 5; - HISTORY = 6; - HISTORY_REMOVE = 7; - CHANNELS = 8; - INFO = 9; - RPC = 10; - SUBSCRIBE = 11; - REFRESH = 12; - CONNECTIONS = 14; - UPDATE_USER_STATUS = 15; - GET_USER_STATUS = 16; - DELETE_USER_STATUS = 17; - BLOCK_USER = 18; - UNBLOCK_USER = 19; - REVOKE_TOKEN = 20; - INVALIDATE_USER_TOKENS = 21; - DEVICE_REGISTER = 22; - DEVICE_UPDATE = 23; - DEVICE_REMOVE = 24; - DEVICE_LIST = 25; - DEVICE_TOPIC_LIST = 26; - DEVICE_TOPIC_UPDATE = 27; - USER_TOPIC_LIST = 28; - USER_TOPIC_UPDATE = 29; - SEND_PUSH_NOTIFICATION = 30; - UPDATE_PUSH_STATUS = 31; - CANCEL_PUSH = 32; - RATE_LIMIT = 47; - } - uint32 id = 1; - MethodType method = 2; - bytes params = 3; - - PublishRequest publish = 4; - BroadcastRequest broadcast = 5; - SubscribeRequest subscribe = 6; - UnsubscribeRequest unsubscribe = 7; - DisconnectRequest disconnect = 8; - PresenceRequest presence = 9; - PresenceStatsRequest presence_stats = 10; - HistoryRequest history = 11; - HistoryRemoveRequest history_remove = 12; - InfoRequest info = 13; - RPCRequest rpc = 14; - RefreshRequest refresh = 15; - ChannelsRequest channels = 16; - ConnectionsRequest connections = 17; - UpdateUserStatusRequest update_user_status = 18; - GetUserStatusRequest get_user_status = 19; - DeleteUserStatusRequest delete_user_status = 20; - BlockUserRequest block_user = 21; - UnblockUserRequest unblock_user = 22; - RevokeTokenRequest revoke_token = 23; - InvalidateUserTokensRequest invalidate_user_tokens = 24; - DeviceRegisterRequest device_register = 25; - DeviceUpdateRequest device_update = 26; - DeviceRemoveRequest device_remove = 27; - DeviceListRequest device_list = 28; - DeviceTopicListRequest device_topic_list = 29; - DeviceTopicUpdateRequest device_topic_update = 30; - UserTopicListRequest user_topic_list = 31; - UserTopicUpdateRequest user_topic_update = 32; - SendPushNotificationRequest send_push_notification = 33; - UpdatePushStatusRequest update_push_status = 34; - CancelPushRequest cancel_push = 35; - RateLimitRequest rate_limit = 50; -} - -message Error { - uint32 code = 1; - string message = 2; -} - -message Reply { - uint32 id = 1; - Error error = 2; - bytes result = 3; - - PublishResult publish = 4; - BroadcastResult broadcast = 5; - SubscribeResult subscribe = 6; - UnsubscribeResult unsubscribe = 7; - DisconnectResult disconnect = 8; - PresenceResult presence = 9; - PresenceStatsResult presence_stats = 10; - HistoryResult history = 11; - HistoryRemoveResult history_remove = 12; - InfoResult info = 13; - RPCResult rpc = 14; - RefreshResult refresh = 15; - ChannelsResult channels = 16; - ConnectionsResult connections = 17; - UpdateUserStatusResult update_user_status = 18; - GetUserStatusResult get_user_status = 19; - DeleteUserStatusResult delete_user_status = 20; - BlockUserResult block_user = 21; - UnblockUserResult unblock_user = 22; - RevokeTokenResult revoke_token = 23; - InvalidateUserTokensResult invalidate_user_tokens = 24; - DeviceRegisterResult device_register = 25; - DeviceUpdateResult device_update = 26; - DeviceRemoveResult device_remove = 27; - DeviceListResult device_list = 28; - DeviceTopicListResult device_topic_list = 29; - DeviceTopicUpdateResult device_topic_update = 30; - UserTopicListResult user_topic_list = 31; - UserTopicUpdateResult user_topic_update = 32; - SendPushNotificationResult send_push_notification = 33; - UpdatePushStatusResult update_push_status = 34; - CancelPushResult cancel_push = 35; - RateLimitResult rate_limit = 50; -} - -message BoolValue { - bool value = 1; -} - -message Int32Value { - int32 value = 1; -} - -message SubscribeOptionOverride { - BoolValue presence = 1; - BoolValue join_leave = 2; - BoolValue force_recovery = 3; - BoolValue force_positioning = 4; - BoolValue force_push_join_leave = 5; -} - -message BatchRequest { - repeated Command commands = 1; - bool parallel = 2; -} - -message BatchResponse { - repeated Reply replies = 1; -} - -message PublishRequest { - string channel = 1; - bytes data = 2; - string b64data = 3; - bool skip_history = 4; - map tags = 5; - string idempotency_key = 6; -} - -message PublishResponse { - Error error = 1; - PublishResult result = 2; -} - -message PublishResult { - uint64 offset = 1; - string epoch = 2; -} - -message BroadcastRequest { - repeated string channels = 1; - bytes data = 2; - string b64data = 3; - bool skip_history = 4; - map tags = 5; - string idempotency_key = 6; -} - -message BroadcastResponse { - Error error = 1; - BroadcastResult result = 2; -} - -message BroadcastResult { - repeated PublishResponse responses = 1; -} - -message SubscribeRequest { - string channel = 1; - string user = 2; - int64 expire_at = 3; - bytes info = 4; - string b64info = 5; - string client = 6; - bytes data = 7; - string b64data = 8; - StreamPosition recover_since = 9; - SubscribeOptionOverride override = 10; - string session = 11; -} - -message SubscribeResponse { - Error error = 1; - SubscribeResult result = 2; -} - -message SubscribeResult {} - -message UnsubscribeRequest { - string channel = 1; - string user = 2; - string client = 3; - string session = 4; -} - -message UnsubscribeResponse { - Error error = 1; - UnsubscribeResult result = 2; -} - -message UnsubscribeResult {} - -message Disconnect { - reserved 3; - uint32 code = 1; - string reason = 2; -} - -message DisconnectRequest { - string user = 1; - Disconnect disconnect = 2; - string client = 3; - repeated string whitelist = 4; - string session = 5; -} - -message DisconnectResponse { - Error error = 1; - DisconnectResult result = 2; -} - -message DisconnectResult {} - -message PresenceRequest { - string channel = 1; -} - -message PresenceResponse { - Error error = 1; - PresenceResult result = 2; -} - -message ClientInfo { - string user = 1; - string client = 2; - bytes conn_info = 3; - bytes chan_info = 4; -} - -message PresenceResult { - map presence = 1; -} - -message PresenceStatsRequest { - string channel = 1; -} - -message PresenceStatsResponse { - Error error = 1; - PresenceStatsResult result = 2; -} - -message PresenceStatsResult { - uint32 num_clients = 1; - uint32 num_users = 2; -} - -message StreamPosition { - uint64 offset = 1; - string epoch = 2; -} - -message HistoryRequest { - string channel = 1; - int32 limit = 2; - StreamPosition since = 3; - bool reverse = 4; -} - -message HistoryResponse { - Error error = 1; - HistoryResult result = 2; -} - -message Publication { - // Removed: string uid = 1; - bytes data = 2; - ClientInfo info = 3; - uint64 offset = 4; - map tags = 5; -} - -message HistoryResult { - repeated Publication publications = 1; - string epoch = 2; - uint64 offset = 3; -} - -message HistoryRemoveRequest { - string channel = 1; -} - -message HistoryRemoveResponse { - Error error = 1; - HistoryRemoveResult result = 2; -} - -message HistoryRemoveResult {} - -message InfoRequest {} - -message InfoResponse { - Error error = 1; - InfoResult result = 2; -} - -message InfoResult { - repeated NodeResult nodes = 1; -} - -message RPCRequest { - string method = 1; - bytes params = 2; -} - -message RPCResponse { - Error error = 1; - RPCResult result = 2; -} - -message RPCResult { - bytes data = 1; -} - -message RefreshRequest { - string user = 1; - string client = 2; - bool expired = 3; - int64 expire_at = 4; - bytes info = 5; - string session = 6; -} - -message RefreshResponse { - Error error = 1; - RefreshResult result = 2; -} - -message RefreshResult {} - -message NodeResult { - string uid = 1; - string name = 2; - string version = 3; - uint32 num_clients = 4; - uint32 num_users = 5; - uint32 num_channels = 6; - uint32 uptime = 7; - Metrics metrics = 8; - Process process = 9; - uint32 num_subs = 10; -} - -message Metrics { - double interval = 1; - map items = 2; -} - -message Process { - double cpu = 1; - int64 rss = 2; -} - -message ChannelsRequest { - string pattern = 1; -} - -message ChannelsResponse { - Error error = 1; - ChannelsResult result = 2; -} - -message ChannelsResult { - map channels = 1; -} - -message ChannelInfo { - uint32 num_clients = 1; -} - -message ConnectionsRequest { - string user = 1; - string expression = 2; -} - -message ConnectionsResponse { - Error error = 1; - ConnectionsResult result = 2; -} - -message ConnectionsResult { - map connections = 1; -} - -message ConnectionInfo { - string app_name = 1; - string app_version = 2; - string transport = 3; - string protocol = 4; - // 5-7 dropped for backwards compatibility. - string user = 8; - ConnectionState state = 9; -} - -message ConnectionState { - map channels = 1; - ConnectionTokenInfo connection_token = 2; - map subscription_tokens = 3; - bytes meta = 4; -} - -message ChannelContext { - uint32 source = 1; -} - -message ConnectionTokenInfo { - string uid = 1; - int64 issued_at = 2; -} - -message SubscriptionTokenInfo { - string uid = 1; - int64 issued_at = 2; -} - -message UpdateUserStatusRequest { - repeated string users = 1; - string state = 2; -} - -message UpdateUserStatusResponse { - Error error = 1; - UpdateUserStatusResult result = 2; -} - -message UpdateUserStatusResult {} - -message GetUserStatusRequest { - repeated string users = 1; -} - -message GetUserStatusResponse { - Error error = 1; - GetUserStatusResult result = 2; -} - -message GetUserStatusResult { - repeated UserStatus statuses = 1; -} - -message UserStatus { - string user = 1; - int64 active = 2; - int64 online = 3; - string state = 4; -} - -message DeleteUserStatusRequest { - repeated string users = 1; -} - -message DeleteUserStatusResponse { - Error error = 1; - DeleteUserStatusResult result = 2; -} - -message DeleteUserStatusResult { -} - -message BlockUserRequest { - int64 expire_at = 1; - string user = 2; -} - -message BlockUserResult {} - -message BlockUserResponse { - Error error = 1; - BlockUserResult result = 2; -} - -message UnblockUserRequest { - string user = 1; -} - -message UnblockUserResult {} - -message UnblockUserResponse { - Error error = 1; - UnblockUserResult result = 2; -} - -message RevokeTokenRequest { - int64 expire_at = 1; - string uid = 2; -} - -message RevokeTokenResult {} - -message RevokeTokenResponse { - Error error = 1; - RevokeTokenResult result = 2; -} - -message InvalidateUserTokensRequest { - int64 expire_at = 1; - string user = 2; - int64 issued_before = 3; - string channel = 4; -} - -message InvalidateUserTokensResult {} - -message InvalidateUserTokensResponse { - Error error = 1; - InvalidateUserTokensResult result = 2; -} - -message DeviceRegisterRequest { - string id = 1; - string provider = 2; - string token = 3; - string platform = 4; - string user = 5; - map meta = 6; - repeated string topics = 7; - //map labels = 8; - //map scores = 9; -} - -message DeviceUpdateRequest { - repeated string ids = 1; - repeated string users = 2; - - DeviceUserUpdate user_update = 4; - DeviceMetaUpdate meta_update = 5; - DeviceTopicsUpdate topics_update = 6; - //DeviceLabelsUpdate labels_update = 7; - //DeviceScoresUpdate scores_update = 8; -} - -message DeviceRemoveRequest { - repeated string ids = 1; - repeated string users = 2; -} - -message DeviceUserUpdate { - string user = 1; -} - -message DeviceMetaUpdate { - map meta = 1; -} - -message DeviceTopicsUpdate { - string op = 1; // add | remove | set - repeated string topics = 2; -} - -message DeviceFilter { - repeated string ids = 1; - repeated string users = 2; - repeated string topics = 3; - repeated string providers = 4; - repeated string platforms = 5; -} - -message DeviceListRequest { - DeviceFilter filter = 1; - - bool include_total_count = 2; - bool include_meta = 3; - bool include_topics = 4; - //bool include_labels = 5; - //bool include_scores = 6; - - string cursor = 10; - int32 limit = 11; -} - -message DeviceTopicFilter { - repeated string device_ids = 1; - repeated string device_providers = 2; - repeated string device_platforms = 3; - repeated string device_users = 4; - repeated string topics = 5; - string topic_prefix = 6; -} - -message DeviceTopicListRequest { - DeviceTopicFilter filter = 1; - - bool include_total_count = 2; - bool include_device = 3; - - string cursor = 10; - int32 limit = 11; -} - -message UserTopicFilter { - repeated string users = 1; - repeated string topics = 2; - string topic_prefix = 3; -} - -message UserTopicListRequest { - UserTopicFilter filter = 1; - - bool include_total_count = 2; - - string cursor = 10; - int32 limit = 11; -} - -message DeviceTopicUpdateRequest { - string device_id = 1; - string op = 2; // add | remove | set - repeated string topics = 3; -} - -message UserTopicUpdateRequest { - string user = 1; - string op = 2; // add | remove | set - repeated string topics = 3; -} - -message DeviceRegisterResponse { - Error error = 1; - DeviceRegisterResult result = 2; -} - -message DeviceUpdateResponse { - Error error = 1; - DeviceUpdateResult result = 2; -} - -message DeviceRemoveResponse { - Error error = 1; - DeviceRemoveResult result = 2; -} - -message DeviceListResponse { - Error error = 1; - DeviceListResult result = 2; -} - -message DeviceTopicListResponse { - Error error = 1; - DeviceTopicListResult result = 2; -} - -message UserTopicListResponse { - Error error = 1; - UserTopicListResult result = 2; -} - -message DeviceTopicUpdateResponse { - Error error = 1; - DeviceTopicUpdateResult result = 2; -} - -message UserTopicUpdateResponse { - Error error = 1; - UserTopicUpdateResult result = 2; -} - -message DeviceRegisterResult { - string id = 1; -} - -message DeviceUpdateResult { -} - -message DeviceRemoveResult { -} - -message DeviceListResult { - repeated Device items = 1; - string next_cursor = 2; - int64 total_count = 3; -} - -message Device { - string id = 1; - string platform = 2; - string provider = 3; - string token = 4; - string user = 5; - int64 created_at = 6; - int64 updated_at = 7; - - map meta = 10; - repeated string topics = 11; - //map labels = 12; - //map scores = 13; -} - -message DeviceTopicListResult { - repeated DeviceTopic items = 1; - string next_cursor = 2; - int64 total_count = 3; -} - -message DeviceTopic { - string id = 1; - string topic = 2; - Device device = 3; -} - -message UserTopicListResult { - repeated UserTopic items = 1; - string next_cursor = 2; - int64 total_count = 3; -} - -message DeviceTopicUpdateResult { -} - -message UserTopicUpdateResult { -} - -message UserTopic { - string id = 1; - string user = 2; - string topic = 3; -} - -message PushRecipient { - DeviceFilter filter = 1; - - repeated string fcm_tokens = 2; - string fcm_topic = 3; - string fcm_condition = 4; - - repeated string hms_tokens = 5; - string hms_topic = 6; - string hms_condition = 7; - - repeated string apns_tokens = 8; -} - -message PushNotification { - FcmPushNotification fcm = 1; - HmsPushNotification hms = 2; - ApnsPushNotification apns = 3; - - int64 expire_at = 5; // timestamp in the future when Centrifugo should stop trying to send push notification. -} - -message FcmPushNotification { - bytes message = 1; -} - -message HmsPushNotification { - bytes message = 1; -} - -message ApnsPushNotification { - map headers = 1; - bytes payload = 2; -} - -message SendPushNotificationRequest { - PushRecipient recipient = 1; - PushNotification notification = 2; - string uid = 3; // unique identifier for push notification, used for matching in Centrifugo analytics. - int64 send_at = 4; -} - -message SendPushNotificationResponse { - Error error = 1; - SendPushNotificationResult result = 2; -} - -message SendPushNotificationResult { - string uid = 1; // Unique identifier of notification send request (it's not a FCM message id). -} - -message UpdatePushStatusRequest { - string uid = 1; // uid of push notification (matches SendPushNotificationResult.uid) - string status = 2; // failed | sent | delivered | interacted - string device_id = 3; // Centrifugo device id. - string msg_id = 4; // Provider issued message id. -} - -message UpdatePushStatusResponse { - Error error = 1; - UpdatePushStatusResult result = 2; -} - -message UpdatePushStatusResult {} - -message CancelPushRequest { - string uid = 1; -} - -message CancelPushResponse { - Error error = 1; - CancelPushResult result = 2; -} - -message CancelPushResult {} - -message RateLimitRequest { - // string key = 1; - // int64 rate = 2; - // int64 interval = 3; - // int64 score = 4; -} - -message RateLimitResponse { - Error error = 1; - RateLimitResult result = 2; -} - -message RateLimitResult { - // bool allowed = 1; - // int64 tokens_left = 2; - // int64 allowed_in = 3; - // int64 server_time = 4; -} diff --git a/proto/lock/v1beta1/lock.proto b/proto/lock/v1beta1/lock.proto deleted file mode 100644 index 281864d..0000000 --- a/proto/lock/v1beta1/lock.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package lock.v1beta1; - -option go_package = "github.com/roadrunner-server/api/v4/build/lock/v1beta1;lockV1Beta1"; -option php_metadata_namespace = "RoadRunner\\Lock\\DTO\\V1BETA1\\GPBMetadata"; -option php_namespace = "RoadRunner\\Lock\\DTO\\V1BETA1"; - -message Request { - string resource = 1; - string id = 2; - optional int64 ttl = 3; - optional int64 wait = 4; -} - -message Response { - bool ok = 1; -} diff --git a/proto/status/v1beta1/status.proto b/proto/status/v1beta1/status.proto deleted file mode 100644 index e1be971..0000000 --- a/proto/status/v1beta1/status.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; - -package status.v1beta1; - -option go_package = "github.com/roadrunner-server/api/v4/build/status/v1beta1;statusV1Beta1"; -option php_metadata_namespace = "RoadRunner\\Status\\DTO\\V1BETA1\\GPBMetadata"; -option php_namespace = "RoadRunner\\Status\\DTO\\V1BETA1"; - -message Request { - string plugin = 1; -} - -message Response { - int64 code = 1; - string message = 2; -} diff --git a/proto/applogger/v1/applogger.proto b/roadrunner/api/applogger/v1/applogger.proto similarity index 78% rename from proto/applogger/v1/applogger.proto rename to roadrunner/api/applogger/v1/applogger.proto index a6343e8..fb0a9c4 100644 --- a/proto/applogger/v1/applogger.proto +++ b/roadrunner/api/applogger/v1/applogger.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package applogger.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/applogger/v1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/applogger/v1;apploggerV1"; option php_metadata_namespace = "RoadRunner\\AppLogger\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\AppLogger\\DTO\\V1"; diff --git a/roadrunner/api/applogger/v2/applogger.proto b/roadrunner/api/applogger/v2/applogger.proto new file mode 100644 index 0000000..68e0ceb --- /dev/null +++ b/roadrunner/api/applogger/v2/applogger.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package applogger.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/applogger/v2;apploggerV2"; +option php_metadata_namespace = "RoadRunner\\AppLogger\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\AppLogger\\DTO\\V2"; + +message LogEntry { + string message = 1; + repeated LogAttrs log_attrs = 2; +} + +message LogAttrs { + string key = 1; + string value = 2; +} + +message LogResponse {} diff --git a/roadrunner/api/centrifugo/api/v1/api.proto b/roadrunner/api/centrifugo/api/v1/api.proto new file mode 100644 index 0000000..29f20f0 --- /dev/null +++ b/roadrunner/api/centrifugo/api/v1/api.proto @@ -0,0 +1,865 @@ +syntax = "proto3"; + +package centrifugal.centrifugo.api; + +option go_package = "centrifugo/api/v1"; +option php_metadata_namespace = "RoadRunner\\Centrifugal\\API\\DTO\\V1\\GPBMetadata"; +option php_namespace = "RoadRunner\\Centrifugal\\API\\DTO\\V1"; + +service CentrifugoApi { + rpc Batch(BatchRequest) returns (BatchResponse) {} + rpc Publish(PublishRequest) returns (PublishResponse) {} + rpc Broadcast(BroadcastRequest) returns (BroadcastResponse) {} + rpc Subscribe(SubscribeRequest) returns (SubscribeResponse) {} + rpc Unsubscribe(UnsubscribeRequest) returns (UnsubscribeResponse) {} + rpc Disconnect(DisconnectRequest) returns (DisconnectResponse) {} + rpc Presence(PresenceRequest) returns (PresenceResponse) {} + rpc PresenceStats(PresenceStatsRequest) returns (PresenceStatsResponse) {} + rpc History(HistoryRequest) returns (HistoryResponse) {} + rpc HistoryRemove(HistoryRemoveRequest) returns (HistoryRemoveResponse) {} + rpc Info(InfoRequest) returns (InfoResponse) {} + rpc RPC(RPCRequest) returns (RPCResponse) {} + rpc Refresh(RefreshRequest) returns (RefreshResponse) {} + rpc Channels(ChannelsRequest) returns (ChannelsResponse) {} + rpc Connections(ConnectionsRequest) returns (ConnectionsResponse) {} + rpc UpdateUserStatus(UpdateUserStatusRequest) returns (UpdateUserStatusResponse) {} + rpc GetUserStatus(GetUserStatusRequest) returns (GetUserStatusResponse) {} + rpc DeleteUserStatus(DeleteUserStatusRequest) returns (DeleteUserStatusResponse) {} + rpc BlockUser(BlockUserRequest) returns (BlockUserResponse) {} + rpc UnblockUser(UnblockUserRequest) returns (UnblockUserResponse) {} + rpc RevokeToken(RevokeTokenRequest) returns (RevokeTokenResponse) {} + rpc InvalidateUserTokens(InvalidateUserTokensRequest) returns (InvalidateUserTokensResponse) {} + rpc DeviceRegister(DeviceRegisterRequest) returns (DeviceRegisterResponse) {} + rpc DeviceUpdate(DeviceUpdateRequest) returns (DeviceUpdateResponse) {} + rpc DeviceRemove(DeviceRemoveRequest) returns (DeviceRemoveResponse) {} + rpc DeviceList(DeviceListRequest) returns (DeviceListResponse) {} + rpc DeviceTopicList(DeviceTopicListRequest) returns (DeviceTopicListResponse) {} + rpc DeviceTopicUpdate(DeviceTopicUpdateRequest) returns (DeviceTopicUpdateResponse) {} + rpc UserTopicList(UserTopicListRequest) returns (UserTopicListResponse) {} + rpc UserTopicUpdate(UserTopicUpdateRequest) returns (UserTopicUpdateResponse) {} + rpc SendPushNotification(SendPushNotificationRequest) returns (SendPushNotificationResponse) {} + rpc UpdatePushStatus(UpdatePushStatusRequest) returns (UpdatePushStatusResponse) {} + rpc CancelPush(CancelPushRequest) returns (CancelPushResponse) {} +} + +message Command { + reserved 1, 2, 3; + + PublishRequest publish = 4; + BroadcastRequest broadcast = 5; + SubscribeRequest subscribe = 6; + UnsubscribeRequest unsubscribe = 7; + DisconnectRequest disconnect = 8; + PresenceRequest presence = 9; + PresenceStatsRequest presence_stats = 10; + HistoryRequest history = 11; + HistoryRemoveRequest history_remove = 12; + InfoRequest info = 13; + RPCRequest rpc = 14; + RefreshRequest refresh = 15; + ChannelsRequest channels = 16; + ConnectionsRequest connections = 17; + UpdateUserStatusRequest update_user_status = 18; + GetUserStatusRequest get_user_status = 19; + DeleteUserStatusRequest delete_user_status = 20; + BlockUserRequest block_user = 21; + UnblockUserRequest unblock_user = 22; + RevokeTokenRequest revoke_token = 23; + InvalidateUserTokensRequest invalidate_user_tokens = 24; + DeviceRegisterRequest device_register = 25; + DeviceUpdateRequest device_update = 26; + DeviceRemoveRequest device_remove = 27; + DeviceListRequest device_list = 28; + DeviceTopicListRequest device_topic_list = 29; + DeviceTopicUpdateRequest device_topic_update = 30; + UserTopicListRequest user_topic_list = 31; + UserTopicUpdateRequest user_topic_update = 32; + SendPushNotificationRequest send_push_notification = 33; + UpdatePushStatusRequest update_push_status = 34; + CancelPushRequest cancel_push = 35; +} + +message Error { + uint32 code = 1; + string message = 2; +} + +message Reply { + reserved 1, 3; + + Error error = 2; + + PublishResult publish = 4; + BroadcastResult broadcast = 5; + SubscribeResult subscribe = 6; + UnsubscribeResult unsubscribe = 7; + DisconnectResult disconnect = 8; + PresenceResult presence = 9; + PresenceStatsResult presence_stats = 10; + HistoryResult history = 11; + HistoryRemoveResult history_remove = 12; + InfoResult info = 13; + RPCResult rpc = 14; + RefreshResult refresh = 15; + ChannelsResult channels = 16; + ConnectionsResult connections = 17; + UpdateUserStatusResult update_user_status = 18; + GetUserStatusResult get_user_status = 19; + DeleteUserStatusResult delete_user_status = 20; + BlockUserResult block_user = 21; + UnblockUserResult unblock_user = 22; + RevokeTokenResult revoke_token = 23; + InvalidateUserTokensResult invalidate_user_tokens = 24; + DeviceRegisterResult device_register = 25; + DeviceUpdateResult device_update = 26; + DeviceRemoveResult device_remove = 27; + DeviceListResult device_list = 28; + DeviceTopicListResult device_topic_list = 29; + DeviceTopicUpdateResult device_topic_update = 30; + UserTopicListResult user_topic_list = 31; + UserTopicUpdateResult user_topic_update = 32; + SendPushNotificationResult send_push_notification = 33; + UpdatePushStatusResult update_push_status = 34; + CancelPushResult cancel_push = 35; +} + +message BatchRequest { + repeated Command commands = 1; + bool parallel = 2; +} + +message BatchResponse { + repeated Reply replies = 1; +} + +message PublishRequest { + string channel = 1; + bytes data = 2; + string b64data = 3; + bool skip_history = 4; + map tags = 5; + string idempotency_key = 6; + bool delta = 7; + uint64 version = 8; + string version_epoch = 9; +} + +message PublishResponse { + Error error = 1; + PublishResult result = 2; +} + +message PublishResult { + uint64 offset = 1; + string epoch = 2; +} + +message BroadcastRequest { + repeated string channels = 1; + bytes data = 2; + string b64data = 3; + bool skip_history = 4; + map tags = 5; + string idempotency_key = 6; + bool delta = 7; + uint64 version = 8; + string version_epoch = 9; +} + +message BroadcastResponse { + Error error = 1; + BroadcastResult result = 2; +} + +message BroadcastResult { + repeated PublishResponse responses = 1; +} + +message SubscribeRequest { + string channel = 1; + string user = 2; + int64 expire_at = 3; + bytes info = 4; + string b64info = 5; + string client = 6; + bytes data = 7; + string b64data = 8; + StreamPosition recover_since = 9; + SubscribeOptionOverride override = 10; + string session = 11; +} + +message SubscribeResponse { + Error error = 1; + SubscribeResult result = 2; +} + +message BoolValue { + bool value = 1; +} + +message Int32Value { + int32 value = 1; +} + +message SubscribeOptionOverride { + BoolValue presence = 1; + BoolValue join_leave = 2; + BoolValue force_recovery = 3; + BoolValue force_positioning = 4; + BoolValue force_push_join_leave = 5; +} + +message SubscribeResult {} + +message UnsubscribeRequest { + string channel = 1; + string user = 2; + string client = 3; + string session = 4; +} + +message UnsubscribeResponse { + Error error = 1; + UnsubscribeResult result = 2; +} + +message UnsubscribeResult {} + +message Disconnect { + reserved 3; + + uint32 code = 1; + string reason = 2; +} + +message DisconnectRequest { + string user = 1; + Disconnect disconnect = 2; + string client = 3; + repeated string whitelist = 4; + string session = 5; +} + +message DisconnectResponse { + Error error = 1; + DisconnectResult result = 2; +} + +message DisconnectResult {} + +message PresenceRequest { + string channel = 1; +} + +message PresenceResponse { + Error error = 1; + PresenceResult result = 2; +} + +message ClientInfo { + string user = 1; + string client = 2; + bytes conn_info = 3; + bytes chan_info = 4; +} + +message PresenceResult { + map presence = 1; +} + +message PresenceStatsRequest { + string channel = 1; +} + +message PresenceStatsResponse { + Error error = 1; + PresenceStatsResult result = 2; +} + +message PresenceStatsResult { + uint32 num_clients = 1; + uint32 num_users = 2; +} + +message StreamPosition { + uint64 offset = 1; + string epoch = 2; +} + +message HistoryRequest { + string channel = 1; + int32 limit = 2; + StreamPosition since = 3; + bool reverse = 4; +} + +message HistoryResponse { + Error error = 1; + HistoryResult result = 2; +} + +message Publication { + // Removed: string uid = 1; + bytes data = 2; + ClientInfo info = 3; + uint64 offset = 4; + map tags = 5; +} + +message HistoryResult { + repeated Publication publications = 1; + string epoch = 2; + uint64 offset = 3; +} + +message HistoryRemoveRequest { + string channel = 1; +} + +message HistoryRemoveResponse { + Error error = 1; + HistoryRemoveResult result = 2; +} + +message HistoryRemoveResult {} + +message InfoRequest {} + +message InfoResponse { + Error error = 1; + InfoResult result = 2; +} + +message InfoResult { + repeated NodeResult nodes = 1; +} + +message RPCRequest { + string method = 1; + bytes params = 2; +} + +message RPCResponse { + Error error = 1; + RPCResult result = 2; +} + +message RPCResult { + bytes data = 1; +} + +message RefreshRequest { + string user = 1; + string client = 2; + bool expired = 3; + int64 expire_at = 4; + bytes info = 5; + string session = 6; +} + +message RefreshResponse { + Error error = 1; + RefreshResult result = 2; +} + +message RefreshResult {} + +message NodeResult { + string uid = 1; + string name = 2; + string version = 3; + uint32 num_clients = 4; + uint32 num_users = 5; + uint32 num_channels = 6; + uint32 uptime = 7; + Metrics metrics = 8; + Process process = 9; + uint32 num_subs = 10; +} + +message Metrics { + double interval = 1; + map items = 2; +} + +message Process { + double cpu = 1; + int64 rss = 2; +} + +message ChannelsRequest { + string pattern = 1; +} + +message ChannelsResponse { + Error error = 1; + ChannelsResult result = 2; +} + +message ChannelsResult { + map channels = 1; +} + +message ChannelInfo { + uint32 num_clients = 1; +} + +message ConnectionsRequest { + string user = 1; + string expression = 2; +} + +message ConnectionsResponse { + Error error = 1; + ConnectionsResult result = 2; +} + +message ConnectionsResult { + map connections = 1; +} + +message ConnectionInfo { + reserved 5, 7; + + string app_name = 1; + string app_version = 2; + string transport = 3; + string protocol = 4; + string user = 8; + ConnectionState state = 9; + int64 connected_at_ms = 10; + int64 ping_pong_latency_ms = 11; // can be -1 if not available. +} + +message ConnectionState { + map channels = 1; + ConnectionTokenInfo connection_token = 2; + map subscription_tokens = 3; + bytes meta = 4; +} + +message ChannelContext { + uint32 source = 1; +} + +message ConnectionTokenInfo { + string uid = 1; + int64 issued_at = 2; +} + +message SubscriptionTokenInfo { + string uid = 1; + int64 issued_at = 2; +} + +message UpdateUserStatusRequest { + repeated string users = 1; + string state = 2; +} + +message UpdateUserStatusResponse { + Error error = 1; + UpdateUserStatusResult result = 2; +} + +message UpdateUserStatusResult {} + +message GetUserStatusRequest { + repeated string users = 1; +} + +message GetUserStatusResponse { + Error error = 1; + GetUserStatusResult result = 2; +} + +message GetUserStatusResult { + repeated UserStatus statuses = 1; +} + +message UserStatus { + string user = 1; + int64 active = 2; + int64 online = 3; + string state = 4; +} + +message DeleteUserStatusRequest { + repeated string users = 1; +} + +message DeleteUserStatusResponse { + Error error = 1; + DeleteUserStatusResult result = 2; +} + +message DeleteUserStatusResult {} + +message BlockUserRequest { + int64 expire_at = 1; + string user = 2; +} + +message BlockUserResult {} + +message BlockUserResponse { + Error error = 1; + BlockUserResult result = 2; +} + +message UnblockUserRequest { + string user = 1; +} + +message UnblockUserResult {} + +message UnblockUserResponse { + Error error = 1; + UnblockUserResult result = 2; +} + +message RevokeTokenRequest { + int64 expire_at = 1; + string uid = 2; +} + +message RevokeTokenResult {} + +message RevokeTokenResponse { + Error error = 1; + RevokeTokenResult result = 2; +} + +message InvalidateUserTokensRequest { + int64 expire_at = 1; + string user = 2; + int64 issued_before = 3; + string channel = 4; +} + +message InvalidateUserTokensResult {} + +message InvalidateUserTokensResponse { + Error error = 1; + InvalidateUserTokensResult result = 2; +} + +message DeviceRegisterRequest { + string id = 1; + string provider = 2; + string token = 3; + string platform = 4; + string user = 5; + map meta = 6; + repeated string topics = 7; + string timezone = 8; + string locale = 9; +} + +message DeviceUpdateRequest { + repeated string ids = 1; + repeated string users = 2; + + DeviceUserUpdate user_update = 4; + DeviceMetaUpdate meta_update = 5; + DeviceTopicsUpdate topics_update = 6; + DeviceTimezoneUpdate timezone_update = 7; + DeviceLocaleUpdate locale_update = 8; +} + +message DeviceRemoveRequest { + repeated string ids = 1; + repeated string users = 2; +} + +message DeviceUserUpdate { + string user = 1; +} + +message DeviceTimezoneUpdate { + string timezone = 1; +} + +message DeviceLocaleUpdate { + string locale = 1; +} + +message DeviceMetaUpdate { + map meta = 1; +} + +message DeviceTopicsUpdate { + string op = 1; // add | remove | set + repeated string topics = 2; +} + +message DeviceFilter { + repeated string ids = 1; + repeated string users = 2; + repeated string topics = 3; + repeated string providers = 4; + repeated string platforms = 5; +} + +message DeviceListRequest { + DeviceFilter filter = 1; + + bool include_total_count = 2; + bool include_meta = 3; + bool include_topics = 4; + + string cursor = 10; + int32 limit = 11; +} + +message DeviceTopicFilter { + repeated string device_ids = 1; + repeated string device_providers = 2; + repeated string device_platforms = 3; + repeated string device_users = 4; + repeated string topics = 5; + string topic_prefix = 6; +} + +message DeviceTopicListRequest { + DeviceTopicFilter filter = 1; + + bool include_total_count = 2; + bool include_device = 3; + + string cursor = 10; + int32 limit = 11; +} + +message UserTopicFilter { + repeated string users = 1; + repeated string topics = 2; + string topic_prefix = 3; +} + +message UserTopicListRequest { + UserTopicFilter filter = 1; + + bool include_total_count = 2; + + string cursor = 10; + int32 limit = 11; +} + +message DeviceTopicUpdateRequest { + string device_id = 1; + string op = 2; // add | remove | set + repeated string topics = 3; +} + +message UserTopicUpdateRequest { + string user = 1; + string op = 2; // add | remove | set + repeated string topics = 3; +} + +message DeviceRegisterResponse { + Error error = 1; + DeviceRegisterResult result = 2; +} + +message DeviceUpdateResponse { + Error error = 1; + DeviceUpdateResult result = 2; +} + +message DeviceRemoveResponse { + Error error = 1; + DeviceRemoveResult result = 2; +} + +message DeviceListResponse { + Error error = 1; + DeviceListResult result = 2; +} + +message DeviceTopicListResponse { + Error error = 1; + DeviceTopicListResult result = 2; +} + +message UserTopicListResponse { + Error error = 1; + UserTopicListResult result = 2; +} + +message DeviceTopicUpdateResponse { + Error error = 1; + DeviceTopicUpdateResult result = 2; +} + +message UserTopicUpdateResponse { + Error error = 1; + UserTopicUpdateResult result = 2; +} + +message DeviceRegisterResult { + string id = 1; +} + +message DeviceUpdateResult {} + +message DeviceRemoveResult {} + +message DeviceListResult { + repeated Device items = 1; + string next_cursor = 2; + int64 total_count = 3; +} + +message Device { + string id = 1; + string platform = 2; + string provider = 3; + string token = 4; + string user = 5; + int64 created_at = 6; + int64 updated_at = 7; + + map meta = 10; + repeated string topics = 11; + string timezone = 12; + string locale = 13; +} + +message DeviceTopicListResult { + repeated DeviceTopic items = 1; + string next_cursor = 2; + int64 total_count = 3; +} + +message DeviceTopic { + string id = 1; + string topic = 2; + Device device = 3; +} + +message UserTopicListResult { + repeated UserTopic items = 1; + string next_cursor = 2; + int64 total_count = 3; +} + +message DeviceTopicUpdateResult {} + +message UserTopicUpdateResult {} + +message UserTopic { + string id = 1; + string user = 2; + string topic = 3; +} + +message PushRecipient { + DeviceFilter filter = 1; + + repeated string fcm_tokens = 2; + string fcm_topic = 3; + string fcm_condition = 4; + + repeated string hms_tokens = 5; + string hms_topic = 6; + string hms_condition = 7; + + repeated string apns_tokens = 8; +} + +message PushNotification { + FcmPushNotification fcm = 1; + HmsPushNotification hms = 2; + ApnsPushNotification apns = 3; + + int64 expire_at = 5; // timestamp in the future when Centrifugo should stop trying to send push notification. +} + +message FcmPushNotification { + bytes message = 1; +} + +message HmsPushNotification { + bytes message = 1; +} + +message ApnsPushNotification { + map headers = 1; + bytes payload = 2; +} + +message SendPushNotificationRequest { + PushRecipient recipient = 1; + PushNotification notification = 2; + string uid = 3; // unique identifier for each push notification request, can be used to cancel push. + int64 send_at = 4; // Unix seconds, if set - push will be sent at this time, if not set - immediately. + bool optimize_for_reliability = 5; // makes processing heavier, but tolerates edge cases, like not losing inflight pushes due to temporary queue unavailability. + PushLimitStrategy limit_strategy = 6; // strategy for sending push notifications. Applicable only for pushes with filter recipient. When using this field Centrifugo processes devices one by one. + string analytics_uid = 7; // uid for push notification analytics, if not set - Centrifugo will use uid field. + map localizations = 8; // optional per language/locale localizations for push notification. + bool use_templating = 9; // if set - Centrifugo will use templating for push notification. Note that setting localizations enables templating automatically. + bool use_meta = 10; // if set - Centrifugo will additionally load device meta during push sending, this meta becomes available in templating. +} + +message PushLocalization { + map translations = 1; // variable name to value for the specific language/locale. +} + +message PushLimitStrategy { + PushRateLimitStrategy rate_limit = 1; + PushTimeLimitStrategy time_limit = 2; +} + +message PushTimeLimitStrategy { + string send_after_time = 1; // HH:MM:SS + string send_before_time = 2; // HH:MM:SS + bool no_tz_send_now = 3; // If device timezone is not set - send push now, by default will be dropped. +} + +message PushRateLimitStrategy { + string key = 1; // optional key for rate limit policy, supports variables. + repeated RateLimitPolicy policies = 2; + bool drop_if_rate_limited = 3; +} + +message RateLimitPolicy { + int64 rate = 1; + int32 interval_ms = 2; +} + +message SendPushNotificationResponse { + Error error = 1; + SendPushNotificationResult result = 2; +} + +message SendPushNotificationResult { + string uid = 1; // Unique identifier of notification send request (it's not a FCM message id). +} + +message UpdatePushStatusRequest { + string analytics_uid = 1; // analytics uid of push notification (should match SendPushNotificationRequest.analytics_uid) + string status = 2; // delivered | interacted + string device_id = 3; // Centrifugo device id. + string msg_id = 4; // Provider issued message id. +} + +message UpdatePushStatusResponse { + Error error = 1; + UpdatePushStatusResult result = 2; +} + +message UpdatePushStatusResult {} + +message CancelPushRequest { + string uid = 1; +} + +message CancelPushResponse { + Error error = 1; + CancelPushResult result = 2; +} + +message CancelPushResult {} diff --git a/proto/centrifugo/proxy/v1/proxy.proto b/roadrunner/api/centrifugo/proxy/v1/proxy.proto similarity index 93% rename from proto/centrifugo/proxy/v1/proxy.proto rename to roadrunner/api/centrifugo/proxy/v1/proxy.proto index 061ab67..8cbbb89 100644 --- a/proto/centrifugo/proxy/v1/proxy.proto +++ b/roadrunner/api/centrifugo/proxy/v1/proxy.proto @@ -6,7 +6,6 @@ option go_package = "centrifugo/proxy/v1"; option php_metadata_namespace = "RoadRunner\\Centrifugal\\Proxy\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Centrifugal\\Proxy\\DTO\\V1"; - service CentrifugoProxy { // Connect to proxy connection authentication and communicate initial state. rpc Connect(ConnectRequest) returns (ConnectResponse); @@ -30,6 +29,8 @@ service CentrifugoProxy { // always contains SubscribeRequest, then StreamSubscribeRequest will contain data published // by client. Reverse direction works the same way as in SubscribeUnidirectional. rpc SubscribeBidirectional(stream StreamSubscribeRequest) returns (stream StreamSubscribeResponse); + // NotifyCacheEmpty is an EXPERIMENTAL method which allows to load documents from the backend. + rpc NotifyCacheEmpty(NotifyCacheEmptyRequest) returns (NotifyCacheEmptyResponse); // NotifyChannelState can be used to receive channel events such as channel "occupied" and "vacated". // This is a feature in a preview state and is only available in Centrifugo PRO. rpc NotifyChannelState(NotifyChannelStateRequest) returns (NotifyChannelStateResponse); @@ -263,6 +264,18 @@ message StreamSubscribeResponse { Publication publication = 2; } +message NotifyCacheEmptyRequest { + string channel = 1; +} + +message NotifyCacheEmptyResponse { + NotifyCacheEmptyResult result = 1; +} + +message NotifyCacheEmptyResult { + bool populated = 1; +} + message NotifyChannelStateRequest { repeated ChannelEvent events = 1; } @@ -270,7 +283,7 @@ message NotifyChannelStateRequest { message ChannelEvent { int64 time_ms = 1; string channel = 2; - string type = 3; // "occupied" | "vacated" | could be more in the future. Not using enums for better JSON interop. + string type = 3; // "occupied" | "vacated" | could be more in the future. Not using enums for better JSON interop. } message NotifyChannelStateResponse { diff --git a/proto/common/v1/grpc_status.proto b/roadrunner/api/common/v1/grpc_status.proto similarity index 90% rename from proto/common/v1/grpc_status.proto rename to roadrunner/api/common/v1/grpc_status.proto index be78980..2881644 100644 --- a/proto/common/v1/grpc_status.proto +++ b/roadrunner/api/common/v1/grpc_status.proto @@ -4,7 +4,7 @@ package common.v1; import "google/protobuf/any.proto"; -option go_package = "github.com/roadrunner-server/api/v4/build/common/v1;commonV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/common/v1;commonV1"; option php_metadata_namespace = "RoadRunner\\Common\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Common\\DTO\\V1"; diff --git a/proto/http/v1/http.proto b/roadrunner/api/http/v1/http.proto similarity index 89% rename from proto/http/v1/http.proto rename to roadrunner/api/http/v1/http.proto index cb9d93b..244891c 100644 --- a/proto/http/v1/http.proto +++ b/roadrunner/api/http/v1/http.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package http.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/http/v1;httpV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/http/v1;httpV1"; option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\HTTP\\DTO\\V1"; diff --git a/roadrunner/api/http/v2/http.proto b/roadrunner/api/http/v2/http.proto new file mode 100644 index 0000000..06eac5a --- /dev/null +++ b/roadrunner/api/http/v2/http.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + +package http.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/http/v2;httpV2"; +option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\HTTP\\DTO\\V2"; + +message HttpHeader { + map header = 1; +} + +message HttpHeaderValue { + repeated bytes values = 1; +} diff --git a/roadrunner/api/http/v2/request.proto b/roadrunner/api/http/v2/request.proto new file mode 100644 index 0000000..21e8317 --- /dev/null +++ b/roadrunner/api/http/v2/request.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package http.v2; + +import "http/v2/http.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/http/v2;httpV2"; +option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\HTTP\\DTO\\V2"; + +message HttpRequest { + string remote_addr = 1; + string protocol = 2; + string method = 3; + string uri = 4; + map header = 5; + map cookies = 6; + string raw_query = 7; + bool parsed = 8; + bytes uploads = 9; + map attributes = 10; +} diff --git a/roadrunner/api/http/v2/response.proto b/roadrunner/api/http/v2/response.proto new file mode 100644 index 0000000..f016cb7 --- /dev/null +++ b/roadrunner/api/http/v2/response.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package http.v2; + +import "http/v2/http.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/http/v2;httpV2"; +option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\HTTP\\DTO\\V2"; + +message HttpResponse { + int64 status = 1; + map headers = 2; +} diff --git a/proto/jobs/v1/jobs.proto b/roadrunner/api/jobs/v1/jobs.proto similarity index 96% rename from proto/jobs/v1/jobs.proto rename to roadrunner/api/jobs/v1/jobs.proto index dfc30ed..cabcaa2 100644 --- a/proto/jobs/v1/jobs.proto +++ b/roadrunner/api/jobs/v1/jobs.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package jobs.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/jobs/v1;jobsV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/jobs/v1;jobsV1"; option php_metadata_namespace = "RoadRunner\\Jobs\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Jobs\\DTO\\V1"; @@ -39,6 +39,7 @@ message Options { int64 priority = 1; string pipeline = 2; int64 delay = 3; + reserved 4, 5; // new in 2.10 bool auto_ack = 6; //-------------- diff --git a/roadrunner/api/jobs/v2/jobs.proto b/roadrunner/api/jobs/v2/jobs.proto new file mode 100644 index 0000000..e56830e --- /dev/null +++ b/roadrunner/api/jobs/v2/jobs.proto @@ -0,0 +1,64 @@ +syntax = "proto3"; + +package jobs.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/jobs/v2/jobs;jobsV2"; +option php_metadata_namespace = "RoadRunner\\Jobs\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Jobs\\DTO\\V2"; + +// Job is a main message which user might send to the RR jobs plugin +message Job { + // job name, usually PHP class + string job = 1; + // unique job id + string id = 2; + // payload, might be embedded json or just byte-string + bytes payload = 3; + // headers map[string][]string + map headers = 4; + // job options, contains common and driver specific fields + Options options = 5; +} + +// Options message represents all Jobs' options +message Options { + int64 priority = 1; + string pipeline = 2; + int64 delay = 3; + reserved 4, 5; + // new in 2.10 + bool auto_ack = 6; + //-------------- + // new in 2.11 (kafka related) + string topic = 7; + string metadata = 8; + int64 offset = 9; + int32 partition = 10; +} + +// JobHeaderValue represents []string value for the header (map[string][]string) +message JobHeaderValue { + repeated string values = 1; +} + +message Stats { + repeated Stat stats = 1; +} + +// Stat used as a response for the Stats RPC call +message Stat { + string pipeline = 1; + string driver = 2; + string queue = 3; + int64 active = 4; + int64 delayed = 5; + int64 reserved = 6; + bool ready = 7; + // new in 2.10.5 + uint64 priority = 8; +} + +// request to pause/resume/list/destroy/declare +message Pipelines { + repeated string pipelines = 1; +} diff --git a/roadrunner/api/jobs/v2/request.proto b/roadrunner/api/jobs/v2/request.proto new file mode 100644 index 0000000..0659417 --- /dev/null +++ b/roadrunner/api/jobs/v2/request.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package jobs.v2; + +import "jobs/v2/jobs.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/jobs/v2/jobs;jobsV2"; +option php_metadata_namespace = "RoadRunner\\Jobs\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Jobs\\DTO\\V2"; + +message PushRequest { + Job job = 1; +} + +message PushBatchRequest { + repeated Job jobs = 1; + // request headers + map headers = 2; +} + +message DeclareRequest { + map pipeline = 1; +} diff --git a/roadrunner/api/jobs/v2/response.proto b/roadrunner/api/jobs/v2/response.proto new file mode 100644 index 0000000..e84af6d --- /dev/null +++ b/roadrunner/api/jobs/v2/response.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package jobs.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/jobs/v2/jobs;jobsV2"; +option php_metadata_namespace = "RoadRunner\\Jobs\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Jobs\\DTO\\V2"; + +// some endpoints receives nothing +// all endpoints returns nothing, except error +message JobResponse {} diff --git a/proto/kv/v1/kv.proto b/roadrunner/api/kv/v1/kv.proto similarity index 84% rename from proto/kv/v1/kv.proto rename to roadrunner/api/kv/v1/kv.proto index 13ef6fd..5a01ca2 100644 --- a/proto/kv/v1/kv.proto +++ b/roadrunner/api/kv/v1/kv.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package kv.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/kv/v1;kvV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/kv/v1;kvV1"; option php_metadata_namespace = "RoadRunner\\KV\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\KV\\DTO\\V1"; diff --git a/roadrunner/api/kv/v2/kv.proto b/roadrunner/api/kv/v2/kv.proto new file mode 100644 index 0000000..0c95f12 --- /dev/null +++ b/roadrunner/api/kv/v2/kv.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + +package kv.v2; + +import "google/protobuf/duration.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/kv/v2;kvV2"; +option php_metadata_namespace = "RoadRunner\\KV\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\KV\\DTO\\V2"; + +message KvItem { + string key = 1; + bytes value = 2; + google.protobuf.Duration ttl = 3; +} diff --git a/roadrunner/api/kv/v2/request.proto b/roadrunner/api/kv/v2/request.proto new file mode 100644 index 0000000..5419895 --- /dev/null +++ b/roadrunner/api/kv/v2/request.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package kv.v2; + +import "kv/v2/kv.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/kv/v2;kvV2"; +option php_metadata_namespace = "RoadRunner\\KV\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\KV\\DTO\\V2"; + +message KvRequest { + string storage = 1; + repeated KvItem items = 2; +} diff --git a/roadrunner/api/kv/v2/response.proto b/roadrunner/api/kv/v2/response.proto new file mode 100644 index 0000000..799268a --- /dev/null +++ b/roadrunner/api/kv/v2/response.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package kv.v2; + +import "kv/v2/kv.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/kv/v2;kvV2"; +option php_metadata_namespace = "RoadRunner\\KV\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\KV\\DTO\\V2"; + +message KvResponse { + repeated KvItem items = 1; +} diff --git a/roadrunner/api/lock/v1/lock.proto b/roadrunner/api/lock/v1/lock.proto new file mode 100644 index 0000000..fadc1ff --- /dev/null +++ b/roadrunner/api/lock/v1/lock.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package lock.v1; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/lock/v1;lockV1"; +option php_metadata_namespace = "RoadRunner\\Lock\\DTO\\V1\\GPBMetadata"; +option php_namespace = "RoadRunner\\Lock\\DTO\\V1"; + +message LockRequest { + string resource = 1; + string id = 2; + optional int64 ttl = 3; + optional int64 wait = 4; +} + +message LockResponse { + bool ok = 1; +} diff --git a/proto/service/v1/service.proto b/roadrunner/api/service/v1/service.proto similarity index 90% rename from proto/service/v1/service.proto rename to roadrunner/api/service/v1/service.proto index 4fe3b60..015a4cb 100644 --- a/proto/service/v1/service.proto +++ b/roadrunner/api/service/v1/service.proto @@ -4,7 +4,7 @@ package service.v1; import "common/v1/grpc_status.proto"; -option go_package = "github.com/roadrunner-server/api/v4/build/service/v1;serviceV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/service/v1;serviceV1"; option php_metadata_namespace = "RoadRunner\\Service\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Service\\DTO\\V1"; diff --git a/roadrunner/api/service/v2/request.proto b/roadrunner/api/service/v2/request.proto new file mode 100644 index 0000000..80d6421 --- /dev/null +++ b/roadrunner/api/service/v2/request.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package service.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/service/v2;serviceV2"; +option php_metadata_namespace = "RoadRunner\\Service\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Service\\DTO\\V2"; + +message ServiceCreateRequest { + string name = 1; + string command = 2; + int64 process_num = 3; + int64 exec_timeout = 4; + bool remain_after_exit = 5; + map env = 6; + uint64 restart_sec = 7; + bool service_name_in_logs = 8; + uint64 timeout_stop_sec = 9; +} + +message ServiceInfoRequest { + string name = 1; +} diff --git a/roadrunner/api/service/v2/response.proto b/roadrunner/api/service/v2/response.proto new file mode 100644 index 0000000..a243e19 --- /dev/null +++ b/roadrunner/api/service/v2/response.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package service.v2; + +import "service/v2/service.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/service/v2;serviceV2"; +option php_metadata_namespace = "RoadRunner\\Service\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Service\\DTO\\V2"; + +message ServiceResponse { + string message = 1; + bool ok = 2; +} + +message ServiceStatuses { + repeated ProcessStatus statuses = 1; +} + +message ServiceList { + repeated string services = 1; +} diff --git a/roadrunner/api/service/v2/service.proto b/roadrunner/api/service/v2/service.proto new file mode 100644 index 0000000..386ad44 --- /dev/null +++ b/roadrunner/api/service/v2/service.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +package service.v2; + +import "common/v1/grpc_status.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/service/v2;serviceV2"; +option php_metadata_namespace = "RoadRunner\\Service\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Service\\DTO\\V2"; + +message ProcessStatus { + float cpu_percent = 1; + int32 pid = 2; + uint64 memory_usage = 3; + string command = 4; + common.v1.Status status = 5; +} diff --git a/proto/status/v1/status.proto b/roadrunner/api/status/v1/status.proto similarity index 75% rename from proto/status/v1/status.proto rename to roadrunner/api/status/v1/status.proto index 738c4a5..c363baf 100644 --- a/proto/status/v1/status.proto +++ b/roadrunner/api/status/v1/status.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package status.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/status/v1;statusV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/status/v1;statusV1"; option php_metadata_namespace = "RoadRunner\\Status\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Status\\DTO\\V1"; diff --git a/roadrunner/api/status/v2/request.proto b/roadrunner/api/status/v2/request.proto new file mode 100644 index 0000000..219f064 --- /dev/null +++ b/roadrunner/api/status/v2/request.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package status.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/status/v2;statusV2"; +option php_metadata_namespace = "RoadRunner\\Status\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Status\\DTO\\V2"; + +message StatusRequest { + string plugin = 1; +} diff --git a/roadrunner/api/status/v2/response.proto b/roadrunner/api/status/v2/response.proto new file mode 100644 index 0000000..330e3f0 --- /dev/null +++ b/roadrunner/api/status/v2/response.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +package status.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/status/v2;statusV2"; +option php_metadata_namespace = "RoadRunner\\Status\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Status\\DTO\\V2"; + +message StatusResponse { + int64 code = 1; + string message = 2; +} diff --git a/proto/temporal/v1/temporal.proto b/roadrunner/api/temporal/v1/temporal.proto similarity index 95% rename from proto/temporal/v1/temporal.proto rename to roadrunner/api/temporal/v1/temporal.proto index 59e9f06..ba6b874 100644 --- a/proto/temporal/v1/temporal.proto +++ b/roadrunner/api/temporal/v1/temporal.proto @@ -7,7 +7,7 @@ import "temporal/api/common/v1/message.proto"; import "temporal/api/failure/v1/message.proto"; import "temporal/api/history/v1/message.proto"; -option go_package = "github.com/roadrunner-server/api/v4/build/temporal/v1;temporalV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/temporal/v1;temporalV1"; option php_metadata_namespace = "RoadRunner\\Temporal\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Temporal\\DTO\\V1"; diff --git a/proto/websockets/v1/websockets.proto b/roadrunner/api/websockets/v1/websockets.proto similarity index 82% rename from proto/websockets/v1/websockets.proto rename to roadrunner/api/websockets/v1/websockets.proto index f5025fe..b19666a 100644 --- a/proto/websockets/v1/websockets.proto +++ b/roadrunner/api/websockets/v1/websockets.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package websockets.v1; -option go_package = "github.com/roadrunner-server/api/v4/build/websockets/v1;websocketsV1"; +option go_package = "github.com/roadrunner-server/api-go/v5/build/websockets/v1;websocketsV1"; option php_metadata_namespace = "RoadRunner\\Websockets\\DTO\\V1\\GPBMetadata"; option php_namespace = "RoadRunner\\Websockets\\DTO\\V1"; diff --git a/roadrunner/api/websockets/v2/request.proto b/roadrunner/api/websockets/v2/request.proto new file mode 100644 index 0000000..0d9d723 --- /dev/null +++ b/roadrunner/api/websockets/v2/request.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package websockets.v2; + +import "websockets/v2/websockets.proto"; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/websockets/v2;websocketsV2"; +option php_metadata_namespace = "RoadRunner\\Websockets\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Websockets\\DTO\\V2"; + +message WebsocketRequest { + repeated WebsocketMessage messages = 1; +} diff --git a/roadrunner/api/websockets/v2/response.proto b/roadrunner/api/websockets/v2/response.proto new file mode 100644 index 0000000..3e43395 --- /dev/null +++ b/roadrunner/api/websockets/v2/response.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package websockets.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/websockets/v2;websocketsV2"; +option php_metadata_namespace = "RoadRunner\\Websockets\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Websockets\\DTO\\V2"; + +message WebsocketResponse { + bool ok = 1; +} diff --git a/roadrunner/api/websockets/v2/websockets.proto b/roadrunner/api/websockets/v2/websockets.proto new file mode 100644 index 0000000..72f5dca --- /dev/null +++ b/roadrunner/api/websockets/v2/websockets.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package websockets.v2; + +option go_package = "github.com/roadrunner-server/api-go/v5/build/websockets/v2;websocketsV2"; +option php_metadata_namespace = "RoadRunner\\Websockets\\DTO\\V2\\GPBMetadata"; +option php_namespace = "RoadRunner\\Websockets\\DTO\\V2"; + +message WebsocketMessage { + string command = 1; + repeated string topics = 2; + bytes payload = 3; +}